XMLElementConstIterator Class Reference

An XMLElement const iterator. More...

#include <XMLElementConstIterator.h++>

Inheritance diagram for XMLElementConstIterator:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 XMLElementConstIterator (const XMLElement &elem, const String &name=String::null)
 Construct a new XMLElementConstIterator.
 ~XMLElementConstIterator ()
 Destructor.
void rewind ()
 Rewind the iterator to the first item in the sequence.
const XMLElementnext () throw (OutOfBoundsException)
 Get the next item in the sequence.
bool hasNext ()
 Test if there are more items in the sequence.
void remove () throw (UnsupportedOperationException)
 Remove the current item from the sequence.

Detailed Description

An XMLElement const iterator.

Author:
Mark Lindner

Constructor & Destructor Documentation

XMLElementConstIterator ( const XMLElement elem,
const String name = String::null 
)

Construct a new XMLElementConstIterator.

Parameters:
elem The XMLElement whose child elements will be iterated over.
name If not String::null, indicates that only elements with the given name should be iterated over.

Destructor.


Member Function Documentation

bool hasNext (  )  [virtual]

Test if there are more items in the sequence.

Implements Iterator< const XMLElement & >.

const XMLElement & next (  )  throw (OutOfBoundsException) [virtual]

Get the next item in the sequence.

Implements Iterator< const XMLElement & >.

void remove (  )  throw (UnsupportedOperationException) [virtual]

Remove the current item from the sequence.

Implements Iterator< const XMLElement & >.

void rewind (  )  [virtual]

Rewind the iterator to the first item in the sequence.

Implements Iterator< const XMLElement & >.


The documentation for this class was generated from the following files:
Generated on Sat Nov 26 16:49:10 2011 for libcommonc++ by  doxygen 1.6.3