Geant4
9.6.p02
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
geant4_9_6_p02
source
visualization
HepRep
include
cheprep
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
"
11
#include "
HEPREP/HepRepFactory.h
"
12
#include "
HEPREP/HepRepReader.h
"
13
#include "
HEPREP/HepRepWriter.h
"
14
#include "
HEPREP/HepRepPoint.h
"
15
#include "
HEPREP/HepRepInstance.h
"
16
#include "
HEPREP/HepRepInstanceTree.h
"
17
#include "
HEPREP/HepRepTreeID.h
"
18
#include "
HEPREP/HepRepAction.h
"
19
#include "
HEPREP/HepRepType.h
"
20
#include "
HEPREP/HepRepTypeTree.h
"
21
26
namespace
cheprep {
27
28
class
DefaultHepRepFactory
:
public
virtual
HEPREP::HepRepFactory
{
29
30
public
:
31
DefaultHepRepFactory
();
32
~DefaultHepRepFactory
();
33
34
// static HEPREP::HepRepFactory* create();
35
HEPREP::HepRepReader
*
createHepRepReader
(std::istream*
in
);
36
HEPREP::HepRepReader
*
createHepRepReader
(std::string filename);
37
HEPREP::HepRepWriter
*
createHepRepWriter
(std::ostream* out,
bool
randomAccess,
bool
compress
);
38
HEPREP::HepRepPoint
*
createHepRepPoint
(
HEPREP::HepRepInstance
* instance,
39
double
x
,
double
y
,
double
z
);
40
HEPREP::HepRepInstance
*
createHepRepInstance
(
HEPREP::HepRepInstance
* parent,
HEPREP::HepRepType
* type);
41
HEPREP::HepRepInstance
*
createHepRepInstance
(
HEPREP::HepRepInstanceTree
* parent,
HEPREP::HepRepType
* type);
42
HEPREP::HepRepTreeID
*
createHepRepTreeID
(std::string
name
, std::string
version
, std::string qualifier =
"top-level"
);
43
HEPREP::HepRepAction
*
createHepRepAction
(std::string name, std::string expression);
44
HEPREP::HepRepInstanceTree
*
createHepRepInstanceTree
(std::string name, std::string version,
45
HEPREP::HepRepTreeID
* typeTreeID);
46
HEPREP::HepRepType
*
createHepRepType
(
HEPREP::HepRepType
* parent, std::string name);
47
HEPREP::HepRepType
*
createHepRepType
(
HEPREP::HepRepTypeTree
* parent, std::string name);
48
HEPREP::HepRepTypeTree
*
createHepRepTypeTree
(
HEPREP::HepRepTreeID
* treeID);
49
HEPREP::HepRep
*
createHepRep
();
50
};
51
52
}
// cheprep
53
54
55
#endif
Generated on Sat May 25 2013 14:34:14 for Geant4 by
1.8.4