Import Geant4 10.5.1 source tree
This commit is contained in:
@@ -51,7 +51,7 @@ class G4HitsCollection : public G4VHitsCollection
|
||||
G4HitsCollection();
|
||||
G4HitsCollection(G4String detName,G4String colNam);
|
||||
virtual ~G4HitsCollection();
|
||||
G4int operator==(const G4HitsCollection &right) const;
|
||||
G4bool operator==(const G4HitsCollection &right) const;
|
||||
|
||||
protected:
|
||||
void* theCollection;
|
||||
@@ -72,7 +72,7 @@ template <class T> class G4THitsCollection : public G4HitsCollection
|
||||
// constructor.
|
||||
public:
|
||||
virtual ~G4THitsCollection();
|
||||
G4int operator==(const G4THitsCollection<T> &right) const;
|
||||
G4bool operator==(const G4THitsCollection<T> &right) const;
|
||||
|
||||
inline void *operator new(size_t);
|
||||
inline void operator delete(void* anHC);
|
||||
@@ -166,7 +166,7 @@ template <class T> G4THitsCollection<T>::~G4THitsCollection()
|
||||
delete theHitsCollection;
|
||||
}
|
||||
|
||||
template <class T> G4int G4THitsCollection<T>::operator==(const G4THitsCollection<T> &right) const
|
||||
template <class T> G4bool G4THitsCollection<T>::operator==(const G4THitsCollection<T> &right) const
|
||||
{
|
||||
if (!anHCAllocator_G4MT_TLS_()) anHCAllocator_G4MT_TLS_() = new G4Allocator<G4HitsCollection>;
|
||||
return (collectionName==right.collectionName);
|
||||
|
||||
@@ -87,7 +87,7 @@ public: // with description
|
||||
// destructor
|
||||
virtual ~G4VTHitsMap();
|
||||
// equivalence operator
|
||||
G4int operator==(const G4VTHitsMap<T, Map_t> &right) const;
|
||||
G4bool operator==(const G4VTHitsMap<T, Map_t> &right) const;
|
||||
|
||||
//------------------------------------------------------------------------//
|
||||
// Generic operator += where add(...) overloads handle various
|
||||
@@ -499,7 +499,7 @@ G4VTHitsMap<T, Map_t>::~G4VTHitsMap()
|
||||
//============================================================================//
|
||||
|
||||
template <typename T, typename Map_t>
|
||||
G4int G4VTHitsMap<T, Map_t>::operator==(const G4VTHitsMap<T, Map_t> &right) const
|
||||
G4bool G4VTHitsMap<T, Map_t>::operator==(const G4VTHitsMap<T, Map_t> &right) const
|
||||
{
|
||||
return (collectionName==right.collectionName);
|
||||
}
|
||||
|
||||
@@ -91,7 +91,7 @@ public:
|
||||
// destructor
|
||||
virtual ~G4VTHitsVector();
|
||||
// equivalence operator
|
||||
G4int operator==(const this_type& rhs) const;
|
||||
G4bool operator==(const this_type& rhs) const;
|
||||
|
||||
virtual void DrawAllHits();
|
||||
virtual void PrintAllHits();
|
||||
@@ -613,7 +613,7 @@ G4VTHitsVector<T, Vector_t>::~G4VTHitsVector()
|
||||
//============================================================================//
|
||||
|
||||
template <typename T, typename Vector_t>
|
||||
G4int G4VTHitsVector<T, Vector_t>::operator==(const G4VTHitsVector<T, Vector_t> &right) const
|
||||
G4bool G4VTHitsVector<T, Vector_t>::operator==(const G4VTHitsVector<T, Vector_t> &right) const
|
||||
{
|
||||
return (collectionName==right.collectionName);
|
||||
}
|
||||
|
||||
@@ -51,7 +51,7 @@ class G4VHit
|
||||
G4VHit();
|
||||
virtual ~G4VHit();
|
||||
|
||||
G4int operator==(const G4VHit &right) const;
|
||||
G4bool operator==(const G4VHit &right) const;
|
||||
|
||||
virtual void Draw();
|
||||
virtual void Print();
|
||||
|
||||
@@ -47,7 +47,7 @@ class G4VHitsCollection
|
||||
G4VHitsCollection();
|
||||
G4VHitsCollection(G4String detName,G4String colNam);
|
||||
virtual ~G4VHitsCollection();
|
||||
G4int operator==(const G4VHitsCollection &right) const;
|
||||
G4bool operator==(const G4VHitsCollection &right) const;
|
||||
|
||||
virtual void DrawAllHits();
|
||||
virtual void PrintAllHits();
|
||||
|
||||
Reference in New Issue
Block a user