KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVNameValueList::Iterator Class Reference

Detailed Description

Definition at line 129 of file KVNameValueList.h.

#include <KVNameValueList.h>

Public Types

typedef std::ptrdiff_t difference_type
 
typedef std::forward_iterator_tag iterator_category
 
typedef KVNamedParameterpointer
 
typedef KVNamedParameterreference
 
typedef KVNamedParameter value_type
 

Public Member Functions

 Iterator ()
 
 Iterator (const Iterator &other)
 
 Iterator (const KVNameValueList &N)
 
 Iterator (const KVNameValueList *N)
 
virtual ~Iterator ()
 
Bool_t operator!= (const Iterator &it) const
 
KVNamedParameteroperator* () const
 
const Iteratoroperator++ ()
 
Iterator operator++ (int)
 
Iteratoroperator= (const Iterator &rhs)
 
Bool_t operator== (const Iterator &it) const
 

Static Public Member Functions

static Iterator End ()
 

Private Member Functions

KVNamedParametercurrent () const
 

Private Attributes

TIter fIter
 

Member Typedef Documentation

◆ difference_type

Definition at line 133 of file KVNameValueList.h.

◆ iterator_category

typedef std::forward_iterator_tag KVNameValueList::Iterator::iterator_category

Definition at line 131 of file KVNameValueList.h.

◆ pointer

◆ reference

◆ value_type

Constructor & Destructor Documentation

◆ Iterator() [1/4]

KVNameValueList::Iterator::Iterator ( )
inline

Definition at line 145 of file KVNameValueList.h.

◆ Iterator() [2/4]

KVNameValueList::Iterator::Iterator ( const Iterator other)
inline

Definition at line 148 of file KVNameValueList.h.

◆ Iterator() [3/4]

KVNameValueList::Iterator::Iterator ( const KVNameValueList N)
inline

Definition at line 151 of file KVNameValueList.h.

◆ Iterator() [4/4]

KVNameValueList::Iterator::Iterator ( const KVNameValueList N)
inline

Definition at line 156 of file KVNameValueList.h.

◆ ~Iterator()

virtual KVNameValueList::Iterator::~Iterator ( )
inlinevirtual

Definition at line 203 of file KVNameValueList.h.

Member Function Documentation

◆ current()

KVNamedParameter * KVNameValueList::Iterator::current ( ) const
inlineprivate

Returns pointer to current parameter

Definition at line 138 of file KVNameValueList.h.

◆ End()

static Iterator KVNameValueList::Iterator::End ( )
inlinestatic

Definition at line 199 of file KVNameValueList.h.

◆ operator!=()

Bool_t KVNameValueList::Iterator::operator!= ( const Iterator it) const
inline

returns kTRUE if the 2 iterators are not pointing to the same particle

Definition at line 167 of file KVNameValueList.h.

◆ operator*()

KVNamedParameter & KVNameValueList::Iterator::operator* ( ) const
inline

Returns reference to current parameter in iteration

Definition at line 161 of file KVNameValueList.h.

◆ operator++() [1/2]

const Iterator & KVNameValueList::Iterator::operator++ ( )
inline

Prefix ++ operator

Definition at line 177 of file KVNameValueList.h.

◆ operator++() [2/2]

Iterator KVNameValueList::Iterator::operator++ ( int  )
inline

Postfix ++ operator Advance iterator to next particle in event compatible with selection

Definition at line 183 of file KVNameValueList.h.

◆ operator=()

Iterator & KVNameValueList::Iterator::operator= ( const Iterator rhs)
inline

copy-assignment operator

Definition at line 191 of file KVNameValueList.h.

◆ operator==()

Bool_t KVNameValueList::Iterator::operator== ( const Iterator it) const
inline

returns kTRUE if the 2 iterators are pointing to the same particle

Definition at line 172 of file KVNameValueList.h.

Member Data Documentation

◆ fIter

TIter KVNameValueList::Iterator::fIter
private

Definition at line 137 of file KVNameValueList.h.