#include <include/EST_TIterator.h>


Public Types | |
| typedef EST_TRwStructIterator< Container, IPointer, Entry > | Iter |
Public Types inherited from EST_TRwIterator< Container, IPointer, Entry > | |
| typedef EST_TRwIterator< Container, IPointer, Entry > | Iter |
| Can't access constant containers this way. More... | |
Public Types inherited from EST_TIterator< Container, IPointer, Entry > | |
| typedef EST_TIterator< Container, IPointer, Entry > | Iter |
| Name for an iterator like this. More... | |
Public Member Functions | |
| EST_TRwStructIterator () | |
| Create an iterator not associated with any specific container. More... | |
| Iter & | operator= (const Iter &orig) |
| Copy an iterator by assignment. More... | |
| EST_TRwStructIterator (Container &over) | |
| Create an iterator ready to run over the given container. More... | |
| Entry * | operator-> () const |
Public Member Functions inherited from EST_TRwIterator< Container, IPointer, Entry > | |
| EST_TRwIterator () | |
| Create an iterator not associated with any specific container. More... | |
| Iter & | operator= (const Iter &orig) |
| Copy an iterator by assignment. More... | |
| EST_TRwIterator (Container &over) | |
| Create an iterator ready to run over the given container. More... | |
| void | begin (Container &over) |
| Set the iterator ready to run over this container. More... | |
| Entry & | current () const |
| Return the element currently pointed to. More... | |
| Entry & | operator* () const |
| The * operator returns the current element. More... | |
| Entry & | next_element () |
| Return the current element and move the pointer forwards. More... | |
Public Member Functions inherited from EST_TIterator< Container, IPointer, Entry > | |
| EST_TIterator () | |
| Create an iterator not associated with any specific container. More... | |
| EST_TIterator (const Container &over) | |
| Create an iterator ready to run over the given container. More... | |
| Iter & | operator= (const Iter &orig) |
| Copy an iterator by assignment. More... | |
| Iter & | operator= (const Container &over) |
| Assigning a container to an iterator sets it ready to start. More... | |
| void | begin (const Container &over) |
| Set the iterator ready to run over this container. More... | |
| void | beginning () |
| Reset to the start of the container. More... | |
| bool | has_more_elements () const |
| True if there are more elements to look at. More... | |
| bool | at_end () const |
| True when there are no more. More... | |
| operator int () const | |
| void | next () |
| Next moves to the next entry. More... | |
| Iter & | operator++ () |
| The increment operator does the same as next. More... | |
| Iter | operator++ (int dummy) |
| const Entry & | current () const |
| Return the element currently pointed to. More... | |
| const Entry & | operator* () const |
| The * operator returns the current element. More... | |
| const Entry & | next_element () |
| Return the current element and move the pointer forwards. More... | |
| unsigned int | n () const |
| Return the current position. More... | |
Additional Inherited Members | |
Protected Attributes inherited from EST_TIterator< Container, IPointer, Entry > | |
| Container * | cont |
| The container we are looking at. More... | |
| unsigned int | pos |
| Position in the structure. May or may not be useful. More... | |
| IPointer | pointer |
Definition at line 82 of file EST_TIterator.h.
| typedef EST_TRwStructIterator<Container, IPointer, Entry> EST_TRwStructIterator< Container, IPointer, Entry >::Iter |
Definition at line 288 of file EST_TIterator.h.
|
inline |
Create an iterator not associated with any specific container.
Definition at line 291 of file EST_TIterator.h.
|
inline |
Create an iterator ready to run over the given container.
Definition at line 298 of file EST_TIterator.h.
|
inline |
Copy an iterator by assignment.
Definition at line 294 of file EST_TIterator.h.
|
inline |
Definition at line 301 of file EST_TIterator.h.