class XmlNodeIterator

An iterator object that allows to iterate over a node's child nodes.

Methods

int AddNode (const int, const string)Adds a new child node to the end of the list.
XmlNode GetNode ()Returns the iterator's current child node.
int GotoFirst ()Moves the iterator to the first child node.
int GotoLast ()Moves the iterator to the last child node.
int GotoNext ()Moves the iterator to the next child node.
int GotoPrev ()Moves the iterator to the previous child node.
int InsertNode (const int, const string)Inserts a new child node at the iterator's current position.

Properties

string Name ()Returns the name of the iterator's current child node.
int Type ()Returns the type of the iterator's current child node.
int Valid ()Returns true if the iterator is valid.

Reference

method int AddNode (const int type, const string name)

Adds a new child node to the end of the list.


method XmlNode GetNode ()

Returns the iterator's current child node.


method int GotoFirst ()

Moves the iterator to the first child node.


method int GotoLast ()

Moves the iterator to the last child node.


method int GotoNext ()

Moves the iterator to the next child node.


method int GotoPrev ()

Moves the iterator to the previous child node.


method int InsertNode (const int type, const string name)

Inserts a new child node at the iterator's current position.


accessor string Name ()

Returns the name of the iterator's current child node.


accessor int Type ()

Returns the type of the iterator's current child node.


accessor int Valid ()

Returns true if the iterator is valid.

If this returns false, the iterator has stepped over the last item in the list.