Files
geant4/source/processes/management/include/G4ProcessVector.hh
T
2016-06-08 15:09:25 +02:00

52 lines
1.4 KiB
C++

// This code implementation is the intellectual property of
// the RD44 GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4ProcessVector.hh,v 1.2 1999/04/13 09:45:07 kurasige Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
// ------------------------------------------------------------
// GEANT 4 class header file
//
// For information related to this code contact:
// CERN, CN Division, ASD group
// History: first implementation, based on object model of
// 2nd December 1995, G.Cosmo
// ------------------------------------------------------------
#ifndef G4ProcessVector_h
#define G4ProcessVector_h 1
#include "globals.hh"
#include "G4ios.hh"
#include <rw/tpordvec.h>
#include "G4VProcess.hh"
class G4ProcessVector : public RWTPtrOrderedVector<G4VProcess>
{
// Is a container for pointers to physics process objects. Its
// functionality is derived from RWTPtrOrderedVector<T>.
public:
G4ProcessVector(size_t capac=RWDEFAULT_CAPACITY)
: RWTPtrOrderedVector<G4VProcess>(capac) {;}
// Constructor.
virtual ~G4ProcessVector() {;}
// Destructor.
G4bool operator==(const G4ProcessVector &right) const
{
return (this == (G4ProcessVector *) &right);
}
};
#endif