G4ITType.hh File Reference

#include <cstddef>

Go to the source code of this file.

Data Structures

struct  G4ITType
class  G4ITTypeManager

Defines

#define G4ITTYPE_HH   1
#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)


Define Documentation

#define G4ITTYPE_HH   1

Definition at line 40 of file G4ITType.hh.

#define ITDef (  ) 

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 98 of file G4ITType.hh.

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

Definition at line 120 of file G4ITType.hh.


Function Documentation

G4ITType operator+ ( const G4ITType left,
const int &  right 
) [inline]

Definition at line 73 of file G4ITType.hh.

References G4ITType::fValue.

00073                                                                   {
00074     G4ITType output( left.fValue + right );
00075     return output;
00076 }

G4ITType operator- ( const G4ITType left,
const int &  right 
) [inline]

Definition at line 78 of file G4ITType.hh.

References G4ITType::fValue.

00078                                                                   {
00079     G4ITType output( left.fValue - right );
00080     return output;
00081 }


Generated on Mon May 27 17:50:49 2013 for Geant4 by  doxygen 1.4.7