7 #ifndef EVENT_LCPARAMETERS_H
8 #define EVENT_LCPARAMETERS_H 1
virtual DoubleVec & getDoubleVals(const std::string &key, DoubleVec &values) const =0
Adds all double values for the given key to values.
virtual const StringVec & getIntKeys(StringVec &keys) const =0
Returns a list of all keys of integer parameters.
virtual const StringVec & getStringKeys(StringVec &keys) const =0
Returns a list of all keys of string parameters.
virtual int getNDouble(const std::string &key) const =0
The number of double values stored for this key.
virtual int getNInt(const std::string &key) const =0
The number of integer values stored for this key.
virtual const StringVec & getDoubleKeys(StringVec &keys) const =0
Returns a list of all keys of double parameters.
virtual int getNFloat(const std::string &key) const =0
The number of float values stored for this key.
virtual ~LCParameters()
Destructor.
Simple interface to store generic named parameters of type int, float and string. ...
virtual double getDoubleVal(const std::string &key) const =0
Returns the first double value for the given key.
virtual void setValues(const std::string &key, const IntVec &values)=0
Set integer values for the given key.
virtual void setValue(const std::string &key, int value)=0
Set integer value for the given key.
virtual float getFloatVal(const std::string &key) const =0
Returns the first float value for the given key.
virtual const StringVec & getFloatKeys(StringVec &keys) const =0
Returns a list of all keys of float parameters.
virtual StringVec & getStringVals(const std::string &key, StringVec &values) const =0
Adds all string values for the given key to values.
virtual IntVec & getIntVals(const std::string &key, IntVec &values) const =0
Adds all integer values for the given key to values.
virtual int getIntVal(const std::string &key) const =0
Returns the first integer value for the given key.
virtual const std::string & getStringVal(const std::string &key) const =0
Returns the first string value for the given key.
virtual int getNString(const std::string &key) const =0
The number of string values stored for this key.
virtual FloatVec & getFloatVals(const std::string &key, FloatVec &values) const =0
Adds all float values for the given key to values.