Geant4
10.7.0
Toolkit for the simulation of the passage of particles through matter
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
*/
15
namespace
cheprep
{
16
17
18
XMLHepRepFactory::XMLHepRepFactory
() {
19
}
20
21
XMLHepRepFactory::~XMLHepRepFactory
() {
22
}
23
24
HepRepReader
*
XMLHepRepFactory::createHepRepReader
(istream*) {
25
cerr <<
"XMLHepRepFactory::createHepRepReader not implemented"
<< endl;
26
return
NULL;
27
}
28
29
HepRepReader
*
XMLHepRepFactory::createHepRepReader
(std::string) {
30
cerr <<
"XMLHepRepFactory::createHepRepReader not implemented"
<< endl;
31
return
NULL;
32
}
33
34
HepRepWriter
*
XMLHepRepFactory::createHepRepWriter
(ostream* out,
bool
randomAccess,
bool
compress
) {
35
return
new
XMLHepRepWriter
(out, randomAccess,
compress
);
36
}
37
38
}
// cheprep
39
XMLHepRepFactory.h
XMLHepRepWriter.h
HEPREP::HepRepReader
Definition:
HepRepReader.h:24
HEPREP::HepRepWriter
Definition:
HepRepWriter.h:35
cheprep::XMLHepRepFactory::XMLHepRepFactory
XMLHepRepFactory()
Definition:
XMLHepRepFactory.cc:18
cheprep::XMLHepRepFactory::createHepRepWriter
HEPREP::HepRepWriter * createHepRepWriter(std::ostream *out, bool randomAccess, bool compress)
Definition:
XMLHepRepFactory.cc:34
cheprep::XMLHepRepFactory::createHepRepReader
HEPREP::HepRepReader * createHepRepReader(std::istream *in)
cheprep::XMLHepRepFactory::~XMLHepRepFactory
~XMLHepRepFactory()
Definition:
XMLHepRepFactory.cc:21
cheprep::XMLHepRepWriter
Definition:
XMLHepRepWriter.h:37
compress
int ZEXPORT compress(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen)
Definition:
compress.c:67
HEPREP
Definition:
HasHepRep.h:12
cheprep
Definition:
AbstractXMLWriter.h:12
geant4-v10.7.0
source
visualization
HepRep
src
XMLHepRepFactory.cc
Generated by
1.9.6