Lolly 1.4.28
|
Public Member Functions | |
hashmap_iterator_rep (hashmap< T, U > h) | |
bool | busy () |
Returns whether the iterator has another element. | |
T | next () |
Returns the current element of the iterator, and move the iterator forward. | |
T | current () |
Returns the current element of the iterator. | |
void | increase () |
Increase the iterator. | |
Public Member Functions inherited from iterator_rep< T > | |
iterator_rep () | |
Constructor. Increments the iterator count. | |
virtual | ~iterator_rep () |
Destructor. Decrements the iterator count. | |
virtual int | remains () |
Returns the number of elements remaining in the iterator. | |
Public Member Functions inherited from abstract_struct | |
abstract_struct () | |
Default constructor for the abstract object. Sets the reference count to 0. | |
virtual | ~abstract_struct () |
Virtual destructor for the abstract object. Decrements the reference count. | |
Private Member Functions | |
void | spool () |
Private Attributes | |
hashmap< T, U > | h |
int | i |
list< hashentry< T, U > > | l |
Additional Inherited Members | |
Public Attributes inherited from abstract_struct | |
int | ref_count |
The reference count for the abstract object. | |
Definition at line 106 of file iterator.ipp.
hashmap_iterator_rep< T, U >::hashmap_iterator_rep | ( | hashmap< T, U > | h | ) |
Definition at line 121 of file iterator.ipp.
|
private |
|
virtual |
Returns whether the iterator has another element.
Implements iterator_rep< T >.
Definition at line 136 of file iterator.ipp.
|
virtual |
Returns the current element of the iterator, and move the iterator forward.
Implements iterator_rep< T >.
Definition at line 143 of file iterator.ipp.
|
virtual |
Returns the current element of the iterator.
Implements iterator_rep< T >.
Definition at line 152 of file iterator.ipp.
|
virtual |
|
private |
Definition at line 107 of file iterator.ipp.
|
private |
Definition at line 108 of file iterator.ipp.
|
private |
Definition at line 109 of file iterator.ipp.