|
Choreonoid
1.5
|
#include <ValueTree.h>
Public Member Functions | |
| ScalarNode (const std::string &value, StringStyle stringStyle=PLAIN_STRING) | |
| ScalarNode (int value) | |
| virtual ValueNode * | clone () const |
Public Member Functions inherited from cnoid::ValueNode | |
| bool | isValid () const |
| TypeBit | LFType () const |
| TypeBit | nodeType () const |
| int | toInt () const |
| double | toDouble () const |
| bool | toBool () const |
| bool | isScalar () const |
| bool | isString () const |
| const std::string & | toString () const |
| const std::string & | toUTF8String () const |
| operator const std::string & () const | |
| 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 (bool &out_value) const |
| bool | read (std::string &out_value) const |
| bool | readUTF8String (std::string &out_value) const |
| bool | hasLineInfo () const |
| int | line () const |
| int | column () const |
| void | throwException (const std::string &message) const |
| template<> | |
| double | to () const |
| template<> | |
| int | to () const |
Public Member Functions inherited from cnoid::Referenced | |
| virtual | ~Referenced () |
| void | addRef () |
| void | releaseRef () |
Friends | |
| class | YAMLReaderImpl |
| class | YAMLWriter |
| class | ValueNode |
| class | Mapping |
| class | Listing |
Additional Inherited Members | |
Public Types inherited from cnoid::ValueNode | |
| enum | TypeBit { INVALID_NODE = 0, SCALAR = 1, MAPPING = 2, LISTING = 4, INSERT_LF = 8, APPEND_LF = 16 } |
Protected Member Functions inherited from cnoid::ValueNode | |
| ValueNode () | |
| ValueNode (TypeBit type) | |
| virtual | ~ValueNode () |
| void | throwNotScalrException () const |
| void | throwNotMappingException () const |
| void | throwNotListingException () const |
Protected Member Functions inherited from cnoid::Referenced | |
| Referenced () | |
| Referenced (const Referenced &org) | |
| int | refCount () const |
Protected Attributes inherited from cnoid::ValueNode | |
| int | typeBits |
| ScalarNode::ScalarNode | ( | const std::string & | value, |
| StringStyle | stringStyle = PLAIN_STRING |
||
| ) |
| ScalarNode::ScalarNode | ( | int | value | ) |
|
virtual |
Reimplemented from cnoid::ValueNode.
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
1.8.13