38 #ifndef G4MoleculeID_h
39 #define G4MoleculeID_h 1
77 inline operator int & () {
return fValue; }
78 inline operator const int & ()
const {
return fValue; }
80 inline bool operator==(
const int & rhs)
const {
return fValue == rhs; }
bool operator<(const G4MoleculeID &rhs) const
bool operator==(const int &rhs) const
static G4MoleculeID Initialize(int i)
G4MoleculeID & operator=(const G4MoleculeID &rhs)
friend G4MoleculeID operator+(const G4MoleculeID &left, const int &right)
G4MoleculeID(const G4MoleculeID &d_)
G4MoleculeID(const int d_)
G4MoleculeID gStartCounter
static G4ThreadLocal int fLastValue
G4MoleculeID & operator=(const int &rhs)
bool operator==(const G4MoleculeID &rhs) const
friend G4MoleculeID operator-(const G4MoleculeID &left, const int &right)
static G4MoleculeID Create()