Changeset 1347 for trunk/source/persistency/gdml/include/G4GDMLParser.hh
- Timestamp:
- Dec 22, 2010, 3:52:27 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/persistency/gdml/include/G4GDMLParser.hh
r1337 r1347 25 25 // 26 26 // 27 // $Id: G4GDMLParser.hh,v 1. 59 2010/02/17 18:06:25gcosmo Exp $28 // GEANT4 tag $Name: g eant4-09-04-beta-01$27 // $Id: G4GDMLParser.hh,v 1.65 2010/11/17 10:47:02 gcosmo Exp $ 28 // GEANT4 tag $Name: gdml-V09-03-09 $ 29 29 // 30 30 // … … 45 45 #include "G4GDMLWriteStructure.hh" 46 46 #include "G4STRead.hh" 47 #include "G4GDMLMessenger.hh" 48 49 #include "G4TransportationManager.hh" 50 #include "G4Navigator.hh" 51 47 52 48 53 #define G4GDML_DEFAULT_SCHEMALOCATION G4String("http://service-spi.web.cern.ch/service-spi/app/releases/GDML/schema/gdml.xsd") … … 70 75 71 76 inline void Write(const G4String& filename, 72 const G4VPhysicalVolume* constpvol = 0,77 const G4VPhysicalVolume* pvol = 0, 73 78 G4bool storeReferences = true, 74 79 const G4String& SchemaLocation = G4GDML_DEFAULT_SCHEMALOCATION); … … 79 84 // Alternative path for the schema location can be specified; by default 80 85 // the URL to the GDML web site is used. 86 87 inline void Write(const G4String& filename, 88 const G4LogicalVolume* lvol = 0, 89 G4bool storeReferences = true, 90 const G4String& SchemaLocation = G4GDML_DEFAULT_SCHEMALOCATION); 91 // 92 // Exports on a GDML file, specified by 'filename' a geometry tree 93 // starting from 'pvol' as top volume. Uniqueness of stored entities 94 // is guaranteed by storing pointer-references by default. 95 // Alternative path for the schema location can be specified; by default 96 // the URL to the GDML web site is used. Same as method above except 97 // that the logical volume is provided here. 81 98 82 99 inline G4LogicalVolume* ParseST(const G4String& name, … … 101 118 inline G4LogicalVolume* GetVolume(const G4String& name) const; 102 119 inline G4VPhysicalVolume* GetWorldVolume(const G4String& setupName="Default") const; 103 inline G4GDMLAuxListType GetVolumeAuxiliaryInformation(const G4LogicalVolume* const logvol); 120 inline G4GDMLAuxListType GetVolumeAuxiliaryInformation(G4LogicalVolume* logvol) const; 121 inline const G4GDMLAuxMapType* GetAuxMap() const; 104 122 inline void StripNamePointers() const; 123 inline void SetStripFlag(G4bool); 105 124 inline void SetOverlapCheck(G4bool); 125 inline void Clear(); // Clears the evaluator 106 126 107 127 // Methods for Writer … … 115 135 G4GDMLReadStructure* reader; 116 136 G4GDMLWriteStructure* writer; 117 G4bool urcode, uwcode; 137 G4GDMLMessenger* messenger; 138 G4bool urcode, uwcode, strip; 118 139 119 140 };
Note: See TracChangeset
for help on using the changeset viewer.