xml_tree
Copyright (C) 2005 IENT-RWTH Aachen
XML Container
Groups
Constructors | |
![]() |
Builds an instance of the object |
Assignment | |
![]() |
Assignment Operator |
Operators | |
![]() |
Node access |
![]() |
Node access |
Operations | |
![]() |
Attributes access |
![]() |
Data access |
![]() |
Declarations access |
![]() |
Searches the first node |
![]() |
Searches the first node which name satisfies the predicate |
![]() |
Loads a file |
![]() |
Name access |
![]() |
Inserts after the last node |
![]() |
Start declaration access |
Example
xml_tree<XMLElem> xml("root"); xml.front().push_back(XMLElem("first","1")); // root->first xml.front().push_back("second"); // root->second xml.front().front().push_back("third"); // root->first->third xml.front().front().push_back("forth"); // root->first->forth xml_tree<XMLElem>::reference x=xml.front(); //root->first x["second"].data() = "2";