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 );
100 static G4ITType fType;\
101 static const G4ITType ITType()\
105 const G4ITType GetITType() const\
109 virtual G4bool equal(const G4IT &right) const \
111 const T& right_mol = (const T&)right ;\
112 return (this->operator==(right_mol));\
114 virtual G4bool diff(const G4IT &right) const\
116 const T& right_mol = (const T&)right ;\
117 return (this->operator<(right_mol));\
121 G4ITType T::fType = G4ITTypeManager::Instance()->NewType();
123 #endif // G4ITTYPE_HH