Geant4
9.6.0
Toolkit for the simulation of the passage of particles through matter
Toggle main menu visibility
Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
n
o
p
r
s
t
z
Variables
Typedefs
b
d
f
g
h
i
n
p
s
t
u
y
Enumerations
Enumerator
_
a
c
d
e
f
g
h
i
k
l
n
o
p
r
s
t
u
v
w
x
z
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
j
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
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
v
Enumerations
c
d
e
f
g
l
m
o
r
s
t
u
v
Enumerator
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
Related Functions
a
b
c
d
g
h
i
k
o
q
r
s
t
w
Files
File List
File 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
l
m
o
p
q
r
s
t
u
x
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
m
n
o
p
r
s
t
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
x
y
z
Enumerations
b
c
d
e
g
j
l
m
s
t
u
w
x
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Loading...
Searching...
No Matches
XMLHepRepFactory.cc
Go to the documentation of this file.
1
// Copyright FreeHEP, 2005.
2
3
#include <iostream>
4
#include <fstream>
5
6
#include "
cheprep/XMLHepRepWriter.h
"
7
#include "
cheprep/XMLHepRepFactory.h
"
8
9
using namespace
std;
10
using namespace
HEPREP
;
11
12
/**
13
* @author Mark Donszelmann
14
* @version $Id: XMLHepRepFactory.cc,v 1.5 2005-06-02 21:28:45 duns Exp $
15
*/
16
namespace
cheprep
{
17
18
19
XMLHepRepFactory::XMLHepRepFactory
() {
20
}
21
22
XMLHepRepFactory::~XMLHepRepFactory
() {
23
}
24
25
HepRepReader
*
XMLHepRepFactory::createHepRepReader
(istream*) {
26
cerr <<
"XMLHepRepFactory::createHepRepReader not implemented"
<< endl;
27
return
NULL;
28
}
29
30
HepRepReader
*
XMLHepRepFactory::createHepRepReader
(std::string) {
31
cerr <<
"XMLHepRepFactory::createHepRepReader not implemented"
<< endl;
32
return
NULL;
33
}
34
35
HepRepWriter
*
XMLHepRepFactory::createHepRepWriter
(ostream* out,
bool
randomAccess,
bool
compress
) {
36
return
new
XMLHepRepWriter
(out, randomAccess,
compress
);
37
}
38
39
}
// cheprep
40
XMLHepRepFactory.h
XMLHepRepWriter.h
HEPREP::HepRepReader
Definition:
HepRepReader.h:24
HEPREP::HepRepWriter
Definition:
HepRepWriter.h:35
cheprep::XMLHepRepFactory::XMLHepRepFactory
XMLHepRepFactory()
Definition:
XMLHepRepFactory.cc:19
cheprep::XMLHepRepFactory::createHepRepWriter
HEPREP::HepRepWriter * createHepRepWriter(std::ostream *out, bool randomAccess, bool compress)
Definition:
XMLHepRepFactory.cc:35
cheprep::XMLHepRepFactory::createHepRepReader
HEPREP::HepRepReader * createHepRepReader(std::istream *in)
cheprep::XMLHepRepFactory::~XMLHepRepFactory
~XMLHepRepFactory()
Definition:
XMLHepRepFactory.cc:22
cheprep::XMLHepRepWriter
Definition:
XMLHepRepWriter.h:38
compress
int ZEXPORT compress(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen)
Definition:
compress.cc:57
HEPREP
Definition:
HasHepRep.h:12
cheprep
Definition:
AbstractXMLWriter.h:13
geant4-v9.6.0
source
visualization
HepRep
src
XMLHepRepFactory.cc
Generated by
1.9.6