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