Public Member Functions | |
Constructor / Destructor | |
CP_XMLAttributes () | |
Constructor. | |
CP_XMLAttributes (const XML_Char **inAttributes) | |
Attribute List | |
bool | HasAttribute (const CP_String &inAttributeName) const |
UInt32 | GetCount () |
CP_String | GetNthAttribute (const SInt32 inIndex) |
CP_Attribute_List | GetAttributeList () |
Attributes | |
bool | GetBoolValue (const CP_String &inAttributeName) |
CP_String | GetStringValue (const CP_String &inAttributeName) |
char | GetCharValue (const CP_String &inAttributeName) |
SInt16 | GetSInt16Value (const CP_String &inAttributeName) |
UInt16 | GetUInt16Value (const CP_String &inAttributeName) |
SInt32 | GetSInt32Value (const CP_String &inAttributeName) |
UInt32 | GetUInt32Value (const CP_String &inAttributeName) |
float | GetFloatValue (const CP_String &inAttributeName) |
Constructor / Destructor | |
CP_XMLAttributes (CFDictionaryRef inAttributes) | |
Constructor. | |
Protected Attributes | |
CP_Attribute_List | fAttributes |
|
Constructor.
|
|
Constructor.
|
|
List of attributes. |
|
Returns true if this object contains an attribute with the passed in name.
|
|
Returns the number of attributes in the list of attributes.
|
|
Returns the nth attribute from our list of attributes. inIndex should be between 1 and the total number of attributes in the list of attributes.
|
|
Returns the list of attributes.
|
|
Returns the attributes as a bool value. If the attribute is not found, then false is returned.
|
|
Returns the attributes as a CP_String. If the attribute is not found, then an empty string is returned.
|
|
Returns the attributes as a char. If the attribute is not found, then 0 is returned.
|
|
Returns the attributes as a SInt16. If the attribute is not found, then 0 is returned.
|
|
Returns the attributes as a UInt16. If the attribute is not found, then 0 is returned.
|
|
Returns the attributes as a SInt32. If the attribute is not found, then 0 is returned.
|
|
Returns the attributes as a UInt32. If the attribute is not found, then 0 is returned.
|
|
Returns the attributes as a float. If the attribute is not found, then 0 is returned.
|
|
|