BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
TrkRepIter Class Reference

#include <TrkRepIter.h>

Public Types

typedef std::random_access_iterator_tag iterator_category
 
typedef TrkRep value_type
 
typedef ptrdiff_t difference_type
 
typedef value_typepointer
 
typedef value_typereference
 
typedef std::random_access_iterator_tag iterator_category
 
typedef TrkRep value_type
 
typedef ptrdiff_t difference_type
 
typedef value_typepointer
 
typedef value_typereference
 

Public Member Functions

 TrkRepIter (const TrkRepIter &rhs)
 
pointer get () const
 
pointer operator-> () const
 
reference operator* () const
 
TrkRepIteroperator-= (int i)
 
TrkRepIteroperator+= (int i)
 
TrkRepIteroperator-- ()
 
TrkRepIteroperator++ ()
 
TrkRepIter operator-- (int)
 
TrkRepIter operator++ (int)
 
ptrdiff_t operator- (const TrkRepIter &i) const
 
bool operator== (const TrkRepIter &i) const
 
bool operator!= (const TrkRepIter &i) const
 
 TrkRepIter (const TrkRepIter &rhs)
 
pointer get () const
 
pointer operator-> () const
 
reference operator* () const
 
TrkRepIteroperator-= (int i)
 
TrkRepIteroperator+= (int i)
 
TrkRepIteroperator-- ()
 
TrkRepIteroperator++ ()
 
TrkRepIter operator-- (int)
 
TrkRepIter operator++ (int)
 
ptrdiff_t operator- (const TrkRepIter &i) const
 
bool operator== (const TrkRepIter &i) const
 
bool operator!= (const TrkRepIter &i) const
 

Friends

class TrkRecoTrk
 

Detailed Description

Member Typedef Documentation

◆ difference_type [1/2]

◆ difference_type [2/2]

◆ iterator_category [1/2]

typedef std::random_access_iterator_tag TrkRepIter::iterator_category

◆ iterator_category [2/2]

typedef std::random_access_iterator_tag TrkRepIter::iterator_category

◆ pointer [1/2]

◆ pointer [2/2]

◆ reference [1/2]

◆ reference [2/2]

◆ value_type [1/2]

◆ value_type [2/2]

Constructor & Destructor Documentation

◆ TrkRepIter() [1/2]

TrkRepIter::TrkRepIter ( const TrkRepIter rhs)
inline

Definition at line 31 of file InstallArea/include/TrkBase/TrkBase/TrkRepIter.h.

31: _l(rhs._l),_i(rhs._i) {};

◆ TrkRepIter() [2/2]

TrkRepIter::TrkRepIter ( const TrkRepIter rhs)
inline

Definition at line 31 of file Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/TrkBase/TrkRepIter.h.

31: _l(rhs._l),_i(rhs._i) {};

Member Function Documentation

◆ get() [1/2]

pointer TrkRepIter::get ( ) const
inline

Definition at line 33 of file InstallArea/include/TrkBase/TrkBase/TrkRepIter.h.

33{ return (*_l)[_i]; }

Referenced by operator*(), and operator->().

◆ get() [2/2]

pointer TrkRepIter::get ( ) const
inline

Definition at line 33 of file Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/TrkBase/TrkRepIter.h.

33{ return (*_l)[_i]; }

◆ operator!=() [1/2]

bool TrkRepIter::operator!= ( const TrkRepIter i) const
inline

Definition at line 49 of file InstallArea/include/TrkBase/TrkBase/TrkRepIter.h.

49{ return !operator==(i); }
bool operator==(const TrkRepIter &i) const

◆ operator!=() [2/2]

bool TrkRepIter::operator!= ( const TrkRepIter i) const
inline

◆ operator*() [1/2]

reference TrkRepIter::operator* ( ) const
inline

Definition at line 35 of file InstallArea/include/TrkBase/TrkBase/TrkRepIter.h.

35{ return *get(); }

◆ operator*() [2/2]

reference TrkRepIter::operator* ( ) const
inline

◆ operator++() [1/4]

TrkRepIter & TrkRepIter::operator++ ( )
inline

Definition at line 40 of file InstallArea/include/TrkBase/TrkBase/TrkRepIter.h.

40{ ++_i; return *this; } // prefix ++

◆ operator++() [2/4]

TrkRepIter & TrkRepIter::operator++ ( )
inline

Definition at line 40 of file Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/TrkBase/TrkRepIter.h.

40{ ++_i; return *this; } // prefix ++

◆ operator++() [3/4]

TrkRepIter TrkRepIter::operator++ ( int  )
inline

Definition at line 43 of file InstallArea/include/TrkBase/TrkBase/TrkRepIter.h.

43{ TrkRepIter x(*this); ++_i; return x; } // postfix ++
Double_t x[10]

◆ operator++() [4/4]

TrkRepIter TrkRepIter::operator++ ( int  )
inline

Definition at line 43 of file Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/TrkBase/TrkRepIter.h.

43{ TrkRepIter x(*this); ++_i; return x; } // postfix ++

◆ operator+=() [1/2]

TrkRepIter & TrkRepIter::operator+= ( int  i)
inline

Definition at line 38 of file InstallArea/include/TrkBase/TrkBase/TrkRepIter.h.

38{ _i+=i; return *this; }

◆ operator+=() [2/2]

TrkRepIter & TrkRepIter::operator+= ( int  i)
inline

Definition at line 38 of file Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/TrkBase/TrkRepIter.h.

38{ _i+=i; return *this; }

◆ operator-() [1/2]

ptrdiff_t TrkRepIter::operator- ( const TrkRepIter i) const
inline

Definition at line 46 of file InstallArea/include/TrkBase/TrkBase/TrkRepIter.h.

46{ return _i - i._i; }

◆ operator-() [2/2]

ptrdiff_t TrkRepIter::operator- ( const TrkRepIter i) const
inline

Definition at line 46 of file Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/TrkBase/TrkRepIter.h.

46{ return _i - i._i; }

◆ operator--() [1/4]

TrkRepIter & TrkRepIter::operator-- ( )
inline

Definition at line 39 of file InstallArea/include/TrkBase/TrkBase/TrkRepIter.h.

39{ --_i; return *this; } // prefix --

◆ operator--() [2/4]

TrkRepIter & TrkRepIter::operator-- ( )
inline

Definition at line 39 of file Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/TrkBase/TrkRepIter.h.

39{ --_i; return *this; } // prefix --

◆ operator--() [3/4]

TrkRepIter TrkRepIter::operator-- ( int  )
inline

Definition at line 42 of file InstallArea/include/TrkBase/TrkBase/TrkRepIter.h.

42{ TrkRepIter x(*this); --_i; return x; } // postfix --

◆ operator--() [4/4]

TrkRepIter TrkRepIter::operator-- ( int  )
inline

Definition at line 42 of file Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/TrkBase/TrkRepIter.h.

42{ TrkRepIter x(*this); --_i; return x; } // postfix --

◆ operator-=() [1/2]

TrkRepIter & TrkRepIter::operator-= ( int  i)
inline

Definition at line 37 of file InstallArea/include/TrkBase/TrkBase/TrkRepIter.h.

37{ _i-=i; return *this; }

◆ operator-=() [2/2]

TrkRepIter & TrkRepIter::operator-= ( int  i)
inline

Definition at line 37 of file Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/TrkBase/TrkRepIter.h.

37{ _i-=i; return *this; }

◆ operator->() [1/2]

pointer TrkRepIter::operator-> ( ) const
inline

Definition at line 34 of file InstallArea/include/TrkBase/TrkBase/TrkRepIter.h.

34{ return get(); }

◆ operator->() [2/2]

pointer TrkRepIter::operator-> ( ) const
inline

◆ operator==() [1/2]

bool TrkRepIter::operator== ( const TrkRepIter i) const
inline

Definition at line 47 of file InstallArea/include/TrkBase/TrkBase/TrkRepIter.h.

47 { return _l.get() == i._l.get()
48 && _i == i._i; }

Referenced by operator!=().

◆ operator==() [2/2]

bool TrkRepIter::operator== ( const TrkRepIter i) const
inline

Definition at line 47 of file Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/TrkBase/TrkRepIter.h.

47 { return _l.get() == i._l.get()
48 && _i == i._i; }

Friends And Related Function Documentation

◆ TrkRecoTrk


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