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