Geant4  v4-10.4-release
 모두 클래스 네임스페이스들 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 Friends 매크로 그룹들 페이지들
DefaultHepRepType.h
이 파일의 문서화 페이지로 가기
1 // Copyright FreeHEP, 2005.
2 #ifndef CHEPREP_DEFAULTHEPREPTYPE_H
3 #define CHEPREP_DEFAULTHEPREPTYPE_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/HepRepType.h"
13 #include "HEPREP/HepRepAttDef.h"
14 #include "HEPREP/HepRepAttValue.h"
15 #include "HEPREP/HepRepWriter.h"
16 
18 
23 namespace cheprep {
24 
26 
27  private:
29  std::vector<HEPREP::HepRepType*> types;
30  std::string name;
31  std::string description;
32  std::string infoURL;
33 
34  public:
38 
40  HEPREP::HepRepAttDef* getAttDef(std::string name);
43  std::string getName();
44  std::string getFullName();
45  std::string getDescription();
46  void setDescription(std::string description);
47  std::string getInfoURL();
48  void setInfoURL(std::string infoURL);
49  void addType(HEPREP::HepRepType* type);
50  std::vector<HEPREP::HepRepType*> getTypeList();
51 };
52 
53 } // cheprep
54 
55 
56 #endif
const XML_Char * name
Definition: expat.h:151
std::vector< HEPREP::HepRepType * > types
HEPREP::HepRepType * getSuperType()
void setDescription(std::string description)
void addType(HEPREP::HepRepType *type)
void setInfoURL(std::string infoURL)
std::vector< HEPREP::HepRepType * > getTypeList()
DefaultHepRepType(HEPREP::HepRepType *parent, std::string name)
HEPREP::HepRepType * parent
HEPREP::HepRepType * copy(HEPREP::HepRepType *parent)
HEPREP::HepRepAttValue * getAttValue(std::string name)
HEPREP::HepRepAttDef * getAttDef(std::string name)