Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
DefaultHepRepFactory.h
Go to the documentation of this file.
1// Copyright FreeHEP, 2005.
2#ifndef CHEPREP_DEFAULTHEPREPFACTORY_H
3#define CHEPREP_DEFAULTHEPREPFACTORY_H 1
4
5#include "cheprep/config.h"
6
7#include <string>
8#include <iostream>
9
10#include "HEPREP/HepRep.h"
12#include "HEPREP/HepRepReader.h"
13#include "HEPREP/HepRepWriter.h"
14#include "HEPREP/HepRepPoint.h"
17#include "HEPREP/HepRepTreeID.h"
18#include "HEPREP/HepRepAction.h"
19#include "HEPREP/HepRepType.h"
21
22/**
23 * @author Mark Donszelmann
24 */
25namespace cheprep {
26
28
29 public:
32
33// static HEPREP::HepRepFactory* create();
35 HEPREP::HepRepReader* createHepRepReader (std::string filename);
36 HEPREP::HepRepWriter* createHepRepWriter (std::ostream* out, bool randomAccess, bool compress);
38 double x, double y, double z);
41 HEPREP::HepRepTreeID* createHepRepTreeID (std::string name, std::string version, std::string qualifier = "top-level");
42 HEPREP::HepRepAction* createHepRepAction (std::string name, std::string expression);
43 HEPREP::HepRepInstanceTree* createHepRepInstanceTree (std::string name, std::string version,
44 HEPREP::HepRepTreeID* typeTreeID);
45 HEPREP::HepRepType* createHepRepType (HEPREP::HepRepType* parent, std::string name);
49};
50
51} // cheprep
52
53
54#endif
HEPREP::HepRepTypeTree * createHepRepTypeTree(HEPREP::HepRepTreeID *treeID)
HEPREP::HepRepInstanceTree * createHepRepInstanceTree(std::string name, std::string version, HEPREP::HepRepTreeID *typeTreeID)
HEPREP::HepRepInstance * createHepRepInstance(HEPREP::HepRepInstance *parent, HEPREP::HepRepType *type)
HEPREP::HepRepAction * createHepRepAction(std::string name, std::string expression)
HEPREP::HepRepPoint * createHepRepPoint(HEPREP::HepRepInstance *instance, double x, double y, double z)
HEPREP::HepRepTreeID * createHepRepTreeID(std::string name, std::string version, std::string qualifier="top-level")
HEPREP::HepRepType * createHepRepType(HEPREP::HepRepType *parent, std::string name)
HEPREP::HepRepWriter * createHepRepWriter(std::ostream *out, bool randomAccess, bool compress)
HEPREP::HepRepReader * createHepRepReader(std::istream *in)
int ZEXPORT compress(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen)
Definition: compress.c:67