ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 at line 113 of file G4ITType.hh.

View newest version in sPHENIX GitHub at line 113 of file G4ITType.hh

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

Definition at line 135 of file G4ITType.hh.

View newest version in sPHENIX GitHub at line 135 of file G4ITType.hh

Function Documentation

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

Definition at line 82 of file G4ITType.hh.

View newest version in sPHENIX GitHub at line 82 of file G4ITType.hh

References G4ITType::fValue.

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

Definition at line 87 of file G4ITType.hh.

View newest version in sPHENIX GitHub at line 87 of file G4ITType.hh

References G4ITType::fValue.