DD4hep
1.31.0
Detector Description Toolkit for High Energy Physics
Main Page
Related Pages
Modules
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
Enumerations
_
a
c
d
e
f
g
h
i
l
m
n
o
p
r
s
u
Enumerator
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Related Functions
b
d
g
o
p
s
t
v
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
x
Functions
_
c
d
g
h
i
l
m
n
o
p
r
s
u
Variables
Typedefs
_
a
c
d
e
f
g
j
l
o
p
r
s
t
u
v
x
Enumerations
Enumerator
Macros
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
x
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
DDCore
include
JSON
DocumentHandler.h
Go to the documentation of this file.
1
//==========================================================================
2
// AIDA Detector description implementation
3
//--------------------------------------------------------------------------
4
// Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
5
// All rights reserved.
6
//
7
// For the licensing terms see $DD4hepINSTALL/LICENSE.
8
// For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
9
//
10
// Author : M.Frank
11
//
12
//==========================================================================
13
#ifndef JSON_DOCUMENTHANDLER_H
14
#define JSON_DOCUMENTHANDLER_H
15
17
#include <
JSON/Elements.h
>
18
20
namespace
dd4hep
{
21
23
namespace
json {
24
26
33
class
DocumentHandler
{
34
public
:
36
DocumentHandler
();
38
virtual
~DocumentHandler
();
40
virtual
Document
load
(
const
std::string& fname)
const
;
42
virtual
Document
parse
(
const
char
* doc_string,
size_t
length)
const
;
43
};
44
45
}
/* End namespace json */
46
}
/* End namespace dd4hep */
47
#endif // JSON_DOCUMENTHANDLER_H
dd4hep::json::DocumentHandler::parse
virtual Document parse(const char *doc_string, size_t length) const
Parse a standalong XML string into a document.
Definition:
DocumentHandler.cpp:47
dd4hep::json::DocumentHandler::~DocumentHandler
virtual ~DocumentHandler()
Default destructor.
Definition:
DocumentHandler.cpp:31
dd4hep::json::DocumentHandler
Class supporting to read and parse XML documents.
Definition:
DocumentHandler.h:33
Elements.h
dd4hep::json::DocumentHandler::load
virtual Document load(const std::string &fname) const
Load XML file and parse it.
Definition:
DocumentHandler.cpp:35
dd4hep::json::Document
Class supporting the basic functionality of an JSON document.
Definition:
Elements.h:295
dd4hep
Namespace for the AIDA detector description toolkit.
Definition:
AlignmentsCalib.h:28
dd4hep::json::DocumentHandler::DocumentHandler
DocumentHandler()
Default constructor.
Definition:
DocumentHandler.cpp:27
Generated on Tue Apr 8 2025 12:27:10 for DD4hep by
1.8.18