Geant4  v4-10.4-release
 모두 클래스 네임스페이스들 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 Friends 매크로 그룹들 페이지들
HepRepWriter.h
이 파일의 문서화 페이지로 가기
1 // -*- C++ -*-
2 // AID-GENERATED
3 // =========================================================================
4 // This class was generated by AID - Abstract Interface Definition
5 // DO NOT MODIFY, but use the org.freehep.aid.Aid utility to regenerate it.
6 // =========================================================================
7 #ifndef HEPREP_HEPREPWRITER_H
8 #define HEPREP_HEPREPWRITER_H 1
9 
10 // Copyright 2002-2005, Freehep.
11 
12 #include <string>
13 #include <vector>
14 
15 namespace HEPREP {
16 
17 class HepRep;
18 class HepRepAction;
19 class HepRepAttDef;
20 class HepRepAttValue;
21 class HepRepAttribute;
22 class HepRepDefinition;
23 class HepRepInstance;
24 class HepRepInstanceTree;
25 class HepRepPoint;
26 class HepRepTreeID;
27 class HepRepType;
28 class HepRepTypeTree;
29 
35 class HepRepWriter {
36 
37 public:
39  virtual ~HepRepWriter() { /* nop */; }
40 
48  virtual bool addProperty(std::string key, std::string value) = 0;
49 
55  virtual bool close() = 0;
56 
64  virtual bool write(HepRep * heprep, std::string name) = 0;
65 
72  virtual bool write(std::vector<std::string> layerOrder) = 0;
73 
80  virtual bool write(HepRepTypeTree * typeTree) = 0;
81 
88  virtual bool write(HepRepType * type) = 0;
89 
96  virtual bool write(HepRepTreeID * treeID) = 0;
97 
104  virtual bool write(HepRepAction * action) = 0;
105 
112  virtual bool write(HepRepInstanceTree * instanceTree) = 0;
113 
120  virtual bool write(HepRepInstance * instance) = 0;
121 
128  virtual bool write(HepRepPoint * point) = 0;
129 
136  virtual bool write(HepRepAttribute * attribute) = 0;
137 
144  virtual bool write(HepRepDefinition * definition) = 0;
145 
152  virtual bool write(HepRepAttValue * attValue) = 0;
153 
160  virtual bool write(HepRepAttDef * attDef) = 0;
161 }; // class
162 } // namespace HEPREP
163 #endif /* ifndef HEPREP_HEPREPWRITER_H */
const XML_Char * name
Definition: expat.h:151
const XML_Char int const XML_Char * value
Definition: expat.h:331
virtual ~HepRepWriter()
Destructor.
Definition: HepRepWriter.h:39
virtual bool close()=0
static MCTruthManager * instance
virtual bool addProperty(std::string key, std::string value)=0
virtual bool write(HepRep *heprep, std::string name)=0