40 #ifndef _G4GDMLWRITE_INCLUDED_
41 #define _G4GDMLWRITE_INCLUDED_
45 #include <xercesc/dom/DOM.hpp>
46 #include <xercesc/util/XMLString.hpp>
47 #include <xercesc/util/PlatformUtils.hpp>
48 #include <xercesc/framework/LocalFileFormatTarget.hpp>
133 xercesc::DOMDocument*
doc;
DepthMapType & DepthMap()
G4String Modularize(const G4VPhysicalVolume *const topvol, const G4int depth)
void AddModule(const G4VPhysicalVolume *const topVol)
virtual void MaterialsWrite(xercesc::DOMElement *)=0
G4String GenerateName(const G4String &, const void *const)
static void SetAddPointerToName(G4bool)
virtual void SetupWrite(xercesc::DOMElement *, const G4LogicalVolume *const)=0
xercesc::DOMElement * NewElement(const G4String &)
virtual void StructureWrite(xercesc::DOMElement *)=0
virtual void DefineWrite(xercesc::DOMElement *)=0
virtual void ExtensionWrite(xercesc::DOMElement *)
virtual G4Transform3D TraverseVolumeTree(const G4LogicalVolume *const, const G4int)=0
xercesc::DOMElement * extElement
G4bool FileExists(const G4String &) const
void AddAuxInfo(G4GDMLAuxListType *auxInfoList, xercesc::DOMElement *element)
virtual void SurfacesWrite()=0
std::map< G4int, G4int > DepthMapType
static G4bool addPointerToName
xercesc::DOMDocument * doc
std::map< const G4VPhysicalVolume *, G4String > PhysVolumeMapType
VolumeMapType & VolumeMap()
xercesc::DOMElement * userinfoElement
std::vector< G4GDMLAuxStructType > G4GDMLAuxListType
virtual void UserinfoWrite(xercesc::DOMElement *)
void AddAuxiliary(G4GDMLAuxStructType myaux)
virtual void AddExtension(xercesc::DOMElement *, const G4LogicalVolume *const)
PhysVolumeMapType & PvolumeMap()
xercesc::DOMAttr * NewAttribute(const G4String &, const G4String &)
std::map< const G4LogicalVolume *, G4Transform3D > VolumeMapType
virtual void SolidsWrite(xercesc::DOMElement *)=0
G4Transform3D Write(const G4String &filename, const G4LogicalVolume *const topLog, const G4String &schemaPath, const G4int depth, G4bool storeReferences=true)
G4GDMLAuxListType auxList