BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
TrkHitOnTrkIter< T > Class Template Reference

#include <TrkHitOnTrkIter.h>

Public Types

typedef std::random_access_iterator_tag iterator_category
 
typedef T::iterator_value_type value_type
 
typedef ptrdiff_t difference_type
 
typedef value_typepointer
 
typedef value_typereference
 
typedef T::iterator_implementation iterator_implementation
 
typedef std::random_access_iterator_tag iterator_category
 
typedef T::iterator_value_type value_type
 
typedef ptrdiff_t difference_type
 
typedef value_typepointer
 
typedef value_typereference
 
typedef T::iterator_implementation iterator_implementation
 

Public Member Functions

 TrkHitOnTrkIter ()
 
 TrkHitOnTrkIter (const TrkHitOnTrkIter< T > &i)
 
 TrkHitOnTrkIter (const iterator_implementation &i)
 
pointer get () const
 
pointer operator-> () const
 
reference operator* () const
 
TrkHitOnTrkIter< T > & operator-= (int i)
 
TrkHitOnTrkIter< T > & operator+= (int i)
 
TrkHitOnTrkIter< T > operator- (int i)
 
TrkHitOnTrkIter< T > operator+ (int i)
 
TrkHitOnTrkIter< T > & operator-- ()
 
TrkHitOnTrkIter< T > & operator++ ()
 
TrkHitOnTrkIter< T > operator-- (int)
 
TrkHitOnTrkIter< T > operator++ (int)
 
ptrdiff_t operator- (const TrkHitOnTrkIter< T > &i) const
 
bool operator== (const TrkHitOnTrkIter< T > &i) const
 
bool operator!= (const TrkHitOnTrkIter< T > &i) const
 
bool operator< (const TrkHitOnTrkIter< T > &i) const
 
bool operator>= (const TrkHitOnTrkIter< T > &i) const
 
bool operator> (const TrkHitOnTrkIter< T > &i) const
 
bool operator<= (const TrkHitOnTrkIter< T > &i) const
 
 TrkHitOnTrkIter ()
 
 TrkHitOnTrkIter (const TrkHitOnTrkIter< T > &i)
 
 TrkHitOnTrkIter (const iterator_implementation &i)
 
pointer get () const
 
pointer operator-> () const
 
reference operator* () const
 
TrkHitOnTrkIter< T > & operator-= (int i)
 
TrkHitOnTrkIter< T > & operator+= (int i)
 
TrkHitOnTrkIter< T > operator- (int i)
 
TrkHitOnTrkIter< T > operator+ (int i)
 
TrkHitOnTrkIter< T > & operator-- ()
 
TrkHitOnTrkIter< T > & operator++ ()
 
TrkHitOnTrkIter< T > operator-- (int)
 
TrkHitOnTrkIter< T > operator++ (int)
 
ptrdiff_t operator- (const TrkHitOnTrkIter< T > &i) const
 
bool operator== (const TrkHitOnTrkIter< T > &i) const
 
bool operator!= (const TrkHitOnTrkIter< T > &i) const
 
bool operator< (const TrkHitOnTrkIter< T > &i) const
 
bool operator>= (const TrkHitOnTrkIter< T > &i) const
 
bool operator> (const TrkHitOnTrkIter< T > &i) const
 
bool operator<= (const TrkHitOnTrkIter< T > &i) const
 

Detailed Description

template<class T>
class TrkHitOnTrkIter< T >

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

Member Typedef Documentation

◆ difference_type [1/2]

template<class T >
typedef ptrdiff_t TrkHitOnTrkIter< T >::difference_type

◆ difference_type [2/2]

template<class T >
typedef ptrdiff_t TrkHitOnTrkIter< T >::difference_type

◆ iterator_category [1/2]

template<class T >
typedef std::random_access_iterator_tag TrkHitOnTrkIter< T >::iterator_category

◆ iterator_category [2/2]

template<class T >
typedef std::random_access_iterator_tag TrkHitOnTrkIter< T >::iterator_category

◆ iterator_implementation [1/2]

template<class T >
typedef T::iterator_implementation TrkHitOnTrkIter< T >::iterator_implementation

◆ iterator_implementation [2/2]

template<class T >
typedef T::iterator_implementation TrkHitOnTrkIter< T >::iterator_implementation

◆ pointer [1/2]

template<class T >
typedef value_type* TrkHitOnTrkIter< T >::pointer

◆ pointer [2/2]

template<class T >
typedef value_type* TrkHitOnTrkIter< T >::pointer

◆ reference [1/2]

template<class T >
typedef value_type& TrkHitOnTrkIter< T >::reference

◆ reference [2/2]

template<class T >
typedef value_type& TrkHitOnTrkIter< T >::reference

◆ value_type [1/2]

template<class T >
typedef T::iterator_value_type TrkHitOnTrkIter< T >::value_type

◆ value_type [2/2]

template<class T >
typedef T::iterator_value_type TrkHitOnTrkIter< T >::value_type

Constructor & Destructor Documentation

◆ TrkHitOnTrkIter() [1/6]

template<class T >
TrkHitOnTrkIter< T >::TrkHitOnTrkIter ( )
inline

Definition at line 48 of file InstallArea/include/TrkBase/TrkBase/TrkHitOnTrkIter.h.

49:_i() {}; // create an invalid iter...

◆ TrkHitOnTrkIter() [2/6]

template<class T >
TrkHitOnTrkIter< T >::TrkHitOnTrkIter ( const TrkHitOnTrkIter< T > &  i)
inline

Definition at line 48 of file InstallArea/include/TrkBase/TrkBase/TrkHitOnTrkIter.h.

50: _i(i._i) { }

◆ TrkHitOnTrkIter() [3/6]

template<class T >
TrkHitOnTrkIter< T >::TrkHitOnTrkIter ( const iterator_implementation i)
inline

Definition at line 48 of file InstallArea/include/TrkBase/TrkBase/TrkHitOnTrkIter.h.

51: _i(i) { }

◆ TrkHitOnTrkIter() [4/6]

template<class T >
TrkHitOnTrkIter< T >::TrkHitOnTrkIter ( )
inline

Definition at line 48 of file Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/TrkBase/TrkHitOnTrkIter.h.

49:_i() {}; // create an invalid iter...

◆ TrkHitOnTrkIter() [5/6]

template<class T >
TrkHitOnTrkIter< T >::TrkHitOnTrkIter ( const TrkHitOnTrkIter< T > &  i)
inline

◆ TrkHitOnTrkIter() [6/6]

template<class T >
TrkHitOnTrkIter< T >::TrkHitOnTrkIter ( const iterator_implementation i)
inline

Member Function Documentation

◆ get() [1/2]

template<class T >
pointer TrkHitOnTrkIter< T >::get ( ) const
inline

Definition at line 53 of file InstallArea/include/TrkBase/TrkBase/TrkHitOnTrkIter.h.

53{ return *_i; } // this function (together with * and ->) is one of the main

Referenced by TrkHotListFull::findHot(), TrkFundHit::getHitOnTrack(), TrkHitOnTrkIter< T >::operator*(), and TrkHitOnTrkIter< T >::operator->().

◆ get() [2/2]

template<class T >
pointer TrkHitOnTrkIter< T >::get ( ) const
inline

Definition at line 53 of file Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/TrkBase/TrkHitOnTrkIter.h.

53{ return *_i; } // this function (together with * and ->) is one of the main

◆ operator!=() [1/2]

template<class T >
bool TrkHitOnTrkIter< T >::operator!= ( const TrkHitOnTrkIter< T > &  i) const
inline

Definition at line 81 of file InstallArea/include/TrkBase/TrkBase/TrkHitOnTrkIter.h.

81{ return !operator==(i); }
bool operator==(const TrkHitOnTrkIter< T > &i) const

◆ operator!=() [2/2]

template<class T >
bool TrkHitOnTrkIter< T >::operator!= ( const TrkHitOnTrkIter< T > &  i) const
inline

◆ operator*() [1/2]

template<class T >
reference TrkHitOnTrkIter< T >::operator* ( ) const
inline

◆ operator*() [2/2]

template<class T >
reference TrkHitOnTrkIter< T >::operator* ( ) const
inline

Definition at line 61 of file Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/TrkBase/TrkHitOnTrkIter.h.

61{ return *this->get(); }

◆ operator+() [1/2]

template<class T >
TrkHitOnTrkIter< T > TrkHitOnTrkIter< T >::operator+ ( int  i)
inline

◆ operator+() [2/2]

template<class T >
TrkHitOnTrkIter< T > TrkHitOnTrkIter< T >::operator+ ( int  i)
inline

◆ operator++() [1/4]

template<class T >
TrkHitOnTrkIter< T > & TrkHitOnTrkIter< T >::operator++ ( )
inline

Definition at line 74 of file InstallArea/include/TrkBase/TrkBase/TrkHitOnTrkIter.h.

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

◆ operator++() [2/4]

template<class T >
TrkHitOnTrkIter< T > & TrkHitOnTrkIter< T >::operator++ ( )
inline

Definition at line 74 of file Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/TrkBase/TrkHitOnTrkIter.h.

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

◆ operator++() [3/4]

template<class T >
TrkHitOnTrkIter< T > TrkHitOnTrkIter< T >::operator++ ( int  )
inline

Definition at line 77 of file InstallArea/include/TrkBase/TrkBase/TrkHitOnTrkIter.h.

77{ TrkHitOnTrkIter<T> x(_i); ++_i; return x; } // postfix ++

◆ operator++() [4/4]

template<class T >
TrkHitOnTrkIter< T > TrkHitOnTrkIter< T >::operator++ ( int  )
inline

Definition at line 77 of file Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/TrkBase/TrkHitOnTrkIter.h.

77{ TrkHitOnTrkIter<T> x(_i); ++_i; return x; } // postfix ++

◆ operator+=() [1/2]

template<class T >
TrkHitOnTrkIter< T > & TrkHitOnTrkIter< T >::operator+= ( int  i)
inline

Definition at line 68 of file InstallArea/include/TrkBase/TrkBase/TrkHitOnTrkIter.h.

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

◆ operator+=() [2/2]

template<class T >
TrkHitOnTrkIter< T > & TrkHitOnTrkIter< T >::operator+= ( int  i)
inline

Definition at line 68 of file Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/TrkBase/TrkHitOnTrkIter.h.

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

◆ operator-() [1/4]

template<class T >
ptrdiff_t TrkHitOnTrkIter< T >::operator- ( const TrkHitOnTrkIter< T > &  i) const
inline

Definition at line 79 of file InstallArea/include/TrkBase/TrkBase/TrkHitOnTrkIter.h.

79{ return _i - i._i; }

◆ operator-() [2/4]

template<class T >
ptrdiff_t TrkHitOnTrkIter< T >::operator- ( const TrkHitOnTrkIter< T > &  i) const
inline

Definition at line 79 of file Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/TrkBase/TrkHitOnTrkIter.h.

79{ return _i - i._i; }

◆ operator-() [3/4]

template<class T >
TrkHitOnTrkIter< T > TrkHitOnTrkIter< T >::operator- ( int  i)
inline

Definition at line 70 of file InstallArea/include/TrkBase/TrkBase/TrkHitOnTrkIter.h.

70{ TrkHitOnTrkIter<T> x(_i); x-=i; return x; }

◆ operator-() [4/4]

template<class T >
TrkHitOnTrkIter< T > TrkHitOnTrkIter< T >::operator- ( int  i)
inline

◆ operator--() [1/4]

template<class T >
TrkHitOnTrkIter< T > & TrkHitOnTrkIter< T >::operator-- ( )
inline

Definition at line 73 of file InstallArea/include/TrkBase/TrkBase/TrkHitOnTrkIter.h.

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

◆ operator--() [2/4]

template<class T >
TrkHitOnTrkIter< T > & TrkHitOnTrkIter< T >::operator-- ( )
inline

Definition at line 73 of file Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/TrkBase/TrkHitOnTrkIter.h.

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

◆ operator--() [3/4]

template<class T >
TrkHitOnTrkIter< T > TrkHitOnTrkIter< T >::operator-- ( int  )
inline

Definition at line 76 of file InstallArea/include/TrkBase/TrkBase/TrkHitOnTrkIter.h.

76{ TrkHitOnTrkIter<T> x(_i); --_i; return x; } // postfix --

◆ operator--() [4/4]

template<class T >
TrkHitOnTrkIter< T > TrkHitOnTrkIter< T >::operator-- ( int  )
inline

Definition at line 76 of file Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/TrkBase/TrkHitOnTrkIter.h.

76{ TrkHitOnTrkIter<T> x(_i); --_i; return x; } // postfix --

◆ operator-=() [1/2]

template<class T >
TrkHitOnTrkIter< T > & TrkHitOnTrkIter< T >::operator-= ( int  i)
inline

Definition at line 67 of file InstallArea/include/TrkBase/TrkBase/TrkHitOnTrkIter.h.

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

◆ operator-=() [2/2]

template<class T >
TrkHitOnTrkIter< T > & TrkHitOnTrkIter< T >::operator-= ( int  i)
inline

Definition at line 67 of file Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/TrkBase/TrkHitOnTrkIter.h.

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

◆ operator->() [1/2]

template<class T >
pointer TrkHitOnTrkIter< T >::operator-> ( ) const
inline

Definition at line 60 of file InstallArea/include/TrkBase/TrkBase/TrkHitOnTrkIter.h.

60{ return this->get(); }

◆ operator->() [2/2]

template<class T >
pointer TrkHitOnTrkIter< T >::operator-> ( ) const
inline

Definition at line 60 of file Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/TrkBase/TrkHitOnTrkIter.h.

60{ return this->get(); }

◆ operator<() [1/2]

template<class T >
bool TrkHitOnTrkIter< T >::operator< ( const TrkHitOnTrkIter< T > &  i) const
inline

Definition at line 82 of file InstallArea/include/TrkBase/TrkBase/TrkHitOnTrkIter.h.

82{ return _i<i._i;}

Referenced by TrkHitOnTrkIter< T >::operator>=().

◆ operator<() [2/2]

template<class T >
bool TrkHitOnTrkIter< T >::operator< ( const TrkHitOnTrkIter< T > &  i) const
inline

Definition at line 82 of file Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/TrkBase/TrkHitOnTrkIter.h.

82{ return _i<i._i;}

◆ operator<=() [1/2]

template<class T >
bool TrkHitOnTrkIter< T >::operator<= ( const TrkHitOnTrkIter< T > &  i) const
inline

Definition at line 85 of file InstallArea/include/TrkBase/TrkBase/TrkHitOnTrkIter.h.

85{ return !operator>(i);}
bool operator>(const TrkHitOnTrkIter< T > &i) const

◆ operator<=() [2/2]

template<class T >
bool TrkHitOnTrkIter< T >::operator<= ( const TrkHitOnTrkIter< T > &  i) const
inline

◆ operator==() [1/2]

template<class T >
bool TrkHitOnTrkIter< T >::operator== ( const TrkHitOnTrkIter< T > &  i) const
inline

Definition at line 80 of file InstallArea/include/TrkBase/TrkBase/TrkHitOnTrkIter.h.

80{ return _i==i._i; }

Referenced by TrkHitOnTrkIter< T >::operator!=().

◆ operator==() [2/2]

template<class T >
bool TrkHitOnTrkIter< T >::operator== ( const TrkHitOnTrkIter< T > &  i) const
inline

Definition at line 80 of file Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/TrkBase/TrkHitOnTrkIter.h.

80{ return _i==i._i; }

◆ operator>() [1/2]

template<class T >
bool TrkHitOnTrkIter< T >::operator> ( const TrkHitOnTrkIter< T > &  i) const
inline

Definition at line 84 of file InstallArea/include/TrkBase/TrkBase/TrkHitOnTrkIter.h.

84{ return _i>i._i;}

Referenced by TrkHitOnTrkIter< T >::operator<=().

◆ operator>() [2/2]

template<class T >
bool TrkHitOnTrkIter< T >::operator> ( const TrkHitOnTrkIter< T > &  i) const
inline

Definition at line 84 of file Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/TrkBase/TrkHitOnTrkIter.h.

84{ return _i>i._i;}

◆ operator>=() [1/2]

template<class T >
bool TrkHitOnTrkIter< T >::operator>= ( const TrkHitOnTrkIter< T > &  i) const
inline

Definition at line 83 of file InstallArea/include/TrkBase/TrkBase/TrkHitOnTrkIter.h.

83{ return !operator<(i);}
bool operator<(const TrkHitOnTrkIter< T > &i) const

◆ operator>=() [2/2]

template<class T >
bool TrkHitOnTrkIter< T >::operator>= ( const TrkHitOnTrkIter< T > &  i) const
inline

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