Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

CUI_SAXElement Class Reference

Information about An xml element stored in a stack in the SAXLoader. More...

#include <CUI_SAXLoader.h>

List of all members.

Public Member Functions

 CUI_SAXElement (char *name, AttributeList *attrib, elementtype type, bool delobj=false)
 constructor

 ~CUI_SAXElement ()
 destructor - delete chars

bool GetValue (char *name, unsigned long &value)
 get a certain attribute value as an unsigned long

bool GetValuei (char *name, int &value)
 get a certain attribute value as an unsigned long

bool GetValue (char *name, float &value)
 get a certain attribute value as an unsigned long

bool GetValue (char *name, char **value)
 get a certain attribute value as a char*

bool GetValueb (char *name, bool &value)

Public Attributes

char * m_name
 element name

AttributeList * m_attributeList
 element attribute list

elementtype m_type
 the type of this element

void * m_object
 pointer to the object

char * m_objectName
 name of object (for root frames)


Private Attributes

bool m_deleteObj
 delete m_object on destructor?


Detailed Description

Information about An xml element stored in a stack in the SAXLoader.


Member Function Documentation

bool CUI_SAXElement::GetValue char *  name,
char **  value
[inline]
 

get a certain attribute value as a char*

Returns false if the attribute was not found

bool CUI_SAXElement::GetValue char *  name,
float &  value
[inline]
 

get a certain attribute value as an unsigned long

Returns false if the attribute was not found

bool CUI_SAXElement::GetValue char *  name,
unsigned long &  value
[inline]
 

get a certain attribute value as an unsigned long

Returns false if the attribute was not found

bool CUI_SAXElement::GetValuei char *  name,
int &  value
[inline]
 

get a certain attribute value as an unsigned long

Returns false if the attribute was not found


The documentation for this class was generated from the following file:
Generated on Mon Sep 29 23:07:04 2003 for glGUI by doxygen 1.3.4