Inheritance diagram for CP_XMLWriter_Element:

Public Member Functions | |
Constructor / Destructor  | |
| CP_XMLWriter_Element (CP_XMLWriter *inXMLWriter, CP_XMLWriter_Element *inParentElement, const CP_String &inTag, const CP_String &inData="") | |
| Constructor.   | |
| virtual | ~CP_XMLWriter_Element () | 
| Destructor.   | |
CData  | |
| void | AddCData (CP_HandleBlock *inHandleBlock) | 
| void | AddCData (const CP_String &inStringData) | 
Getters  | |
| SInt16 | GetElementDataType () | 
Setters  | |
| virtual void | SetData (const CP_String &inData) | 
Writers  | |
| virtual void | WriteHeader (CP_XMLWriter *inXMLWriter=NULL) | 
| virtual void | WriteTrailer (CP_XMLWriter *inXMLWriter=NULL) | 
| virtual void | WriteData (CP_XMLWriter *inXMLWriter=NULL) | 
Protected Member Functions | |
Formatters  | |
| virtual CP_String | FormatStringForXML (const CP_String &inOutString) | 
Protected Attributes | |
| CP_HandleBlock * | fCData | 
| SInt16 | fElementDataType | 
| CP_XMLWriter * | fXMLWriter | 
| CP_XMLWriter_Entry * | fParentElement | 
| CP_String | fTag | 
| CP_String | fData | 
| CP_XMLElements_Array * | fElements | 
| bool | fIsWritten | 
| CP_XMLAttributes_Array * | fAttributes | 
Private Member Functions | |
CData  | |
| void | WriteCData (CP_XMLWriter *inXMLWriter) | 
      
  | 
  ||||||||||||||||||||
| 
 Constructor. 
  | 
  
      
  | 
  
| 
 Destructor.  | 
  
      
  | 
  
| 
 Adds the contents of the passed in CP_HandleBlock as CData. 
  | 
  
      
  | 
  
| 
 Adds the contents of the passed in CP_String as CData. 
  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 Write the data for this element out. Reimplemented from CP_XMLWriter_Entry.  | 
  
      
  | 
  
| 
 Write the header for this element out. Reimplemented from CP_XMLWriter_Entry.  | 
  
      
  | 
  
| 
 Write the trailer for this element out. Reimplemented from CP_XMLWriter_Entry.  | 
  
      
  | 
  
| 
 Write the data for this element out. Reimplemented from CP_XMLWriter_Entry.  | 
  
      
  | 
  
| 
 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;  | 
  
      
  | 
  
| 
 Write any CData for this element out.  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 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.  | 
  
      
  | 
  
| 
 Add a new attribute to our list of attributes. 
  | 
  
      
  | 
  
| 
 Return the number of attributes for ourselves.  | 
  
      
  | 
  
| 
 Return the attribute at inIndex. 
  | 
  
      
  | 
  
| 
 Adds the data for all of our attributes to the passed in string, correctly formatted for output.  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 If the element contains CData, then this object contains the data to be written.  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 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