rili::XML::DocumentType Class Referencefinal

Public Types

typedef std::list< XMLNodes
 

Public Member Functions

Nodesnodes () noexcept
 
Nodes const & nodes () const noexcept
 
bool haveRoot () const noexcept
 
 DocumentType ()
 
 DocumentType (Nodes const &nodes)
 

Member Typedef Documentation

typedef std::list<XML> rili::XML::DocumentType::Nodes

Nodes type in which child nodes are stored.

Constructor & Destructor Documentation

rili::XML::DocumentType::DocumentType ( )
inline

DocumentType construct document node with without subnodes.

rili::XML::DocumentType::DocumentType ( Nodes const &  nodes)
inlineexplicit

DocumentType construct document node with with subnodes.

Parameters
nodeslist of subnodes

Member Function Documentation

bool rili::XML::DocumentType::haveRoot ( ) const
inlinenoexcept

haveRoot indicate if document have root element (tree node)

Returns
true if have tree node, false otherwise
Nodes& rili::XML::DocumentType::nodes ( )
inlinenoexcept

nodes used to get child nodes

Returns
child nodes
Nodes const& rili::XML::DocumentType::nodes ( ) const
inlinenoexcept

nodes used to get child nodes

Returns
child nodes

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