Geant4_10
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 
20 
21  public:
24 
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
ifstream in
Definition: comparison.C:7
HEPREP::HepRepReader * createHepRepReader(std::istream *in)
HEPREP::HepRepWriter * createHepRepWriter(std::ostream *out, bool randomAccess, bool compress)
int ZEXPORT compress(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen)
Definition: compress.cc:57