Public メソッド |
| YamlMapping () |
| YamlMapping (int line, int column) |
virtual | ~YamlMapping () |
bool | empty () const |
size_t | size () const |
void | clear () |
void | setKeyQuoteStyle (YamlStringStyle style) |
YamlNode * | find (const std::string &key) const |
YamlMapping * | findMapping (const std::string &key) const |
YamlSequence * | findSequence (const std::string &key) const |
YamlNode & | get (const std::string &key) const |
YamlNode & | operator[] (const std::string &key) const |
void | insert (const std::string &key, YamlNodePtr node) |
YamlMapping * | openMapping (const std::string &key) |
YamlMapping * | openFlowStyleMapping (const std::string &key) |
YamlMapping * | createMapping (const std::string &key) |
YamlMapping * | createFlowStyleMapping (const std::string &key) |
YamlSequence * | openSequence (const std::string &key) |
YamlSequence * | openFlowStyleSequence (const std::string &key) |
YamlSequence * | createSequence (const std::string &key) |
YamlSequence * | createFlowStyleSequence (const std::string &key) |
bool | read (const std::string &key, std::string &out_value) const |
bool | readUtf8 (const std::string &key, std::string &out_value) const |
bool | read (const std::string &key, bool &out_value) const |
bool | read (const std::string &key, int &out_value) const |
bool | read (const std::string &key, double &out_value) const |
template<class T > |
T | read (const std::string &key) const |
template<class T > |
T | get (const std::string &key, const T &defaultValue) const |
std::string | get (const std::string &key, const char *defaultValue) const |
void | writeUtf8 (const std::string &key, const std::string &value, YamlStringStyle stringStyle=YAML_PLAIN_STRING) |
void | write (const std::string &key, const std::string &value, YamlStringStyle stringStyle=YAML_PLAIN_STRING) |
void | writeUtf8 (const std::string &key, const char *value, YamlStringStyle stringStyle=YAML_PLAIN_STRING) |
void | write (const std::string &key, const char *value, YamlStringStyle stringStyle=YAML_PLAIN_STRING) |
void | write (const std::string &key, bool value) |
void | write (const std::string &key, int value) |
void | write (const std::string &key, double value) |
void | writePath (const std::string &key, const std::string &value) |
void | setAssignMode (AssignMode mode) |
template<class T > |
void | assign (const std::string &key, T &io_value, const T &defaultValue) |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
void | throwKeyNotFoundException (const std::string &key) 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 |