Lolly 1.4.28
|
Go to the source code of this file.
Classes | |
class | iterator_rep< T > |
An abstract base class for iterator implementation. More... | |
class | iterator< T > |
A template class for iterators. More... | |
Functions | |
ABSTRACT_TEMPLATE_CODE (iterator, class, T) | |
template<class T > | |
tm_ostream & | operator<< (tm_ostream &out, iterator< T > it) |
Outputs the iterator object to an output stream. | |
template<class T , class U > | |
iterator< T > | iterate (hashmap< T, U > h) |
Generates an iterator for a container of type hashmap<T, U>. | |
template<class T > | |
iterator< T > | iterate (hashset< T > h) |
Generates an iterator for a container of type hashset<T>. | |
Variables | |
int | iterator_count |
tm_ostream & operator<< | ( | tm_ostream & | out, |
iterator< T > | it ) |
Outputs the iterator object to an output stream.
T | The type for the iterator's return value. |
out | The output stream. |
it | The iterator object. |
Definition at line 26 of file iterator.ipp.
Generates an iterator for a container of type hashmap<T, U>.
T | The type of the elements in the container. |
U | The type of the values in the hashmap. |
h | The hashmap container. |
Definition at line 166 of file iterator.ipp.
Generates an iterator for a container of type hashset<T>.
T | The type of the elements in the container. |
h | The hashset container. |
Definition at line 99 of file iterator.ipp.
|
extern |