Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4FakeParticleID Class Reference

#include <G4FakeParticleID.hh>

Public Member Functions

 G4FakeParticleID (const int d_)
 
 G4FakeParticleID ()
 
 G4FakeParticleID (const G4FakeParticleID &d_)
 
G4FakeParticleIDoperator= (const G4FakeParticleID &rhs)
 
G4FakeParticleIDoperator= (const int &rhs)
 
 operator int & ()
 
 operator const int & () const
 
bool operator== (const G4FakeParticleID &rhs) const
 
bool operator== (const int &rhs) const
 
bool operator< (const G4FakeParticleID &rhs) const
 

Static Public Member Functions

static int Last ()
 
static G4FakeParticleID Create ()
 
static G4FakeParticleID Initialize (int i)
 

Friends

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

Detailed Description

Definition at line 52 of file G4FakeParticleID.hh.

Constructor & Destructor Documentation

G4FakeParticleID::G4FakeParticleID ( const int  d_)
inline

Definition at line 80 of file G4FakeParticleID.hh.

80 : fValue(d_){;}
G4FakeParticleID::G4FakeParticleID ( )
inline

Definition at line 82 of file G4FakeParticleID.hh.

82 {fValue=0;}

Here is the caller graph for this function:

G4FakeParticleID::G4FakeParticleID ( const G4FakeParticleID d_)
inline

Definition at line 83 of file G4FakeParticleID.hh.

83 : fValue(d_.fValue){;}

Member Function Documentation

static G4FakeParticleID G4FakeParticleID::Create ( )
inlinestatic

Definition at line 68 of file G4FakeParticleID.hh.

69  {
70  fLastValue ++;
71  return G4FakeParticleID(fLastValue);
72  }

Here is the call graph for this function:

static G4FakeParticleID G4FakeParticleID::Initialize ( int  i)
inlinestatic

Definition at line 74 of file G4FakeParticleID.hh.

75  {
76  fLastValue = i;
77  return G4FakeParticleID(i);
78  }

Here is the call graph for this function:

static int G4FakeParticleID::Last ( )
inlinestatic

Definition at line 63 of file G4FakeParticleID.hh.

64  {
65  return fLastValue ;
66  }
G4FakeParticleID::operator const int & ( ) const
inline

Definition at line 87 of file G4FakeParticleID.hh.

87 { return fValue; }
G4FakeParticleID::operator int & ( )
inline

Definition at line 86 of file G4FakeParticleID.hh.

86 { return fValue; }
bool G4FakeParticleID::operator< ( const G4FakeParticleID rhs) const
inline

Definition at line 90 of file G4FakeParticleID.hh.

90 { return fValue < rhs.fValue; }
G4FakeParticleID& G4FakeParticleID::operator= ( const G4FakeParticleID rhs)
inline

Definition at line 84 of file G4FakeParticleID.hh.

84 { this->fValue = rhs.fValue; return *this;}
G4FakeParticleID& G4FakeParticleID::operator= ( const int rhs)
inline

Definition at line 85 of file G4FakeParticleID.hh.

85 { this->fValue = rhs; return *this;}
bool G4FakeParticleID::operator== ( const G4FakeParticleID rhs) const
inline

Definition at line 88 of file G4FakeParticleID.hh.

88 { return fValue == rhs.fValue; }
bool G4FakeParticleID::operator== ( const int rhs) const
inline

Definition at line 89 of file G4FakeParticleID.hh.

89 { return fValue == rhs; }

Friends And Related Function Documentation

G4FakeParticleID operator+ ( const G4FakeParticleID left,
const int right 
)
friend
G4FakeParticleID operator- ( const G4FakeParticleID left,
const int right 
)
friend

The documentation for this class was generated from the following files: