DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Public Types | Public Member Functions | Public Attributes | List of all members
dd4hep::json::Document Class Reference

Class supporting the basic functionality of an JSON document. More...

#include <Elements.h>

Inheritance diagram for dd4hep::json::Document:
dd4hep::json::DocumentHolder

Public Types

typedef JsonElementDOC
 

Public Member Functions

 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...
 

Public Attributes

DOC m_doc
 

Detailed Description

Class supporting the basic functionality of an JSON document.

User class encapsulating a DOM document. Nothing special - normal handle around pointer.

Author
M.Frank
Version
1.0

Definition at line 296 of file Elements.h.

Member Typedef Documentation

◆ DOC

Definition at line 298 of file Elements.h.

Constructor & Destructor Documentation

◆ Document()

dd4hep::json::Document::Document ( DOC  d = 0)
inline

Constructor.

Definition at line 302 of file Elements.h.

Member Function Documentation

◆ operator DOC()

dd4hep::json::Document::operator DOC ( ) const
inline

Auto-conversion to DOM document.

Definition at line 305 of file Elements.h.

◆ operator->()

DOC dd4hep::json::Document::operator-> ( ) const
inline

Accessot to DOM document behaviour using arrow operator.

Definition at line 309 of file Elements.h.

◆ ptr()

DOC dd4hep::json::Document::ptr ( ) const
inline

Accessot to DOM document behaviour.

Definition at line 313 of file Elements.h.

◆ root()

Handle_t Document::root ( ) const

Access the ROOT eleemnt of the DOM document.

Definition at line 356 of file Elements.cpp.

Member Data Documentation

◆ m_doc

DOC dd4hep::json::Document::m_doc

Definition at line 299 of file Elements.h.


The documentation for this class was generated from the following files: