Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Interface for XML comments. More...
#include <ilog/xml.h>
Public Member Functions | |
virtual const char * | getComment () const =0 |
Retrieves the comment content. | |
virtual Type | getType () const |
Retrieves the type of this element. | |
virtual void | setComment (const char *comment) |
Sets the comment content. | |
virtual void | storeComment (char *comment)=0 |
Sets the comment content. | |
virtual ostream & | write (ostream &) const |
Writes the XML code for this node. |
Interface for XML comments.
Library: ilog
This class is an interface that describes an XML comment node.
virtual const char* IlXmlCommentI::getComment | ( | ) | const [pure virtual] |
Retrieves the comment content.
Implemented in IlXmlComment.
virtual Type IlXmlCommentI::getType | ( | ) | const [virtual] |
virtual void IlXmlCommentI::setComment | ( | const char * | comment | ) | [virtual] |
Sets the comment content.
comment | The new content of this comment. The default implementation calls storeTag with a copy of the string comment. |
virtual void IlXmlCommentI::storeComment | ( | char * | comment | ) | [pure virtual] |
Sets the comment content.
comment | The new content of this comment. This string is not copied before it is stored. |
Implemented in IlXmlComment.
virtual ostream& IlXmlCommentI::write | ( | ostream & | stream | ) | const [virtual] |
Writes the XML code for this node.
Each subclass of this class implements its own version of write
, depending on its type.
stream | The output stream where the XML code will be sent. |
Implements IlXmlNodeI.
© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.