#include <HepHistID.h>
Definition at line 24 of file HepHistID.h.
◆ ~HepHistID()
virtual HepHistID::~HepHistID |
( |
| ) |
|
|
inlinevirtual |
◆ HepHistID() [1/4]
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/4]
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/4]
HepHistID::HepHistID |
( |
int |
theNumber, |
|
|
std::string |
theString |
|
) |
| |
◆ HepHistID() [4/4]
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)
◆ getIDnumber()
int HepHistID::getIDnumber |
( |
| ) |
const |
|
inline |
◆ getIDstring()
std::string HepHistID::getIDstring |
( |
| ) |
const |
|
inline |
◆ isIDnumberSet()
bool HepHistID::isIDnumberSet |
( |
| ) |
const |
|
inline |
◆ isIDstringSet()
bool HepHistID::isIDstringSet |
( |
| ) |
const |
|
inline |
◆ operator++() [1/2]
Definition at line 29 of file HepHistID.cxx.
29 {
30 if ( _numSet ) {
31 ++_idNumber;
32 };
33
34 return *this;
35}
◆ operator++() [2/2]
const HepHistID HepHistID::operator++ |
( |
int |
| ) |
|
Definition at line 38 of file HepHistID.cxx.
38 {
39
41
42 ++(*this);
43
44 return result;
45}
◆ operator--() [1/2]
Definition at line 48 of file HepHistID.cxx.
48 {
49 if ( _numSet ) {
50 --_idNumber;
51 };
52
53 return *this;
54}
◆ operator--() [2/2]
const HepHistID HepHistID::operator-- |
( |
int |
| ) |
|
Definition at line 57 of file HepHistID.cxx.
57 {
58
60
61 --(*this);
62
63 return result;
64}
The documentation for this class was generated from the following files: