00001
00002
00003
00004
00005
00006
00007 #ifndef EVENT_LCPARAMETERS_H
00008 #define EVENT_LCPARAMETERS_H 1
00009
00010 #include <string>
00011
00012 #include "LCIOSTLTypes.h"
00013
00014 namespace EVENT {
00015
00028 class LCParameters {
00029
00030 public:
00032 virtual ~LCParameters() { ; }
00033
00036 virtual int getIntVal(const std::string & key) const = 0;
00037
00040 virtual float getFloatVal(const std::string & key) const = 0;
00041
00044 virtual const std::string & getStringVal(const std::string & key) const = 0;
00045
00049 virtual IntVec & getIntVals(const std::string & key, IntVec & values) const = 0;
00050
00054 virtual FloatVec & getFloatVals(const std::string & key, FloatVec & values) const = 0;
00055
00059 virtual StringVec & getStringVals(const std::string & key, StringVec & values) const = 0;
00060
00063 virtual const StringVec & getIntKeys(StringVec & keys) const = 0;
00064
00067 virtual const StringVec & getFloatKeys(StringVec & keys) const = 0;
00068
00071 virtual const StringVec & getStringKeys(StringVec & keys) const = 0;
00072
00075 virtual int getNInt(const std::string & key) const = 0;
00076
00079 virtual int getNFloat(const std::string & key) const = 0;
00080
00083 virtual int getNString(const std::string & key) const = 0;
00084
00087 virtual void setValue(const std::string & key, int value) = 0;
00088
00091 virtual void setValue(const std::string & key, float value) = 0;
00092
00095 virtual void setValue(const std::string & key, const std::string & value) = 0;
00096
00099 virtual void setValues(const std::string & key, const IntVec & values) = 0;
00100
00103 virtual void setValues(const std::string & key, const FloatVec & values) = 0;
00104
00107 virtual void setValues(const std::string & key, const StringVec & values) = 0;
00108 };
00109 }
00110 #endif