BOSS 7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
HepHistID Class Reference

#include <HepHistID.h>

Public Member Functions

virtual ~HepHistID ()
 
 HepHistID (int theNumber)
 
 HepHistID (const char *theString)
 
 HepHistID (int theNumber, std::string theString)
 
 HepHistID (const HepHistID &other)
 
bool isIDnumberSet () const
 
bool isIDstringSet () const
 
int getIDnumber () const
 
std::string getIDstring () const
 
HepHistIDoperator++ ()
 
const HepHistID operator++ (int)
 
HepHistIDoperator-- ()
 
const HepHistID operator-- (int)
 
virtual ~HepHistID ()
 
 HepHistID (int theNumber)
 
 HepHistID (const char *theString)
 
 HepHistID (int theNumber, std::string theString)
 
 HepHistID (const HepHistID &other)
 
bool isIDnumberSet () const
 
bool isIDstringSet () const
 
int getIDnumber () const
 
std::string getIDstring () const
 
HepHistIDoperator++ ()
 
const HepHistID operator++ (int)
 
HepHistIDoperator-- ()
 
const HepHistID operator-- (int)
 

Detailed Description

Constructor & Destructor Documentation

◆ ~HepHistID() [1/2]

virtual HepHistID::~HepHistID ( )
inlinevirtual

◆ HepHistID() [1/8]

HepHistID::HepHistID ( int  theNumber)

Definition at line 4 of file HepHistID.cxx.

4 :
5 _numSet(true),
6 _stringSet(false),
7 _idNumber(theNumber),
8 _idString() {}

◆ HepHistID() [2/8]

HepHistID::HepHistID ( const char *  theString)

Definition at line 10 of file HepHistID.cxx.

10 :
11 _numSet(false),
12 _stringSet(true),
13 _idNumber(0),
14 _idString(theString) {}

◆ HepHistID() [3/8]

HepHistID::HepHistID ( int  theNumber,
std::string  theString 
)

◆ HepHistID() [4/8]

HepHistID::HepHistID ( const HepHistID other)

Definition at line 22 of file HepHistID.cxx.

22 :
23 _numSet(other._numSet),
24 _stringSet(other._stringSet),
25 _idNumber(other._idNumber),
26 _idString(other._idString) {}
Index other(Index i, Index j)
Definition: EvtCyclic3.cc:118

◆ ~HepHistID() [2/2]

virtual HepHistID::~HepHistID ( )
inlinevirtual

◆ HepHistID() [5/8]

HepHistID::HepHistID ( int  theNumber)

◆ HepHistID() [6/8]

HepHistID::HepHistID ( const char *  theString)

◆ HepHistID() [7/8]

HepHistID::HepHistID ( int  theNumber,
std::string  theString 
)

◆ HepHistID() [8/8]

HepHistID::HepHistID ( const HepHistID other)

Member Function Documentation

◆ getIDnumber() [1/2]

int HepHistID::getIDnumber ( ) const
inline

Definition at line 44 of file InstallArea/include/MdcRecoUtil/MdcRecoUtil/HepHistID.h.

44{ return _idNumber; }

◆ getIDnumber() [2/2]

int HepHistID::getIDnumber ( ) const
inline

◆ getIDstring() [1/2]

std::string HepHistID::getIDstring ( ) const
inline

Definition at line 46 of file InstallArea/include/MdcRecoUtil/MdcRecoUtil/HepHistID.h.

46{ return _idString; }

◆ getIDstring() [2/2]

std::string HepHistID::getIDstring ( ) const
inline

◆ isIDnumberSet() [1/2]

bool HepHistID::isIDnumberSet ( ) const
inline

Definition at line 40 of file InstallArea/include/MdcRecoUtil/MdcRecoUtil/HepHistID.h.

40{ return _numSet; }

◆ isIDnumberSet() [2/2]

bool HepHistID::isIDnumberSet ( ) const
inline

◆ isIDstringSet() [1/2]

bool HepHistID::isIDstringSet ( ) const
inline

Definition at line 42 of file InstallArea/include/MdcRecoUtil/MdcRecoUtil/HepHistID.h.

42{ return _stringSet; }

◆ isIDstringSet() [2/2]

bool HepHistID::isIDstringSet ( ) const
inline

Definition at line 42 of file Reconstruction/MdcPatRec/MdcRecoUtil/MdcRecoUtil-00-01-08/MdcRecoUtil/HepHistID.h.

42{ return _stringSet; }

◆ operator++() [1/4]

HepHistID & HepHistID::operator++ ( )

Definition at line 29 of file HepHistID.cxx.

29 {
30 if ( _numSet ) {
31 ++_idNumber;
32 };
33 // return this
34 return *this;
35}

◆ operator++() [2/4]

HepHistID & HepHistID::operator++ ( )

◆ operator++() [3/4]

const HepHistID HepHistID::operator++ ( int  )

Definition at line 38 of file HepHistID.cxx.

38 {
39 // initialize result
40 HepHistID result(*this);
41 // increment this
42 ++(*this);
43 // return result
44 return result;
45}

◆ operator++() [4/4]

const HepHistID HepHistID::operator++ ( int  )

◆ operator--() [1/4]

HepHistID & HepHistID::operator-- ( )

Definition at line 48 of file HepHistID.cxx.

48 {
49 if ( _numSet ) {
50 --_idNumber;
51 };
52 // return this
53 return *this;
54}

◆ operator--() [2/4]

HepHistID & HepHistID::operator-- ( )

◆ operator--() [3/4]

const HepHistID HepHistID::operator-- ( int  )

Definition at line 57 of file HepHistID.cxx.

57 {
58 // initialize result
59 HepHistID result(*this);
60 // increment this
61 --(*this);
62 // return result
63 return result;
64}

◆ operator--() [4/4]

const HepHistID HepHistID::operator-- ( int  )

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