Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4ITType.hh File Reference
#include <cstddef>
#include "G4Types.hh"
Include dependency graph for G4ITType.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  G4ITType
 
class  G4ITTypeManager
 

Macros

#define ITDef(T)
 
#define ITImp(T)   G4ITType T::fType = G4ITTypeManager::Instance()->NewType();
 

Functions

G4ITType operator+ (const G4ITType &left, const int &right)
 
G4ITType operator- (const G4ITType &left, const int &right)
 

Macro Definition Documentation

#define ITDef (   T)
Value:
public:\
static G4ITType fType;\
static const G4ITType ITType()\
{\
return fType;\
}\
const G4ITType GetITType() const\
{\
return fType;\
}\
virtual G4bool equal(const G4IT &right) const \
{\
const T& right_mol = (const T&)right ;\
return (this->operator==(right_mol));\
}\
virtual G4bool diff(const G4IT &right) const\
{\
const T& right_mol = (const T&)right ;\
return (this->operator<(right_mol));\
}
Definition: G4IT.hh:88
bool G4bool
Definition: G4Types.hh:79

Definition at line 114 of file G4ITType.hh.

#define ITImp (   T)    G4ITType T::fType = G4ITTypeManager::Instance()->NewType();

Definition at line 136 of file G4ITType.hh.

Function Documentation

G4ITType operator+ ( const G4ITType left,
const int right 
)
inline

Definition at line 83 of file G4ITType.hh.

83  {
84  G4ITType output( left.fValue + right );
85  return output;
86 }
G4ITType operator- ( const G4ITType left,
const int right 
)
inline

Definition at line 88 of file G4ITType.hh.

88  {
89  G4ITType output( left.fValue - right );
90  return output;
91 }