#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 |
HepHistID & | operator++ () |
const HepHistID | operator++ (int) |
HepHistID & | operator-- () |
const HepHistID | operator-- (int) |
Private Attributes | |
bool | _numSet |
bool | _stringSet |
int | _idNumber |
std::string | _idString |
Definition at line 24 of file HepHistID.h.
virtual HepHistID::~HepHistID | ( | ) | [inline, virtual] |
HepHistID::HepHistID | ( | int | theNumber | ) |
Definition at line 4 of file HepHistID.cxx.
00004 : 00005 _numSet(true), 00006 _stringSet(false), 00007 _idNumber(theNumber), 00008 _idString() {}
HepHistID::HepHistID | ( | const char * | theString | ) |
Definition at line 10 of file HepHistID.cxx.
00010 : 00011 _numSet(false), 00012 _stringSet(true), 00013 _idNumber(0), 00014 _idString(theString) {}
HepHistID::HepHistID | ( | int | theNumber, | |
std::string | theString | |||
) |
HepHistID::HepHistID | ( | const HepHistID & | other | ) |
Definition at line 22 of file HepHistID.cxx.
00022 : 00023 _numSet(other._numSet), 00024 _stringSet(other._stringSet), 00025 _idNumber(other._idNumber), 00026 _idString(other._idString) {}
int HepHistID::getIDnumber | ( | ) | const [inline] |
std::string HepHistID::getIDstring | ( | ) | const [inline] |
bool HepHistID::isIDnumberSet | ( | ) | const [inline] |
bool HepHistID::isIDstringSet | ( | ) | const [inline] |
const HepHistID HepHistID::operator++ | ( | int | ) |
Definition at line 38 of file HepHistID.cxx.
00038 { 00039 // initialize result 00040 HepHistID result(*this); 00041 // increment this 00042 ++(*this); 00043 // return result 00044 return result; 00045 }
HepHistID & HepHistID::operator++ | ( | ) |
const HepHistID HepHistID::operator-- | ( | int | ) |
Definition at line 57 of file HepHistID.cxx.
00057 { 00058 // initialize result 00059 HepHistID result(*this); 00060 // increment this 00061 --(*this); 00062 // return result 00063 return result; 00064 }
HepHistID & HepHistID::operator-- | ( | ) |
int HepHistID::_idNumber [private] |
Definition at line 59 of file HepHistID.h.
Referenced by getIDnumber(), operator++(), and operator--().
std::string HepHistID::_idString [private] |
bool HepHistID::_numSet [private] |
Definition at line 57 of file HepHistID.h.
Referenced by isIDnumberSet(), operator++(), and operator--().
bool HepHistID::_stringSet [private] |