#include <HepHistID.h>
Public Member Functions | |
int | getIDnumber () const |
int | getIDnumber () const |
std::string | getIDstring () const |
std::string | getIDstring () const |
HepHistID (const HepHistID &other) | |
HepHistID (int theNumber, std::string theString) | |
HepHistID (const char *theString) | |
HepHistID (int theNumber) | |
HepHistID (const HepHistID &other) | |
HepHistID (int theNumber, std::string theString) | |
HepHistID (const char *theString) | |
HepHistID (int theNumber) | |
bool | isIDnumberSet () const |
bool | isIDnumberSet () const |
bool | isIDstringSet () const |
bool | isIDstringSet () const |
const HepHistID | operator++ (int) |
HepHistID & | operator++ () |
const HepHistID | operator++ (int) |
HepHistID & | operator++ () |
const HepHistID | operator-- (int) |
HepHistID & | operator-- () |
const HepHistID | operator-- (int) |
HepHistID & | operator-- () |
virtual | ~HepHistID () |
virtual | ~HepHistID () |
Private Attributes | |
int | _idNumber |
std::string | _idString |
bool | _numSet |
bool | _stringSet |
|
00027 {}
|
|
00004 : 00005 _numSet(true), 00006 _stringSet(false), 00007 _idNumber(theNumber), 00008 _idString() {}
|
|
00010 : 00011 _numSet(false), 00012 _stringSet(true), 00013 _idNumber(0), 00014 _idString(theString) {}
|
|
00016 : 00017 _numSet(true), 00018 _stringSet(true), 00019 _idNumber(theNumber), 00020 _idString(theString) {}
|
|
00022 : 00023 _numSet(other._numSet), 00024 _stringSet(other._stringSet), 00025 _idNumber(other._idNumber), 00026 _idString(other._idString) {}
|
|
00027 {}
|
|
|
|
|
|
|
|
|
|
00044 { return _idNumber; }
|
|
00044 { return _idNumber; }
|
|
00046 { return _idString; }
|
|
00046 { return _idString; }
|
|
00040 { return _numSet; }
|
|
00040 { return _numSet; }
|
|
00042 { return _stringSet; }
|
|
00042 { return _stringSet; }
|
|
|
|
|
|
00038 { 00039 // initialize result 00040 HepHistID result(*this); 00041 // increment this 00042 ++(*this); 00043 // return result 00044 return result; 00045 }
|
|
00029 { 00030 if ( _numSet ) { 00031 ++_idNumber; 00032 }; 00033 // return this 00034 return *this; 00035 }
|
|
|
|
|
|
00057 { 00058 // initialize result 00059 HepHistID result(*this); 00060 // increment this 00061 --(*this); 00062 // return result 00063 return result; 00064 }
|
|
00048 { 00049 if ( _numSet ) { 00050 --_idNumber; 00051 }; 00052 // return this 00053 return *this; 00054 }
|
|
|
|
|
|
|
|
|