Public Member Functions | |
Constructor / Destructor | |
CP_XMLWriter_ElementAttribute () | |
Constructor. | |
CP_XMLWriter_ElementAttribute (const CP_String &inAttributeTag) | |
CP_XMLWriter_ElementAttribute (const CP_XMLWriter_ElementAttribute &inAttribute) | |
virtual | ~CP_XMLWriter_ElementAttribute () |
Destructor. | |
Attributes | |
CP_String | GetAttributeTag () |
CP_String | GetAttributeData () |
Operators | |
CP_XMLWriter_ElementAttribute & | operator= (const CP_XMLWriter_ElementAttribute &inAttribute) |
Setters | |
void | SetValue (bool inValue) |
void | SetValue (SInt16 inValue) |
void | SetValue (UInt16 inValue) |
void | SetValue (SInt32 inValue) |
void | SetValue (UInt32 inValue) |
void | SetValue (const CP_String &inValue) |
void | SetValue (char inValue) |
void | SetValue (float inValue) |
void | SetValue (const CP_RGBColor &inValue) |
void | SetValue (const CP_Point &inValue) |
void | SetValue (const CP_Size &inValue) |
void | SetValue (const CP_Rect &inValue) |
void | SetValue (const CP_FileSystemSpec &inValue) |
void | SetAttributeTag (const CP_String &inTag) |
void | SetAttributeData (const CP_String &inData) |
Protected Member Functions | |
Formatting | |
virtual CP_String | FormatStringForXML (const CP_String &inOutString) |
Protected Attributes | |
CP_String | fAttributeTag |
CP_String | fAttributeData |
|
Constructor. |
|
Constructor.
|
|
Copy constructor.
|
|
Destructor. |
|
|
|
|
|
Assignment operator.
|
|
Sets the value of this attribute to be a bool.
|
|
Sets the value of this attribute to be a SInt16.
|
|
Sets the value of this attribute to be a UInt16.
|
|
Sets the value of this attribute to be a SInt32.
|
|
Sets the value of this attribute to be a UInt32.
|
|
Sets the value of this attribute to be a CP_String.
|
|
Sets the value of this attribute to be a char.
|
|
Sets the value of this attribute to be a float.
|
|
Sets the value of this attribute to be a CP_RGBColor.
|
|
Sets the value of this attribute to be a CP_Point.
|
|
Sets the value of this attribute to be a CP_Size.
|
|
Sets the value of this attribute to be a CP_Rect.
|
|
Sets the value of this attribute to be a CP_FileSystemSpec.
|
|
|
|
|
|
Format the passed in string to be a valid string for XML. This will convert all characters above 128 to their hex equivalent, and take care of &, and other characters.
returnString = convertedString; |
|
|
|
The XML tag for the data. This is the tag that you use to retrieve the data with. |