34 #include <boost/python.hpp>    45 namespace pyG4GDMLParser {
    48                                        GetWorldVolume, 0, 1);
    65 using namespace pyG4GDMLParser;
    70 void export_G4GDMLParser()
    72   class_<G4GDMLParser, boost::noncopyable>
    73     (
"G4GDMLParser", 
"GDML parser")
    78          return_value_policy<reference_existing_object>())
    79     .def(
"Write",            f1_Write, f_Write())
    80     .def(
"Write",            f2_Write, g_Write())
    83          [return_value_policy<reference_existing_object>()])
 
BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_CreateTubeVolume, CreateTubeVolume, 4, 6) BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_CreateConeVolume
 
void Write(const G4String &filename, const G4VPhysicalVolume *pvol=0, G4bool storeReferences=true, const G4String &SchemaLocation=G4GDML_DEFAULT_SCHEMALOCATION)
 
G4VPhysicalVolume * GetWorldVolume(const G4String &setupName="Default") const
 
G4LogicalVolume * ParseST(const G4String &name, G4Material *medium, G4Material *solid)
 
void Read(const G4String &filename, G4bool Validate=true)
 
void ReadModule(const G4String &filename, G4bool Validate=true)