BOSS 8.0.0
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)
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/3]

virtual HepHistID::~HepHistID ( )
inlinevirtual

◆ HepHistID() [1/12]

HepHistID::HepHistID ( int theNumber)

Definition at line 4 of file HepHistID.cxx.

5 : _numSet( true ), _stringSet( false ), _idNumber( theNumber ), _idString() {}

Referenced by HepHistID(), HepHistID(), operator++(), operator++(), operator--(), and operator--().

◆ HepHistID() [2/12]

HepHistID::HepHistID ( const char * theString)

Definition at line 7 of file HepHistID.cxx.

8 : _numSet( false ), _stringSet( true ), _idNumber( 0 ), _idString( theString ) {}

◆ HepHistID() [3/12]

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

◆ HepHistID() [4/12]

HepHistID::HepHistID ( const HepHistID & other)

Definition at line 13 of file HepHistID.cxx.

14 : _numSet( other._numSet )
15 , _stringSet( other._stringSet )
16 , _idNumber( other._idNumber )
17 , _idString( other._idString ) {}
Index other(Index i, Index j)

◆ ~HepHistID() [2/3]

virtual HepHistID::~HepHistID ( )
inlinevirtual

◆ HepHistID() [5/12]

HepHistID::HepHistID ( int theNumber)

◆ HepHistID() [6/12]

HepHistID::HepHistID ( const char * theString)

◆ HepHistID() [7/12]

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

◆ HepHistID() [8/12]

HepHistID::HepHistID ( const HepHistID & other)

◆ ~HepHistID() [3/3]

virtual HepHistID::~HepHistID ( )
inlinevirtual

◆ HepHistID() [9/12]

HepHistID::HepHistID ( int theNumber)

◆ HepHistID() [10/12]

HepHistID::HepHistID ( const char * theString)

◆ HepHistID() [11/12]

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

◆ HepHistID() [12/12]

HepHistID::HepHistID ( const HepHistID & other)

Member Function Documentation

◆ getIDnumber() [1/3]

int HepHistID::getIDnumber ( ) const
inline

Definition at line 44 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcRecoUtil/HepHistID.h.

44{ return _idNumber; }

◆ getIDnumber() [2/3]

int HepHistID::getIDnumber ( ) const
inline

Definition at line 44 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcRecoUtil/HepHistID.h.

44{ return _idNumber; }

◆ getIDnumber() [3/3]

int HepHistID::getIDnumber ( ) const
inline

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

44{ return _idNumber; }

◆ getIDstring() [1/3]

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

Definition at line 46 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcRecoUtil/HepHistID.h.

46{ return _idString; }

◆ getIDstring() [2/3]

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

Definition at line 46 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcRecoUtil/HepHistID.h.

46{ return _idString; }

◆ getIDstring() [3/3]

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

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

46{ return _idString; }

◆ isIDnumberSet() [1/3]

bool HepHistID::isIDnumberSet ( ) const
inline

Definition at line 40 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcRecoUtil/HepHistID.h.

40{ return _numSet; }

◆ isIDnumberSet() [2/3]

bool HepHistID::isIDnumberSet ( ) const
inline

Definition at line 40 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcRecoUtil/HepHistID.h.

40{ return _numSet; }

◆ isIDnumberSet() [3/3]

bool HepHistID::isIDnumberSet ( ) const
inline

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

40{ return _numSet; }

◆ isIDstringSet() [1/3]

bool HepHistID::isIDstringSet ( ) const
inline

Definition at line 42 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcRecoUtil/HepHistID.h.

42{ return _stringSet; }

◆ isIDstringSet() [2/3]

bool HepHistID::isIDstringSet ( ) const
inline

Definition at line 42 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcRecoUtil/HepHistID.h.

42{ return _stringSet; }

◆ isIDstringSet() [3/3]

bool HepHistID::isIDstringSet ( ) const
inline

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

42{ return _stringSet; }

◆ operator++() [1/6]

HepHistID & HepHistID::operator++ ( )

Definition at line 20 of file HepHistID.cxx.

20 {
21 if ( _numSet ) { ++_idNumber; };
22 // return this
23 return *this;
24}

◆ operator++() [2/6]

HepHistID & HepHistID::operator++ ( )

◆ operator++() [3/6]

HepHistID & HepHistID::operator++ ( )

◆ operator++() [4/6]

const HepHistID HepHistID::operator++ ( int )

Definition at line 27 of file HepHistID.cxx.

27 {
28 // initialize result
29 HepHistID result( *this );
30 // increment this
31 ++( *this );
32 // return result
33 return result;
34}
HepHistID(int theNumber)
Definition HepHistID.cxx:4

◆ operator++() [5/6]

const HepHistID HepHistID::operator++ ( int )

◆ operator++() [6/6]

const HepHistID HepHistID::operator++ ( int )

◆ operator--() [1/6]

HepHistID & HepHistID::operator-- ( )

Definition at line 37 of file HepHistID.cxx.

37 {
38 if ( _numSet ) { --_idNumber; };
39 // return this
40 return *this;
41}

◆ operator--() [2/6]

HepHistID & HepHistID::operator-- ( )

◆ operator--() [3/6]

HepHistID & HepHistID::operator-- ( )

◆ operator--() [4/6]

const HepHistID HepHistID::operator-- ( int )

Definition at line 44 of file HepHistID.cxx.

44 {
45 // initialize result
46 HepHistID result( *this );
47 // increment this
48 --( *this );
49 // return result
50 return result;
51}

◆ operator--() [5/6]

const HepHistID HepHistID::operator-- ( int )

◆ operator--() [6/6]

const HepHistID HepHistID::operator-- ( int )

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