Added uml

This commit is contained in:
Leonetienne 2021-06-02 14:41:31 +02:00
parent b718bac6eb
commit 6bc30dd295
3 changed files with 5 additions and 1 deletions

Binary file not shown.

View File

@ -28,7 +28,8 @@ private:
//! Will parse the next parameter. Returns the index of the next parameter. //! Will parse the next parameter. Returns the index of the next parameter.
std::size_t ParseNextParameter(const std::size_t parIndex, Parameter*& out_Par); std::size_t ParseNextParameter(const std::size_t parIndex, Parameter*& out_Par);
Value* EvaluateValues(const std::vector<std::string>& values); //! Will convert a vector of string-values to an actual Value
Value* ParseValue(const std::vector<std::string>& values);
std::string executableName; //! The path of the executable. Always argv[0] std::string executableName; //! The path of the executable. Always argv[0]
std::unordered_map<std::string, Parameter*> parameters; std::unordered_map<std::string, Parameter*> parameters;

View File

@ -8,7 +8,10 @@ class Parameter
public: public:
explicit Parameter(const std::string& key, const Value* value); explicit Parameter(const std::string& key, const Value* value);
//! Will return the key of this parameter
const std::string& Key() const; const std::string& Key() const;
//! Will return the value of this parameter
const Value* Value() const; const Value* Value() const;
friend std::ostream& operator<< (std::ostream& os, const Parameter& p) friend std::ostream& operator<< (std::ostream& os, const Parameter& p)