class: exml::Declaration


Description:



Constructor and Destructor:

+                                  Declaration   (void );
+ Declaration (const std::string & _name);
+ virtual ~Declaration (void );

Synopsis:

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

Object Hierarchy:

+exml::Node
+--> +exml::AttributeList
+--> exml::Declaration
+--> exml::DeclarationXML

Detail:

Declaration

+  Declaration (void );
Constructor


Declaration

+  Declaration (const std::string & _name);
Constructor


~Declaration

+ virtual  ~Declaration (void );
Destructor


getType

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


iGenerate

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


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]


toDeclaration

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


toDeclaration

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