exml::DeclarationXML Class Reference

#include <Declaration.hpp>

Inheritance diagram for exml::DeclarationXML:
exml::Declaration exml::AttributeList exml::Node

Public Member Functions

 DeclarationXML (ememory::SharedPtr< exml::internal::Node > _internalNode)
 
 DeclarationXML (const exml::DeclarationXML &_obj)
 
 DeclarationXML (const std::string &_version="0.0", const std::string &_format="UTF-8", bool _standalone=true)
 
exml::DeclarationXMLoperator= (const exml::DeclarationXML &_obj)
 
- Public Member Functions inherited from exml::Declaration
 Declaration (ememory::SharedPtr< exml::internal::Node > _internalNode)
 
 Declaration (const exml::Declaration &_obj)
 
 Declaration (const std::string &_name="")
 
exml::Declarationoperator= (const exml::Declaration &_obj)
 
- Public Member Functions inherited from exml::Node
 Node (const ememory::SharedPtr< exml::internal::Node > &_internalNode)
 
 Node ()
 
virtual ~Node ()=default
 
bool exist () const
 
exml::FilePos getPos () const
 
virtual void setValue (std::string _value)
 
const std::string & getValue () const
 
enum nodeType getType () const
 
exml::Document toDocument ()
 
const exml::Document toDocument () const
 
exml::Attribute toAttribute ()
 
const exml::Attribute toAttribute () const
 
exml::Comment toComment ()
 
const exml::Comment toComment () const
 
exml::Declaration toDeclaration ()
 
const exml::Declaration toDeclaration () const
 
exml::Element toElement ()
 
const exml::Element toElement () const
 
exml::Text toText ()
 
const exml::Text toText () const
 
bool isDocument () const
 
bool isAttribute () const
 
bool isComment () const
 
bool isDeclaration () const
 
bool isElement () const
 
bool isText () const
 
virtual void clear ()
 

Additional Inherited Members

- Public Attributes inherited from exml::AttributeList
AttributeListData attributes
 
- Protected Member Functions inherited from exml::AttributeList
 AttributeList (const ememory::SharedPtr< exml::internal::Node > &_internalNode)
 
 AttributeList ()
 
- Protected Attributes inherited from exml::Node
ememory::SharedPtr< exml::internal::Nodem_data
 

Detailed Description

Declaration node: <?XML ... >.

Constructor & Destructor Documentation

§ DeclarationXML() [1/3]

exml::DeclarationXML::DeclarationXML ( ememory::SharedPtr< exml::internal::Node _internalNode)

Constructor.

Parameters
[in]_internalNodeInternal Node to set data

§ DeclarationXML() [2/3]

exml::DeclarationXML::DeclarationXML ( const exml::DeclarationXML _obj)

Copy constructor.

Parameters
[in]_objObject to copy

§ DeclarationXML() [3/3]

exml::DeclarationXML::DeclarationXML ( const std::string &  _version = "0.0",
const std::string &  _format = "UTF-8",
bool  _standalone = true 
)

Constructor for the generic declaration : <?xml version="" format="UTF-8"?>

Parameters
[in]_versionXml version.
[in]_formatcharset of the XML
[in]_standalonethis document is standalone

Member Function Documentation

§ operator=()

exml::DeclarationXML& exml::DeclarationXML::operator= ( const exml::DeclarationXML _obj)

Copy constructor.

Parameters
[in]_objObject to copy
Returns
A reference on the local Object

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