66 inline operator int & () {
return fValue; }
67 inline operator const int & ()
const {
return fValue; }
69 inline bool operator==(
const int & rhs)
const {
return fValue == rhs; }
75 G4ITType output( left.fValue + right );
80 G4ITType output( left.fValue - right );
107 static G4ITType fType;\
108 static const G4ITType ITType()\
112 const G4ITType GetITType() const\
116 virtual G4bool equal(const G4IT &right) const \
118 const T& right_mol = (const T&)right ;\
119 return (this->operator==(right_mol));\
121 virtual G4bool diff(const G4IT &right) const\
123 const T& right_mol = (const T&)right ;\
124 return (this->operator<(right_mol));\
128 G4ITType T::fType = G4ITTypeManager::Instance()->NewType();
130 #endif // G4ITTYPE_HH
BasicVector3D< float > operator-(const BasicVector3D< float > &v)
BasicVector3D< float > operator+(const BasicVector3D< float > &v)
static void DeleteInstance()
friend G4ITType operator-(const G4ITType &left, const int &right)
G4ITType(const G4ITType &d_)
G4ITType & operator=(const G4ITType &rhs)
static G4ITTypeManager * Instance()
G4ITType & operator=(const int &rhs)
bool operator==(const int &rhs) const
friend G4ITType operator+(const G4ITType &left, const int &right)
bool operator==(const G4ITType &rhs) const
bool operator<(const G4ITType &rhs) const