|
| Archive () |
|
| Archive (int line, int column) |
|
virtual | ~Archive () |
|
void | initSharedInfo (const std::string &projectFile, bool isSubProject) |
|
void | inheritSharedInfoFrom (Archive &archive) |
|
void | addProcessOnSubTreeRestored (const std::function< void()> &func) const |
|
void | addPostProcess (const std::function< void()> &func, int priority=0) const |
|
void | addFinalProcess (const std::function< void()> &func) const |
|
Archive * | findSubArchive (const std::string &name) |
|
const Archive * | findSubArchive (const std::string &name) const |
|
bool | forSubArchive (const std::string &name, std::function< bool(const Archive &archive)> func) const |
|
Archive * | openSubArchive (const std::string &name) |
|
Archive * | subArchive (Mapping *node) |
|
ValueNodePtr | getItemId (const Item *item) const |
|
Item * | findItem (const ValueNode *id) const |
|
int | getViewId (const View *view) const |
|
View * | findView (int id) const |
|
void | clearIds () |
|
template<class ItemType > |
ItemType * | findItem (ValueNode *id) const |
|
void | writeItemId (const std::string &key, Item *item) |
|
template<class ItemType > |
ItemType * | findItem (const std::string &key) const |
|
std::string | resolveRelocatablePath (const std::string &relocatable, bool doAbsolutize=true) const |
|
bool | readRelocatablePath (const std::string &key, std::string &out_value) const |
|
std::string | readItemFilePath () const |
|
std::string | expandPathVariables (const std::string &path) const |
|
bool | loadFileTo (Item *item) const |
|
bool | loadFileTo (Item *item, const std::string &filepath) const |
|
std::string | getRelocatablePath (const std::string &path) const |
|
bool | writeRelocatablePath (const std::string &key, const std::string &path) |
|
bool | writeFileInformation (Item *item) |
|
bool | loadFileTo (const std::string &filepath, Item *item) const |
|
bool | loadItemFile (Item *item, const std::string &fileNameKey, const std::string &fileFormatKey=std::string()) const |
|
Item * | currentParentItem () const |
|
std::string | projectDirectory () const |
|
FilePathVariableProcessor * | filePathVariableProcessor () const |
|
| 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 () |
|