source: trunk/source/visualization/HepRep/include/cheprep/XMLHepRepFactory.h @ 834

Last change on this file since 834 was 834, checked in by garnier, 16 years ago

import all except CVS

  • Property svn:executable set to *
File size: 787 bytes
Line 
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 * @version $Id: XMLHepRepFactory.h,v 1.3 2005/06/02 21:28:45 duns Exp $
16 */
17namespace cheprep {
18
19class 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
Note: See TracBrowser for help on using the repository browser.