Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4VPreCompoundEmissionFactory Class Referenceabstract

#include <G4VPreCompoundEmissionFactory.hh>

Inheritance diagram for G4VPreCompoundEmissionFactory:

Public Member Functions

 G4VPreCompoundEmissionFactory ()
 
virtual ~G4VPreCompoundEmissionFactory ()
 
std::vector
< G4VPreCompoundFragment * > * 
GetFragmentVector ()
 

Protected Member Functions

virtual std::vector
< G4VPreCompoundFragment * > * 
CreateFragmentVector ()=0
 

Detailed Description

Definition at line 37 of file G4VPreCompoundEmissionFactory.hh.

Constructor & Destructor Documentation

G4VPreCompoundEmissionFactory::G4VPreCompoundEmissionFactory ( )

Definition at line 32 of file G4VPreCompoundEmissionFactory.cc.

33  : fragvector(nullptr)
34 {}
G4VPreCompoundEmissionFactory::~G4VPreCompoundEmissionFactory ( )
virtual

Definition at line 36 of file G4VPreCompoundEmissionFactory.cc.

37 {
38  if (fragvector != nullptr)
39  std::for_each(fragvector->begin(), fragvector->end(),
40  DeleteFragment());
41  delete fragvector;
42 }

Member Function Documentation

virtual std::vector<G4VPreCompoundFragment*>* G4VPreCompoundEmissionFactory::CreateFragmentVector ( )
protectedpure virtual

Implemented in G4HETCEmissionFactory, and G4PreCompoundEmissionFactory.

Here is the caller graph for this function:

std::vector< G4VPreCompoundFragment * > * G4VPreCompoundEmissionFactory::GetFragmentVector ( )
inline

Definition at line 73 of file G4VPreCompoundEmissionFactory.hh.

74 {
75  if (fragvector == 0) { fragvector = CreateFragmentVector(); }
76  return fragvector;
77 }
virtual std::vector< G4VPreCompoundFragment * > * CreateFragmentVector()=0

Here is the call graph for this function:

Here is the caller graph for this function:


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