#include <ValueTree.h>
|
| Listing () |
|
| Listing (int size) |
|
| ~Listing () |
|
virtual ValueNode * | clone () const |
|
bool | empty () const |
|
int | size () const |
|
void | clear () |
|
void | reserve (int size) |
|
void | setFlowStyle (bool isFlowStyle=true) |
|
bool | isFlowStyle () const |
|
void | setFloatingNumberFormat (const char *format) |
|
const char * | floatingNumberFormat () |
|
void | setDoubleFormat (const char *format) |
|
const char * | doubleFormat () |
|
ValueNode * | front () const |
|
ValueNode * | back () const |
|
ValueNode * | at (int i) const |
|
ValueNode & | get (int i) const |
|
void | write (int i, int value) |
|
void | write (int i, const std::string &value, StringStyle stringStyle=PLAIN_STRING) |
|
ValueNode & | operator[] (int i) const |
|
Mapping * | newMapping () |
|
void | append (ValueNode *node) |
|
void | insert (int index, ValueNode *node) |
|
void | append (int value) |
|
void | append (int value, int maxColumns, int numValues=0) |
|
void | append (size_t value) |
|
void | append (double value) |
|
void | append (double value, int maxColumns, int numValues=0) |
|
void | append (const std::string &value, StringStyle stringStyle=PLAIN_STRING) |
|
void | append (const std::string &value, int maxColumns, int numValues=0, StringStyle stringStyle=PLAIN_STRING) |
|
void | appendLF () |
|
iterator | begin () |
|
iterator | end () |
|
const_iterator | begin () const |
|
const_iterator | end () const |
|
bool | isValid () const |
|
| operator bool () const |
|
TypeBit | LFType () const |
|
TypeBit | nodeType () const |
|
int | toInt () const |
|
double | toDouble () const |
|
float | toFloat () const |
|
bool | toBool () const |
|
double | toAngle () const |
|
bool | isScalar () const |
|
bool | isString () const |
|
bool | isCollection () const |
|
const std::string & | toString () const |
|
bool | isForcedRadianMode () const |
|
void | setForcedRadianMode (bool on=true) |
|
bool | isDegreeMode () const |
|
void | setDegreeMode () |
|
template<typename T > |
T | to () const |
|
bool | isMapping () const |
|
const Mapping * | toMapping () const |
|
Mapping * | toMapping () |
|
bool | isListing () const |
|
const Listing * | toListing () const |
|
Listing * | toListing () |
|
bool | read (int &out_value) const |
|
bool | read (double &out_value) const |
|
bool | read (float &out_value) const |
|
bool | read (bool &out_value) const |
|
bool | read (std::string &out_value) const |
|
bool | hasLineInfo () const |
|
int | line () const |
|
int | column () const |
|
void | throwException (const std::string &message) const |
|
int | indexInMapping () const |
|
void | setAsHeaderInMapping (int priority=1) |
|
template<> |
double | to () const |
|
template<> |
float | to () const |
|
template<> |
int | to () const |
|
virtual | ~Referenced () |
|
- Note
- The name "Sequence" should not be used for this class because it confilcts with the name defined in the boost's concept check library.
◆ const_iterator
◆ iterator
◆ Listing() [1/2]
◆ Listing() [2/2]
Listing::Listing |
( |
int |
size | ) |
|
◆ ~Listing()
◆ append() [1/8]
void cnoid::Listing::append |
( |
const std::string & |
value, |
|
|
int |
maxColumns, |
|
|
int |
numValues = 0 , |
|
|
StringStyle |
stringStyle = PLAIN_STRING |
|
) |
| |
|
inline |
- Parameters
-
maxColumns | LF is automatically inserted when the column pos is over maxColumsn |
numValues | If numValues is not greater than maxColumns, the initial LF is skipped. This feature is disabled if numValues = 0. |
◆ append() [2/8]
◆ append() [3/8]
void Listing::append |
( |
double |
value | ) |
|
◆ append() [4/8]
void cnoid::Listing::append |
( |
double |
value, |
|
|
int |
maxColumns, |
|
|
int |
numValues = 0 |
|
) |
| |
|
inline |
- Parameters
-
maxColumns | LF is automatically inserted when the column pos is over maxColumsn |
numValues | If numValues is not greater than maxColumns, the initial LF is skipped. This feature is disabled if numValues = 0. |
◆ append() [5/8]
void Listing::append |
( |
int |
value | ) |
|
◆ append() [6/8]
void cnoid::Listing::append |
( |
int |
value, |
|
|
int |
maxColumns, |
|
|
int |
numValues = 0 |
|
) |
| |
|
inline |
- Parameters
-
maxColumns | LF is automatically inserted when the column pos is over maxColumsn |
numValues | If numValues is not greater than maxColumns, the initial LF is skipped. This feature is disabled if numValues = 0. |
◆ append() [7/8]
void cnoid::Listing::append |
( |
size_t |
value | ) |
|
◆ append() [8/8]
void cnoid::Listing::append |
( |
ValueNode * |
node | ) |
|
|
inline |
◆ appendLF()
void Listing::appendLF |
( |
| ) |
|
◆ at()
◆ back()
◆ begin() [1/2]
◆ begin() [2/2]
◆ clear()
◆ clone()
◆ doubleFormat()
const char* cnoid::Listing::doubleFormat |
( |
| ) |
|
|
inline |
◆ empty()
bool cnoid::Listing::empty |
( |
| ) |
const |
|
inline |
◆ end() [1/2]
◆ end() [2/2]
◆ floatingNumberFormat()
const char* cnoid::Listing::floatingNumberFormat |
( |
| ) |
|
|
inline |
◆ front()
◆ get()
ValueNode& cnoid::Listing::get |
( |
int |
i | ) |
const |
|
inline |
◆ insert()
void Listing::insert |
( |
int |
index, |
|
|
ValueNode * |
node |
|
) |
| |
◆ isFlowStyle()
bool cnoid::Listing::isFlowStyle |
( |
| ) |
const |
|
inline |
◆ newMapping()
◆ operator[]()
ValueNode& cnoid::Listing::operator[] |
( |
int |
i | ) |
const |
|
inline |
◆ reserve()
void Listing::reserve |
( |
int |
size | ) |
|
◆ setDoubleFormat()
void cnoid::Listing::setDoubleFormat |
( |
const char * |
format | ) |
|
|
inline |
◆ setFloatingNumberFormat()
void Listing::setFloatingNumberFormat |
( |
const char * |
format | ) |
|
◆ setFlowStyle()
void cnoid::Listing::setFlowStyle |
( |
bool |
isFlowStyle = true | ) |
|
|
inline |
◆ size()
int cnoid::Listing::size |
( |
| ) |
const |
|
inline |
◆ write() [1/2]
◆ write() [2/2]
void Listing::write |
( |
int |
i, |
|
|
int |
value |
|
) |
| |
◆ Mapping
◆ YAMLReaderImpl
friend class YAMLReaderImpl |
|
friend |
The documentation for this class was generated from the following files: