Geant4
10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
XMLHepRepFactory.h
Go to the documentation of this file.
1
// Copyright FreeHEP, 2005.
2
#ifndef XMLHEPREPFACTORY_H
3
#define XMLHEPREPFACTORY_H 1
4
5
#include <string>
6
#include <iostream>
7
8
#include "
HEPREP/HepRepReader.h
"
9
#include "
HEPREP/HepRepWriter.h
"
10
11
#include "
DefaultHepRepFactory.h
"
12
13
/**
14
* @author Mark Donszelmann
15
*/
16
namespace
cheprep
{
17
18
class
XMLHepRepFactory
:
public
DefaultHepRepFactory
{
19
20
public
:
21
XMLHepRepFactory
();
22
~XMLHepRepFactory
();
23
24
HEPREP::HepRepReader
*
createHepRepReader
(std::istream* in);
25
HEPREP::HepRepReader
*
createHepRepReader
(std::string filename);
26
HEPREP::HepRepWriter
*
createHepRepWriter
(std::ostream* out,
bool
randomAccess,
bool
compress
);
27
};
28
29
}
// cheprep
30
31
32
#endif
DefaultHepRepFactory.h
HepRepReader.h
HepRepWriter.h
HEPREP::HepRepReader
Definition:
HepRepReader.h:24
HEPREP::HepRepWriter
Definition:
HepRepWriter.h:35
cheprep::DefaultHepRepFactory
Definition:
DefaultHepRepFactory.h:27
cheprep::XMLHepRepFactory
Definition:
XMLHepRepFactory.h:18
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
compress
int ZEXPORT compress(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen)
Definition:
compress.c:67
cheprep
Definition:
AbstractXMLWriter.h:12
geant4-v10.7.0
source
visualization
HepRep
include
cheprep
XMLHepRepFactory.h
Generated by
1.9.6