|
CPN
Computational Process Networks
|
A reference to an iterator. More...
#include <IteratorRef.h>
Collaboration diagram for IteratorRef< T >:Classes | |
| class | ItrRef |
| class | ItrRefImpl |
Public Member Functions | |
| template<typename iter_type > | |
| IteratorRef (iter_type itr) | |
| IteratorRef (const IteratorRef &itr) | |
| IteratorRef & | operator= (const IteratorRef &itr) |
| T & | operator* () |
| T * | operator-> () |
| IteratorRef | operator++ (int) |
| IteratorRef | operator++ () |
| IteratorRef | operator-- (int) |
| IteratorRef | operator-- () |
| bool | operator== (const IteratorRef< T > &rhs) const |
| bool | operator!= (const IteratorRef< T > &rhs) const |
Private Attributes | |
| std::auto_ptr< ItrRef > | itrref |
A reference to an iterator.
This iterator container class lets a non templated function take a generic iterator from several different types of objects. This way a function can take a beginning and ending iterator from a deque or a list or a vector or a actual pointer and without having to be a template.
Definition at line 46 of file IteratorRef.h.
|
inline |
Definition at line 85 of file IteratorRef.h.
|
inline |
Definition at line 89 of file IteratorRef.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 137 of file IteratorRef.h.
Referenced by IteratorRef< T >::operator!=(), IteratorRef< T >::operator*(), IteratorRef< T >::operator++(), IteratorRef< T >::operator--(), IteratorRef< T >::operator->(), IteratorRef< T >::operator=(), and IteratorRef< T >::operator==().
1.8.5