Geant4  v4-10.4-release
 모두 클래스 네임스페이스들 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 Friends 매크로 그룹들 페이지들
DefaultHepRepInstance.h
이 파일의 문서화 페이지로 가기
1 // Copyright FreeHEP, 2005.
2 #ifndef CHEPREP_DEFAULTHEPREPINSTANCE_H
3 #define CHEPREP_DEFAULTHEPREPINSTANCE_H 1
4 
5 #include "cheprep/config.h"
6 
7 #include <string>
8 #include <vector>
9 
10 #include "HEPREP/HepRep.h"
13 #include "HEPREP/HepRepInstance.h"
14 #include "HEPREP/HepRepWriter.h"
15 #include "HEPREP/HepRepType.h"
16 #include "HEPREP/HepRepPoint.h"
17 #include "HEPREP/HepRepAttValue.h"
18 
19 #include "DefaultHepRepAttribute.h"
20 
25 namespace cheprep {
26 
28 
29  private:
32  std::vector<HEPREP::HepRepPoint*> points;
33  std::vector<HEPREP::HepRepInstance*> instances;
34 
35  public:
39 
44  void addPoint(HEPREP::HepRepPoint* point);
45  std::vector<HEPREP::HepRepPoint *> getPoints();
49  std::vector<HEPREP::HepRepInstance *> getInstances();
50 
52 
53  void *getParent() { return parent; }
54 };
55 
56 } // cheprep
57 
58 
59 #endif
DefaultHepRepInstance(HEPREP::HepRepInstance *parent, HEPREP::HepRepType *type)
const XML_Char * name
Definition: expat.h:151
std::vector< HEPREP::HepRepInstance * > getInstances()
std::vector< HEPREP::HepRepInstance * > instances
HEPREP::HepRepInstance * parent
HEPREP::HepRepAttValue * getAttValue(std::string name)
HEPREP::HepRepInstance * getSuperInstance()
void addInstance(HEPREP::HepRepInstance *instance)
std::vector< HEPREP::HepRepPoint * > getPoints()
void addPoint(HEPREP::HepRepPoint *point)
std::vector< HEPREP::HepRepPoint * > points
void overlay(HEPREP::HepRepInstance *instance)
HEPREP::HepRepInstance * copy(HEPREP::HepRepTypeTree *typeTree, HEPREP::HepRepInstance *parent, HEPREP::HepRepSelectFilter *filter)
static MCTruthManager * instance
void removeInstance(HEPREP::HepRepInstance *instance)