Yate
Public Member Functions
XmlComment Class Reference

Xml Comment. More...

#include <yatexml.h>

Inheritance diagram for XmlComment:
XmlChild GenObject

List of all members.

Public Member Functions

 XmlComment (const String &comm)
 XmlComment (const XmlComment &orig)
virtual ~XmlComment ()
const StringgetComment () const
void toString (String &dump, const String &indent=String::empty()) const
virtual XmlCommentxmlComment ()

Detailed Description

Xml Comment.

A Xml Comment from Xml document


Constructor & Destructor Documentation

XmlComment ( const String comm)

Constructor

Parameters:
commThe comment content
XmlComment ( const XmlComment orig)

Copy constructor

Parameters:
origOriginal XmlComment
virtual ~XmlComment ( ) [virtual]

Destructor


Member Function Documentation

const String& getComment ( ) const [inline]

Get the text contained by this comment

Returns:
The comment
void toString ( String dump,
const String indent = String::empty() 
) const

Build a String from this XmlComment

Parameters:
dumpThe string where to append representation
indentSpaces for output
virtual XmlComment* xmlComment ( ) [inline, virtual]

Get the Xml comment

Returns:
This object

Reimplemented from XmlChild.


The documentation for this class was generated from the following file: