![]() |
Public API Reference |
![]() |
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 | GetNextPosition ()=0 |
Get an index of the next node. | |
virtual size_t | GetEndPosition ()=0 |
Return the index of the "end" position (the position that is taken after no more elements are available). |
An iterator over iDocumentNode.
Main creators of instances implementing this interface:
Definition at line 130 of file document.h.
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 CS::DocSystem::Implementation::FilterDocumentNodeIterator< T >, and csEmptyDocumentNodeIterator.
virtual size_t iDocumentNodeIterator::GetNextPosition | ( | ) | [pure virtual] |
Get an index of the next node.
Implemented in CS::DocSystem::Implementation::FilterDocumentNodeIterator< T >, and csEmptyDocumentNodeIterator.
virtual bool iDocumentNodeIterator::HasNext | ( | ) | [pure virtual] |
Are there more elements?
Implemented in CS::DocSystem::Implementation::FilterDocumentNodeIterator< T >, and csEmptyDocumentNodeIterator.
virtual csRef<iDocumentNode> iDocumentNodeIterator::Next | ( | ) | [pure virtual] |
Get next element.
Implemented in CS::DocSystem::Implementation::FilterDocumentNodeIterator< T >, and csEmptyDocumentNodeIterator.