- Note
- Tree type nodes are in form:
<node>...</node> or <node/>
Attribute type in whch attribure is stored. Attribute::first is attribute name, Attribute::second is attribute value.
Attributes type in which current node attrivutes are stored.
Nodes type in which child nodes are stored.
| rili::XML::TreeType::TreeType |
( |
std::string const & |
name | ) |
|
|
inlineexplicit |
TreeType construct tree node with given name, without attributes nor subnodes.
- Parameters
-
| name | name of tree node tag to construct |
| rili::XML::TreeType::TreeType |
( |
std::string const & |
name, |
|
|
Nodes const & |
nodes |
|
) |
| |
|
inline |
TreeType construct tree node with given name and subnodes but without attributes.
- Parameters
-
| name | name of tree node tag to construct |
| nodes | list of subnodes |
| rili::XML::TreeType::TreeType |
( |
std::string const & |
name, |
|
|
Attributes const & |
attributes |
|
) |
| |
|
inline |
TreeType construct tree node with given name and attributes but without subnodes.
- Parameters
-
| name | name of tree node tag to construct |
| attributes | list of attributes |
| rili::XML::TreeType::TreeType |
( |
std::string const & |
name, |
|
|
Nodes const & |
nodes, |
|
|
Attributes const & |
attributes |
|
) |
| |
|
inline |
TreeType.
- Parameters
-
| name | name of tree node tag to construct |
| nodes | list of subnodes |
| attributes | list of attributes |
attributes used to get current tag attributes
- Returns
- current tag attributes
| Attributes const& rili::XML::TreeType::attributes |
( |
| ) |
const |
|
inlinenoexcept |
attributes used to get current tag attributes
- Returns
- current tag attributes
| std::string& rili::XML::TreeType::name |
( |
| ) |
|
|
inlinenoexcept |
name return tag name( for "`<``node ``/``>`" it should be equal to node )
- Returns
- tag name
| std::string const& rili::XML::TreeType::name |
( |
| ) |
const |
|
inlinenoexcept |
name return tag name( for "`<``node ``/``>`" it should be equal to node )
- Returns
- tag name
| Nodes& rili::XML::TreeType::nodes |
( |
| ) |
|
|
inlinenoexcept |
nodes used to get child nodes
- Returns
- child nodes
| Nodes const& rili::XML::TreeType::nodes |
( |
| ) |
const |
|
inlinenoexcept |
nodes used to get child nodes
- Returns
- child nodes
The documentation for this class was generated from the following file: