Import Geant4 10.5.1 source tree
This commit is contained in:
@@ -61,8 +61,8 @@ class G4DecayProducts
|
||||
~G4DecayProducts();
|
||||
|
||||
// (un)equal operator
|
||||
G4int operator==(const G4DecayProducts &right) const;
|
||||
G4int operator!=(const G4DecayProducts &right) const;
|
||||
G4bool operator==(const G4DecayProducts &right) const;
|
||||
G4bool operator!=(const G4DecayProducts &right) const;
|
||||
|
||||
public: // With Description
|
||||
// set-get methods for the parent particle
|
||||
@@ -104,13 +104,13 @@ class G4DecayProducts
|
||||
// ------------------------
|
||||
|
||||
inline
|
||||
G4int G4DecayProducts::operator==(const G4DecayProducts &right) const
|
||||
G4bool G4DecayProducts::operator==(const G4DecayProducts &right) const
|
||||
{
|
||||
return (this == (G4DecayProducts *) &right);
|
||||
}
|
||||
|
||||
inline
|
||||
G4int G4DecayProducts::operator!=(const G4DecayProducts &right) const
|
||||
G4bool G4DecayProducts::operator!=(const G4DecayProducts &right) const
|
||||
{
|
||||
return (this != (G4DecayProducts *) &right);
|
||||
}
|
||||
|
||||
@@ -69,8 +69,8 @@ class G4DecayTable
|
||||
|
||||
public:
|
||||
// equality operators
|
||||
G4int operator==(const G4DecayTable &right) const {return (this == &right);};
|
||||
G4int operator!=(const G4DecayTable &right) const {return (this != &right);};
|
||||
G4bool operator==(const G4DecayTable &right) const {return (this == &right);};
|
||||
G4bool operator!=(const G4DecayTable &right) const {return (this != &right);};
|
||||
|
||||
public: // With Description
|
||||
void Insert( G4VDecayChannel* aChannel);
|
||||
|
||||
@@ -104,8 +104,8 @@ class G4DynamicParticle
|
||||
|
||||
//- operators
|
||||
G4DynamicParticle & operator=(const G4DynamicParticle &right);
|
||||
G4int operator==(const G4DynamicParticle &right) const;
|
||||
G4int operator!=(const G4DynamicParticle &right) const;
|
||||
G4bool operator==(const G4DynamicParticle &right) const;
|
||||
G4bool operator!=(const G4DynamicParticle &right) const;
|
||||
|
||||
// new/delete operators are oberloded to use G4Allocator
|
||||
inline void *operator new(size_t);
|
||||
|
||||
@@ -77,8 +77,8 @@ class G4ElectronOccupancy
|
||||
|
||||
//- operators
|
||||
G4ElectronOccupancy & operator=(const G4ElectronOccupancy &right);
|
||||
G4int operator==(const G4ElectronOccupancy &right) const;
|
||||
G4int operator!=(const G4ElectronOccupancy &right) const;
|
||||
G4bool operator==(const G4ElectronOccupancy &right) const;
|
||||
G4bool operator!=(const G4ElectronOccupancy &right) const;
|
||||
|
||||
public: // With Description
|
||||
// The following methods returns
|
||||
|
||||
@@ -57,8 +57,8 @@ class G4IsotopeProperty
|
||||
G4IsotopeProperty & operator=(G4IsotopeProperty& right);
|
||||
|
||||
// equal / unequal operator
|
||||
G4int operator==(const G4IsotopeProperty &right) const;
|
||||
G4int operator!=(const G4IsotopeProperty &right) const;
|
||||
G4bool operator==(const G4IsotopeProperty &right) const;
|
||||
G4bool operator!=(const G4IsotopeProperty &right) const;
|
||||
|
||||
// destructor
|
||||
virtual ~G4IsotopeProperty();
|
||||
|
||||
@@ -204,8 +204,8 @@ class G4ParticleDefinition
|
||||
// true only if the particle is a G4MuonicAtom
|
||||
// (it means that theProcessManager is same as the one for G4GenricMuonicAtom)
|
||||
|
||||
G4int operator==(const G4ParticleDefinition &right) const;
|
||||
G4int operator!=(const G4ParticleDefinition &right) const;
|
||||
G4bool operator==(const G4ParticleDefinition &right) const;
|
||||
G4bool operator!=(const G4ParticleDefinition &right) const;
|
||||
|
||||
public : // without description
|
||||
|
||||
|
||||
@@ -64,8 +64,8 @@ class G4ParticlePropertyData
|
||||
|
||||
G4ParticlePropertyData & operator=(const G4ParticlePropertyData &right);
|
||||
|
||||
G4int operator==(const G4ParticlePropertyData &right) const;
|
||||
G4int operator!=(const G4ParticlePropertyData &right) const;
|
||||
G4bool operator==(const G4ParticlePropertyData &right) const;
|
||||
G4bool operator!=(const G4ParticlePropertyData &right) const;
|
||||
|
||||
public: // With Description
|
||||
// By these following Getxxxx methods, you can get values
|
||||
|
||||
@@ -59,8 +59,8 @@ class G4ParticlePropertyTable
|
||||
G4ParticlePropertyTable & operator=(const G4ParticlePropertyTable &right);
|
||||
|
||||
public:
|
||||
G4int operator==(const G4ParticlePropertyTable &right) const;
|
||||
G4int operator!=(const G4ParticlePropertyTable &right) const;
|
||||
G4bool operator==(const G4ParticlePropertyTable &right) const;
|
||||
G4bool operator!=(const G4ParticlePropertyTable &right) const;
|
||||
|
||||
public:
|
||||
virtual ~G4ParticlePropertyTable();
|
||||
|
||||
@@ -93,8 +93,8 @@ class G4PrimaryParticle
|
||||
G4PrimaryParticle & operator=(const G4PrimaryParticle &right);
|
||||
|
||||
// equal operator returns 'true' only if the same object (i.e comarison by pointer value)
|
||||
G4int operator==(const G4PrimaryParticle &right) const;
|
||||
G4int operator!=(const G4PrimaryParticle &right) const;
|
||||
G4bool operator==(const G4PrimaryParticle &right) const;
|
||||
G4bool operator!=(const G4PrimaryParticle &right) const;
|
||||
|
||||
public: // with description
|
||||
void Print() const;
|
||||
|
||||
@@ -60,8 +60,8 @@ class G4PrimaryVertex
|
||||
G4PrimaryVertex(const G4PrimaryVertex &right);
|
||||
G4PrimaryVertex & operator=(const G4PrimaryVertex &right);
|
||||
|
||||
G4int operator==(const G4PrimaryVertex &right) const;
|
||||
G4int operator!=(const G4PrimaryVertex &right) const;
|
||||
G4bool operator==(const G4PrimaryVertex &right) const;
|
||||
G4bool operator!=(const G4PrimaryVertex &right) const;
|
||||
|
||||
public: // with description
|
||||
G4ThreeVector GetPosition() const;
|
||||
|
||||
@@ -72,11 +72,11 @@ class G4VDecayChannel
|
||||
virtual ~G4VDecayChannel();
|
||||
|
||||
// equality operators
|
||||
G4int operator==(const G4VDecayChannel &right) const {return (this == &right);}
|
||||
G4int operator!=(const G4VDecayChannel &right) const {return (this != &right);}
|
||||
G4bool operator==(const G4VDecayChannel &right) const {return (this == &right);}
|
||||
G4bool operator!=(const G4VDecayChannel &right) const {return (this != &right);}
|
||||
|
||||
// less-than operator is defined for G4DecayTable
|
||||
G4int operator<(const G4VDecayChannel &right) const;
|
||||
G4bool operator<(const G4VDecayChannel &right) const;
|
||||
|
||||
virtual G4DecayProducts* DecayIt(G4double parentMass = -1.0) = 0;
|
||||
|
||||
@@ -202,7 +202,7 @@ class G4VDecayChannel
|
||||
// ------------------------------------------------------------
|
||||
|
||||
inline
|
||||
G4int G4VDecayChannel::operator<(const G4VDecayChannel &right) const
|
||||
G4bool G4VDecayChannel::operator<(const G4VDecayChannel &right) const
|
||||
{
|
||||
return (this->rbranch < right.rbranch);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user