TBTK
TBTK::MultiCounter< DataType > Class Template Reference

Public Member Functions

 MultiCounter (const std::initializer_list< DataType > &begin, const std::initializer_list< DataType > &end, const std::initializer_list< DataType > &increment)
 
 ~MultiCounter ()
 
MultiCounteroperator++ ()
 
const DataType operator[] (unsigned int n) const
 
void reset ()
 
bool done () const
 

Constructor & Destructor Documentation

template<typename DataType >
TBTK::MultiCounter< DataType >::MultiCounter ( const std::initializer_list< DataType > &  begin,
const std::initializer_list< DataType > &  end,
const std::initializer_list< DataType > &  increment 
)
inline

Constructor.

template<typename DataType >
TBTK::MultiCounter< DataType >::~MultiCounter ( )
inline

Destructor.

Member Function Documentation

template<typename DataType >
bool TBTK::MultiCounter< DataType >::done ( ) const
inline

Returns true if the counter has reached the end.

template<typename DataType >
MultiCounter< DataType > & TBTK::MultiCounter< DataType >::operator++ ( )
inline

Increment operator.

template<typename DataType >
const DataType TBTK::MultiCounter< DataType >::operator[] ( unsigned int  n) const
inline

Array subscript operator.

template<typename DataType >
void TBTK::MultiCounter< DataType >::reset ( )
inline

Reset.


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