65 inline operator int & () {
return fValue; }
66 inline operator const int & ()
const {
return fValue; }
68 inline bool operator==(
const int & rhs)
const {
return fValue == rhs; }
74 G4ITType output( left.fValue + right );
79 G4ITType output( left.fValue - right );
100static G4ITType fType;\
101static const G4ITType ITType()\
105const G4ITType GetITType() const\
109virtual G4bool equal(const G4IT &right) const \
111 const T& right_mol = (const T&)right ;\
112 return (this->operator==(right_mol));\
114virtual G4bool diff(const G4IT &right) const\
116 const T& right_mol = (const T&)right ;\
117 return (this->operator<(right_mol));\
121G4ITType 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_)
G4ITType & operator=(const int &rhs)
bool operator<(const G4ITType &rhs) const
G4ITType & operator=(const G4ITType &rhs)
bool operator==(const G4ITType &rhs) const
friend G4ITType operator-(const G4ITType &left, const int &right)
bool operator==(const int &rhs) const