Hydra 0.20
|
#include <NodePath.h>
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 |
This is a helper class for parsing wxXml file structures.
hydra::NodePath::NodePath | ( | QDomDocument | doc | ) | [inline] |
Associate a NodePath based off the root node of the given document.
hydra::NodePath::NodePath | ( | QDomElement | node | ) | [inline] |
Associate a NodePath based off the given node