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
DefaultHepRepInstanceTree.h
Go to the documentation of this file.
1
// Copyright FreeHEP, 2005.
2
#ifndef CHEPREP_DEFAULTHEPREPINSTANCETREE_H
3
#define CHEPREP_DEFAULTHEPREPINSTANCETREE_H 1
4
5
#include "
cheprep/config.h
"
6
7
#include <string>
8
#include <vector>
9
#include <set>
10
11
#include "
HEPREP/HepRep.h
"
12
#include "
HEPREP/HepRepSelectFilter.h
"
13
#include "
HEPREP/HepRepInstanceTree.h
"
14
#include "
HEPREP/HepRepInstance.h
"
15
#include "
HEPREP/HepRepWriter.h
"
16
#include "
HEPREP/HepRepTreeID.h
"
17
18
#include "
DefaultHepRepTreeID.h
"
19
24
namespace
cheprep {
25
26
class
DefaultHepRepInstanceTree
:
public
DefaultHepRepTreeID
,
public
virtual
HEPREP::HepRepInstanceTree
{
27
28
private
:
29
HEPREP::HepRepTreeID
* typeTree;
30
std::vector<HEPREP::HepRepInstance*> instances;
31
std::vector<HEPREP::HepRepTreeID*> instanceTrees;
32
33
public
:
34
DefaultHepRepInstanceTree
(std::string
name
, std::string
version
,
HEPREP::HepRepTreeID
* typeTree);
35
~DefaultHepRepInstanceTree
();
36
37
void
overlay
(
HEPREP::HepRepInstanceTree
* instanceTree);
38
HEPREP::HepRepInstanceTree
*
copy
(
HEPREP::HepRepTypeTree
* typeTree,
HEPREP::HepRepSelectFilter
* filter);
39
void
addInstance
(
HEPREP::HepRepInstance
* instance);
40
void
removeInstance
(
HEPREP::HepRepInstance
* instance);
41
std::vector<HEPREP::HepRepInstance*>
getInstances
();
42
void
addInstanceTree
(
HEPREP::HepRepTreeID
* treeID);
43
HEPREP::HepRepTreeID
*
getTypeTree
();
44
std::vector<HEPREP::HepRepTreeID*>
getInstanceTreeList
();
45
};
46
47
}
// cheprep
48
49
50
#endif
Generated on Sat May 25 2013 14:34:14 for Geant4 by
1.8.4