|
#include <XmlNode.h>
Public Methods | |
XmlNode () | |
Constructor. | |
void | loadFile (const char *filename) |
Load the root of an xml file into this node. | |
XmlNodeList | getNodes (char *str) |
Get a list of nodes that match this string. | |
void | getAttrib (int &rtn, char *str) const |
Get an attribute as an integer. | |
void | getAttrib (float &rtn, char *str) const |
Get an attribute as a float. | |
void | getAttrib (double &rtn, char *str) const |
Get an attribute as a double. | |
std::string | getAttrib (char *str) const |
Get an attribute as a string. | |
~XmlNode () | |
Destructor. | |
Friends | |
class | XmlNodeList |
This node can the root node of a file, in which case the node would be loaded with loadFile; or it might be a subnode somewhere.
Definition at line 23 of file XmlNode.h.