Default implementation of XML comments. More...
#include <ilog/xml.h>
Public Member Functions | |
| virtual const char * | getComment () const |
| Retrieves the comment content. More... | |
| virtual void | storeComment (char *) |
| Sets the comment content. More... | |
Public Member Functions inherited from IlXmlCommentI | |
| virtual Type | getType () const |
| Retrieves the type of this element. More... | |
| virtual void | setComment (const char *comment) |
| Sets the comment 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 comments.
Library: ilog
This class implements the interface IlXmlCommentI to provide the basic functionality of an XML comment node.
|
virtual |
Retrieves the comment content.
Implements IlXmlCommentI.
|
virtual |
Sets the comment content.
| comment | The new content of this comment. This string is not copied before it is stored. |
Implements IlXmlCommentI.