Stride Reference Manual  1.0
stride::_PopulationIterator< PopT, IterT > Class Template Reference

#include <Population.h>

Inheritance diagram for stride::_PopulationIterator< PopT, IterT >:
Inheritance graph
Collaboration diagram for stride::_PopulationIterator< PopT, IterT >:
Collaboration graph

Public Member Functions

void operator++ (int)
 
void operator++ ()
 
bool operator== (const _PopulationIterator &other) const
 
bool operator!= (const _PopulationIterator &other) const
 
const PopT::PersonType & operator* () const
 
bool isEnd ()
 

Protected Member Functions

 _PopulationIterator (PopT &pop, unsigned int index, bool in_planner=false, unsigned int day=0)
 
void next ()
 
void trueNext ()
 

Protected Attributes

PopT & m_pop
 
bool m_in_planner
 
unsigned int m_index
 
unsigned int m_day
 
IterT m_day_iter
 

Friends

class Population
 

Detailed Description

template<typename PopT, typename IterT>
class stride::_PopulationIterator< PopT, IterT >

Definition at line 41 of file Population.h.

Constructor & Destructor Documentation

template<typename PopT , typename IterT >
stride::_PopulationIterator< PopT, IterT >::_PopulationIterator ( PopT &  pop,
unsigned int  index,
bool  in_planner = false,
unsigned int  day = 0 
)
inlineprotected

Definition at line 43 of file Population.h.

Member Function Documentation

template<typename PopT , typename IterT >
void stride::_PopulationIterator< PopT, IterT >::next ( )
inlineprotected

Definition at line 48 of file Population.h.

template<typename PopT , typename IterT >
void stride::_PopulationIterator< PopT, IterT >::trueNext ( )
inlineprotected

Definition at line 74 of file Population.h.

template<typename PopT , typename IterT >
void stride::_PopulationIterator< PopT, IterT >::operator++ ( int  )
inline

Definition at line 91 of file Population.h.

template<typename PopT , typename IterT >
void stride::_PopulationIterator< PopT, IterT >::operator++ ( )
inline

Definition at line 93 of file Population.h.

template<typename PopT , typename IterT >
bool stride::_PopulationIterator< PopT, IterT >::operator== ( const _PopulationIterator< PopT, IterT > &  other) const
inline
template<typename PopT , typename IterT >
bool stride::_PopulationIterator< PopT, IterT >::operator!= ( const _PopulationIterator< PopT, IterT > &  other) const
inline

Definition at line 102 of file Population.h.

template<typename PopT , typename IterT >
const PopT::PersonType& stride::_PopulationIterator< PopT, IterT >::operator* ( ) const
inline

Definition at line 106 of file Population.h.

template<typename PopT , typename IterT >
bool stride::_PopulationIterator< PopT, IterT >::isEnd ( )
inline

Definition at line 111 of file Population.h.

Friends And Related Function Documentation

template<typename PopT , typename IterT >
friend class Population
friend

Definition at line 46 of file Population.h.

Member Data Documentation

template<typename PopT , typename IterT >
PopT& stride::_PopulationIterator< PopT, IterT >::m_pop
protected
template<typename PopT , typename IterT >
bool stride::_PopulationIterator< PopT, IterT >::m_in_planner
protected
template<typename PopT , typename IterT >
unsigned int stride::_PopulationIterator< PopT, IterT >::m_index
protected
template<typename PopT , typename IterT >
unsigned int stride::_PopulationIterator< PopT, IterT >::m_day
protected
template<typename PopT , typename IterT >
IterT stride::_PopulationIterator< PopT, IterT >::m_day_iter
protected

Definition at line 122 of file Population.h.


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