5 #ifndef _H_SQ_PARAM_DECO_H_
6 #define _H_SQ_PARAM_DECO_H_
18 typedef std::map<std::string, std::string>
ParamMap;
24 virtual void identify(std::ostream& os = std::cout)
const = 0;
30 virtual std::string
get_variable(
const std::string name)
const = 0;
31 virtual void set_variable(
const std::string name,
const std::string value) = 0;
35 virtual unsigned int size()
const = 0;
virtual int isValid() const =0
isValid returns non zero if object contains vailid data
virtual void Reset()=0
Clear Event.
ParamMap::iterator ParamIter
virtual unsigned int size() const =0
Return the number of variables held.
virtual ParamConstIter end() const =0
Return the end iterator.
virtual bool has_variable(const std::string name) const =0
Return 'true' if a variable having 'name' exists.
ParamMap::const_iterator ParamConstIter
virtual void identify(std::ostream &os=std::cout) const =0
virtual std::string get_variable(const std::string name) const =0
Return the value of a variable having 'name'. Return "" if no variable exists.
virtual ParamConstIter begin() const =0
Return the begin iterator.
virtual void set_variable(const std::string name, const std::string value)=0
virtual SQParamDeco * Clone() const =0
std::map< std::string, std::string > ParamMap