Geant4
10.03.p03
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
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
17
namespace
cheprep {
18
19
class
XMLHepRepFactory
:
public
DefaultHepRepFactory
{
20
21
public
:
22
XMLHepRepFactory
();
23
~XMLHepRepFactory
();
24
25
HEPREP::HepRepReader
*
createHepRepReader
(std::istream* in);
26
HEPREP::HepRepReader
*
createHepRepReader
(std::string filename);
27
HEPREP::HepRepWriter
*
createHepRepWriter
(std::ostream* out,
bool
randomAccess,
bool
compress
);
28
};
29
30
}
// cheprep
31
32
33
#endif
HepRepReader.h
cheprep::DefaultHepRepFactory
Definition:
DefaultHepRepFactory.h:28
HepRepWriter.h
DefaultHepRepFactory.h
cheprep::XMLHepRepFactory::XMLHepRepFactory
XMLHepRepFactory()
Definition:
XMLHepRepFactory.cc:19
cheprep::XMLHepRepFactory::~XMLHepRepFactory
~XMLHepRepFactory()
Definition:
XMLHepRepFactory.cc:22
cheprep::XMLHepRepFactory::createHepRepReader
HEPREP::HepRepReader * createHepRepReader(std::istream *in)
cheprep::XMLHepRepFactory::createHepRepWriter
HEPREP::HepRepWriter * createHepRepWriter(std::ostream *out, bool randomAccess, bool compress)
Definition:
XMLHepRepFactory.cc:35
compress
int ZEXPORT compress(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen)
Definition:
compress.cc:57
HEPREP::HepRepReader
Definition:
HepRepReader.h:24
HEPREP::HepRepWriter
Definition:
HepRepWriter.h:35
cheprep::XMLHepRepFactory
Definition:
XMLHepRepFactory.h:19
source
geant4.10.03.p03
source
visualization
HepRep
include
cheprep
XMLHepRepFactory.h
Generated on Tue Nov 28 2017 21:44:20 for Geant4 by
1.8.5