|
| Mapping () |
|
| Mapping (int line, int column) |
|
virtual | ~Mapping () |
|
virtual ValueNode * | clone () const |
|
virtual Mapping * | cloneMapping () const |
|
bool | empty () const |
|
int | size () const |
|
void | clear () |
|
void | setFlowStyle (bool isFlowStyle=true) |
|
bool | isFlowStyle () const |
|
void | setFloatingNumberFormat (const char *format) |
|
const char * | floatingNumberFormat () |
|
void | setDoubleFormat (const char *format) |
|
const char * | doubleFormat () |
|
void | setKeyQuoteStyle (StringStyle style) |
|
ValueNode * | find (const std::string &key) const |
|
ValueNode * | find (std::initializer_list< const char * > keys) const |
|
Mapping * | findMapping (const std::string &key) const |
|
Mapping * | findMapping (std::initializer_list< const char * > keys) const |
|
Listing * | findListing (const std::string &key) const |
|
Listing * | findListing (std::initializer_list< const char * > keys) const |
|
ValueNodePtr | extract (const std::string &key) |
|
ValueNodePtr | extract (std::initializer_list< const char * > keys) |
|
bool | extract (const std::string &key, double &out_value) |
|
bool | extract (const std::string &key, std::string &out_value) |
|
ValueNode & | get (const std::string &key) const |
|
ValueNode & | operator[] (const std::string &key) const |
|
void | insert (const std::string &key, ValueNode *node) |
|
void | insert (const Mapping *other) |
|
Mapping * | openMapping (const std::string &key) |
|
Mapping * | openFlowStyleMapping (const std::string &key) |
|
Mapping * | createMapping (const std::string &key) |
|
Mapping * | createFlowStyleMapping (const std::string &key) |
|
Listing * | openListing (const std::string &key) |
|
Listing * | openFlowStyleListing (const std::string &key) |
|
Listing * | createListing (const std::string &key) |
|
Listing * | createFlowStyleListing (const std::string &key) |
|
bool | remove (const std::string &key) |
|
bool | read (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 |
|
bool | read (const std::string &key, float &out_value) const |
|
template<class T > |
bool | read (std::initializer_list< const char * > keys, T &out_value) const |
|
bool | readAngle (const std::string &key, double &out_angle, const ValueNode *unitAttrNode=nullptr) const |
|
bool | readAngle (const std::string &key, float &out_angle, const ValueNode *unitAttrNode=nullptr) const |
|
bool | readAngle (std::initializer_list< const char * > keys, double &out_angle, const ValueNode *unitAttrNode=nullptr) const |
|
bool | readAngle (std::initializer_list< const char * > keys, float &out_angle, const ValueNode *unitAttrNode=nullptr) const |
|
template<class T > |
T | get (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 |
|
template<class T > |
T | get (std::initializer_list< const char * > keys, const T &defaultValue) const |
|
void | write (const std::string &key, const std::string &value, StringStyle stringStyle=PLAIN_STRING) |
|
void | write (const std::string &key, const char *value, StringStyle stringStyle=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) |
|
template<class ArrayType > |
void | writeAsListing (const std::string &key, const ArrayType &container) |
|
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 |
|
StringStyle | keyStringStyle () const |
|
template<class T > |
T | read (const std::string &key) 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 () |
|