#include <CUI_SAXLoader.h>
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? |
|
get a certain attribute value as a char* Returns false if the attribute was not found |
|
get a certain attribute value as an unsigned long Returns false if the attribute was not found |
|
get a certain attribute value as an unsigned long Returns false if the attribute was not found |
|
get a certain attribute value as an unsigned long Returns false if the attribute was not found |