C++
C#
VB
JScript
All

Class xml_tree


Copyright (C) 2005 IENT-RWTH Aachen

XML Container

Groups

Constructors
Method xml_tree

Builds an instance of the object

Assignment
Method operator=

Assignment Operator

Operators
Method operator()

Node access

Method operator[]

Node access

Operations
Method attributes

Attributes access

Method data

Data access

Method declarations

Declarations access

Method find

Searches the first node

Method find_name_if

Searches the first node which name satisfies the predicate

Method load

Loads a file

Method name

Name access

Method push_back

Inserts after the last node

Method start_declaration

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";