32#include <boost/python.hpp>
38using namespace boost::python;
70 class_<G4GDMLParser, boost::noncopyable>
71 (
"G4GDMLParser",
"GDML parser")
76 return_value_policy<reference_existing_object>())
77 .def(
"Write", f1_Write, f_Write())
81 [return_value_policy<reference_existing_object>()])
G4LogicalVolume * ParseST(const G4String &name, G4Material *medium, G4Material *solid)
G4VPhysicalVolume * GetWorldVolume(const G4String &setupName="Default") const
void Read(const G4String &filename, G4bool Validate=true)
void ReadModule(const G4String &filename, G4bool Validate=true)
void Write(const G4String &filename, const G4VPhysicalVolume *pvol=0, G4bool storeReferences=true, const G4String &SchemaLocation=G4GDML_DEFAULT_SCHEMALOCATION)
BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_GetWorldVolume, GetWorldVolume, 0, 1) void(G4GDMLParser void(G4GDMLParser::* f2_Write)(const G4String &, const G4LogicalVolume *, G4bool, const G4String &)
BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_ClearWaitingStack, ClearWaitingStack, 0, 1) BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_GetNWaitingTrack
void export_G4GDMLParser()