![]() |
DD4hep
1.33.0
Detector Description Toolkit for High Energy Physics
|
Class supporting the basic functionality of an XML document including ownership. More...
#include <XMLElements.h>
Public Member Functions | |
| DocumentHolder ()=default | |
| Default Constructor. More... | |
| DocumentHolder (const DocumentHolder ©)=delete | |
| Default Constructor. More... | |
| DocumentHolder (DOC d) | |
| Constructor. More... | |
| DocumentHolder & | operator= (const DocumentHolder ©)=delete |
| Assignment operator. More... | |
| DocumentHolder & | assign (DOC d) |
| Assign new document. Old document is dropped. More... | |
| virtual | ~DocumentHolder () |
| Standard destructor - releases the document. More... | |
Public Member Functions inherited from dd4hep::xml::Document | |
| Document () | |
| Default Constructor. More... | |
| Document (DOC d) | |
| Initializing Constructor. More... | |
| Document (const Document &d)=default | |
| Copy constructor. More... | |
| Document & | operator= (const Document &d)=default |
| Assignment. More... | |
| ~Document ()=default | |
| Destructor. More... | |
| operator DOC () const | |
| Auto-conversion to DOM document. More... | |
| DOC | operator-> () const |
| Accessot to DOM document behaviour using arrow operator. More... | |
| DOC | ptr () const |
| Accessot to DOM document behaviour. More... | |
| Handle_t | root () const |
| Access the ROOT eleemnt of the DOM document. More... | |
| Handle_t | createElt (const XmlChar *tag) const |
| Create DOM element. More... | |
| Handle_t | clone (Handle_t source) const |
| Clone a DOM element / sub-tree. More... | |
| std::string | uri () const |
| Acces the document URI. More... | |
Additional Inherited Members | |
Public Types inherited from dd4hep::xml::Document | |
| typedef XmlDocument * | DOC |
Public Attributes inherited from dd4hep::xml::Document | |
| DOC | m_doc |
Class supporting the basic functionality of an XML document including ownership.
User class encapsulating a DOM document. Nothing special - normal handle around pointer. Contrary to the Document class, on destruction the XML document shall be destroyed and the corresponding resources released.
Definition at line 741 of file XMLElements.h.
|
default |
Default Constructor.
|
delete |
Default Constructor.
|
inline |
Constructor.
Definition at line 748 of file XMLElements.h.
|
virtual |
Standard destructor - releases the document.
Definition at line 1073 of file XMLElements.cpp.
| DocumentHolder & DocumentHolder::assign | ( | DOC | d | ) |
Assign new document. Old document is dropped.
Definition at line 1059 of file XMLElements.cpp.
|
delete |
Assignment operator.
1.8.18