DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Class supporting the basic functionality of an JSON document including ownership. More...
#include <Elements.h>
Public Member Functions | |
DocumentHolder () | |
Default Constructor. More... | |
DocumentHolder (DOC d) | |
Constructor. 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::json::Document | |
Document (DOC d=0) | |
Constructor. 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... | |
Additional Inherited Members | |
Public Types inherited from dd4hep::json::Document | |
typedef JsonElement * | DOC |
Public Attributes inherited from dd4hep::json::Document | |
DOC | m_doc |
Class supporting the basic functionality of an JSON document including ownership.
User class encapsulating a DOM document. Nothing special - normal handle around pointer. Contrary to the Document class, on destruction the JSON document shall be destroyed and the corresponding resources released.
Definition at line 332 of file Elements.h.
|
inline |
Default Constructor.
Definition at line 335 of file Elements.h.
|
inline |
Constructor.
Definition at line 338 of file Elements.h.
|
virtual |
Standard destructor - releases the document.
Definition at line 374 of file Elements.cpp.
DocumentHolder & DocumentHolder::assign | ( | DOC | d | ) |
Assign new document. Old document is dropped.
Definition at line 364 of file Elements.cpp.