Hydra 0.20
hydra::NodePath Class Reference

#include <NodePath.h>

List of all members.

Classes

class  error
class  numeric_error
class  prop_error
class  verify_error
class  xml_error

Public Member Functions

 NodePath (QDomDocument doc)
 NodePath (QDomElement node)
 operator QDomElement (void) const
 implicit converter to QDomElement
bool hasChild (const QString &subpath)
NodePath operator[] (const QString &subpath)
NodePath operator() (const QString &subpath) const
NodePath append (const QString &subpath)
bool erase (const QString &subpath)
bool loadNextSibling (void)
void setPropVal (const QString &key, const QString &val)
 sets the property value
void setPropVal (const QString &key, double val)
 sets the property value
QString getPropAsString (const QString &key)
long getPropAsLong (const QString &key)
double getPropAsDouble (const QString &key)
QDomElement * operator-> (void)
const QDomElement * operator-> (void) const
void operator= (const QString &content)
void operator= (double d)
QString asString (void) const
long asLong (void) const

Static Public Member Functions

static void verify (bool b)
 its like an assert

Detailed Description

This is a helper class for parsing wxXml file structures.

Author:
Aleksander Demko

Constructor & Destructor Documentation

hydra::NodePath::NodePath ( QDomDocument  doc) [inline]

Associate a NodePath based off the root node of the given document.

Author:
Aleksander Demko
hydra::NodePath::NodePath ( QDomElement  node) [inline]

Associate a NodePath based off the given node

Author:
Aleksander Demko

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables