C++
C#
VB
JScript
All

Class xml_reference


Copyright (C) 2005 IENT-RWTH Aachen

Pseudo-reference of a XML node

Subclasses

xml_cast_reference

Remarks

This class is given back by non-const node access on xml_tree. Use it like a xml_node class.

Groups

Constructors
Method xml_reference

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 find

Searches the first node

Method find_name_if

Searches the first node which name satifies the predicate

Method name

Name access

Method push_back

Inserts after the last node

Example

XMLTree xml;
xml.push_back("root");
XMLTree::reference x = xml.front();
x.push_back("first");
x.push_back("second");

See Also

xml_node