KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVRefVec< T >::iterator Struct Reference

Detailed Description

template<typename T>
struct KVRefVec< T >::iterator

Definition at line 41 of file KVRefVec.h.

#include <KVRefVec.h>

Public Types

typedef std::ptrdiff_t difference_type
 
typedef std::forward_iterator_tag iterator_category
 
typedef Tpointer
 
typedef Treference
 
typedef T value_type
 

Public Member Functions

 iterator ()
 
 iterator (const iterator &i)
 
 iterator (KVRefVec< T > *refvec)
 
bool operator!= (const iterator &it) const
 
Toperator* () const
 
const iteratoroperator++ ()
 
iterator operator++ (int)
 
iteratoroperator= (const iterator &rhs)
 
bool operator== (const iterator &it) const
 

Static Public Member Functions

static iterator make_end_iterator (KVRefVec< T > *refvec)
 

Public Attributes

std::vector< T * >::iterator vec_it
 

Member Typedef Documentation

◆ difference_type

template<typename T >
typedef std::ptrdiff_t KVRefVec< T >::iterator::difference_type

Definition at line 44 of file KVRefVec.h.

◆ iterator_category

template<typename T >
typedef std::forward_iterator_tag KVRefVec< T >::iterator::iterator_category

Definition at line 42 of file KVRefVec.h.

◆ pointer

template<typename T >
typedef T* KVRefVec< T >::iterator::pointer

Definition at line 45 of file KVRefVec.h.

◆ reference

template<typename T >
typedef T& KVRefVec< T >::iterator::reference

Definition at line 46 of file KVRefVec.h.

◆ value_type

template<typename T >
typedef T KVRefVec< T >::iterator::value_type

Definition at line 43 of file KVRefVec.h.

Constructor & Destructor Documentation

◆ iterator() [1/3]

template<typename T >
KVRefVec< T >::iterator::iterator ( )
inline

Definition at line 50 of file KVRefVec.h.

◆ iterator() [2/3]

template<typename T >
KVRefVec< T >::iterator::iterator ( const iterator i)
inline

Definition at line 51 of file KVRefVec.h.

◆ iterator() [3/3]

template<typename T >
KVRefVec< T >::iterator::iterator ( KVRefVec< T > *  refvec)
inline

Definition at line 52 of file KVRefVec.h.

Member Function Documentation

◆ make_end_iterator()

template<typename T >
static iterator KVRefVec< T >::iterator::make_end_iterator ( KVRefVec< T > *  refvec)
inlinestatic

Definition at line 86 of file KVRefVec.h.

◆ operator!=()

template<typename T >
bool KVRefVec< T >::iterator::operator!= ( const iterator it) const
inline

Definition at line 60 of file KVRefVec.h.

◆ operator*()

template<typename T >
T & KVRefVec< T >::iterator::operator* ( ) const
inline

Definition at line 56 of file KVRefVec.h.

◆ operator++() [1/2]

template<typename T >
const iterator & KVRefVec< T >::iterator::operator++ ( )
inline

Definition at line 68 of file KVRefVec.h.

◆ operator++() [2/2]

template<typename T >
iterator KVRefVec< T >::iterator::operator++ ( int  )
inline

Definition at line 73 of file KVRefVec.h.

◆ operator=()

template<typename T >
iterator & KVRefVec< T >::iterator::operator= ( const iterator rhs)
inline

Definition at line 79 of file KVRefVec.h.

◆ operator==()

template<typename T >
bool KVRefVec< T >::iterator::operator== ( const iterator it) const
inline

Definition at line 64 of file KVRefVec.h.

Member Data Documentation

◆ vec_it

template<typename T >
std::vector<T*>::iterator KVRefVec< T >::iterator::vec_it

Definition at line 48 of file KVRefVec.h.