Geant4  v4-10.4-release
 모두 클래스 네임스페이스들 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 Friends 매크로 그룹들 페이지들
HepRepAttribute.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_HEPREPATTRIBUTE_H
8 #define HEPREP_HEPREPATTRIBUTE_H 1
9 
10 // Copyright 2000-2005, FreeHEP.
11 
12 #include <set>
13 #include <string>
14 #include <vector>
15 
16 #include "HEPREP/Types.h"
17 
18 #include "HEPREP/HepRepConstants.h"
19 
20 namespace HEPREP {
21 
22 class HepRepAttValue;
23 
30 
31 public:
33  virtual ~HepRepAttribute() { /* nop */; }
34 
40  virtual void addAttValue(HepRepAttValue * attValue) = 0;
41 
42 
53  virtual void addAttValue(std::string key, char* value, int showLabel = HepRepConstants::SHOW_NONE) = 0;
61  virtual void addAttValue(std::string key, std::string value, int showLabel = HepRepConstants::SHOW_NONE) = 0;
62 
70  virtual void addAttValue(std::string key, int64 value, int showLabel = HepRepConstants::SHOW_NONE) = 0;
71 
79  virtual void addAttValue(std::string key, int value, int showLabel = HepRepConstants::SHOW_NONE) = 0;
80 
88  virtual void addAttValue(std::string key, double value, int showLabel = HepRepConstants::SHOW_NONE) = 0;
89 
97  virtual void addAttValue(std::string key, bool value, int showLabel = HepRepConstants::SHOW_NONE) = 0;
98 
106  virtual void addAttValue(std::string key, std::vector<double> value, int showLabel = HepRepConstants::SHOW_NONE) = 0;
107 
118  virtual void addAttValue(std::string key, double red, double green, double blue, double alpha = 1.0, int showLabel = HepRepConstants::SHOW_NONE) = 0;
119 
126  virtual HepRepAttValue * removeAttValue(std::string key) = 0;
127 
135  virtual HepRepAttValue * getAttValue(std::string name) = 0;
136 
142  virtual std::set<HepRepAttValue *> getAttValuesFromNode() = 0;
143 
150  virtual HepRepAttValue * getAttValueFromNode(std::string lowerCaseName) = 0;
151 }; // class
152 } // namespace HEPREP
153 #endif /* ifndef HEPREP_HEPREPATTRIBUTE_H */
const XML_Char * name
Definition: expat.h:151
Definition: test07.cc:36
virtual HepRepAttValue * getAttValue(std::string name)=0
virtual HepRepAttValue * getAttValueFromNode(std::string lowerCaseName)=0
virtual HepRepAttValue * removeAttValue(std::string key)=0
virtual std::set< HepRepAttValue * > getAttValuesFromNode()=0
virtual ~HepRepAttribute()
Destructor.
Definition: test07.cc:36
const XML_Char int const XML_Char * value
Definition: expat.h:331
static const G4double alpha
virtual void addAttValue(HepRepAttValue *attValue)=0
long long int64
Definition: Types.h:27