Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HepRepWriter.h
Go to the documentation of this file.
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
virtual bool write(HepRep *heprep, std::string name)=0
virtual bool addProperty(std::string key, std::string value)=0
const XML_Char int const XML_Char * value
Definition: expat.h:331
virtual bool close()=0
virtual ~HepRepWriter()
Destructor.
Definition: HepRepWriter.h:39