Vault  4.1
Public Member Functions | Static Public Member Functions | Protected Member Functions
VSettings Class Reference

VSettings is the top level object you use to read and write a settings hierarchy. More...

#include <vsettings.h>

Inheritance diagram for VSettings:

List of all members.

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 VBentoNodewriteToBento () const
void debugPrint () const
virtual const VSettingsNodefindNode (const VString &path) const
virtual int countNamedChildren (const VString &name) const
virtual const VSettingsNodegetNamedChild (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)

Detailed Description

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.

The documentation for this class was generated from the following files:

Copyright ©1997-2014 Trygve Isaacson. All rights reserved. This documentation was generated with Doxygen.