34 lines
786 B
C++
Executable File
34 lines
786 B
C++
Executable File
// Copyright FreeHEP, 2005.
|
|
#ifndef XMLHEPREPFACTORY_H
|
|
#define XMLHEPREPFACTORY_H 1
|
|
|
|
#include <string>
|
|
#include <iostream>
|
|
|
|
#include "HEPREP/HepRepReader.h"
|
|
#include "HEPREP/HepRepWriter.h"
|
|
|
|
#include "DefaultHepRepFactory.h"
|
|
|
|
/**
|
|
* @author Mark Donszelmann
|
|
* @version $Id: XMLHepRepFactory.h 66373 2012-12-18 09:41:34Z gcosmo $
|
|
*/
|
|
namespace cheprep {
|
|
|
|
class XMLHepRepFactory : public DefaultHepRepFactory {
|
|
|
|
public:
|
|
XMLHepRepFactory();
|
|
~XMLHepRepFactory();
|
|
|
|
HEPREP::HepRepReader* createHepRepReader (std::istream* in);
|
|
HEPREP::HepRepReader* createHepRepReader (std::string filename);
|
|
HEPREP::HepRepWriter* createHepRepWriter (std::ostream* out, bool randomAccess, bool compress);
|
|
};
|
|
|
|
} // cheprep
|
|
|
|
|
|
#endif
|