Default implementation of XML texts. More...
#include <ilog/xml.h>
Public Member Functions | |
| virtual void | appendText (const char *text) |
| Appends text to the content. More... | |
| virtual const char * | getText () const |
| Retrieves the text content. More... | |
| virtual void | storeText (char *) |
| Sets the text content. More... | |
Public Member Functions inherited from IlXmlTextI | |
| virtual Type | getType () const |
| Retrieves the type of this element. More... | |
| virtual void | setText (const char *text) |
| Sets the text content. More... | |
Public Member Functions inherited from IlXmlNodeI | |
| virtual std::ostream & | write (std::ostream &stream) const =0 |
| Writes the XML code for this node. More... | |
Additional Inherited Members | |
Public Types inherited from IlXmlNodeI | |
| enum | Type { Attribute, Element, Text, Comment, CData, PI, CharRef, EntityRef } |
| The different types of XML nodes. More... | |
Default implementation of XML texts.
Library: ilog
This class implements the interface IlXmlTextI to provide the basic functionality of an XML text node.
|
virtual |
Appends text to the content.
| text | The text that is appended to the current content. |
Implements IlXmlTextI.
|
virtual |
Retrieves the text content.
Implements IlXmlTextI.
|
virtual |
Sets the text content.
| text | The new text of this node. This string is not copied before it is stored. |
Implements IlXmlTextI.