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

Go to the source code of this file.

Data Structures

struct  pyG4VUserDetectorConstruction::CB_G4VUserDetectorConstruction
 

Namespaces

 pyG4VUserDetectorConstruction
 

Functions

void export_G4VUserDetectorConstruction ()
 

Function Documentation

void export_G4VUserDetectorConstruction ( )

Definition at line 59 of file pyG4VUserDetectorConstruction.cc.

References G4VUserDetectorConstruction::Construct().

Referenced by BOOST_PYTHON_MODULE().

60 {
61  class_<CB_G4VUserDetectorConstruction, CB_G4VUserDetectorConstruction*,
62  boost::noncopyable>
63  ("G4VUserDetectorConstruction",
64  "base class of user detector construction")
65 
66  .def("Construct",
68  return_value_policy<reference_existing_object>())
69  ;
70 }
virtual G4VPhysicalVolume * Construct()=0