![]() |
DD4hep
1.33.0
Detector Description Toolkit for High Energy Physics
|
Class supporting the basic functionality of an XML document. More...
#include <XMLElements.h>
Public Types | |
| typedef XmlDocument * | DOC |
Public Member Functions | |
| 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... | |
Public Attributes | |
| DOC | m_doc |
Class supporting the basic functionality of an XML document.
User class encapsulating a DOM document. Nothing special - normal handle around pointer.
Definition at line 697 of file XMLElements.h.
| typedef XmlDocument* dd4hep::xml::Document::DOC |
Definition at line 699 of file XMLElements.h.
|
inline |
Default Constructor.
Definition at line 703 of file XMLElements.h.
|
inline |
Initializing Constructor.
Definition at line 705 of file XMLElements.h.
|
default |
Copy constructor.
|
default |
Destructor.
Clone a DOM element / sub-tree.
Definition at line 1263 of file XMLElements.cpp.
Create DOM element.
Definition at line 1034 of file XMLElements.cpp.
|
inline |
Auto-conversion to DOM document.
Definition at line 713 of file XMLElements.h.
|
inline |
Accessot to DOM document behaviour using arrow operator.
Definition at line 715 of file XMLElements.h.
|
inline |
Accessot to DOM document behaviour.
Definition at line 717 of file XMLElements.h.
| Handle_t Document::root | ( | ) | const |
Access the ROOT eleemnt of the DOM document.
Definition at line 1043 of file XMLElements.cpp.
| std::string Document::uri | ( | ) | const |
Acces the document URI.
Definition at line 1050 of file XMLElements.cpp.
| DOC dd4hep::xml::Document::m_doc |
Definition at line 700 of file XMLElements.h.
1.8.18