XmlNode Class Reference

A read-only node in an xml file. More...

#include <XmlNode.h>

List of all members.

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


Detailed Description

A read-only node in an xml file.

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.


The documentation for this class was generated from the following files:
Generated on Tue May 21 03:35:16 2002 for Archimedes by doxygen1.2.15