/* * Parameter.hpp * * Created on: Sep 30, 2011 * Author: heber */ #ifndef PARSERPARAMETER_HPP_ #define PARSERPARAMETER_HPP_ // include config.h #ifdef HAVE_CONFIG_H #include #endif #include #include "CodePatterns/Clone.hpp" #include "Parser/Parameters/ValueInterface.hpp" /** This interface represents a clonable, named Value. * */ class ParserParameter : virtual public ParserValueInterface, public Clone { public: ParserParameter(const std::string &_name) : name(_name) {} virtual ~ParserParameter() {} const std::string &getName() const { return name; } virtual ParserParameter* clone() const=0; private: ParserParameter(); private: const std::string name; }; #endif /* PARSERPARAMETER_HPP_ */