iDocumentNodeIterator Struct Reference
[Utilities]
An iterator over iDocumentNode. More...
#include <iutil/document.h>
Public Member Functions | |
virtual bool | HasNext ()=0 |
Are there more elements? | |
virtual csRef< iDocumentNode > | Next ()=0 |
Get next element. | |
Position querying | |
The position returned by an iterator gives an indicator for the place of the next item returned in relation to all items iterated. It is not an accurate counter. In fact, after an element is fetched, the position may increase by any number or not at all. The only guarantees made are:
| |
virtual size_t | GetEndPosition ()=0 |
Return the index of the "end" position (the position that is taken after no more elements are available). | |
virtual size_t | GetNextPosition ()=0 |
Get an index of the next node. |
Detailed Description
An iterator over iDocumentNode.
Main creators of instances implementing this interface:
Definition at line 130 of file document.h.
Member Function Documentation
virtual size_t iDocumentNodeIterator::GetEndPosition | ( | ) | [pure virtual] |
Return the index of the "end" position (the position that is taken after no more elements are available).
Implemented in csEmptyDocumentNodeIterator, and CS::DocSystem::Implementation::FilterDocumentNodeIterator< T >.
virtual size_t iDocumentNodeIterator::GetNextPosition | ( | ) | [pure virtual] |
Get an index of the next node.
Implemented in csEmptyDocumentNodeIterator, and CS::DocSystem::Implementation::FilterDocumentNodeIterator< T >.
virtual bool iDocumentNodeIterator::HasNext | ( | ) | [pure virtual] |
Are there more elements?
Implemented in csEmptyDocumentNodeIterator, and CS::DocSystem::Implementation::FilterDocumentNodeIterator< T >.
virtual csRef<iDocumentNode> iDocumentNodeIterator::Next | ( | ) | [pure virtual] |
Get next element.
Implemented in csEmptyDocumentNodeIterator, and CS::DocSystem::Implementation::FilterDocumentNodeIterator< T >.
The documentation for this struct was generated from the following file:
- iutil/document.h
Generated for Crystal Space 2.0 by doxygen 1.6.1