gxXmlElement Class Reference

Stores information about a single XML element during parsing. More...

#include <gxXmlElement.h>

List of all members.

Public Member Functions

 gxXmlElement (const char *name, const char **atts)
virtual ~gxXmlElement ()
bool hasAttribute (const char *attrName)
std::string getAttribute (const char *attrName)
int getAttributeInt (const char *attrName, int defaultValue=-1)

Public Attributes

std::string name
std::vector< gxXmlAttributeattributes
std::string text
bool treatAsAttribute


Detailed Description

Stores information about a single XML element during parsing.


Constructor & Destructor Documentation

gxXmlElement::gxXmlElement const char *  name,
const char **  atts
 

virtual gxXmlElement::~gxXmlElement  )  [virtual]
 


Member Function Documentation

std::string gxXmlElement::getAttribute const char *  attrName  ) 
 

int gxXmlElement::getAttributeInt const char *  attrName,
int  defaultValue = -1
 

bool gxXmlElement::hasAttribute const char *  attrName  ) 
 


Member Data Documentation

std::vector<gxXmlAttribute> gxXmlElement::attributes
 

std::string gxXmlElement::name
 

std::string gxXmlElement::text
 

bool gxXmlElement::treatAsAttribute
 


The documentation for this class was generated from the following file:
Generated on Mon Nov 21 01:01:37 2005 for gxLib by  doxygen 1.4.5