Lolly 1.4.28
|
Public Member Functions | |
hashset_iterator_rep (hashset< T > 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 | |
hashset< T > | h |
int | i |
list< T > | l |
Additional Inherited Members | |
Public Attributes inherited from abstract_struct | |
int | ref_count |
The reference count for the abstract object. | |
Definition at line 39 of file iterator.ipp.
hashset_iterator_rep< T >::hashset_iterator_rep | ( | hashset< T > | h | ) |
Definition at line 54 of file iterator.ipp.
|
private |
|
virtual |
Returns whether the iterator has another element.
Implements iterator_rep< T >.
Definition at line 69 of file iterator.ipp.
|
virtual |
Returns the current element of the iterator, and move the iterator forward.
Implements iterator_rep< T >.
Definition at line 76 of file iterator.ipp.
|
virtual |
Returns the current element of the iterator.
Implements iterator_rep< T >.
Definition at line 85 of file iterator.ipp.
|
virtual |
|
private |
Definition at line 40 of file iterator.ipp.
|
private |
Definition at line 41 of file iterator.ipp.
|
private |
Definition at line 42 of file iterator.ipp.