34#ifndef G4GDMLPARSER_HH
35#define G4GDMLPARSER_HH 1
47#ifndef G4GDML_DEFAULT_SCHEMALOCATION
48#define G4GDML_DEFAULT_SCHEMALOCATION \
49 G4String("http://cern.ch/service-spi/app/releases/GDML/schema/gdml.xsd")
52#ifndef G4GDML_DEFAULT_WRITE_SCHEMALOCATION
53#define G4GDML_DEFAULT_WRITE_SCHEMALOCATION \
54 G4String("http://cern.ch/service-spi/app/releases/GDML/schema/gdml.xsd")
82 G4bool storeReferences =
true,
92 G4bool storeReferences =
true,
154 void ImportRegions();
155 void ExportRegions(
G4bool storeReferences =
true);
164 G4bool urcode =
false, uwcode =
false, strip =
false, rexp =
false;
167#include "G4GDMLParser.icc"
std::vector< G4GDMLAuxStructType > G4GDMLAuxListType
#define G4GDML_DEFAULT_WRITE_SCHEMALOCATION
std::map< G4LogicalVolume *, G4GDMLAuxListType > G4GDMLAuxMapType
G4LogicalVolume * ParseST(const G4String &name, G4Material *medium, G4Material *solid)
void AddVolumeAuxiliary(G4GDMLAuxStructType myaux, const G4LogicalVolume *const lvol)
void StripNamePointers() const
G4GDMLAuxListType GetVolumeAuxiliaryInformation(G4LogicalVolume *lvol) const
void ReadModule(const G4String &filename, G4bool Validate=false)
void AddModule(const G4VPhysicalVolume *const physvol)
void SetOverlapCheck(G4bool)
G4VPhysicalVolume * GetWorldVolume(const G4String &setupName="Default") const
G4LogicalVolume * GetVolume(const G4String &name) const
const G4GDMLAuxListType * GetAuxList() const
G4ThreeVector GetScale(const G4String &name) const
G4bool IsValid(const G4String &name) const
void SetEnergyCutsExport(G4bool)
G4ThreeVector GetRotation(const G4String &name) const
G4double GetConstant(const G4String &name) const
G4double GetQuantity(const G4String &name) const
void Read(const G4String &filename, G4bool Validate=false)
void SetImportSchema(const G4String &path_and_filename)
G4int GetMaxExportLevel() const
void SetStripFlag(G4bool)
G4double GetVariable(const G4String &name) const
void SetAddPointerToName(G4bool set)
const G4GDMLAuxMapType * GetAuxMap() const
void Write(const G4String &filename, const G4VPhysicalVolume *pvol=0, G4bool storeReferences=true, const G4String &SchemaLocation=G4GDML_DEFAULT_WRITE_SCHEMALOCATION)
void SetOutputFileOverwrite(G4bool flag)
void SetMaxExportLevel(G4int)
G4VPhysicalVolume * GetPhysVolume(const G4String &name) const
G4GDMLMatrix GetMatrix(const G4String &name) const
G4ThreeVector GetPosition(const G4String &name) const
void Write(const G4String &filename, const G4LogicalVolume *lvol, G4bool storeReferences=true, const G4String &SchemaLocation=G4GDML_DEFAULT_WRITE_SCHEMALOCATION)
void SetReverseSearch(G4bool)
void AddModule(const G4int depth)
void AddAuxiliary(G4GDMLAuxStructType myaux)
void SetRegionExport(G4bool)