Geant4  v4-10.4-release
 모두 클래스 네임스페이스들 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 Friends 매크로 그룹들 페이지들
DefaultHepRepDefinition.h
이 파일의 문서화 페이지로 가기
1 // Copyright FreeHEP, 2005.
2 #ifndef CHEPREP_DEFAULTHEPREPDEFINITION_H
3 #define CHEPREP_DEFAULTHEPREPDEFINITION_H 1
4 
5 #include "cheprep/config.h"
6 
7 #include <string>
8 #include <vector>
9 #include <set>
10 
12 #include "HEPREP/HepRepWriter.h"
13 
14 #include "DefaultHepRepAttribute.h"
15 
20 namespace cheprep {
21 
23 
24  private:
25  std::map<std::string, HEPREP::HepRepAttDef*> attDefs;
26 
27  public:
30 
31  void addAttDef(HEPREP::HepRepAttDef* hepRepAttDef);
32  void addAttDef(std::string name, std::string desc, std::string type, std::string extra);
33  std::set<HEPREP::HepRepAttDef *> getAttDefsFromNode();
34  HEPREP::HepRepAttDef* getAttDefFromNode(std::string lowerCaseName);
35 
36  HEPREP::HepRepAttDef* getAttDef(std::string name) = 0;
37  HEPREP::HepRepAttValue* getAttValue(std::string name) = 0;
38 };
39 
40 } // cheprep
41 
42 
43 #endif
const XML_Char * name
Definition: expat.h:151
std::map< std::string, HEPREP::HepRepAttDef * > attDefs
HEPREP::HepRepAttValue * getAttValue(std::string name)=0
HEPREP::HepRepAttDef * getAttDefFromNode(std::string lowerCaseName)
std::set< HEPREP::HepRepAttDef * > getAttDefsFromNode()
HEPREP::HepRepAttDef * getAttDef(std::string name)=0
void addAttDef(HEPREP::HepRepAttDef *hepRepAttDef)