Views
Foundation Package API Reference Guide
Product Documentation:
Views Documentation Home
List of all members | Public Member Functions
IlXmlNodeIteratorI Class Referenceabstract

Interface for XML node iterators. More...

#include <ilog/xml.h>

Inheritance diagram for IlXmlNodeIteratorI:
IlXmlNodeArrayIterator IlXmlNodeIterator IlXmlNodeListIterator IlXmlNodePtrArrayIterator

Public Member Functions

virtual IlXmlNodeIgetNextNode ()=0
 Gets the next iterated XML node. More...
 
virtual IlBoolean hasMoreNodes () const =0
 Queries the state of the iterator. More...
 

Detailed Description

Interface for XML node iterators.

Library: ilog

This interface defines the interface for XML node iterators.

Member Function Documentation

◆ getNextNode()

virtual IlXmlNodeI* IlXmlNodeIteratorI::getNextNode ( )
pure virtual

Gets the next iterated XML node.

Returns
The next iterated XML node.

Implemented in IlXmlNodePtrArrayIterator, IlXmlNodeArrayIterator, IlXmlNodeListIterator, and IlXmlNodeIterator.

◆ hasMoreNodes()

virtual IlBoolean IlXmlNodeIteratorI::hasMoreNodes ( ) const
pure virtual

Queries the state of the iterator.

Returns
IlTrue if there are no more elements, and IlFalse otherwise.

Implemented in IlXmlNodePtrArrayIterator, IlXmlNodeArrayIterator, IlXmlNodeListIterator, and IlXmlNodeIterator.