|
| Data (const char *value="__none__") |
|
int | Index () const |
|
int | Size () const |
|
Data * | ChildAt (int i) const |
|
Data * | ChildWithValue (const char *value) const |
|
Data * | NextWithValue (const char *value) const |
|
Data * | PrevWithValue (const char *value) const |
|
const char * | ValueAt (int i, const char *def=0) const |
|
void | Path (char *dst, int count) |
|
Data * | Find (const char *path) const |
|
Data * | Attribute (const char *path) const |
|
bool | BoolAttribute (const char *path, bool def=false) const |
|
int | IntAttribute (const char *path, int def=0) const |
|
int64 | Int64Attribute (const char *path, int64 def=0) const |
|
float | FloatAttribute (const char *path, float def=0.0f) const |
|
double | DoubleAttribute (const char *path, double def=0.0f) const |
|
const char * | StrAttribute (const char *path, const char *def="") const |
|
bool | HasBoolAttribute (const char *path, bool *out) const |
|
bool | HasIntAttribute (const char *path, int *out) const |
|
bool | HasInt64Attribute (const char *path, int64 *out) const |
|
bool | HasFloatAttribute (const char *path, float *out) const |
|
bool | HasDoubleAttribute (const char *path, double *out) const |
|
bool | HasStrAttribute (const char *path, const char **out) const |
|
void | GetAttribute (const char *name, bool &value) const |
|
void | GetAttribute (const char *name, int &value) const |
|
void | GetAttribute (const char *name, int16 &value) const |
|
void | GetAttribute (const char *name, uint8 &value) const |
|
void | GetAttribute (const char *name, uint16 &value) const |
|
void | GetAttribute (const char *name, uint32 &value) const |
|
void | GetAttribute (const char *name, long &value) const |
|
void | GetAttribute (const char *name, float &value) const |
|
void | GetAttribute (const char *name, double &value) const |
|
void | SetAttribute (const char *name, Data *value) |
|
void | SetAttribute (const char *name, bool value) |
|
void | SetAttribute (const char *name, int value) |
|
void | SetAttribute (const char *name, uint32 value) |
|
void | SetAttribute (const char *name, float value) |
|
void | SetAttribute (const char *name, double value) |
|
void | SetAttribute (const char *name, const char *value) |
|
void | SetAttribute (const char *name, int64 value) |
|
bool | BoolValue () const |
|
int | IntValue () const |
|
int64 | Int64Value () const |
|
float | FloatValue () const |
|
double | DoubleValue () const |
|
const char * | StrValue () const |
|
void | SetValue (bool value) |
|
void | SetValue (int value) |
|
void | SetValue (float value) |
|
void | SetValue (double value) |
|
void | SetValue (const char *value) |
|
bool | operator== (const Data &n) const |
|
void | Clear () |
|
Data * | Clone () const |
|
void | Add (Data *child) |
|
void | Remove () |
|
void | SetPreComment (const char *comment) |
|
void | SetPostComment (const char *comment) |
|
void | SetMeta (Data *meta) |
|
bool | Load (const char *ptr, int len) |
|
bool | LoadFromFile (const char *filename, bool *noFile=0) |
|
bool | Save (const char *filename, bool includeComment=true) const |
|
bool | SaveToBuffer (char *s, int *len) const |
|
bool | SavePrettyValue (char *s, int *len) const |
|
void | SaveToOutputStream (OutputStream &f, bool includeComment=true) const |
|