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; }
116 static G4ITType fType;\
117 static const G4ITType ITType()\
121 const G4ITType GetITType() const\
125 virtual G4bool equal(const G4IT &right) const \
127 const T& right_mol = (const T&)right ;\
128 return (this->operator==(right_mol));\
130 virtual G4bool diff(const G4IT &right) const\
132 const T& right_mol = (const T&)right ;\
133 return (this->operator<(right_mol));\
137 G4ITType T::fType = G4ITTypeManager::Instance()->NewType();
139 #endif // G4ITTYPE_HH
static G4ITTypeManager * fgInstance
static G4ThreadLocal G4ITTypeManager * fgInstance_local
G4ITType operator-(const G4ITType &left, const int &right)
Tag the G4IT Should be automatically setup by G4IT using : ITDef(MyIT) and ITImp(MyIT) ...
static void DeleteInstance()
friend G4ITType operator-(const G4ITType &left, const int &right)
G4ITType(const G4ITType &d_)
virtual ~G4ITTypeManager()
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)
G4ITType operator+(const G4ITType &left, const int &right)
bool operator==(const G4ITType &rhs) const
bool operator<(const G4ITType &rhs) const