Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Data Structures | Namespaces | Functions
pyG4VPhysicsConstructor.cc File Reference
#include <boost/python.hpp>
#include "G4VPhysicsConstructor.hh"

Go to the source code of this file.

Data Structures

class  pyG4VPhysicsConstructor::CB_G4VPhysicsConstructor
 

Namespaces

 pyG4VPhysicsConstructor
 

Functions

void export_G4VPhysicsConstructor ()
 

Function Documentation

void export_G4VPhysicsConstructor ( )

Definition at line 72 of file pyG4VPhysicsConstructor.cc.

References G4VPhysicsConstructor::ConstructParticle(), G4VPhysicsConstructor::ConstructProcess(), G4VPhysicsConstructor::GetPhysicsName(), G4VPhysicsConstructor::GetVerboseLevel(), G4VPhysicsConstructor::SetPhysicsName(), and G4VPhysicsConstructor::SetVerboseLevel().

Referenced by BOOST_PYTHON_MODULE().

73 {
74  class_<CB_G4VPhysicsConstructor, boost::noncopyable>
75  ("G4VPhysicsConstructor",
76  "base class of user physics constructor")
77  // ----
78  .def(init<const G4String&>())
79  // ---
80  .def("ConstructParticle",
82  .def("ConstructProcess",
84  // ---
85  .def("SetPhysicsName", &G4VPhysicsConstructor::SetPhysicsName,
86  f_SetPhysicsName())
87  .def("GetPhysicsName", &G4VPhysicsConstructor::GetPhysicsName,
88  return_value_policy<return_by_value>())
89  .def("SetVerboseLevel", &G4VPhysicsConstructor::SetVerboseLevel)
90  .def("GetVerboseLevel", &G4VPhysicsConstructor::GetVerboseLevel)
91  ;
92 }
virtual void ConstructParticle()=0
const G4String & GetPhysicsName() const
void SetVerboseLevel(G4int value)
void SetPhysicsName(const G4String &="")
virtual void ConstructProcess()=0