74 inline operator int & () {
return fValue; }
75 inline operator const int & ()
const {
return fValue; }
83 G4ITType output( left.fValue + right );
88 G4ITType output( left.fValue - right );
115static G4ITType fType;\
116static const G4ITType ITType()\
120const G4ITType GetITType() const\
124virtual G4bool equal(const G4IT &right) const \
126 const T& right_mol = (const T&)right ;\
127 return (this->operator==(right_mol));\
129virtual G4bool diff(const G4IT &right) const\
131 const T& right_mol = (const T&)right ;\
132 return (this->operator<(right_mol));\
136G4ITType T::fType = G4ITTypeManager::Instance()->NewType();
G4ITType operator+(const G4ITType &left, const int &right)
G4ITType operator-(const G4ITType &left, const int &right)
static G4ITTypeManager * Instance()
static void DeleteInstance()
friend G4ITType operator+(const G4ITType &left, const int &right)
G4ITType(const G4ITType &d_)
G4bool operator==(const int &rhs) const
G4bool operator<(const G4ITType &rhs) const
G4ITType & operator=(const int &rhs)
G4ITType & operator=(const G4ITType &rhs)
G4bool operator==(const G4ITType &rhs) const
friend G4ITType operator-(const G4ITType &left, const int &right)