Ginan
Loading...
Searching...
No Matches
MapIteratorType< OUTTYPE, INTYPE, KEYTYPE > Struct Template Reference

An iterator that trys to cast elements to the desired type before using them. More...

Detailed Description

template<typename OUTTYPE, typename INTYPE, typename KEYTYPE>
struct MapIteratorType< OUTTYPE, INTYPE, KEYTYPE >

An iterator that trys to cast elements to the desired type before using them.

Collaboration diagram for MapIteratorType< OUTTYPE, INTYPE, KEYTYPE >:

Public Member Functions

 MapIteratorType (typename INTYPE::iterator startPtr_ptr, typename INTYPE::iterator endPtr_ptr)
 
bool operator!= (MapIteratorType rhs)
 
const pair< const KEYTYPE &, OUTTYPE & > operator* ()
 
void incrementUntilGood ()
 
void operator++ ()
 

Data Fields

INTYPE::iterator ptr_ptr
 
INTYPE::iterator endPtr_ptr
 

Constructor & Destructor Documentation

◆ MapIteratorType()

template<typename OUTTYPE , typename INTYPE , typename KEYTYPE >
MapIteratorType< OUTTYPE, INTYPE, KEYTYPE >::MapIteratorType ( typename INTYPE::iterator startPtr_ptr,
typename INTYPE::iterator endPtr_ptr )
inline
Here is the call graph for this function:

Member Function Documentation

◆ incrementUntilGood()

template<typename OUTTYPE , typename INTYPE , typename KEYTYPE >
void MapIteratorType< OUTTYPE, INTYPE, KEYTYPE >::incrementUntilGood ( )
inline
Here is the caller graph for this function:

◆ operator!=()

template<typename OUTTYPE , typename INTYPE , typename KEYTYPE >
bool MapIteratorType< OUTTYPE, INTYPE, KEYTYPE >::operator!= ( MapIteratorType< OUTTYPE, INTYPE, KEYTYPE > rhs)
inline

◆ operator*()

template<typename OUTTYPE , typename INTYPE , typename KEYTYPE >
const pair< const KEYTYPE &, OUTTYPE & > MapIteratorType< OUTTYPE, INTYPE, KEYTYPE >::operator* ( )
inline

◆ operator++()

template<typename OUTTYPE , typename INTYPE , typename KEYTYPE >
void MapIteratorType< OUTTYPE, INTYPE, KEYTYPE >::operator++ ( )
inline
Here is the call graph for this function:

Field Documentation

◆ endPtr_ptr

template<typename OUTTYPE , typename INTYPE , typename KEYTYPE >
INTYPE::iterator MapIteratorType< OUTTYPE, INTYPE, KEYTYPE >::endPtr_ptr

◆ ptr_ptr

template<typename OUTTYPE , typename INTYPE , typename KEYTYPE >
INTYPE::iterator MapIteratorType< OUTTYPE, INTYPE, KEYTYPE >::ptr_ptr

The documentation for this struct was generated from the following file: