BOSS 6.6.4.p03
BESIII Offline Software System
Loading...
Searching...
No Matches
HTRange< T > Class Template Reference

#include <HTRange.h>

Public Member Functions

 HTRange ()
 
 HTRange (T lower, T upper)
 
 HTRange (const HTRange< T > &o)
 
 ~HTRange ()
 
HTRange< T > & operator= (const HTRange< T > &o)
 
bool operator() () const
 
lower () const
 
upper () const
 

Detailed Description

template<class T>
class HTRange< T >

Definition at line 49 of file HTRange.h.

Constructor & Destructor Documentation

◆ HTRange() [1/3]

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

Definition at line 64 of file HTRange.h.

64 :
65 _defined(false), _lower(0), _upper(0)
66 {
67 }

◆ HTRange() [2/3]

template<class T >
HTRange< T >::HTRange ( lower,
upper 
)
inline

Definition at line 68 of file HTRange.h.

68 :
69 _defined(true), _lower(lower), _upper(upper)
70 {
71 }
T upper() const
Definition: HTRange.h:98
T lower() const
Definition: HTRange.h:97

◆ HTRange() [3/3]

template<class T >
HTRange< T >::HTRange ( const HTRange< T > &  o)
inline

Definition at line 74 of file HTRange.h.

74 :
75 _defined(o._defined), _lower(o._lower), _upper(o._upper)
76 {
77 }

◆ ~HTRange()

template<class T >
HTRange< T >::~HTRange ( )
inline

Definition at line 80 of file HTRange.h.

80{}

Member Function Documentation

◆ lower()

template<class T >
T HTRange< T >::lower ( ) const
inline

Definition at line 97 of file HTRange.h.

97{ return _lower ; }

◆ operator()()

template<class T >
bool HTRange< T >::operator() ( ) const
inline

Definition at line 94 of file HTRange.h.

94{ return _defined ; }

◆ operator=()

template<class T >
HTRange< T > & HTRange< T >::operator= ( const HTRange< T > &  o)
inline

Definition at line 84 of file HTRange.h.

85 {
86 if (&o == this) return *this;
87 _defined = o._defined ;
88 _lower = o._lower ;
89 _upper = o._upper ;
90 return *this ;
91 }

◆ upper()

template<class T >
T HTRange< T >::upper ( ) const
inline

Definition at line 98 of file HTRange.h.

98{ return _upper ; }

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