54 xercesc::DOMElement* setupElement =
NewElement(
"setup");
55 setupElement->setAttributeNode(
NewAttribute(
"version",
"1.0"));
56 setupElement->setAttributeNode(
NewAttribute(
"name",
"Default"));
57 xercesc::DOMElement* worldElement =
NewElement(
"world");
58 worldElement->setAttributeNode(
NewAttribute(
"ref",worldref));
59 setupElement->appendChild(worldElement);
60 gdmlElement->appendChild(setupElement);
virtual ~G4GDMLWriteSetup()
xercesc::DOMElement * NewElement(const G4String &)
G4GLOB_DLL std::ostream G4cout
G4String GenerateName(const G4String &, const void *const)
virtual void SetupWrite(xercesc::DOMElement *, const G4LogicalVolume *const)
xercesc::DOMAttr * NewAttribute(const G4String &, const G4String &)
const G4String & GetName() const