Choreonoid
1.1
|
#include <YamlNodes.h>
公開型 | |
typedef Container::iterator | iterator |
typedef Container::const_iterator | const_iterator |
公開メンバ関数 | |
YamlSequence () | |
YamlSequence (int size) | |
~YamlSequence () | |
bool | empty () const |
int | size () const |
void | clear () |
void | reserve (int size) |
YamlNode & | front () const |
YamlNode & | back () const |
YamlNode * | at (int i) const |
YamlNode & | get (int i) const |
void | write (int i, int value) |
void | write (int i, const std::string &value, YamlStringStyle stringStyle=YAML_PLAIN_STRING) |
bool | read (int i, bool &out_value) const |
bool | read (int i, int &out_value) const |
bool | read (int i, double &out_value) const |
YamlNode & | operator[] (int i) const |
YamlMapping * | newMapping () |
void | append (YamlNodePtr node) |
void | append (int value) |
void | append (int value, int maxColumns, int numValues=0) |
void | append (size_t value) |
void | append (size_t value, int maxColumns, int numValues=0) |
void | append (double value) |
void | append (double value, int maxColumns, int numValues=0) |
void | append (const std::string &value, YamlStringStyle stringStyle=YAML_PLAIN_STRING) |
void | append (const std::string &value, int maxColumns, int numValues=0, YamlStringStyle stringStyle=YAML_PLAIN_STRING) |
void | appendLF () |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
![]() | |
virtual | ~YamlCollection () |
void | setFlowStyle (bool isFlowStyle=true) |
bool | isFlowStyle () const |
void | setDoubleFormat (const char *format) |
const char * | doubleFormat () |
![]() | |
bool | isValid () const |
YamlNodeType | type () const |
int | toInt () const |
double | toDouble () const |
bool | toBool () const |
bool | isString () const |
const std::string & | toString () const |
const std::string & | toUtf8String () const |
operator const std::string & () const | |
bool | isMapping () const |
const YamlMapping * | toMapping () const |
YamlMapping * | toMapping () |
bool | isSequence () const |
const YamlSequence * | toSequence () const |
YamlSequence * | toSequence () |
bool | read (int &out_value) const |
bool | hasLineInfo () const |
int | line () const |
int | column () const |
フレンド | |
class | YamlMapping |
class | YamlReaderImpl |
class | YamlWriter |
その他の継承メンバ | |
![]() | |
static void | initialize () |
![]() | |
YamlCollection () | |
![]() | |
YamlNode () | |
YamlNode (YamlNodeType type) | |
virtual | ~YamlNode () |
void | throwNotScalrException () const |
void | throwNotMappingException () const |
void | throwNotSequenceException () const |
![]() | |
const char * | doubleFormat_ |
![]() | |
YamlNodeType | type_ |
typedef Container::const_iterator cnoid::YamlSequence::const_iterator |
typedef Container::iterator cnoid::YamlSequence::iterator |
YamlSequence::YamlSequence | ( | ) |
YamlSequence::YamlSequence | ( | int | size | ) |
YamlSequence::~YamlSequence | ( | ) |
|
inline |
void YamlSequence::append | ( | int | value | ) |
|
inline |
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. |
void YamlSequence::append | ( | size_t | value | ) |
|
inline |
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. |
void YamlSequence::append | ( | double | value | ) |
|
inline |
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. |
void YamlSequence::append | ( | const std::string & | value, |
YamlStringStyle | stringStyle = YAML_PLAIN_STRING |
||
) |
|
inline |
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. |
void YamlSequence::appendLF | ( | ) |
YamlNode* cnoid::YamlSequence::at | ( | int | i | ) | const |
|
inline |
|
inline |
|
inline |
void YamlSequence::clear | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
YamlMapping * YamlSequence::newMapping | ( | ) |
|
inline |
bool cnoid::YamlSequence::read | ( | int | i, |
bool & | out_value | ||
) | const |
bool cnoid::YamlSequence::read | ( | int | i, |
int & | out_value | ||
) | const |
bool cnoid::YamlSequence::read | ( | int | i, |
double & | out_value | ||
) | const |
void YamlSequence::reserve | ( | int | size | ) |
|
inline |
void YamlSequence::write | ( | int | i, |
int | value | ||
) |
void YamlSequence::write | ( | int | i, |
const std::string & | value, | ||
YamlStringStyle | stringStyle = YAML_PLAIN_STRING |
||
) |
|
friend |
|
friend |
|
friend |