Inheritance diagram for CP_XMLWriter_Entry:
Writing | |
void | Write (CP_XMLWriter *inXMLWriter=NULL) |
virtual void | WriteHeader (CP_XMLWriter *) |
virtual void | WriteTrailer (CP_XMLWriter *) |
virtual void | WriteData (CP_XMLWriter *) |
Public Member Functions | |
Constructor / Destructor | |
virtual | ~CP_XMLWriter_Entry () |
Destructor. | |
Protected Member Functions | |
Constructor / Destructor | |
CP_XMLWriter_Entry (CP_XMLWriter *inXMLWriter, CP_XMLWriter_Entry *inParentElement, const CP_String &inTag, const CP_String &inData) | |
Contructor. | |
Protected Attributes | |
CP_XMLWriter * | fXMLWriter |
CP_XMLWriter_Entry * | fParentElement |
CP_String | fTag |
CP_String | fData |
CP_XMLElements_Array * | fElements |
bool | fIsWritten |
|
Destructor. |
|
Constructor.
|
|
|
|
Reimplemented in CP_XMLWriter_Element. |
|
|
|
|
|
Add a new child element to ourselves.
|
|
Return the depth (from the root item) of our element. This information is used to figure out how much to indent our element in listings. |
|
Return the number of child elements for ourselves. |
|
Return the child element at inIndex.
|
|
|
|
Write the data for this element out. |
|
Reimplemented in CP_XMLWriter_Comment, CP_XMLWriter_Element, and CP_XMLWriter_ProcessingInstruction. |
|
Reimplemented in CP_XMLWriter_Element, and CP_XMLWriter_ProcessingInstruction. |
|
Reimplemented in CP_XMLWriter_Element, and CP_XMLWriter_ProcessingInstruction. |
|
|
|
The XMLWriter that we are going to write the data to. |
|
The parent element that this entry goes with. |
|
The tag for this entry. |
|
The actual data for the entry. |
|
A list of child elements for this entry. |