diff --git a/docs/CmdArgsInterface_8cpp.html b/docs/CmdArgsInterface_8cpp.html
index e3c1fc6..5a3d400 100644
--- a/docs/CmdArgsInterface_8cpp.html
+++ b/docs/CmdArgsInterface_8cpp.html
@@ -125,7 +125,7 @@ Include dependency graph for CmdArgsInterface.cpp:
diff --git a/docs/CmdArgsInterface_8cpp_source.html b/docs/CmdArgsInterface_8cpp_source.html
index cdec273..4002c61 100644
--- a/docs/CmdArgsInterface_8cpp_source.html
+++ b/docs/CmdArgsInterface_8cpp_source.html
@@ -519,248 +519,267 @@ $(function() {
439 bool required =
false;
440 bool typeIsForced =
false;
441 std::string defaultVal;
-
- 443 std::unordered_map<std::string, ParamDocEntry> paramInfos;
-
-
- 446 for (
const auto& it : parameterDescriptions)
-
-
- 449 if (paramInfos.find(it.first) == paramInfos.end())
-
- 451 paramInfos[it.first] = ParamDocEntry();
-
- 453 paramInfos[it.first].description = it.second;
-
-
-
-
- 458 for (
const auto& it : parameterAbreviations)
-
-
- 461 if (paramInfos.find(it.second) == paramInfos.end())
-
- 463 paramInfos[it.second] = ParamDocEntry();
-
- 465 paramInfos[it.second].abbreviation = it.first;
-
-
-
- 469 for (
const auto& it : parameterConstraints)
-
-
- 472 if (paramInfos.find(it.first) == paramInfos.end())
-
- 474 paramInfos[it.first] = ParamDocEntry();
-
- 476 ParamDocEntry& cached = paramInfos[it.first];
- 477 cached.required = it.second.required;
- 478 cached.typeIsForced = it.second.constrainType;
-
-
- 481 std::stringstream defaultValueSs;
- 482 for (
const std::string& s : it.second.defaultValue)
-
- 484 defaultValueSs <<
'\'' << s <<
'\'';
-
-
- 487 if ((
void*)&s != (
void*)&it.second.defaultValue.back())
- 488 defaultValueSs <<
" ";
-
- 490 cached.defaultVal = defaultValueSs.str();
-
-
-
- 494 if (paramInfos.size() > 0)
-
-
- 497 <<
"==== AVAILABLE PARAMETERS ===="
- 498 << std::endl << std::endl;
-
- 500 std::size_t counter = 0;
- 501 for (
const auto& it : paramInfos)
-
- 503 const ParamDocEntry& pde = it.second;
-
-
- 506 ss << it.first <<
" ";
+ 442 std::string incompatibilities;
+
+ 444 std::unordered_map<std::string, ParamDocEntry> paramInfos;
+
+
+ 447 for (
const auto& it : parameterDescriptions)
+
+
+ 450 if (paramInfos.find(it.first) == paramInfos.end())
+
+ 452 paramInfos[it.first] = ParamDocEntry();
+
+ 454 paramInfos[it.first].description = it.second;
+
+
+
+
+ 459 for (
const auto& it : parameterAbreviations)
+
+
+ 462 if (paramInfos.find(it.second) == paramInfos.end())
+
+ 464 paramInfos[it.second] = ParamDocEntry();
+
+ 466 paramInfos[it.second].abbreviation = it.first;
+
+
+
+ 470 for (
const auto& it : parameterConstraints)
+
+
+ 473 if (paramInfos.find(it.first) == paramInfos.end())
+
+ 475 paramInfos[it.first] = ParamDocEntry();
+
+ 477 ParamDocEntry& cached = paramInfos[it.first];
+ 478 cached.required = it.second.required;
+ 479 cached.typeIsForced = it.second.constrainType;
+
+
+
+ 483 std::stringstream vec2str_ss;
+ 484 for (
const std::string& s : it.second.defaultValue)
+
+ 486 vec2str_ss <<
'\'' << s <<
'\'';
+
+
+ 489 if ((
void*)&s != (
void*)&it.second.defaultValue.back())
+
+
+ 492 cached.defaultVal = vec2str_ss.str();
+
+
+
+
+ 497 for (
const std::string& s : it.second.incompatibleParameters)
+
+
+
+
+ 502 if ((
void*)&s != (
void*)&it.second.incompatibleParameters.back())
+
+
+ 505 cached.incompatibilities = vec2str_ss.str();
+
-
- 509 if (pde.abbreviation.length() > 0)
- 510 ss << pde.abbreviation <<
" ";
-
-
- 513 if (pde.typeIsForced)
- 514 ss << pde.type <<
" ";
-
-
- 517 if (pde.defaultVal.length() > 0)
- 518 ss <<
"default=[" << pde.defaultVal <<
"] ";
+
+ 509 if (paramInfos.size() > 0)
+
+
+ 512 <<
"==== AVAILABLE PARAMETERS ===="
+ 513 << std::endl << std::endl;
+
+ 515 std::size_t counter = 0;
+ 516 for (
const auto& it : paramInfos)
+
+ 518 const ParamDocEntry& pde = it.second;
-
- 521 if ((pde.required) && (pde.defaultVal.length() == 0))
- 522 ss <<
"[[REQUIRED]] ";
-
-
- 525 if (pde.description.length() > 0)
- 526 ss << pde.description;
-
-
- 529 if (counter < paramInfos.size()-1)
- 530 ss << std::endl << std::endl;
-
-
-
-
-
-
-
+
+ 521 ss << it.first <<
" ";
+
+
+ 524 if (pde.abbreviation.length() > 0)
+ 525 ss << pde.abbreviation <<
" ";
+
+
+ 528 if (pde.typeIsForced)
+ 529 ss << pde.type <<
" ";
+
+
+ 532 if (pde.defaultVal.length() > 0)
+ 533 ss <<
"default=[" << pde.defaultVal <<
"] ";
+
+
+ 536 if (pde.incompatibilities.length() > 0)
+ 537 ss <<
"incompatibilities=[" << pde.incompatibilities <<
"] ";
- 539 void CmdArgsInterface::ApplyConstraints()
-
-
- 542 for (
const auto& pc : parameterConstraints)
-
-
-
-
- 547 if (pc.second.defaultValue.size() > 0)
-
-
- 550 Value* tmp = ParseValue(pc.second.defaultValue, &pc.second);
- 551 parameters.insert(std::pair<std::string, Parameter*>(
-
-
-
-
-
-
-
-
-
-
-
- 563 if (pc.second.required)
-
-
-
-
-
-
-
-
-
-
-
-
-
- 577 for (
const std::string& incompatibility : pc.second.incompatibleParameters)
- 578 for (
const std::pair<std::string, Parameter*>& otherParam : parameters)
-
- 580 if (otherParam.first == incompatibility)
-
-
-
-
-
-
-
-
-
- 590 return parameterConstraints.find(parameter)->second;
-
-
-
-
- 595 parameterConstraints.erase(parameter);
-
-
-
-
-
- 601 return executableName;
-
+
+ 540 if ((pde.required) && (pde.defaultVal.length() == 0))
+ 541 ss <<
"[[REQUIRED]] ";
+
+
+ 544 if (pde.description.length() > 0)
+ 545 ss << pde.description;
+
+
+ 548 if (counter < paramInfos.size()-1)
+ 549 ss << std::endl << std::endl;
+
+
+
+
+
+
+
+
+ 558 void CmdArgsInterface::ApplyConstraints()
+
+
+ 561 for (
const auto& pc : parameterConstraints)
+
+
+
+
+ 566 if (pc.second.defaultValue.size() > 0)
+
+
+ 569 Value* tmp = ParseValue(pc.second.defaultValue, &pc.second);
+ 570 parameters.insert(std::pair<std::string, Parameter*>(
+
+
+
+
+
+
+
+
+
+
+
+ 582 if (pc.second.required)
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 596 for (
const std::string& incompatibility : pc.second.incompatibleParameters)
+ 597 for (
const std::pair<std::string, Parameter*>& otherParam : parameters)
+
+ 599 if (otherParam.first == incompatibility)
+
+
+
-
-
-
-
-
-
- 610 return *parameters.find(key)->second->GetValue();
-
-
-
-
- 615 parameterAbreviations.insert(std::pair<std::string, std::string>(abbrev, target));
-
-
-
-
-
-
-
-
- 624 return parameterAbreviations.find(abbrev)->second;
-
-
-
-
- 629 return parameterAbreviations.find(abbrev) != parameterAbreviations.end();
+
+
+
+
+
+ 609 return parameterConstraints.find(parameter)->second;
+
+
+
+
+ 614 parameterConstraints.erase(parameter);
+
+
+
+
+
+ 620 return executableName;
+
+
+
+
+
+
+
+
+ 629 return *parameters.find(key)->second->GetValue();
-
+
- 634 parameterAbreviations.erase(abbrevation);
+ 634 parameterAbreviations.insert(std::pair<std::string, std::string>(abbrev, target));
-
-
- 640 parameterAbreviations.clear();
-
-
-
-
-
-
- 647 (parameterConstraints[key] = constraint).key = key;
-
+
+
+
+
+
+ 643 return parameterAbreviations.find(abbrev)->second;
+
+
+
+
+ 648 return parameterAbreviations.find(abbrev) != parameterAbreviations.end();
-
+
- 653 parameterConstraints.clear();
+ 653 parameterAbreviations.erase(abbrevation);
-
+
- 659 this->crashOnFail = crashOnFail;
+ 659 parameterAbreviations.clear();
- 663 const ParamConstraint* CmdArgsInterface::GetConstraintForKey(
const std::string& key)
const
-
- 665 const auto constraint = parameterConstraints.find(key);
-
- 667 if (constraint == parameterConstraints.end())
-
+
+
+
+ 666 (parameterConstraints[key] = constraint).key = key;
+
+
- 670 return &constraint->second;
-
+
+
+ 672 parameterConstraints.clear();
+
+
+
+
+
+ 678 this->crashOnFail = crashOnFail;
+
+
+
+ 682 const ParamConstraint* CmdArgsInterface::GetConstraintForKey(
const std::string& key)
const
+
+ 684 const auto constraint = parameterConstraints.find(key);
+
+ 686 if (constraint == parameterConstraints.end())
+
+
+ 689 return &constraint->second;
+
bool GetCatchHelp() const
Retruns whether the CmdArgsInterface should automatically catch the –help parameter,...
Specializations for integer values (uses long long int)
-ParamConstraint GetConstraint(const std::string ¶meter) const
Will return the constraint information for a specific parameter.
-void ClearAbbreviations()
Will delete all abbreviations.
+ParamConstraint GetConstraint(const std::string ¶meter) const
Will return the constraint information for a specific parameter.
+void ClearAbbreviations()
Will delete all abbreviations.
Gets thrown when a parameter constrained to be incompatible with other parameters gets supplied along...
void SetCatchHelp(bool catchHelp)
Sets whether the CmdArgsInterface should automatically catch the –help parameter, print the parameter...
-bool HasAbbreviation(const std::string &abbrev) const
Will check wether or not an abbreviation is registered.
+bool HasAbbreviation(const std::string &abbrev) const
Will check wether or not an abbreviation is registered.
Gets thrown when an non-existent key gets dereferenced.
-void RegisterConstraint(const std::string &key, const ParamConstraint &constraint)
Will register a constraint for a parameter.
+void RegisterConstraint(const std::string &key, const ParamConstraint &constraint)
Will register a constraint for a parameter.
const std::string & What() const
Will return an error message.
@@ -768,14 +787,14 @@ $(function() {
Specializations for floating point values (uses long double)
-void ClearConstraint(const std::string ¶meter)
Will the constraint of a specific parameter.
+void ClearConstraint(const std::string ¶meter)
Will the constraint of a specific parameter.
DATA_TYPE requiredType
Constrain the parameter to this value. Requires constrainType to be set to true.
Abstract class for values.
Gets thrown something bad happens because of parameter constraints.
-void RegisterAbbreviation(const std::string &abbrev, const std::string &target)
Will register an abbreviation (like -f for –force)
+void RegisterAbbreviation(const std::string &abbrev, const std::string &target)
Will register an abbreviation (like -f for –force)
bool HasParam(const std::string &key) const
Will check wether a parameter exists given a key, or not.
-void ClearConstraints()
Will delete all constraints.
+void ClearConstraints()
Will delete all constraints.
static const std::string g_emptyString
The only purpose of this is to provide the ability to return an empty string as an error for std::str...
@@ -788,13 +807,13 @@ $(function() {
const std::string & Key() const
Will return the key of this parameter.
Gets thrown when a parameter constrained to be required is not provided, and has no default value set...
-void ClearAbbreviation(const std::string &abbrevation)
Will delete the abbreviation for a given parameter.
+void ClearAbbreviation(const std::string &abbrevation)
Will delete the abbreviation for a given parameter.
Gets thrown when a parameter is of a type that does not match the required type, and is not convertib...
void Parse(const int argc, const char *const *argv)
Will parse command line arguments.
void SetBriefDescription(const std::string &description)
Sets a brief description of the application to be automatically added to the documentation.
const std::string & GetBriefDescription()
Returns the brief description of the application to be automatically added to the documentation.
-const Value & operator[](const std::string &key) const
Will return the value given a key.
+const Value & operator[](const std::string &key) const
Will return the value given a key.
void ClearDescriptions()
Will delete all parameter descriptions.
void AddValue(const Value *value)
Will add this value to the list.
Specializations for void values.
@@ -806,19 +825,19 @@ $(function() {
DATA_TYPE
The different data types a paramater can be.
-const std::string & GetAbbreviation(const std::string &abbrev) const
Will return the long form of an abbreviation (like –force for -f) Returns "" if no match is found.
+const std::string & GetAbbreviation(const std::string &abbrev) const
Will return the long form of an abbreviation (like –force for -f) Returns "" if no match is found.
-const std::string & GetExecutableName() const
Will return argv[0], the name of the executable.
+const std::string & GetExecutableName() const
Will return argv[0], the name of the executable.
static std::string DataTypeToString(DATA_TYPE type)
-void SetCrashOnFail(bool crashOnFail)
Sets whether to crash the application, and print to stderr, when an exception is raised whilst parsin...
+void SetCrashOnFail(bool crashOnFail)
Sets whether to crash the application, and print to stderr, when an exception is raised whilst parsin...
Specializations for list values (uses std::vector<Value*>)
Specializations for string values (uses std::string)
diff --git a/docs/CmdArgsInterface_8h.html b/docs/CmdArgsInterface_8h.html
index b077e53..b55bf8a 100644
--- a/docs/CmdArgsInterface_8h.html
+++ b/docs/CmdArgsInterface_8h.html
@@ -129,7 +129,7 @@ Namespaces
diff --git a/docs/CmdArgsInterface_8h_source.html b/docs/CmdArgsInterface_8h_source.html
index 472a2d6..24584ea 100644
--- a/docs/CmdArgsInterface_8h_source.html
+++ b/docs/CmdArgsInterface_8h_source.html
@@ -230,17 +230,17 @@ $(function() {
bool GetCatchHelp() const
Retruns whether the CmdArgsInterface should automatically catch the –help parameter,...
The main class to interface with.
-ParamConstraint GetConstraint(const std::string ¶meter) const
Will return the constraint information for a specific parameter.
-void ClearAbbreviations()
Will delete all abbreviations.
+ParamConstraint GetConstraint(const std::string ¶meter) const
Will return the constraint information for a specific parameter.
+void ClearAbbreviations()
Will delete all abbreviations.
void SetCatchHelp(bool catchHelp)
Sets whether the CmdArgsInterface should automatically catch the –help parameter, print the parameter...
-bool HasAbbreviation(const std::string &abbrev) const
Will check wether or not an abbreviation is registered.
-void RegisterConstraint(const std::string &key, const ParamConstraint &constraint)
Will register a constraint for a parameter.
-void ClearConstraint(const std::string ¶meter)
Will the constraint of a specific parameter.
+bool HasAbbreviation(const std::string &abbrev) const
Will check wether or not an abbreviation is registered.
+void RegisterConstraint(const std::string &key, const ParamConstraint &constraint)
Will register a constraint for a parameter.
+void ClearConstraint(const std::string ¶meter)
Will the constraint of a specific parameter.
Abstract class for values.
-void RegisterAbbreviation(const std::string &abbrev, const std::string &target)
Will register an abbreviation (like -f for –force)
+void RegisterAbbreviation(const std::string &abbrev, const std::string &target)
Will register an abbreviation (like -f for –force)
bool HasParam(const std::string &key) const
Will check wether a parameter exists given a key, or not.
-void ClearConstraints()
Will delete all constraints.
+void ClearConstraints()
Will delete all constraints.
@@ -248,23 +248,23 @@ $(function() {
bool HasDescription(const std::string ¶meter) const
Returns whether or not a given parameter has a registered description.
void ClearDescription(const std::string ¶meter)
Will delete the description of a parameter if it exists.
-void ClearAbbreviation(const std::string &abbrevation)
Will delete the abbreviation for a given parameter.
+void ClearAbbreviation(const std::string &abbrevation)
Will delete the abbreviation for a given parameter.
void Parse(const int argc, const char *const *argv)
Will parse command line arguments.
void SetBriefDescription(const std::string &description)
Sets a brief description of the application to be automatically added to the documentation.
const std::string & GetBriefDescription()
Returns the brief description of the application to be automatically added to the documentation.
-const Value & operator[](const std::string &key) const
Will return the value given a key.
+const Value & operator[](const std::string &key) const
Will return the value given a key.
void ClearDescriptions()
Will delete all parameter descriptions.
std::string GenerateDocumentation() const
Will generate a text-based documentation suited to show the user, for example on –help.
void RegisterDescription(const std::string ¶meter, const std::string &description)
Willl register a short description for a parameter.
const std::string & GetDescription(const std::string ¶meter) const
Will return a short description for a parameter, if it exists.
-const std::string & GetAbbreviation(const std::string &abbrev) const
Will return the long form of an abbreviation (like –force for -f) Returns "" if no match is found.
-const std::string & GetExecutableName() const
Will return argv[0], the name of the executable.
-void SetCrashOnFail(bool crashOnFail)
Sets whether to crash the application, and print to stderr, when an exception is raised whilst parsin...
+const std::string & GetAbbreviation(const std::string &abbrev) const
Will return the long form of an abbreviation (like –force for -f) Returns "" if no match is found.
+const std::string & GetExecutableName() const
Will return argv[0], the name of the executable.
+void SetCrashOnFail(bool crashOnFail)
Sets whether to crash the application, and print to stderr, when an exception is raised whilst parsin...
diff --git a/docs/DataType_8h.html b/docs/DataType_8h.html
index 6775d0e..3a856c5 100644
--- a/docs/DataType_8h.html
+++ b/docs/DataType_8h.html
@@ -148,7 +148,7 @@ Functions
diff --git a/docs/DataType_8h_source.html b/docs/DataType_8h_source.html
index e2a996d..b22f824 100644
--- a/docs/DataType_8h_source.html
+++ b/docs/DataType_8h_source.html
@@ -128,7 +128,7 @@ $(function() {
static std::string DataTypeToString(DATA_TYPE type)
diff --git a/docs/Debug_2Hazelnupp_8vcxproj_8FileListAbsolute_8txt.html b/docs/Debug_2Hazelnupp_8vcxproj_8FileListAbsolute_8txt.html
index 5107001..f8ec55b 100644
--- a/docs/Debug_2Hazelnupp_8vcxproj_8FileListAbsolute_8txt.html
+++ b/docs/Debug_2Hazelnupp_8vcxproj_8FileListAbsolute_8txt.html
@@ -77,7 +77,7 @@ $(function() {
diff --git a/docs/FloatValue_8cpp.html b/docs/FloatValue_8cpp.html
index c61a61e..0b2e649 100644
--- a/docs/FloatValue_8cpp.html
+++ b/docs/FloatValue_8cpp.html
@@ -103,7 +103,7 @@ Include dependency graph for FloatValue.cpp:
diff --git a/docs/FloatValue_8cpp_source.html b/docs/FloatValue_8cpp_source.html
index 20272e8..ae93689 100644
--- a/docs/FloatValue_8cpp_source.html
+++ b/docs/FloatValue_8cpp_source.html
@@ -173,7 +173,7 @@ $(function() {
int GetInt32() const override
Will return the data as an int.
diff --git a/docs/FloatValue_8h.html b/docs/FloatValue_8h.html
index 00a31e6..097eaa2 100644
--- a/docs/FloatValue_8h.html
+++ b/docs/FloatValue_8h.html
@@ -123,7 +123,7 @@ Namespaces
diff --git a/docs/FloatValue_8h_source.html b/docs/FloatValue_8h_source.html
index 31415bf..d0d50ef 100644
--- a/docs/FloatValue_8h_source.html
+++ b/docs/FloatValue_8h_source.html
@@ -142,7 +142,7 @@ $(function() {
int GetInt32() const override
Will return the data as an int.
diff --git a/docs/HazelnuppException_8h.html b/docs/HazelnuppException_8h.html
index 07a0d5b..281e9ac 100644
--- a/docs/HazelnuppException_8h.html
+++ b/docs/HazelnuppException_8h.html
@@ -146,7 +146,7 @@ Namespaces
diff --git a/docs/HazelnuppException_8h_source.html b/docs/HazelnuppException_8h_source.html
index 6928984..5f3693b 100644
--- a/docs/HazelnuppException_8h_source.html
+++ b/docs/HazelnuppException_8h_source.html
@@ -224,7 +224,7 @@ $(function() {
HazelnuppInvalidKeyException()
diff --git a/docs/IntValue_8cpp.html b/docs/IntValue_8cpp.html
index 453ed68..35689e7 100644
--- a/docs/IntValue_8cpp.html
+++ b/docs/IntValue_8cpp.html
@@ -103,7 +103,7 @@ Include dependency graph for IntValue.cpp:
diff --git a/docs/IntValue_8cpp_source.html b/docs/IntValue_8cpp_source.html
index 0d88ce1..2c6dcfb 100644
--- a/docs/IntValue_8cpp_source.html
+++ b/docs/IntValue_8cpp_source.html
@@ -173,7 +173,7 @@ $(function() {
Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not ...
diff --git a/docs/IntValue_8h.html b/docs/IntValue_8h.html
index 0e2b3da..4e10232 100644
--- a/docs/IntValue_8h.html
+++ b/docs/IntValue_8h.html
@@ -122,7 +122,7 @@ Namespaces
diff --git a/docs/IntValue_8h_source.html b/docs/IntValue_8h_source.html
index 4a91cd3..06d1bd7 100644
--- a/docs/IntValue_8h_source.html
+++ b/docs/IntValue_8h_source.html
@@ -142,7 +142,7 @@ $(function() {
diff --git a/docs/ListValue_8cpp.html b/docs/ListValue_8cpp.html
index 19e9be7..4dd1fa6 100644
--- a/docs/ListValue_8cpp.html
+++ b/docs/ListValue_8cpp.html
@@ -103,7 +103,7 @@ Include dependency graph for ListValue.cpp:
diff --git a/docs/ListValue_8cpp_source.html b/docs/ListValue_8cpp_source.html
index b112bf6..77e2860 100644
--- a/docs/ListValue_8cpp_source.html
+++ b/docs/ListValue_8cpp_source.html
@@ -199,7 +199,7 @@ $(function() {
Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not ...
diff --git a/docs/ListValue_8h.html b/docs/ListValue_8h.html
index 4bf111e..293c8cc 100644
--- a/docs/ListValue_8h.html
+++ b/docs/ListValue_8h.html
@@ -123,7 +123,7 @@ Namespaces
diff --git a/docs/ListValue_8h_source.html b/docs/ListValue_8h_source.html
index 9939aac..b3cf8fd 100644
--- a/docs/ListValue_8h_source.html
+++ b/docs/ListValue_8h_source.html
@@ -145,7 +145,7 @@ $(function() {
diff --git a/docs/ParamConstraint_8h.html b/docs/ParamConstraint_8h.html
index 54b1519..0e07d70 100644
--- a/docs/ParamConstraint_8h.html
+++ b/docs/ParamConstraint_8h.html
@@ -121,7 +121,7 @@ Namespaces
diff --git a/docs/ParamConstraint_8h_source.html b/docs/ParamConstraint_8h_source.html
index e31dddb..e679d3b 100644
--- a/docs/ParamConstraint_8h_source.html
+++ b/docs/ParamConstraint_8h_source.html
@@ -192,7 +192,7 @@ $(function() {
std::vector< std::string > defaultValue
The default value for this parameter.
diff --git a/docs/Parameter_8cpp.html b/docs/Parameter_8cpp.html
index 6f99d7e..4cfdd7c 100644
--- a/docs/Parameter_8cpp.html
+++ b/docs/Parameter_8cpp.html
@@ -98,7 +98,7 @@ Include dependency graph for Parameter.cpp:
diff --git a/docs/Parameter_8cpp_source.html b/docs/Parameter_8cpp_source.html
index 8cd13db..eaf4c65 100644
--- a/docs/Parameter_8cpp_source.html
+++ b/docs/Parameter_8cpp_source.html
@@ -116,7 +116,7 @@ $(function() {
diff --git a/docs/Parameter_8h.html b/docs/Parameter_8h.html
index f6479e5..bd8e1c7 100644
--- a/docs/Parameter_8h.html
+++ b/docs/Parameter_8h.html
@@ -124,7 +124,7 @@ Namespaces
diff --git a/docs/Parameter_8h_source.html b/docs/Parameter_8h_source.html
index 5cea65a..643d497 100644
--- a/docs/Parameter_8h_source.html
+++ b/docs/Parameter_8h_source.html
@@ -119,7 +119,7 @@ $(function() {
diff --git a/docs/Placeholders_8h.html b/docs/Placeholders_8h.html
index ceb7b7f..f28f0b9 100644
--- a/docs/Placeholders_8h.html
+++ b/docs/Placeholders_8h.html
@@ -119,7 +119,7 @@ Variables
diff --git a/docs/Placeholders_8h_source.html b/docs/Placeholders_8h_source.html
index a8812ad..36aec61 100644
--- a/docs/Placeholders_8h_source.html
+++ b/docs/Placeholders_8h_source.html
@@ -94,7 +94,7 @@ $(function() {
static const std::string g_emptyString
The only purpose of this is to provide the ability to return an empty string as an error for std::str...
diff --git a/docs/Release_2Hazelnupp_8vcxproj_8FileListAbsolute_8txt.html b/docs/Release_2Hazelnupp_8vcxproj_8FileListAbsolute_8txt.html
index 31bfa75..069081b 100644
--- a/docs/Release_2Hazelnupp_8vcxproj_8FileListAbsolute_8txt.html
+++ b/docs/Release_2Hazelnupp_8vcxproj_8FileListAbsolute_8txt.html
@@ -77,7 +77,7 @@ $(function() {
diff --git a/docs/StringTools_8cpp.html b/docs/StringTools_8cpp.html
index 704217c..6fdcc09 100644
--- a/docs/StringTools_8cpp.html
+++ b/docs/StringTools_8cpp.html
@@ -97,7 +97,7 @@ Include dependency graph for StringTools.cpp:
diff --git a/docs/StringTools_8cpp_source.html b/docs/StringTools_8cpp_source.html
index 8004039..6976dca 100644
--- a/docs/StringTools_8cpp_source.html
+++ b/docs/StringTools_8cpp_source.html
@@ -275,7 +275,7 @@ $(function() {
diff --git a/docs/StringTools_8h.html b/docs/StringTools_8h.html
index 97941f8..b23a22d 100644
--- a/docs/StringTools_8h.html
+++ b/docs/StringTools_8h.html
@@ -126,7 +126,7 @@ Namespaces
diff --git a/docs/StringTools_8h_source.html b/docs/StringTools_8h_source.html
index ef0eba9..415291d 100644
--- a/docs/StringTools_8h_source.html
+++ b/docs/StringTools_8h_source.html
@@ -133,7 +133,7 @@ $(function() {
diff --git a/docs/StringValue_8cpp.html b/docs/StringValue_8cpp.html
index bde395a..42d321f 100644
--- a/docs/StringValue_8cpp.html
+++ b/docs/StringValue_8cpp.html
@@ -103,7 +103,7 @@ Include dependency graph for StringValue.cpp:
diff --git a/docs/StringValue_8cpp_source.html b/docs/StringValue_8cpp_source.html
index 55a29de..b229d2a 100644
--- a/docs/StringValue_8cpp_source.html
+++ b/docs/StringValue_8cpp_source.html
@@ -165,7 +165,7 @@ $(function() {
Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not ...
diff --git a/docs/StringValue_8h.html b/docs/StringValue_8h.html
index ab48635..392b184 100644
--- a/docs/StringValue_8h.html
+++ b/docs/StringValue_8h.html
@@ -123,7 +123,7 @@ Namespaces
diff --git a/docs/StringValue_8h_source.html b/docs/StringValue_8h_source.html
index df058a6..c1e21f0 100644
--- a/docs/StringValue_8h_source.html
+++ b/docs/StringValue_8h_source.html
@@ -141,7 +141,7 @@ $(function() {
diff --git a/docs/Value_8cpp.html b/docs/Value_8cpp.html
index 8874cb2..b229703 100644
--- a/docs/Value_8cpp.html
+++ b/docs/Value_8cpp.html
@@ -97,7 +97,7 @@ Include dependency graph for Value.cpp:
diff --git a/docs/Value_8cpp_source.html b/docs/Value_8cpp_source.html
index b163d91..1f6813b 100644
--- a/docs/Value_8cpp_source.html
+++ b/docs/Value_8cpp_source.html
@@ -102,7 +102,7 @@ $(function() {
diff --git a/docs/Value_8h.html b/docs/Value_8h.html
index 6287b61..9a40655 100644
--- a/docs/Value_8h.html
+++ b/docs/Value_8h.html
@@ -136,7 +136,7 @@ Namespaces
diff --git a/docs/Value_8h_source.html b/docs/Value_8h_source.html
index cb69dae..5646720 100644
--- a/docs/Value_8h_source.html
+++ b/docs/Value_8h_source.html
@@ -148,7 +148,7 @@ $(function() {
virtual long double GetFloat64() const =0
Will attempt to return the floating-point data (long double)
diff --git a/docs/Version_8h.html b/docs/Version_8h.html
index 88eb5c0..a8eff47 100644
--- a/docs/Version_8h.html
+++ b/docs/Version_8h.html
@@ -95,7 +95,7 @@ This graph shows which files directly or indirectly include this file:
@@ -106,7 +106,7 @@ Macros
- #define HAZELNUPP_VERSION (1.1) |
+ #define HAZELNUPP_VERSION (1.11) |
@@ -118,7 +118,7 @@ Macros
diff --git a/docs/Version_8h_source.html b/docs/Version_8h_source.html
index ed9aadc..5d14a35 100644
--- a/docs/Version_8h_source.html
+++ b/docs/Version_8h_source.html
@@ -79,11 +79,11 @@ $(function() {
Go to the documentation of this file.
-
2 #define HAZELNUPP_VERSION (1.1)
+
2 #define HAZELNUPP_VERSION (1.11)
diff --git a/docs/VoidValue_8cpp.html b/docs/VoidValue_8cpp.html
index b08eaba..afa2919 100644
--- a/docs/VoidValue_8cpp.html
+++ b/docs/VoidValue_8cpp.html
@@ -102,7 +102,7 @@ Include dependency graph for VoidValue.cpp:
diff --git a/docs/VoidValue_8cpp_source.html b/docs/VoidValue_8cpp_source.html
index ff2e019..6338699 100644
--- a/docs/VoidValue_8cpp_source.html
+++ b/docs/VoidValue_8cpp_source.html
@@ -151,7 +151,7 @@ $(function() {
Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not ...
diff --git a/docs/VoidValue_8h.html b/docs/VoidValue_8h.html
index 9782ef7..b5d7760 100644
--- a/docs/VoidValue_8h.html
+++ b/docs/VoidValue_8h.html
@@ -122,7 +122,7 @@ Namespaces
diff --git a/docs/VoidValue_8h_source.html b/docs/VoidValue_8h_source.html
index 7f8c44b..b3f76df 100644
--- a/docs/VoidValue_8h_source.html
+++ b/docs/VoidValue_8h_source.html
@@ -131,7 +131,7 @@ $(function() {
diff --git a/docs/annotated.html b/docs/annotated.html
index b160b04..632b194 100644
--- a/docs/annotated.html
+++ b/docs/annotated.html
@@ -100,7 +100,7 @@ $(function() {
diff --git a/docs/classHazelnp_1_1CmdArgsInterface-members.html b/docs/classHazelnp_1_1CmdArgsInterface-members.html
index d81f960..7abfe7b 100644
--- a/docs/classHazelnp_1_1CmdArgsInterface-members.html
+++ b/docs/classHazelnp_1_1CmdArgsInterface-members.html
@@ -112,7 +112,7 @@ $(function() {
diff --git a/docs/classHazelnp_1_1CmdArgsInterface.html b/docs/classHazelnp_1_1CmdArgsInterface.html
index d3025f7..10a8177 100644
--- a/docs/classHazelnp_1_1CmdArgsInterface.html
+++ b/docs/classHazelnp_1_1CmdArgsInterface.html
@@ -281,11 +281,11 @@ Public Member Functions
IMPORTANT: This parameter is the abbreviation! Not the long form!
-Definition at line 632 of file CmdArgsInterface.cpp.
-
-
634 parameterAbreviations.erase(abbrevation);
-
-
+
Definition at line 651 of file CmdArgsInterface.cpp.
+
+
653 parameterAbreviations.erase(abbrevation);
+
+
@@ -306,11 +306,11 @@ Public Member Functions
Will delete all abbreviations.
-Definition at line 638 of file CmdArgsInterface.cpp.
-
-
640 parameterAbreviations.clear();
-
-
+
Definition at line 657 of file CmdArgsInterface.cpp.
+
+
659 parameterAbreviations.clear();
+
+
@@ -332,11 +332,11 @@ Public Member Functions
Will the constraint of a specific parameter.
-Definition at line 593 of file CmdArgsInterface.cpp.
-
-
595 parameterConstraints.erase(parameter);
-
-
+
Definition at line 612 of file CmdArgsInterface.cpp.
+
+
614 parameterConstraints.erase(parameter);
+
+
@@ -357,11 +357,11 @@ Public Member Functions
Will delete all constraints.
-Definition at line 651 of file CmdArgsInterface.cpp.
-
-
653 parameterConstraints.clear();
-
-
+
Definition at line 670 of file CmdArgsInterface.cpp.
+
+
672 parameterConstraints.clear();
+
+
@@ -451,102 +451,121 @@ Public Member Functions
439 bool required =
false;
440 bool typeIsForced =
false;
441 std::string defaultVal;
-
- 443 std::unordered_map<std::string, ParamDocEntry> paramInfos;
-
-
- 446 for (
const auto& it : parameterDescriptions)
-
-
- 449 if (paramInfos.find(it.first) == paramInfos.end())
-
- 451 paramInfos[it.first] = ParamDocEntry();
-
- 453 paramInfos[it.first].description = it.second;
-
-
-
-
- 458 for (
const auto& it : parameterAbreviations)
-
-
- 461 if (paramInfos.find(it.second) == paramInfos.end())
-
- 463 paramInfos[it.second] = ParamDocEntry();
-
- 465 paramInfos[it.second].abbreviation = it.first;
-
-
-
- 469 for (
const auto& it : parameterConstraints)
-
-
- 472 if (paramInfos.find(it.first) == paramInfos.end())
-
- 474 paramInfos[it.first] = ParamDocEntry();
-
- 476 ParamDocEntry& cached = paramInfos[it.first];
- 477 cached.required = it.second.required;
- 478 cached.typeIsForced = it.second.constrainType;
-
-
- 481 std::stringstream defaultValueSs;
- 482 for (
const std::string& s : it.second.defaultValue)
-
- 484 defaultValueSs <<
'\'' << s <<
'\'';
-
-
- 487 if ((
void*)&s != (
void*)&it.second.defaultValue.back())
- 488 defaultValueSs <<
" ";
-
- 490 cached.defaultVal = defaultValueSs.str();
-
-
-
- 494 if (paramInfos.size() > 0)
-
-
- 497 <<
"==== AVAILABLE PARAMETERS ===="
- 498 << std::endl << std::endl;
-
- 500 std::size_t counter = 0;
- 501 for (
const auto& it : paramInfos)
-
- 503 const ParamDocEntry& pde = it.second;
-
-
- 506 ss << it.first <<
" ";
+ 442 std::string incompatibilities;
+
+ 444 std::unordered_map<std::string, ParamDocEntry> paramInfos;
+
+
+ 447 for (
const auto& it : parameterDescriptions)
+
+
+ 450 if (paramInfos.find(it.first) == paramInfos.end())
+
+ 452 paramInfos[it.first] = ParamDocEntry();
+
+ 454 paramInfos[it.first].description = it.second;
+
+
+
+
+ 459 for (
const auto& it : parameterAbreviations)
+
+
+ 462 if (paramInfos.find(it.second) == paramInfos.end())
+
+ 464 paramInfos[it.second] = ParamDocEntry();
+
+ 466 paramInfos[it.second].abbreviation = it.first;
+
+
+
+ 470 for (
const auto& it : parameterConstraints)
+
+
+ 473 if (paramInfos.find(it.first) == paramInfos.end())
+
+ 475 paramInfos[it.first] = ParamDocEntry();
+
+ 477 ParamDocEntry& cached = paramInfos[it.first];
+ 478 cached.required = it.second.required;
+ 479 cached.typeIsForced = it.second.constrainType;
+
+
+
+ 483 std::stringstream vec2str_ss;
+ 484 for (
const std::string& s : it.second.defaultValue)
+
+ 486 vec2str_ss <<
'\'' << s <<
'\'';
+
+
+ 489 if ((
void*)&s != (
void*)&it.second.defaultValue.back())
+
+
+ 492 cached.defaultVal = vec2str_ss.str();
+
+
+
+
+ 497 for (
const std::string& s : it.second.incompatibleParameters)
+
+
+
+
+ 502 if ((
void*)&s != (
void*)&it.second.incompatibleParameters.back())
+
+
+ 505 cached.incompatibilities = vec2str_ss.str();
+
-
- 509 if (pde.abbreviation.length() > 0)
- 510 ss << pde.abbreviation <<
" ";
-
-
- 513 if (pde.typeIsForced)
- 514 ss << pde.type <<
" ";
-
-
- 517 if (pde.defaultVal.length() > 0)
- 518 ss <<
"default=[" << pde.defaultVal <<
"] ";
+
+ 509 if (paramInfos.size() > 0)
+
+
+ 512 <<
"==== AVAILABLE PARAMETERS ===="
+ 513 << std::endl << std::endl;
+
+ 515 std::size_t counter = 0;
+ 516 for (
const auto& it : paramInfos)
+
+ 518 const ParamDocEntry& pde = it.second;
-
- 521 if ((pde.required) && (pde.defaultVal.length() == 0))
- 522 ss <<
"[[REQUIRED]] ";
-
-
- 525 if (pde.description.length() > 0)
- 526 ss << pde.description;
-
-
- 529 if (counter < paramInfos.size()-1)
- 530 ss << std::endl << std::endl;
-
-
-
-
-
-
-
+
+ 521 ss << it.first <<
" ";
+
+
+ 524 if (pde.abbreviation.length() > 0)
+ 525 ss << pde.abbreviation <<
" ";
+
+
+ 528 if (pde.typeIsForced)
+ 529 ss << pde.type <<
" ";
+
+
+ 532 if (pde.defaultVal.length() > 0)
+ 533 ss <<
"default=[" << pde.defaultVal <<
"] ";
+
+
+ 536 if (pde.incompatibilities.length() > 0)
+ 537 ss <<
"incompatibilities=[" << pde.incompatibilities <<
"] ";
+
+
+ 540 if ((pde.required) && (pde.defaultVal.length() == 0))
+ 541 ss <<
"[[REQUIRED]] ";
+
+
+ 544 if (pde.description.length() > 0)
+ 545 ss << pde.description;
+
+
+ 548 if (counter < paramInfos.size()-1)
+ 549 ss << std::endl << std::endl;
+
+
+
+
+
+
+
@@ -569,13 +588,13 @@ Public Member Functions
Will return the long form of an abbreviation (like –force for -f)
Returns "" if no match is found.
-Definition at line 619 of file CmdArgsInterface.cpp.
-
-
-
-
-
624 return parameterAbreviations.find(abbrev)->second;
-
+
Definition at line 638 of file CmdArgsInterface.cpp.
+
+
+
+
+
643 return parameterAbreviations.find(abbrev)->second;
+
@@ -645,10 +664,10 @@ Public Member Functions
Will return the constraint information for a specific parameter.
-Definition at line 588 of file CmdArgsInterface.cpp.
-
-
590 return parameterConstraints.find(parameter)->second;
-
+
Definition at line 607 of file CmdArgsInterface.cpp.
+
+
609 return parameterConstraints.find(parameter)->second;
+
@@ -726,10 +745,10 @@ Public Member Functions
Will return argv[0], the name of the executable.
-Definition at line 599 of file CmdArgsInterface.cpp.
-
-
601 return executableName;
-
+
Definition at line 618 of file CmdArgsInterface.cpp.
+
+
620 return executableName;
+
@@ -751,10 +770,10 @@ Public Member Functions
Will check wether or not an abbreviation is registered.
-Definition at line 627 of file CmdArgsInterface.cpp.
-
-
629 return parameterAbreviations.find(abbrev) != parameterAbreviations.end();
-
+
Definition at line 646 of file CmdArgsInterface.cpp.
+
+
648 return parameterAbreviations.find(abbrev) != parameterAbreviations.end();
+
@@ -826,14 +845,14 @@ Public Member Functions
Will return the value given a key.
-Definition at line 604 of file CmdArgsInterface.cpp.
-
-
-
-
-
-
610 return *parameters.find(key)->second->GetValue();
-
+
Definition at line 623 of file CmdArgsInterface.cpp.
+
+
+
+
+
+
629 return *parameters.find(key)->second->GetValue();
+
@@ -994,11 +1013,11 @@ Public Member Functions
Will register an abbreviation (like -f for –force)
-Definition at line 613 of file CmdArgsInterface.cpp.
-
-
615 parameterAbreviations.insert(std::pair<std::string, std::string>(abbrev, target));
-
-
+
Definition at line 632 of file CmdArgsInterface.cpp.
+
+
634 parameterAbreviations.insert(std::pair<std::string, std::string>(abbrev, target));
+
+
@@ -1031,12 +1050,12 @@ Public Member Functions
Will register a constraint for a parameter.
IMPORTANT: Any parameter can only have ONE constraint. Applying a new one will overwrite the old one! Construct the ParamConstraint struct yourself to combine Require, TypeSafety and Incompatibilities! You can also use the ParamConstraint constructor!
-Definition at line 644 of file CmdArgsInterface.cpp.
-
-
-
647 (parameterConstraints[key] = constraint).key = key;
-
-
+
Definition at line 663 of file CmdArgsInterface.cpp.
+
+
+
666 (parameterConstraints[key] = constraint).key = key;
+
+
@@ -1148,11 +1167,11 @@ Public Member Functions
Sets whether to crash the application, and print to stderr, when an exception is raised whilst parsing, or not.
-Definition at line 657 of file CmdArgsInterface.cpp.
-
-
659 this->crashOnFail = crashOnFail;
-
-
+
Definition at line 676 of file CmdArgsInterface.cpp.
+
+
678 this->crashOnFail = crashOnFail;
+
+
@@ -1162,7 +1181,7 @@ Public Member Functions
Gets thrown when a parameter constrained to be incompatible with other parameters gets supplied along...
-bool HasAbbreviation(const std::string &abbrev) const
Will check wether or not an abbreviation is registered.
+bool HasAbbreviation(const std::string &abbrev) const
Will check wether or not an abbreviation is registered.
Gets thrown when an non-existent key gets dereferenced.
const std::string & What() const
Will return an error message.
Gets thrown something bad happens because of parameter constraints.
@@ -1179,7 +1198,7 @@ Public Member Functions
static std::string DataTypeToString(DATA_TYPE type)
diff --git a/docs/classHazelnp_1_1FloatValue-members.html b/docs/classHazelnp_1_1FloatValue-members.html
index a2822fa..d12b7d5 100644
--- a/docs/classHazelnp_1_1FloatValue-members.html
+++ b/docs/classHazelnp_1_1FloatValue-members.html
@@ -101,7 +101,7 @@ $(function() {
diff --git a/docs/classHazelnp_1_1FloatValue.html b/docs/classHazelnp_1_1FloatValue.html
index 8977d18..1ca4c1e 100644
--- a/docs/classHazelnp_1_1FloatValue.html
+++ b/docs/classHazelnp_1_1FloatValue.html
@@ -574,7 +574,7 @@ Additional Inherited Members
Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not ...
diff --git a/docs/classHazelnp_1_1HazelnuppConstraintException-members.html b/docs/classHazelnp_1_1HazelnuppConstraintException-members.html
index 9d79ff1..f21f515 100644
--- a/docs/classHazelnp_1_1HazelnuppConstraintException-members.html
+++ b/docs/classHazelnp_1_1HazelnuppConstraintException-members.html
@@ -90,7 +90,7 @@ $(function() {
diff --git a/docs/classHazelnp_1_1HazelnuppConstraintException.html b/docs/classHazelnp_1_1HazelnuppConstraintException.html
index 037af04..e6a4755 100644
--- a/docs/classHazelnp_1_1HazelnuppConstraintException.html
+++ b/docs/classHazelnp_1_1HazelnuppConstraintException.html
@@ -202,7 +202,7 @@ Additional Inherited Members
diff --git a/docs/classHazelnp_1_1HazelnuppConstraintIncompatibleParameters-members.html b/docs/classHazelnp_1_1HazelnuppConstraintIncompatibleParameters-members.html
index 3b79b2b..d7a92c0 100644
--- a/docs/classHazelnp_1_1HazelnuppConstraintIncompatibleParameters-members.html
+++ b/docs/classHazelnp_1_1HazelnuppConstraintIncompatibleParameters-members.html
@@ -92,7 +92,7 @@ $(function() {
diff --git a/docs/classHazelnp_1_1HazelnuppConstraintIncompatibleParameters.html b/docs/classHazelnp_1_1HazelnuppConstraintIncompatibleParameters.html
index b94b0dc..34db4b2 100644
--- a/docs/classHazelnp_1_1HazelnuppConstraintIncompatibleParameters.html
+++ b/docs/classHazelnp_1_1HazelnuppConstraintIncompatibleParameters.html
@@ -224,7 +224,7 @@ Additional Inherited Members
diff --git a/docs/classHazelnp_1_1HazelnuppConstraintMissingValue-members.html b/docs/classHazelnp_1_1HazelnuppConstraintMissingValue-members.html
index 8da631e..f4aa47c 100644
--- a/docs/classHazelnp_1_1HazelnuppConstraintMissingValue-members.html
+++ b/docs/classHazelnp_1_1HazelnuppConstraintMissingValue-members.html
@@ -92,7 +92,7 @@ $(function() {
diff --git a/docs/classHazelnp_1_1HazelnuppConstraintMissingValue.html b/docs/classHazelnp_1_1HazelnuppConstraintMissingValue.html
index 566f7d6..e9c2b7d 100644
--- a/docs/classHazelnp_1_1HazelnuppConstraintMissingValue.html
+++ b/docs/classHazelnp_1_1HazelnuppConstraintMissingValue.html
@@ -228,7 +228,7 @@ Additional Inherited Members
diff --git a/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch-members.html b/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch-members.html
index 691acca..db7320c 100644
--- a/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch-members.html
+++ b/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch-members.html
@@ -93,7 +93,7 @@ $(function() {
diff --git a/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch.html b/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch.html
index 9a33e23..97d1f9b 100644
--- a/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch.html
+++ b/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch.html
@@ -273,7 +273,7 @@ Additional Inherited Members
static std::string DataTypeToString(DATA_TYPE type)
diff --git a/docs/classHazelnp_1_1HazelnuppException-members.html b/docs/classHazelnp_1_1HazelnuppException-members.html
index 55574d7..47a845d 100644
--- a/docs/classHazelnp_1_1HazelnuppException-members.html
+++ b/docs/classHazelnp_1_1HazelnuppException-members.html
@@ -88,7 +88,7 @@ $(function() {
diff --git a/docs/classHazelnp_1_1HazelnuppException.html b/docs/classHazelnp_1_1HazelnuppException.html
index caf92d2..51764e9 100644
--- a/docs/classHazelnp_1_1HazelnuppException.html
+++ b/docs/classHazelnp_1_1HazelnuppException.html
@@ -256,7 +256,7 @@ Protected Attributes
diff --git a/docs/classHazelnp_1_1HazelnuppInvalidKeyException-members.html b/docs/classHazelnp_1_1HazelnuppInvalidKeyException-members.html
index c42b673..48c40c7 100644
--- a/docs/classHazelnp_1_1HazelnuppInvalidKeyException-members.html
+++ b/docs/classHazelnp_1_1HazelnuppInvalidKeyException-members.html
@@ -90,7 +90,7 @@ $(function() {
diff --git a/docs/classHazelnp_1_1HazelnuppInvalidKeyException.html b/docs/classHazelnp_1_1HazelnuppInvalidKeyException.html
index b93359c..360b96f 100644
--- a/docs/classHazelnp_1_1HazelnuppInvalidKeyException.html
+++ b/docs/classHazelnp_1_1HazelnuppInvalidKeyException.html
@@ -199,7 +199,7 @@ Additional Inherited Members
diff --git a/docs/classHazelnp_1_1HazelnuppValueNotConvertibleException-members.html b/docs/classHazelnp_1_1HazelnuppValueNotConvertibleException-members.html
index 374f8f6..3c80dd0 100644
--- a/docs/classHazelnp_1_1HazelnuppValueNotConvertibleException-members.html
+++ b/docs/classHazelnp_1_1HazelnuppValueNotConvertibleException-members.html
@@ -90,7 +90,7 @@ $(function() {
diff --git a/docs/classHazelnp_1_1HazelnuppValueNotConvertibleException.html b/docs/classHazelnp_1_1HazelnuppValueNotConvertibleException.html
index a4181b3..7d1f46c 100644
--- a/docs/classHazelnp_1_1HazelnuppValueNotConvertibleException.html
+++ b/docs/classHazelnp_1_1HazelnuppValueNotConvertibleException.html
@@ -199,7 +199,7 @@ Additional Inherited Members
diff --git a/docs/classHazelnp_1_1IntValue-members.html b/docs/classHazelnp_1_1IntValue-members.html
index ca99408..aceb6e5 100644
--- a/docs/classHazelnp_1_1IntValue-members.html
+++ b/docs/classHazelnp_1_1IntValue-members.html
@@ -101,7 +101,7 @@ $(function() {
diff --git a/docs/classHazelnp_1_1IntValue.html b/docs/classHazelnp_1_1IntValue.html
index 93bf8a3..a315449 100644
--- a/docs/classHazelnp_1_1IntValue.html
+++ b/docs/classHazelnp_1_1IntValue.html
@@ -574,7 +574,7 @@ Additional Inherited Members
Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not ...
diff --git a/docs/classHazelnp_1_1Internal_1_1StringTools-members.html b/docs/classHazelnp_1_1Internal_1_1StringTools-members.html
index 2a44f5b..b4c163d 100644
--- a/docs/classHazelnp_1_1Internal_1_1StringTools-members.html
+++ b/docs/classHazelnp_1_1Internal_1_1StringTools-members.html
@@ -92,7 +92,7 @@ $(function() {
diff --git a/docs/classHazelnp_1_1Internal_1_1StringTools.html b/docs/classHazelnp_1_1Internal_1_1StringTools.html
index 041fcff..d9134bf 100644
--- a/docs/classHazelnp_1_1Internal_1_1StringTools.html
+++ b/docs/classHazelnp_1_1Internal_1_1StringTools.html
@@ -626,7 +626,7 @@ Static Public Member Functions
diff --git a/docs/classHazelnp_1_1ListValue-members.html b/docs/classHazelnp_1_1ListValue-members.html
index d10bb6c..cdb7e6f 100644
--- a/docs/classHazelnp_1_1ListValue-members.html
+++ b/docs/classHazelnp_1_1ListValue-members.html
@@ -101,7 +101,7 @@ $(function() {
diff --git a/docs/classHazelnp_1_1ListValue.html b/docs/classHazelnp_1_1ListValue.html
index 8bdc99c..ce45532 100644
--- a/docs/classHazelnp_1_1ListValue.html
+++ b/docs/classHazelnp_1_1ListValue.html
@@ -601,7 +601,7 @@ Additional Inherited Members
Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not ...
diff --git a/docs/classHazelnp_1_1Parameter-members.html b/docs/classHazelnp_1_1Parameter-members.html
index 83491d1..95e434d 100644
--- a/docs/classHazelnp_1_1Parameter-members.html
+++ b/docs/classHazelnp_1_1Parameter-members.html
@@ -89,7 +89,7 @@ $(function() {
diff --git a/docs/classHazelnp_1_1Parameter.html b/docs/classHazelnp_1_1Parameter.html
index adef864..218d369 100644
--- a/docs/classHazelnp_1_1Parameter.html
+++ b/docs/classHazelnp_1_1Parameter.html
@@ -275,7 +275,7 @@ Friends
virtual Value * Deepcopy() const =0
Will return a deeopopy of this object.
diff --git a/docs/classHazelnp_1_1StringValue-members.html b/docs/classHazelnp_1_1StringValue-members.html
index 531a8f9..43421b3 100644
--- a/docs/classHazelnp_1_1StringValue-members.html
+++ b/docs/classHazelnp_1_1StringValue-members.html
@@ -100,7 +100,7 @@ $(function() {
diff --git a/docs/classHazelnp_1_1StringValue.html b/docs/classHazelnp_1_1StringValue.html
index 02a9406..e6911b3 100644
--- a/docs/classHazelnp_1_1StringValue.html
+++ b/docs/classHazelnp_1_1StringValue.html
@@ -547,7 +547,7 @@ Additional Inherited Members
Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not ...
diff --git a/docs/classHazelnp_1_1Value-members.html b/docs/classHazelnp_1_1Value-members.html
index 0eedf6a..567c4ee 100644
--- a/docs/classHazelnp_1_1Value-members.html
+++ b/docs/classHazelnp_1_1Value-members.html
@@ -97,7 +97,7 @@ $(function() {
diff --git a/docs/classHazelnp_1_1Value.html b/docs/classHazelnp_1_1Value.html
index 9b20c1d..6bbd5b7 100644
--- a/docs/classHazelnp_1_1Value.html
+++ b/docs/classHazelnp_1_1Value.html
@@ -548,7 +548,7 @@ Friends
diff --git a/docs/classHazelnp_1_1VoidValue-members.html b/docs/classHazelnp_1_1VoidValue-members.html
index 0499f22..391d0c1 100644
--- a/docs/classHazelnp_1_1VoidValue-members.html
+++ b/docs/classHazelnp_1_1VoidValue-members.html
@@ -98,7 +98,7 @@ $(function() {
diff --git a/docs/classHazelnp_1_1VoidValue.html b/docs/classHazelnp_1_1VoidValue.html
index c751f81..7d344f7 100644
--- a/docs/classHazelnp_1_1VoidValue.html
+++ b/docs/classHazelnp_1_1VoidValue.html
@@ -494,7 +494,7 @@ Additional Inherited Members
Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not ...
diff --git a/docs/classes.html b/docs/classes.html
index 2a0e0c9..e0f8d52 100644
--- a/docs/classes.html
+++ b/docs/classes.html
@@ -124,7 +124,7 @@ $(function() {
diff --git a/docs/dir_0202e1e26df2e040f4dc3d434eecf04c.html b/docs/dir_0202e1e26df2e040f4dc3d434eecf04c.html
index 8363b5e..13ce84f 100644
--- a/docs/dir_0202e1e26df2e040f4dc3d434eecf04c.html
+++ b/docs/dir_0202e1e26df2e040f4dc3d434eecf04c.html
@@ -138,7 +138,7 @@ Files
diff --git a/docs/dir_0cc5f59b28c403d42cc56800132eb975.html b/docs/dir_0cc5f59b28c403d42cc56800132eb975.html
index 7c7fab5..53000f1 100644
--- a/docs/dir_0cc5f59b28c403d42cc56800132eb975.html
+++ b/docs/dir_0cc5f59b28c403d42cc56800132eb975.html
@@ -81,7 +81,7 @@ $(function() {
diff --git a/docs/dir_1148ebc2b25b55095aebf6f4cbb6efca.html b/docs/dir_1148ebc2b25b55095aebf6f4cbb6efca.html
index ff43e43..3cf21f1 100644
--- a/docs/dir_1148ebc2b25b55095aebf6f4cbb6efca.html
+++ b/docs/dir_1148ebc2b25b55095aebf6f4cbb6efca.html
@@ -81,7 +81,7 @@ $(function() {
diff --git a/docs/dir_a8cffda729361e9d9637effa362fcea9.html b/docs/dir_a8cffda729361e9d9637effa362fcea9.html
index e2ff909..8011cfd 100644
--- a/docs/dir_a8cffda729361e9d9637effa362fcea9.html
+++ b/docs/dir_a8cffda729361e9d9637effa362fcea9.html
@@ -81,7 +81,7 @@ $(function() {
diff --git a/docs/files.html b/docs/files.html
index d9cc59d..9820b82 100644
--- a/docs/files.html
+++ b/docs/files.html
@@ -108,7 +108,7 @@ $(function() {
diff --git a/docs/functions.html b/docs/functions.html
index 676a4e8..632132f 100644
--- a/docs/functions.html
+++ b/docs/functions.html
@@ -446,7 +446,7 @@ $(function() {
diff --git a/docs/functions_func.html b/docs/functions_func.html
index 5b7a7a1..ca98f75 100644
--- a/docs/functions_func.html
+++ b/docs/functions_func.html
@@ -416,7 +416,7 @@ $(function() {
diff --git a/docs/functions_rela.html b/docs/functions_rela.html
index ddb58dc..070581c 100644
--- a/docs/functions_rela.html
+++ b/docs/functions_rela.html
@@ -82,7 +82,7 @@ $(function() {
diff --git a/docs/functions_vars.html b/docs/functions_vars.html
index bb0627c..0dbfdbd 100644
--- a/docs/functions_vars.html
+++ b/docs/functions_vars.html
@@ -96,7 +96,7 @@ $(function() {
diff --git a/docs/globals.html b/docs/globals.html
index 8c2cff5..c1b0cb7 100644
--- a/docs/globals.html
+++ b/docs/globals.html
@@ -78,7 +78,7 @@ $(function() {
diff --git a/docs/globals_defs.html b/docs/globals_defs.html
index d650884..f39c57e 100644
--- a/docs/globals_defs.html
+++ b/docs/globals_defs.html
@@ -78,7 +78,7 @@ $(function() {
diff --git a/docs/graph_legend.html b/docs/graph_legend.html
index 0a8e1d8..e48700b 100644
--- a/docs/graph_legend.html
+++ b/docs/graph_legend.html
@@ -137,7 +137,7 @@ A yellow dashed arrow denotes a relation between a template instance and the tem
diff --git a/docs/hierarchy.html b/docs/hierarchy.html
index 9602ae8..f048ffd 100644
--- a/docs/hierarchy.html
+++ b/docs/hierarchy.html
@@ -101,7 +101,7 @@ This inheritance list is sorted roughly, but not completely, alphabetically:
diff --git a/docs/index.html b/docs/index.html
index 8d317d7..408ca13 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -427,15 +427,15 @@ LICENSE
static ParamConstraint Incompatibility(const std::initializer_list< std::string > &incompatibleParameters)
Constructs an incompatibility constraint.
void SetCatchHelp(bool catchHelp)
Sets whether the CmdArgsInterface should automatically catch the –help parameter, print the parameter...
Gets thrown when an non-existent key gets dereferenced.
-void RegisterConstraint(const std::string &key, const ParamConstraint &constraint)
Will register a constraint for a parameter.
-void RegisterAbbreviation(const std::string &abbrev, const std::string &target)
Will register an abbreviation (like -f for –force)
+void RegisterConstraint(const std::string &key, const ParamConstraint &constraint)
Will register a constraint for a parameter.
+void RegisterAbbreviation(const std::string &abbrev, const std::string &target)
Will register an abbreviation (like -f for –force)
bool HasParam(const std::string &key) const
Will check wether a parameter exists given a key, or not.
void Parse(const int argc, const char *const *argv)
Will parse command line arguments.
static ParamConstraint TypeSafety(DATA_TYPE requiredType, bool constrainType=true)
Constructs a type-safety constraint.
diff --git a/docs/index_8md.html b/docs/index_8md.html
index 05c1c76..9d3d178 100644
--- a/docs/index_8md.html
+++ b/docs/index_8md.html
@@ -77,7 +77,7 @@ $(function() {
diff --git a/docs/inherits.html b/docs/inherits.html
index 1a22fed..cbad597 100644
--- a/docs/inherits.html
+++ b/docs/inherits.html
@@ -123,7 +123,7 @@ $(function() {
diff --git a/docs/namespaceHazelnp.html b/docs/namespaceHazelnp.html
index 9ab20dc..2599fcd 100644
--- a/docs/namespaceHazelnp.html
+++ b/docs/namespaceHazelnp.html
@@ -254,7 +254,7 @@ Functions
diff --git a/docs/namespaceHazelnp_1_1Internal.html b/docs/namespaceHazelnp_1_1Internal.html
index 285f776..aef0d22 100644
--- a/docs/namespaceHazelnp_1_1Internal.html
+++ b/docs/namespaceHazelnp_1_1Internal.html
@@ -90,7 +90,7 @@ Classes
diff --git a/docs/namespaceHazelnp_1_1Placeholders.html b/docs/namespaceHazelnp_1_1Placeholders.html
index 838e44d..e9d94a5 100644
--- a/docs/namespaceHazelnp_1_1Placeholders.html
+++ b/docs/namespaceHazelnp_1_1Placeholders.html
@@ -117,7 +117,7 @@ Variables
diff --git a/docs/namespacemembers.html b/docs/namespacemembers.html
index 2caf7e4..2b8ce37 100644
--- a/docs/namespacemembers.html
+++ b/docs/namespacemembers.html
@@ -84,7 +84,7 @@ $(function() {
diff --git a/docs/namespacemembers_enum.html b/docs/namespacemembers_enum.html
index be263c7..1900f67 100644
--- a/docs/namespacemembers_enum.html
+++ b/docs/namespacemembers_enum.html
@@ -78,7 +78,7 @@ $(function() {
diff --git a/docs/namespacemembers_func.html b/docs/namespacemembers_func.html
index 43b4d92..88e178c 100644
--- a/docs/namespacemembers_func.html
+++ b/docs/namespacemembers_func.html
@@ -78,7 +78,7 @@ $(function() {
diff --git a/docs/namespacemembers_vars.html b/docs/namespacemembers_vars.html
index d17fdcd..809d2ff 100644
--- a/docs/namespacemembers_vars.html
+++ b/docs/namespacemembers_vars.html
@@ -78,7 +78,7 @@ $(function() {
diff --git a/docs/namespaces.html b/docs/namespaces.html
index 8603c0f..9402376 100644
--- a/docs/namespaces.html
+++ b/docs/namespaces.html
@@ -84,7 +84,7 @@ $(function() {
diff --git a/docs/structHazelnp_1_1ParamConstraint-members.html b/docs/structHazelnp_1_1ParamConstraint-members.html
index 697a467..4e80110 100644
--- a/docs/structHazelnp_1_1ParamConstraint-members.html
+++ b/docs/structHazelnp_1_1ParamConstraint-members.html
@@ -96,7 +96,7 @@ $(function() {
diff --git a/docs/structHazelnp_1_1ParamConstraint.html b/docs/structHazelnp_1_1ParamConstraint.html
index c1a70f7..fc41366 100644
--- a/docs/structHazelnp_1_1ParamConstraint.html
+++ b/docs/structHazelnp_1_1ParamConstraint.html
@@ -548,7 +548,7 @@ Friends
std::vector< std::string > defaultValue
The default value for this parameter.