class: exml::Comment


Description:



Constructor and Destructor:

+                              Comment   (void );
+ Comment (const std::string & _value);
+ virtual ~Comment (void );

Synopsis:

+ virtual enum nodeType        getType   (void ) const;
+ virtual bool iParse (const std::string & _data,
int32_t & _pos,
bool _caseSensitive,
exml::filePos & _filePos,
exml::Document & _doc);
+ virtual bool iGenerate (std::string & _data,
int32_t _indent) const;
+ virtual exml::Comment* toComment (void );
+ virtual const exml::Comment* toComment (void ) const;

Object Hierarchy:

+exml::Node
+--> exml::Comment

Detail:

Comment

+  Comment (void );
Constructor


Comment

+  Comment (const std::string & _value);
Constructor


~Comment

+ virtual  ~Comment (void );
Destructor


getType

+ virtual enum nodeType getType (void ) const;
get the node type.


iParse

+ virtual bool iParse (const std::string & _data,
int32_t & _pos,
bool _caseSensitive,
exml::filePos & _filePos,
exml::Document & _doc);
parse the Current node [pure VIRUAL]


iGenerate

+ virtual bool iGenerate (std::string & _data,
int32_t _indent) const;
generate a string with the tree of the xml


toComment

+ virtual exml::Comment* toComment (void );
Cast the element in a Comment if it is possible.


toComment

+ virtual const exml::Comment* toComment (void ) const;
Cast the element in a Comment if it is possible.