![]() |
Vault
4.1
|
VSettings is the top level object you use to read and write a settings hierarchy. More...
#include <vsettings.h>
Public Member Functions | |
| VSettings (const VFSNode &file) | |
| VSettings (VTextIOStream &inputStream) | |
| void | readFromFile (const VFSNode &file) |
| void | writeToFile (const VFSNode &file) const |
| void | readFromStream (VTextIOStream &inputStream) |
| virtual void | writeToStream (VTextIOStream &outputStream, int indentLevel=0) const |
| virtual VBentoNode * | writeToBento () const |
| void | debugPrint () const |
| virtual const VSettingsNode * | findNode (const VString &path) const |
| virtual int | countNamedChildren (const VString &name) const |
| virtual const VSettingsNode * | getNamedChild (const VString &name, int index) const |
| virtual void | deleteNamedChildren (const VString &name) |
| virtual Vs64 | getS64Value () const |
| virtual bool | getBooleanValue () const |
| virtual VString | getStringValue () const |
| virtual VDouble | getDoubleValue () const |
| virtual VSize | getSizeValue () const |
| virtual VPoint | getPointValue () const |
| virtual VRect | getRectValue () const |
| virtual VPolygon | getPolygonValue () const |
| virtual VColor | getColorValue () const |
| virtual VDuration | getDurationValue () const |
| virtual VDate | getDateValue () const |
| virtual VInstant | getInstantValue () const |
| virtual void | addChildNode (VSettingsNode *node) |
Static Public Member Functions | |
| static bool | stringToBoolean (const VString &value) |
| static bool | isPathLeaf (const VString &path) |
| static void | splitPathFirst (const VString &path, VString &nextNodeName, VString &outRemainder) |
| static void | splitPathLast (const VString &path, VString &leadingPath, VString &lastNode) |
Protected Member Functions | |
| virtual VSettingsTag * | _findChildTag (const VString &) const |
| virtual void | _addLeafValue (const VString &name, bool hasValue, const VString &value) |
VSettings is the top level object you use to read and write a settings hierarchy.
It is derived from the generic node class.
Definition at line 168 of file vsettings.h.