Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HepRepAttribute.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_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
virtual HepRepAttValue * removeAttValue(std::string key)=0
virtual ~HepRepAttribute()
Destructor.
virtual HepRepAttValue * getAttValueFromNode(std::string lowerCaseName)=0
const XML_Char int const XML_Char * value
Definition: expat.h:331
virtual void addAttValue(HepRepAttValue *attValue)=0
virtual HepRepAttValue * getAttValue(std::string name)=0
long long int64
Definition: Types.h:27
static const G4double alpha
virtual std::set< HepRepAttValue * > getAttValuesFromNode()=0