Inheritance diagram for CP_XMLWriter_Comment:

Writing | |
| void | Write (CP_XMLWriter *inXMLWriter=NULL) |
| virtual void | WriteTrailer (CP_XMLWriter *) |
| virtual void | WriteData (CP_XMLWriter *) |
Public Member Functions | |
Constructor / Destructor | |
| CP_XMLWriter_Comment (CP_XMLWriter *inXMLWriter, CP_XMLWriter_Entry *inParentElement, const CP_String &inComment) | |
| Constructor. | |
| virtual | ~CP_XMLWriter_Comment () |
| Destructor. | |
Writing | |
| void | WriteHeader (CP_XMLWriter *inXMLWriter=NULL) |
Protected Attributes | |
| CP_XMLWriter * | fXMLWriter |
| CP_XMLWriter_Entry * | fParentElement |
| CP_String | fTag |
| CP_String | fData |
| CP_XMLElements_Array * | fElements |
| bool | fIsWritten |
Private Member Functions | |
Constructor / Destructor | |
| CP_XMLWriter_Comment (const CP_XMLWriter_Comment &inWriter) | |
| Constructor. | |
operators | |
| CP_XMLWriter_Comment & | operator= (const CP_XMLWriter_Comment &inXMLWriter) |
|
||||||||||||||||
|
Constructor.
|
|
|
Destructor.
|
|
|
|
|
|
Write the header for this element. This will take care of writing the comments data out in proper format for the XML document.
Reimplemented from CP_XMLWriter_Entry. |
|
|
|
|
|
|
|
|
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_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. |
1.4.0