diff --git a/Hazelnupp.vpp b/Hazelnupp.vpp index 77c37f1..0e63831 100644 Binary files a/Hazelnupp.vpp and b/Hazelnupp.vpp differ diff --git a/Hazelnupp/Hazelnupp.h b/Hazelnupp/Hazelnupp.h index a48d667..606eb3b 100644 --- a/Hazelnupp/Hazelnupp.h +++ b/Hazelnupp/Hazelnupp.h @@ -28,7 +28,8 @@ private: //! Will parse the next parameter. Returns the index of the next parameter. std::size_t ParseNextParameter(const std::size_t parIndex, Parameter*& out_Par); - Value* EvaluateValues(const std::vector& values); + //! Will convert a vector of string-values to an actual Value + Value* ParseValue(const std::vector& values); std::string executableName; //! The path of the executable. Always argv[0] std::unordered_map parameters; diff --git a/Hazelnupp/Parameter.h b/Hazelnupp/Parameter.h index ab123cc..2ff9674 100644 --- a/Hazelnupp/Parameter.h +++ b/Hazelnupp/Parameter.h @@ -8,7 +8,10 @@ class Parameter public: explicit Parameter(const std::string& key, const Value* value); + //! Will return the key of this parameter const std::string& Key() const; + + //! Will return the value of this parameter const Value* Value() const; friend std::ostream& operator<< (std::ostream& os, const Parameter& p)