diff --git a/docs/Abbreviations_8cpp.html b/docs/Abbreviations_8cpp.html
deleted file mode 100644
index 7d3bbee..0000000
--- a/docs/Abbreviations_8cpp.html
+++ /dev/null
@@ -1,127 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Test_Hazelnupp/Abbreviations.cpp File Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#include "CppUnitTest.h"
-
#include "helper.h "
-
#include "../Hazelnupp/Hazelnupp.h "
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Go to the source code of this file.
-
-
-
-
-
-
diff --git a/docs/Abbreviations_8cpp__incl.map b/docs/Abbreviations_8cpp__incl.map
deleted file mode 100644
index 3063684..0000000
--- a/docs/Abbreviations_8cpp__incl.map
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/Abbreviations_8cpp__incl.md5 b/docs/Abbreviations_8cpp__incl.md5
deleted file mode 100644
index deb98ee..0000000
--- a/docs/Abbreviations_8cpp__incl.md5
+++ /dev/null
@@ -1 +0,0 @@
-104f1fc85c82d50f566784751bc221be
\ No newline at end of file
diff --git a/docs/Abbreviations_8cpp__incl.png b/docs/Abbreviations_8cpp__incl.png
deleted file mode 100644
index 3ec6bc2..0000000
Binary files a/docs/Abbreviations_8cpp__incl.png and /dev/null differ
diff --git a/docs/Abbreviations_8cpp_source.html b/docs/Abbreviations_8cpp_source.html
deleted file mode 100644
index 5cc7ecb..0000000
--- a/docs/Abbreviations_8cpp_source.html
+++ /dev/null
@@ -1,262 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Test_Hazelnupp/Abbreviations.cpp Source File
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Go to the documentation of this file. 1 #include "CppUnitTest.h"
-
-
3 #include "../Hazelnupp/Hazelnupp.h"
-
-
5 using namespace Microsoft::VisualStudio::CppUnitTestFramework;
-
-
-
-
-
-
-
-
-
14 TEST_METHOD(KeysExist)
-
-
-
-
18 "/my/fake/path/wahoo.out" ,
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
41 nupp.RegisterAbbreviation(
"-ms" ,
"--my_string" );
-
42 nupp.RegisterAbbreviation(
"-mv" ,
"--my_void" );
-
43 nupp.RegisterAbbreviation(
"-mi" ,
"--my_int" );
-
44 nupp.RegisterAbbreviation(
"-mf" ,
"--my_float" );
-
45 nupp.RegisterAbbreviation(
"-mnl" ,
"--my_num_list" );
-
46 nupp.RegisterAbbreviation(
"-msl" ,
"--my_str_list" );
-
-
48 nupp.Parse(
C_Ify (args));
-
-
-
51 Assert::IsTrue(nupp.HasParam(
"--my_string" ));
-
52 Assert::IsTrue(nupp.HasParam(
"--my_void" ));
-
53 Assert::IsTrue(nupp.HasParam(
"--my_float" ));
-
54 Assert::IsTrue(nupp.HasParam(
"--my_int" ));
-
55 Assert::IsTrue(nupp.HasParam(
"--my_num_list" ));
-
56 Assert::IsTrue(nupp.HasParam(
"--my_str_list" ));
-
-
-
-
-
-
62 TEST_METHOD(CorrectType)
-
-
-
-
66 "/my/fake/path/wahoo.out" ,
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
89 nupp.RegisterAbbreviation(
"-ms" ,
"--my_string" );
-
90 nupp.RegisterAbbreviation(
"-mv" ,
"--my_void" );
-
91 nupp.RegisterAbbreviation(
"-mi" ,
"--my_int" );
-
92 nupp.RegisterAbbreviation(
"-mf" ,
"--my_float" );
-
93 nupp.RegisterAbbreviation(
"-mnl" ,
"--my_num_list" );
-
94 nupp.RegisterAbbreviation(
"-msl" ,
"--my_str_list" );
-
-
96 nupp.Parse(
C_Ify (args));
-
-
-
-
-
-
-
103 Assert::IsTrue(nupp[
"--my_num_list" ].GetDataType() ==
DATA_TYPE::LIST );
-
104 Assert::IsTrue(nupp[
"--my_str_list" ].GetDataType() ==
DATA_TYPE::LIST );
-
-
-
-
-
-
110 TEST_METHOD(CorrectValues)
-
-
-
-
114 "/my/fake/path/wahoo.out" ,
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
137 nupp.RegisterAbbreviation(
"-ms" ,
"--my_string" );
-
138 nupp.RegisterAbbreviation(
"-mv" ,
"--my_void" );
-
139 nupp.RegisterAbbreviation(
"-mi" ,
"--my_int" );
-
140 nupp.RegisterAbbreviation(
"-mf" ,
"--my_float" );
-
141 nupp.RegisterAbbreviation(
"-mnl" ,
"--my_num_list" );
-
142 nupp.RegisterAbbreviation(
"-msl" ,
"--my_str_list" );
-
-
144 nupp.Parse(
C_Ify (args));
-
-
-
147 Assert::AreEqual(nupp[
"--my_string" ].GetString(), std::string(
"billybob" ));
-
148 Assert::AreEqual(nupp[
"--my_float" ].GetFloat32(), -23.199);
-
149 Assert::AreEqual(nupp[
"--my_int" ].GetInt32(), 199);
-
150 Assert::AreEqual(nupp[
"--my_num_list" ].GetList()[0]->GetInt32(), 1);
-
151 Assert::AreEqual(nupp[
"--my_num_list" ].GetList()[1]->GetInt32(), 2);
-
152 Assert::AreEqual(nupp[
"--my_num_list" ].GetList()[2]->GetInt32(), 3);
-
153 Assert::AreEqual(nupp[
"--my_num_list" ].GetList()[3]->GetInt32(), 4);
-
154 Assert::AreEqual(nupp[
"--my_str_list" ].GetList()[0]->GetString(), std::string(
"apple" ));
-
155 Assert::AreEqual(nupp[
"--my_str_list" ].GetList()[1]->GetString(), std::string(
"banana" ));
-
156 Assert::AreEqual(nupp[
"--my_str_list" ].GetList()[2]->GetString(), std::string(
"pumpkin" ));
-
-
-
-
-
-
-
-
-
-
-TEST_CLASS(_Abbreviations)
-
-
-void SetCrashOnFail(bool crashOnFail)
Sets whether to crash the application, and print to stderr, when an exception is raised whilst parsin...
-std::vector< const char * > ArgList
-
-The main class to interface with.
-
-
-
-
-
diff --git a/docs/Basics_8cpp.html b/docs/Basics_8cpp.html
deleted file mode 100644
index c863d6c..0000000
--- a/docs/Basics_8cpp.html
+++ /dev/null
@@ -1,130 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Test_Hazelnupp/Basics.cpp File Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#include "CppUnitTest.h"
-
#include "helper.h "
-
#include "../Hazelnupp/Hazelnupp.h "
-
#include "../Hazelnupp/HazelnuppException.h "
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Go to the source code of this file.
-
-
-
-
-
-
diff --git a/docs/Basics_8cpp__incl.map b/docs/Basics_8cpp__incl.map
deleted file mode 100644
index 26c89de..0000000
--- a/docs/Basics_8cpp__incl.map
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/Basics_8cpp__incl.md5 b/docs/Basics_8cpp__incl.md5
deleted file mode 100644
index 233d371..0000000
--- a/docs/Basics_8cpp__incl.md5
+++ /dev/null
@@ -1 +0,0 @@
-7637a15ad95d868d907efc4ded5bee64
\ No newline at end of file
diff --git a/docs/Basics_8cpp__incl.png b/docs/Basics_8cpp__incl.png
deleted file mode 100644
index 7992a5a..0000000
Binary files a/docs/Basics_8cpp__incl.png and /dev/null differ
diff --git a/docs/Basics_8cpp_source.html b/docs/Basics_8cpp_source.html
deleted file mode 100644
index c5e4d08..0000000
--- a/docs/Basics_8cpp_source.html
+++ /dev/null
@@ -1,350 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Test_Hazelnupp/Basics.cpp Source File
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Go to the documentation of this file. 1 #include "CppUnitTest.h"
-
-
3 #include "../Hazelnupp/Hazelnupp.h"
-
4 #include "../Hazelnupp/HazelnuppException.h"
-
-
6 using namespace Microsoft::VisualStudio::CppUnitTestFramework;
-
-
-
-
-
-
-
-
-
15 TEST_METHOD(ApplicationPathWorks)
-
-
-
-
19 "/my/fake/path/wahoo.out"
-
-
-
-
-
24 nupp.SetCrashOnFail(
false );
-
-
-
27 Assert::AreEqual(std::string(
"/my/fake/path/wahoo.out" ), nupp.GetExecutableName());
-
-
-
-
-
-
33 TEST_METHOD(Only_One_Param)
-
-
-
-
37 "/my/fake/path/wahoo.out" ,
-
-
-
-
-
-
43 nupp.SetCrashOnFail(
false );
-
-
-
46 Assert::IsTrue(nupp.HasParam(
"--dummy" ));
-
-
-
-
-
-
52 TEST_METHOD(Weird_Case_1)
-
-
-
-
56 "/my/fake/path/wahoo.out" ,
-
-
-
-
-
-
62 nupp.SetCrashOnFail(
false );
-
-
-
-
-
-
-
-
70 TEST_METHOD(Weird_Case_2)
-
-
-
-
74 "/my/fake/path/wahoo.out" ,
-
-
-
-
-
-
-
81 nupp.SetCrashOnFail(
false );
-
-
-
84 Assert::IsTrue(nupp.HasParam(
"--dummy" ), L
"Failed has-param" );
-
85 Assert::IsTrue(nupp[
"--dummy" ].GetDataType() ==
DATA_TYPE::VOID , L
"Failed type" );
-
-
-
-
-
-
91 TEST_METHOD(KeysExist)
-
-
-
-
95 "/my/fake/path/wahoo.out" ,
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
116 nupp.SetCrashOnFail(
false );
-
-
-
119 Assert::IsTrue(nupp.HasParam(
"--my_string" ));
-
120 Assert::IsTrue(nupp.HasParam(
"--my_void" ));
-
121 Assert::IsTrue(nupp.HasParam(
"--my_float" ));
-
122 Assert::IsTrue(nupp.HasParam(
"--my_int" ));
-
123 Assert::IsTrue(nupp.HasParam(
"--my_num_list" ));
-
124 Assert::IsTrue(nupp.HasParam(
"--my_str_list" ));
-
-
-
-
-
-
130 TEST_METHOD(CorrectType)
-
-
-
-
134 "/my/fake/path/wahoo.out" ,
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
155 nupp.SetCrashOnFail(
false );
-
-
-
-
-
-
-
162 Assert::IsTrue(nupp[
"--my_num_list" ].GetDataType() ==
DATA_TYPE::LIST );
-
163 Assert::IsTrue(nupp[
"--my_str_list" ].GetDataType() ==
DATA_TYPE::LIST );
-
-
-
-
-
-
169 TEST_METHOD(CorrectValues)
-
-
-
-
173 "/my/fake/path/wahoo.out" ,
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
194 nupp.SetCrashOnFail(
false );
-
-
-
197 Assert::AreEqual(nupp[
"--my_string" ].GetString(), std::string(
"billybob" ));
-
198 Assert::AreEqual(nupp[
"--my_float" ].GetFloat32(), -23.199);
-
199 Assert::AreEqual(nupp[
"--my_int" ].GetInt32(), 199);
-
200 Assert::AreEqual(nupp[
"--my_num_list" ].GetList()[0]->GetInt32(), 1);
-
201 Assert::AreEqual(nupp[
"--my_num_list" ].GetList()[1]->GetInt32(), 2);
-
202 Assert::AreEqual(nupp[
"--my_num_list" ].GetList()[2]->GetInt32(), 3);
-
203 Assert::AreEqual(nupp[
"--my_num_list" ].GetList()[3]->GetInt32(), 4);
-
204 Assert::AreEqual(nupp[
"--my_str_list" ].GetList()[0]->GetString(), std::string(
"apple" ));
-
205 Assert::AreEqual(nupp[
"--my_str_list" ].GetList()[1]->GetString(), std::string(
"banana" ));
-
206 Assert::AreEqual(nupp[
"--my_str_list" ].GetList()[2]->GetString(), std::string(
"pumpkin" ));
-
-
-
-
-
-
212 TEST_METHOD(Exception_On_Invalid_Key)
-
-
-
-
216 "/my/fake/path/wahoo.out" ,
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
236 nupp.SetCrashOnFail(
false );
-
-
-
239 Assert::ExpectException<HazelnuppInvalidKeyException>(
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-std::vector< const char * > ArgList
-
-The main class to interface with.
-
-
-
-
-
diff --git a/docs/CmdArgsInterface_8cpp.html b/docs/CmdArgsInterface_8cpp.html
deleted file mode 100644
index 1809b8b..0000000
--- a/docs/CmdArgsInterface_8cpp.html
+++ /dev/null
@@ -1,133 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/CmdArgsInterface.cpp File Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#include "CmdArgsInterface.h "
-
#include "VoidValue.h "
-
#include "IntValue.h "
-
#include "FloatValue.h "
-
#include "StringValue.h "
-
#include "ListValue.h "
-
#include "HazelnuppException.h "
-
#include "Placeholders.h "
-
#include "StringTools.h "
-
#include <iostream>
-
#include <cstdlib>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Go to the source code of this file.
-
-
-
-
-
diff --git a/docs/CmdArgsInterface_8cpp__incl.map b/docs/CmdArgsInterface_8cpp__incl.map
deleted file mode 100644
index d5a35e7..0000000
--- a/docs/CmdArgsInterface_8cpp__incl.map
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/CmdArgsInterface_8cpp__incl.md5 b/docs/CmdArgsInterface_8cpp__incl.md5
deleted file mode 100644
index dacd236..0000000
--- a/docs/CmdArgsInterface_8cpp__incl.md5
+++ /dev/null
@@ -1 +0,0 @@
-48e8cf6b9c7c3f6e58426b78b0d50f5b
\ No newline at end of file
diff --git a/docs/CmdArgsInterface_8cpp__incl.png b/docs/CmdArgsInterface_8cpp__incl.png
deleted file mode 100644
index 3e1c36e..0000000
Binary files a/docs/CmdArgsInterface_8cpp__incl.png and /dev/null differ
diff --git a/docs/CmdArgsInterface_8cpp_source.html b/docs/CmdArgsInterface_8cpp_source.html
deleted file mode 100644
index 2e56e63..0000000
--- a/docs/CmdArgsInterface_8cpp_source.html
+++ /dev/null
@@ -1,845 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/CmdArgsInterface.cpp Source File
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Go to the documentation of this file.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
28 for (
auto & it : parameters)
-
-
-
-
-
-
-
-
-
-
-
-
-
41 PopulateRawArgs(argc, argv);
-
-
-
44 ExpandAbbreviations();
-
-
46 executableName = std::string(rawArgs[0]);
-
-
-
-
50 while (i < rawArgs.size())
-
-
52 if ((rawArgs[i].length() > 2) && (rawArgs[i].substr(0, 2) ==
"--" ))
-
-
-
55 i = ParseNextParameter(i, param);
-
-
57 parameters.insert(std::pair<std::string, Parameter*>(param->
Key (), param));
-
-
-
-
-
-
-
-
-
66 if ((!catchHelp) || (!
HasParam (
"--help" )))
-
-
-
-
-
-
-
-
74 std::cerr <<
"Parameter error: " << exc.
What () << std::endl;
-
-
-
-
-
-
-
-
-
-
-
85 std::cerr <<
"Parameter error: " << exc.
What () << std::endl;
-
-
-
-
-
-
-
-
-
-
-
96 std::cerr <<
"Parameter error: " << exc.
What () << std::endl;
-
-
-
-
-
-
-
-
-
-
-
107 std::cerr <<
"Parameter error: " << exc.
What () << std::endl;
-
-
-
-
-
-
-
-
-
-
-
118 std::cerr <<
"Parameter error: " << exc.
What () << std::endl;
-
-
-
-
-
-
-
-
126 if ((catchHelp) && (
HasParam (
"--help" )))
-
-
-
-
-
-
-
-
-
135 std::size_t CmdArgsInterface::ParseNextParameter(
const std::size_t parIndex,
Parameter *& out_Par)
-
-
137 std::size_t i = parIndex;
-
138 const std::string key = rawArgs[parIndex];
-
139 std::vector<std::string> values;
-
-
-
142 for (i++; i < rawArgs.size(); i++)
-
-
144 if ((rawArgs[i].length() < 2) || (rawArgs[i].substr(0, 2) !=
"--" ))
-
145 values.emplace_back(rawArgs[i]);
-
-
-
-
-
-
-
-
-
154 Value * parsedVal = ParseValue(values, pcn);
-
155 if (parsedVal !=
nullptr )
-
-
-
-
-
-
-
-
163 throw std::runtime_error(
"Unable to parse parameter!" );
-
-
-
-
-
168 void CmdArgsInterface::PopulateRawArgs(
const int argc,
const char *
const * argv)
-
-
-
171 rawArgs.reserve(argc);
-
-
173 for (
int i = 0; i < argc; i++)
-
174 rawArgs.emplace_back(std::string(argv[i]));
-
-
-
-
-
179 void CmdArgsInterface::ExpandAbbreviations()
-
-
-
182 if (parameterAbreviations.size() == 0)
-
-
-
185 for (std::string& arg : rawArgs)
-
-
-
188 auto abbr = parameterAbreviations.find(arg);
-
189 if (abbr != parameterAbreviations.end())
-
-
-
-
-
-
-
-
-
-
-
-
201 return parameters.find(key) != parameters.end();
-
-
-
204 Value * CmdArgsInterface::ParseValue(
const std::vector<std::string>& values,
const ParamConstraint * constraint)
-
-
-
-
-
-
210 const bool constrainType = (constraint !=
nullptr ) && (constraint->
constrainType );
-
-
-
213 if (values.size() == 0)
-
-
-
-
-
218 if ((constrainType) &&
-
-
-
-
-
223 else if ((constrainType) &&
-
-
-
-
-
228 else if ((constrainType) &&
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
243 else if ((constrainType) &&
-
-
-
-
-
-
-
250 else if (values.size() > 1)
-
-
-
-
-
255 if ((constrainType) &&
-
-
-
-
-
-
-
-
-
-
-
-
267 for (
const std::string& val : values)
-
-
269 Value * tmp = ParseValue({ val });
-
-
-
-
-
-
-
-
277 const std::string& val = values[0];
-
-
-
-
-
-
-
-
-
286 if ((constrainType) &&
-
-
-
-
-
-
-
293 Value * tmp = ParseValue({ val });
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
314 if ((constrainType) &&
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
332 return new IntValue ((
long long int )num);
-
-
-
-
-
-
-
-
340 Value * tmp = ParseValue({ val });
-
-
-
-
-
-
-
-
-
-
-
-
352 return new IntValue ((
long long int )num);
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
370 this->catchHelp = catchHelp;
-
-
-
-
-
-
-
-
-
-
-
381 briefDescription = description;
-
-
-
-
-
-
387 return briefDescription;
-
-
-
-
-
392 parameterDescriptions[parameter] = description;
-
-
-
-
-
-
-
399 if (!HasDescription(parameter))
-
-
-
-
-
404 return parameterDescriptions.find(parameter)->second;
-
-
-
-
-
409 return parameterDescriptions.find(parameter) != parameterDescriptions.end();
-
-
-
-
-
-
415 parameterDescriptions.erase(parameter);
-
-
-
-
-
-
421 parameterDescriptions.clear();
-
-
-
-
-
-
427 std::stringstream ss;
-
-
-
430 if (briefDescription.length() > 0)
-
431 ss << briefDescription << std::endl;
-
-
-
-
-
436 std::string abbreviation;
-
437 std::string description;
-
-
439 bool required =
false ;
-
440 bool typeIsForced =
false ;
-
441 std::string defaultVal;
-
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 (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 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;
-
-
-
-
-
-
-
-
-
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)
-
-
-
-
-
-
-
-
-
-
609 return parameterConstraints.find(parameter)->second;
-
-
-
-
-
614 parameterConstraints.erase(parameter);
-
-
-
-
-
-
620 return executableName;
-
-
-
-
-
-
-
-
-
629 return *parameters.find(key)->second->GetValue();
-
-
-
-
-
634 parameterAbreviations.insert(std::pair<std::string, std::string>(abbrev, target));
-
-
-
-
-
-
-
-
-
643 return parameterAbreviations.find(abbrev)->second;
-
-
-
-
-
648 return parameterAbreviations.find(abbrev) != parameterAbreviations.end();
-
-
-
-
-
653 parameterAbreviations.erase(abbrevation);
-
-
-
-
-
-
659 parameterAbreviations.clear();
-
-
-
-
-
-
-
666 (parameterConstraints[key] = constraint).key = key;
-
-
-
-
-
-
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.
-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.
-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.
-
-
-const std::string & What() const
Will return an error message.
-
-
-
-Specializations for floating point values (uses long double)
-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)
-bool HasParam(const std::string &key) const
Will check wether a parameter exists given a key, or not.
-
-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...
-bool GetCrashOnFail() const
Gets whether the application crashes on an exception whilst parsing, and prints to stderr.
-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.
-
-bool constrainType
Should this parameter be forced to be of a certain type? Remember to set constrainTo to the wanted ...
-Generic hazelnupp exception.
-
-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.
-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.
-void ClearDescriptions()
Will delete all parameter descriptions.
-void AddValue(const Value *value)
Will add this value to the list.
-Specializations for void values.
-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.
-
-
-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 & 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...
-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
deleted file mode 100644
index ae09393..0000000
--- a/docs/CmdArgsInterface_8h.html
+++ /dev/null
@@ -1,137 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/CmdArgsInterface.h File Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#include "Parameter.h "
-
#include "ParamConstraint.h "
-
#include <unordered_map>
-
#include <vector>
-
#include "Version.h "
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Go to the source code of this file.
-
-
-
-
-
-
diff --git a/docs/CmdArgsInterface_8h__dep__incl.map b/docs/CmdArgsInterface_8h__dep__incl.map
deleted file mode 100644
index f19760a..0000000
--- a/docs/CmdArgsInterface_8h__dep__incl.map
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
diff --git a/docs/CmdArgsInterface_8h__dep__incl.md5 b/docs/CmdArgsInterface_8h__dep__incl.md5
deleted file mode 100644
index ddb9ced..0000000
--- a/docs/CmdArgsInterface_8h__dep__incl.md5
+++ /dev/null
@@ -1 +0,0 @@
-dfaa7b9bbc047edc6dac352f33d674ae
\ No newline at end of file
diff --git a/docs/CmdArgsInterface_8h__dep__incl.png b/docs/CmdArgsInterface_8h__dep__incl.png
deleted file mode 100644
index 787e7ae..0000000
Binary files a/docs/CmdArgsInterface_8h__dep__incl.png and /dev/null differ
diff --git a/docs/CmdArgsInterface_8h__incl.map b/docs/CmdArgsInterface_8h__incl.map
deleted file mode 100644
index 2daed24..0000000
--- a/docs/CmdArgsInterface_8h__incl.map
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/CmdArgsInterface_8h__incl.md5 b/docs/CmdArgsInterface_8h__incl.md5
deleted file mode 100644
index 5906ee6..0000000
--- a/docs/CmdArgsInterface_8h__incl.md5
+++ /dev/null
@@ -1 +0,0 @@
-1b40cfe17dfb4f2d2222d0c51471439e
\ No newline at end of file
diff --git a/docs/CmdArgsInterface_8h__incl.png b/docs/CmdArgsInterface_8h__incl.png
deleted file mode 100644
index 22014bf..0000000
Binary files a/docs/CmdArgsInterface_8h__incl.png and /dev/null differ
diff --git a/docs/CmdArgsInterface_8h_source.html b/docs/CmdArgsInterface_8h_source.html
deleted file mode 100644
index 6c668e7..0000000
--- a/docs/CmdArgsInterface_8h_source.html
+++ /dev/null
@@ -1,272 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/CmdArgsInterface.h Source File
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Go to the documentation of this file.
-
-
-
4 #include <unordered_map>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
22 void Parse (
const int argc,
const char *
const * argv);
-
-
-
-
-
-
-
-
-
31 bool HasParam (
const std::string& key)
const ;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
90 const std::string&
GetDescription (
const std::string& parameter)
const ;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
106 void PopulateRawArgs(
const int argc,
const char *
const * argv);
-
-
-
109 void ExpandAbbreviations();
-
-
-
112 std::size_t ParseNextParameter(
const std::size_t parIndex,
Parameter *& out_Par);
-
-
-
115 Value * ParseValue(
const std::vector<std::string>& values,
const ParamConstraint * constraint =
nullptr );
-
-
-
118 void ApplyConstraints();
-
-
-
121 const ParamConstraint * GetConstraintForKey(
const std::string& key)
const ;
-
-
123 std::string executableName;
-
124 std::unordered_map<std::string, Parameter*> parameters;
-
-
-
127 std::unordered_map<std::string, std::string> parameterAbreviations;
-
-
-
130 std::unordered_map<std::string, ParamConstraint> parameterConstraints;
-
-
-
133 std::vector<std::string> rawArgs;
-
-
-
-
137 std::unordered_map<std::string, std::string> parameterDescriptions;
-
-
-
140 std::string briefDescription;
-
-
-
143 bool catchHelp =
true ;
-
-
-
146 bool crashOnFail =
true ;
-
-
-
-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.
-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.
-Abstract class for values.
-
-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.
-
-
-
-bool GetCrashOnFail() const
Gets whether the application crashes on an exception whilst parsing, and prints to stderr.
-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 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.
-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...
-
-
-
-
-
diff --git a/docs/Constraints_8cpp.html b/docs/Constraints_8cpp.html
deleted file mode 100644
index 678c1fc..0000000
--- a/docs/Constraints_8cpp.html
+++ /dev/null
@@ -1,130 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Test_Hazelnupp/Constraints.cpp File Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#include "CppUnitTest.h"
-
#include "helper.h "
-
#include "../Hazelnupp/Hazelnupp.h "
-
#include "../Hazelnupp/HazelnuppException.h "
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Go to the source code of this file.
-
-
-
-
-
-
diff --git a/docs/Constraints_8cpp__incl.map b/docs/Constraints_8cpp__incl.map
deleted file mode 100644
index 8653bb5..0000000
--- a/docs/Constraints_8cpp__incl.map
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/Constraints_8cpp__incl.md5 b/docs/Constraints_8cpp__incl.md5
deleted file mode 100644
index 5676aa1..0000000
--- a/docs/Constraints_8cpp__incl.md5
+++ /dev/null
@@ -1 +0,0 @@
-62c377b56c814420aa9bd5d3797e756b
\ No newline at end of file
diff --git a/docs/Constraints_8cpp__incl.png b/docs/Constraints_8cpp__incl.png
deleted file mode 100644
index 834ecd7..0000000
Binary files a/docs/Constraints_8cpp__incl.png and /dev/null differ
diff --git a/docs/Constraints_8cpp_source.html b/docs/Constraints_8cpp_source.html
deleted file mode 100644
index a068a35..0000000
--- a/docs/Constraints_8cpp_source.html
+++ /dev/null
@@ -1,425 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Test_Hazelnupp/Constraints.cpp Source File
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Go to the documentation of this file. 1 #include "CppUnitTest.h"
-
-
3 #include "../Hazelnupp/Hazelnupp.h"
-
4 #include "../Hazelnupp/HazelnuppException.h"
-
-
6 using namespace Microsoft::VisualStudio::CppUnitTestFramework;
-
-
-
-
-
-
-
-
-
15 TEST_METHOD(DefaultValues_GetAdded)
-
-
-
-
19 "/my/fake/path/wahoo.out" ,
-
-
-
-
-
-
-
-
-
28 nupp.RegisterConstraints({
-
-
-
-
-
-
-
35 nupp.Parse(
C_Ify (args));
-
-
-
38 Assert::IsTrue(nupp.HasParam(
"--elenor-int" ));
-
39 Assert::IsTrue(nupp[
"--elenor-int" ].GetDataType() ==
DATA_TYPE::INT );
-
40 Assert::AreEqual(nupp[
"--elenor-int" ].GetInt32(), 5994);
-
-
42 Assert::IsTrue(nupp.HasParam(
"--federich-float" ));
-
-
44 Assert::AreEqual(nupp[
"--federich-float" ].GetFloat32(), 420.69);
-
-
46 Assert::IsTrue(nupp.HasParam(
"--siegbert-string" ));
-
-
48 Assert::AreEqual(nupp[
"--siegbert-string" ].GetString(), std::string(
"banana" ));
-
-
50 Assert::IsTrue(nupp.HasParam(
"--lieber-liste" ));
-
51 Assert::IsTrue(nupp[
"--lieber-liste" ].GetDataType() ==
DATA_TYPE::LIST );
-
52 Assert::AreEqual(nupp[
"--lieber-liste" ].GetList()[0]->GetString(), std::string(
"banana" ));
-
53 Assert::AreEqual(nupp[
"--lieber-liste" ].GetList()[1]->GetString(), std::string(
"apple" ));
-
54 Assert::AreEqual(nupp[
"--lieber-liste" ].GetList()[2]->GetInt32(), 59);
-
-
-
-
-
-
60 TEST_METHOD(DefaultValues_DefaultDoesntOverride)
-
-
-
-
64 "/my/fake/path/wahoo.out" ,
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
82 nupp.RegisterConstraints({
-
-
-
-
-
-
-
89 nupp.Parse(
C_Ify (args));
-
-
-
92 Assert::IsTrue(nupp.HasParam(
"--elenor-int" ));
-
93 Assert::IsTrue(nupp[
"--elenor-int" ].GetDataType() ==
DATA_TYPE::INT );
-
94 Assert::AreEqual(nupp[
"--elenor-int" ].GetInt32(), 5994);
-
-
96 Assert::IsTrue(nupp.HasParam(
"--federich-float" ));
-
-
98 Assert::AreEqual(nupp[
"--federich-float" ].GetFloat32(), 420.69);
-
-
100 Assert::IsTrue(nupp.HasParam(
"--siegbert-string" ));
-
-
102 Assert::AreEqual(nupp[
"--siegbert-string" ].GetString(), std::string(
"banana" ));
-
-
104 Assert::IsTrue(nupp.HasParam(
"--lieber-liste" ));
-
105 Assert::IsTrue(nupp[
"--lieber-liste" ].GetDataType() ==
DATA_TYPE::LIST );
-
106 Assert::AreEqual(nupp[
"--lieber-liste" ].GetList()[0]->GetString(), std::string(
"banana" ));
-
107 Assert::AreEqual(nupp[
"--lieber-liste" ].GetList()[1]->GetString(), std::string(
"apple" ));
-
108 Assert::AreEqual(nupp[
"--lieber-liste" ].GetList()[2]->GetInt32(), 59);
-
-
-
-
-
-
114 TEST_METHOD(ForceTypes)
-
-
-
-
118 "/my/fake/path/wahoo.out" ,
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
138 nupp.RegisterConstraints({
-
-
-
-
-
-
-
-
-
147 nupp.Parse(
C_Ify (args));
-
-
-
150 Assert::IsTrue(nupp.HasParam(
"--num-apples" ));
-
151 Assert::IsTrue(nupp[
"--num-apples" ].GetDataType() ==
DATA_TYPE::INT );
-
152 Assert::AreEqual(nupp[
"--num-apples" ].GetInt32(), 39);
-
-
154 Assert::IsTrue(nupp.HasParam(
"--table-height" ));
-
-
156 Assert::AreEqual(nupp[
"--table-height" ].GetFloat32(), 400.0);
-
-
158 Assert::IsTrue(nupp.HasParam(
"--license-plate" ));
-
-
160 Assert::AreEqual(nupp[
"--license-plate" ].GetString(), std::string(
"193273" ));
-
-
162 Assert::IsTrue(nupp.HasParam(
"--fav-fruits" ));
-
-
164 Assert::AreEqual(nupp[
"--fav-fruits" ].GetList()[0]->GetString(), std::string(
"apple" ));
-
-
166 Assert::IsTrue(nupp.HasParam(
"--indices" ));
-
-
168 Assert::AreEqual(nupp[
"--indices" ].GetList()[0]->GetInt32(), 9);
-
-
170 Assert::IsTrue(nupp.HasParam(
"--force" ));
-
-
-
-
-
-
-
-
178 TEST_METHOD(Exception_MissingImportant_Parameter_WithoutDefault)
-
-
-
-
182 "/my/fake/path/wahoo.out" ,
-
-
-
-
-
-
-
-
-
-
-
-
194 Assert::ExpectException<HazelnuppConstraintMissingValue>(
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
213 TEST_METHOD(Exception_TypeMismatch_Parameter_NotConvertable)
-
-
-
-
217 "/my/fake/path/wahoo.out" ,
-
-
-
-
-
-
-
-
-
-
-
-
-
-
231 Assert::ExpectException<HazelnuppConstraintTypeMissmatch>(
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
249 TEST_METHOD(Weird_Load_Conversions_ToVoid)
-
-
-
-
253 "/my/fake/path/wahoo.out" ,
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
270 nupp.RegisterConstraints({
-
-
-
-
-
-
-
-
-
-
280 nupp.Parse(
C_Ify (args));
-
-
-
-
-
-
-
-
-
-
-
-
-
293 TEST_METHOD(Weird_Load_Conversions_VoidToEmptyList)
-
-
-
-
297 "/my/fake/path/wahoo.out" ,
-
-
-
-
-
-
-
-
305 nupp.RegisterConstraints({
-
-
-
-
-
-
311 nupp.Parse(
C_Ify (args));
-
-
-
-
315 Assert::AreEqual(std::size_t(0), nupp[
"--empty-list" ].GetList().size());
-
-
-
-
-
-
-
-void RegisterConstraints(const std::vector< ParamConstraint > &constraints)
Will register parameter constraints.
-
-
-
-static ParamConstraint TypeSafety(const std::string &key, DATA_TYPE wantedType, bool constrainType=true)
Constructs a type-safety constraint.
-
-
-static ParamConstraint Require(const std::string &key, const std::vector< std::string > &defaultValue={}, bool required=true)
Constructs a require constraint.
-
-void SetCrashOnFail(bool crashOnFail)
Sets whether to crash the application, and print to stderr, when an exception is raised whilst parsin...
-std::vector< const char * > ArgList
-
-The main class to interface with.
-
-void Parse(const int argc, const char *const *argv)
Will parse command line arguments.
-
-
-
-
diff --git a/docs/Conversion_8cpp.html b/docs/Conversion_8cpp.html
deleted file mode 100644
index a556531..0000000
--- a/docs/Conversion_8cpp.html
+++ /dev/null
@@ -1,130 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Test_Hazelnupp/Conversion.cpp File Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#include "CppUnitTest.h"
-
#include "helper.h "
-
#include "../Hazelnupp/Hazelnupp.h "
-
#include "../Hazelnupp/HazelnuppException.h "
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Go to the source code of this file.
-
-
-
-
-
-
diff --git a/docs/Conversion_8cpp__incl.map b/docs/Conversion_8cpp__incl.map
deleted file mode 100644
index 09e7105..0000000
--- a/docs/Conversion_8cpp__incl.map
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/Conversion_8cpp__incl.md5 b/docs/Conversion_8cpp__incl.md5
deleted file mode 100644
index cfeb8b4..0000000
--- a/docs/Conversion_8cpp__incl.md5
+++ /dev/null
@@ -1 +0,0 @@
-d5db07f8e0783c171b7745265e2ec834
\ No newline at end of file
diff --git a/docs/Conversion_8cpp__incl.png b/docs/Conversion_8cpp__incl.png
deleted file mode 100644
index 347956d..0000000
Binary files a/docs/Conversion_8cpp__incl.png and /dev/null differ
diff --git a/docs/Conversion_8cpp_source.html b/docs/Conversion_8cpp_source.html
deleted file mode 100644
index 34a8126..0000000
--- a/docs/Conversion_8cpp_source.html
+++ /dev/null
@@ -1,353 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Test_Hazelnupp/Conversion.cpp Source File
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Go to the documentation of this file. 1 #include "CppUnitTest.h"
-
-
3 #include "../Hazelnupp/Hazelnupp.h"
-
4 #include "../Hazelnupp/HazelnuppException.h"
-
-
6 using namespace Microsoft::VisualStudio::CppUnitTestFramework;
-
-
-
-
-
-
-
-
-
15 TEST_METHOD(Convert_String)
-
-
-
-
19 "/my/fake/path/wahoo.out" ,
-
-
-
-
-
-
-
26 nupp.SetCrashOnFail(
false );
-
-
-
-
-
31 Assert::ExpectException<HazelnuppValueNotConvertibleException>(
-
-
-
34 (*ptnupp)[
"--pud" ].GetInt64();
-
-
-
-
38 Assert::ExpectException<HazelnuppValueNotConvertibleException>(
-
-
-
41 (*ptnupp)[
"--pud" ].GetInt32();
-
-
-
-
45 Assert::ExpectException<HazelnuppValueNotConvertibleException>(
-
-
-
48 (*ptnupp)[
"--pud" ].GetFloat64();
-
-
-
-
52 Assert::ExpectException<HazelnuppValueNotConvertibleException>(
-
-
-
55 (*ptnupp)[
"--pud" ].GetFloat32();
-
-
-
-
59 Assert::ExpectException<HazelnuppValueNotConvertibleException>(
-
-
-
62 (*ptnupp)[
"--pud" ].GetList();
-
-
-
-
-
-
-
-
-
71 TEST_METHOD(Convert_Void)
-
-
-
-
75 "/my/fake/path/wahoo.out" ,
-
-
-
-
-
-
81 nupp.SetCrashOnFail(
false );
-
-
-
-
-
86 Assert::ExpectException<HazelnuppValueNotConvertibleException>(
-
-
-
89 (*ptnupp)[
"--pud" ].GetInt64();
-
-
-
-
93 Assert::ExpectException<HazelnuppValueNotConvertibleException>(
-
-
-
96 (*ptnupp)[
"--pud" ].GetInt32();
-
-
-
-
100 Assert::ExpectException<HazelnuppValueNotConvertibleException>(
-
-
-
103 (*ptnupp)[
"--pud" ].GetFloat64();
-
-
-
-
107 Assert::ExpectException<HazelnuppValueNotConvertibleException>(
-
-
-
110 (*ptnupp)[
"--pud" ].GetFloat32();
-
-
-
-
114 Assert::ExpectException<HazelnuppValueNotConvertibleException>(
-
-
-
117 (*ptnupp)[
"--pud" ].GetString();
-
-
-
-
121 Assert::ExpectException<HazelnuppValueNotConvertibleException>(
-
-
-
124 (*ptnupp)[
"--pud" ].GetList();
-
-
-
-
-
-
-
-
-
133 TEST_METHOD(Convert_Int)
-
-
-
-
137 "/my/fake/path/wahoo.out" ,
-
-
-
-
-
-
-
144 nupp.SetCrashOnFail(
false );
-
-
-
-
-
149 Assert::AreEqual(39ll, nupp[
"--pud" ].GetInt64(), L
"Int64" );
-
150 Assert::AreEqual(39, nupp[
"--pud" ].GetInt32(), L
"Int32" );
-
151 Assert::IsTrue(39.0l == nupp[
"--pud" ].GetFloat64(), L
"Float64" );
-
152 Assert::AreEqual(39.0, nupp[
"--pud" ].GetFloat32(), L
"Float32" );
-
153 Assert::AreEqual(std::string(
"39" ), nupp[
"--pud" ].GetString(), L
"String" );
-
-
155 Assert::ExpectException<HazelnuppValueNotConvertibleException>(
-
-
-
158 (*ptnupp)[
"--pud" ].GetList();
-
-
-
-
-
-
-
-
-
167 TEST_METHOD(Convert_Float)
-
-
-
-
171 "/my/fake/path/wahoo.out" ,
-
-
-
-
-
-
-
178 nupp.SetCrashOnFail(
false );
-
-
-
-
-
183 Assert::AreEqual(39ll, nupp[
"--pud" ].GetInt64(), L
"Int64" );
-
184 Assert::AreEqual(39, nupp[
"--pud" ].GetInt32(), L
"Int32" );
-
185 Assert::IsTrue(39.5l == nupp[
"--pud" ].GetFloat64(), L
"Float64" );
-
186 Assert::AreEqual(39.5, nupp[
"--pud" ].GetFloat32(), L
"Float32" );
-
187 Assert::AreEqual(std::string(
"39.5" ), nupp[
"--pud" ].GetString(), L
"String" );
-
-
189 Assert::ExpectException<HazelnuppValueNotConvertibleException>(
-
-
-
192 (*ptnupp)[
"--pud" ].GetList();
-
-
-
-
-
-
-
-
-
201 TEST_METHOD(Convert_List)
-
-
-
-
205 "/my/fake/path/wahoo.out" ,
-
-
-
-
-
-
-
-
-
-
215 nupp.SetCrashOnFail(
false );
-
-
-
-
-
220 Assert::ExpectException<HazelnuppValueNotConvertibleException>(
-
-
-
223 (*ptnupp)[
"--pud" ].GetInt64();
-
-
-
-
227 Assert::ExpectException<HazelnuppValueNotConvertibleException>(
-
-
-
230 (*ptnupp)[
"--pud" ].GetInt32();
-
-
-
-
234 Assert::ExpectException<HazelnuppValueNotConvertibleException>(
-
-
-
237 (*ptnupp)[
"--pud" ].GetFloat64();
-
-
-
-
241 Assert::ExpectException<HazelnuppValueNotConvertibleException>(
-
-
-
244 (*ptnupp)[
"--pud" ].GetFloat32();
-
-
-
-
248 Assert::ExpectException<HazelnuppValueNotConvertibleException>(
-
-
-
251 (*ptnupp)[
"--pud" ].GetString();
-
-
-
-
-
-
-
-
-
-
-
-std::vector< const char * > ArgList
-The main class to interface with.
-
-
-
-
-
diff --git a/docs/DataType_8h.html b/docs/DataType_8h.html
deleted file mode 100644
index 991c909..0000000
--- a/docs/DataType_8h.html
+++ /dev/null
@@ -1,156 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/DataType.h File Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#include <string>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Go to the source code of this file.
-
-
-
-
-
-
diff --git a/docs/DataType_8h__dep__incl.map b/docs/DataType_8h__dep__incl.map
deleted file mode 100644
index 9420f2f..0000000
--- a/docs/DataType_8h__dep__incl.map
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/DataType_8h__dep__incl.md5 b/docs/DataType_8h__dep__incl.md5
deleted file mode 100644
index f910235..0000000
--- a/docs/DataType_8h__dep__incl.md5
+++ /dev/null
@@ -1 +0,0 @@
-ade4d06f1bc62f0f5e08b5d2c18bb715
\ No newline at end of file
diff --git a/docs/DataType_8h__dep__incl.png b/docs/DataType_8h__dep__incl.png
deleted file mode 100644
index 4665005..0000000
Binary files a/docs/DataType_8h__dep__incl.png and /dev/null differ
diff --git a/docs/DataType_8h__incl.map b/docs/DataType_8h__incl.map
deleted file mode 100644
index acf7e2c..0000000
--- a/docs/DataType_8h__incl.map
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
diff --git a/docs/DataType_8h__incl.md5 b/docs/DataType_8h__incl.md5
deleted file mode 100644
index 81f3b38..0000000
--- a/docs/DataType_8h__incl.md5
+++ /dev/null
@@ -1 +0,0 @@
-eab021d5766fc460a8e029af4cccd74b
\ No newline at end of file
diff --git a/docs/DataType_8h__incl.png b/docs/DataType_8h__incl.png
deleted file mode 100644
index 0587040..0000000
Binary files a/docs/DataType_8h__incl.png and /dev/null differ
diff --git a/docs/DataType_8h_source.html b/docs/DataType_8h_source.html
deleted file mode 100644
index 6f4fab9..0000000
--- a/docs/DataType_8h_source.html
+++ /dev/null
@@ -1,136 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/DataType.h Source File
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Go to the documentation of this file.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-DATA_TYPE
The different data types a paramater can be.
-
-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
deleted file mode 100644
index 033b07c..0000000
--- a/docs/Debug_2Hazelnupp_8vcxproj_8FileListAbsolute_8txt.html
+++ /dev/null
@@ -1,85 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/Debug/Hazelnupp.vcxproj.FileListAbsolute.txt File Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/Debug_2Test__Hazelnupp_8vcxproj_8FileListAbsolute_8txt.html b/docs/Debug_2Test__Hazelnupp_8vcxproj_8FileListAbsolute_8txt.html
deleted file mode 100644
index dc5d6cc..0000000
--- a/docs/Debug_2Test__Hazelnupp_8vcxproj_8FileListAbsolute_8txt.html
+++ /dev/null
@@ -1,85 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Test_Hazelnupp/Debug/Test_Hazelnupp.vcxproj.FileListAbsolute.txt File Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/FloatValue_8cpp.html b/docs/FloatValue_8cpp.html
deleted file mode 100644
index de2db87..0000000
--- a/docs/FloatValue_8cpp.html
+++ /dev/null
@@ -1,111 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/FloatValue.cpp File Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#include "FloatValue.h "
-
#include "HazelnuppException.h "
-
#include <sstream>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Go to the source code of this file.
-
-
-
-
-
diff --git a/docs/FloatValue_8cpp__incl.map b/docs/FloatValue_8cpp__incl.map
deleted file mode 100644
index 2e98ba0..0000000
--- a/docs/FloatValue_8cpp__incl.map
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/FloatValue_8cpp__incl.md5 b/docs/FloatValue_8cpp__incl.md5
deleted file mode 100644
index e07c855..0000000
--- a/docs/FloatValue_8cpp__incl.md5
+++ /dev/null
@@ -1 +0,0 @@
-f5a895813c4221d24468ffc9cb70662d
\ No newline at end of file
diff --git a/docs/FloatValue_8cpp__incl.png b/docs/FloatValue_8cpp__incl.png
deleted file mode 100644
index 4aa9be0..0000000
Binary files a/docs/FloatValue_8cpp__incl.png and /dev/null differ
diff --git a/docs/FloatValue_8cpp_source.html b/docs/FloatValue_8cpp_source.html
deleted file mode 100644
index 7687e17..0000000
--- a/docs/FloatValue_8cpp_source.html
+++ /dev/null
@@ -1,181 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/FloatValue.cpp Source File
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Go to the documentation of this file.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
23 ss <<
"FloatValue: " << value;
-
-
-
-
-
-
-
-
-
32 FloatValue::operator
long double()
const
-
-
-
-
-
37 FloatValue::operator double()
const
-
-
-
-
-
-
-
-
-
46 return (
long long int )value;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-long double GetFloat64() const override
Will return the data as a long double.
-
-
-std::string GetString() const override
Will return the data as a string.
-const std::vector< Value * > & GetList() const override
Throws HazelnuppValueNotConvertibleException.
-long long int GetInt64() const override
Will return the data as a long long int.
-std::string GetAsOsString() const override
Will return a string suitable for an std::ostream;.
-const long double & GetValue() const
Will return the raw value.
-Abstract class for values.
-Value * Deepcopy() const override
Will return a deeopopy of this object.
-double GetFloat32() const override
Will return the data as a double.
-
-
-DATA_TYPE
The different data types a paramater can be.
-FloatValue(const long double &value)
-Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not ...
-int GetInt32() const override
Will return the data as an int.
-
-
-
-
diff --git a/docs/FloatValue_8h.html b/docs/FloatValue_8h.html
deleted file mode 100644
index cacd969..0000000
--- a/docs/FloatValue_8h.html
+++ /dev/null
@@ -1,131 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/FloatValue.h File Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/FloatValue_8h__dep__incl.map b/docs/FloatValue_8h__dep__incl.map
deleted file mode 100644
index 7c61a1b..0000000
--- a/docs/FloatValue_8h__dep__incl.map
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
diff --git a/docs/FloatValue_8h__dep__incl.md5 b/docs/FloatValue_8h__dep__incl.md5
deleted file mode 100644
index 972d717..0000000
--- a/docs/FloatValue_8h__dep__incl.md5
+++ /dev/null
@@ -1 +0,0 @@
-9a73d58edf4444ecb436553aba643585
\ No newline at end of file
diff --git a/docs/FloatValue_8h__dep__incl.png b/docs/FloatValue_8h__dep__incl.png
deleted file mode 100644
index b002427..0000000
Binary files a/docs/FloatValue_8h__dep__incl.png and /dev/null differ
diff --git a/docs/FloatValue_8h__incl.map b/docs/FloatValue_8h__incl.map
deleted file mode 100644
index a80b6c8..0000000
--- a/docs/FloatValue_8h__incl.map
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/docs/FloatValue_8h__incl.md5 b/docs/FloatValue_8h__incl.md5
deleted file mode 100644
index 07d0c69..0000000
--- a/docs/FloatValue_8h__incl.md5
+++ /dev/null
@@ -1 +0,0 @@
-57518ea84d05060d1ecb612836c4662f
\ No newline at end of file
diff --git a/docs/FloatValue_8h__incl.png b/docs/FloatValue_8h__incl.png
deleted file mode 100644
index 3f2294d..0000000
Binary files a/docs/FloatValue_8h__incl.png and /dev/null differ
diff --git a/docs/FloatValue_8h_source.html b/docs/FloatValue_8h_source.html
deleted file mode 100644
index d1bf394..0000000
--- a/docs/FloatValue_8h_source.html
+++ /dev/null
@@ -1,150 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/FloatValue.h Source File
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Go to the documentation of this file.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
24 operator long double()
const ;
-
25 operator double()
const ;
-
-
-
28 long long int GetInt64 ()
const override ;
-
-
-
-
-
-
-
-
-
-
-
-
-
41 const std::vector<Value*>&
GetList ()
const override ;
-
-
-
-
-
-
-long double GetFloat64() const override
Will return the data as a long double.
-
-
-std::string GetString() const override
Will return the data as a string.
-const std::vector< Value * > & GetList() const override
Throws HazelnuppValueNotConvertibleException.
-long long int GetInt64() const override
Will return the data as a long long int.
-std::string GetAsOsString() const override
Will return a string suitable for an std::ostream;.
-const long double & GetValue() const
Will return the raw value.
-Specializations for floating point values (uses long double)
-Abstract class for values.
-Value * Deepcopy() const override
Will return a deeopopy of this object.
-double GetFloat32() const override
Will return the data as a double.
-FloatValue(const long double &value)
-
-int GetInt32() const override
Will return the data as an int.
-
-
-
-
diff --git a/docs/HazelnuppException_8h.html b/docs/HazelnuppException_8h.html
deleted file mode 100644
index a5d6028..0000000
--- a/docs/HazelnuppException_8h.html
+++ /dev/null
@@ -1,154 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/HazelnuppException.h File Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#include <stdexcept>
-
#include <string>
-
#include <sstream>
-
#include "DataType.h "
-
-
Go to the source code of this file.
-
-
-
-
-
-
diff --git a/docs/HazelnuppException_8h__dep__incl.map b/docs/HazelnuppException_8h__dep__incl.map
deleted file mode 100644
index 016dbab..0000000
--- a/docs/HazelnuppException_8h__dep__incl.map
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/docs/HazelnuppException_8h__dep__incl.md5 b/docs/HazelnuppException_8h__dep__incl.md5
deleted file mode 100644
index 3beba8b..0000000
--- a/docs/HazelnuppException_8h__dep__incl.md5
+++ /dev/null
@@ -1 +0,0 @@
-6e865be0592ca1da6ebc6ef8f2a3d948
\ No newline at end of file
diff --git a/docs/HazelnuppException_8h__dep__incl.png b/docs/HazelnuppException_8h__dep__incl.png
deleted file mode 100644
index 2288f1b..0000000
Binary files a/docs/HazelnuppException_8h__dep__incl.png and /dev/null differ
diff --git a/docs/HazelnuppException_8h__incl.map b/docs/HazelnuppException_8h__incl.map
deleted file mode 100644
index abb40ee..0000000
--- a/docs/HazelnuppException_8h__incl.map
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/docs/HazelnuppException_8h__incl.md5 b/docs/HazelnuppException_8h__incl.md5
deleted file mode 100644
index a3e64cd..0000000
--- a/docs/HazelnuppException_8h__incl.md5
+++ /dev/null
@@ -1 +0,0 @@
-7da910c60f774be0fed8735daa712376
\ No newline at end of file
diff --git a/docs/HazelnuppException_8h__incl.png b/docs/HazelnuppException_8h__incl.png
deleted file mode 100644
index dfcdf55..0000000
Binary files a/docs/HazelnuppException_8h__incl.png and /dev/null differ
diff --git a/docs/HazelnuppException_8h_source.html b/docs/HazelnuppException_8h_source.html
deleted file mode 100644
index 06881c8..0000000
--- a/docs/HazelnuppException_8h_source.html
+++ /dev/null
@@ -1,232 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/HazelnuppException.h Source File
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Go to the documentation of this file.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
18 const std::string&
What ()
const
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
66 ss <<
"Cannot convert parameter " << key <<
" to type " <<
DataTypeToString (requiredType)
-
-
-
-
70 if (paramDescription.length() > 0)
-
71 ss << std::endl << key <<
" => " << paramDescription;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
88 ss <<
"Missing required parameter " << key <<
"." ;
-
-
-
91 if (paramDescription.length() > 0)
-
92 ss << std::endl << key <<
" => " << paramDescription;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
108 std::stringstream ss;
-
109 ss <<
"Parameter \"" << key1 <<
"\" is NOT compatible with parameter \"" << key2 <<
"\"!" ;
-
-
-
-
-
-
-
-
-
-HazelnuppInvalidKeyException(const std::string &msg)
-HazelnuppConstraintException()
-Gets thrown when a parameter constrained to be incompatible with other parameters gets supplied along...
-Gets thrown when an non-existent key gets dereferenced.
-HazelnuppConstraintException(const std::string &msg)
-HazelnuppException(const std::string &msg)
-const std::string & What() const
Will return an error message.
-HazelnuppConstraintMissingValue()
-HazelnuppConstraintTypeMissmatch()
-Gets thrown something bad happens because of parameter constraints.
-HazelnuppConstraintIncompatibleParameters(const std::string &key1, const std::string &key2)
-Generic hazelnupp exception.
-Gets thrown when a parameter constrained to be required is not provided, and has no default value set...
-Gets thrown when a parameter is of a type that does not match the required type, and is not convertib...
-
-
-HazelnuppValueNotConvertibleException(const std::string &msg)
-HazelnuppConstraintIncompatibleParameters()
-DATA_TYPE
The different data types a paramater can be.
-HazelnuppConstraintMissingValue(const std::string &key, const std::string ¶mDescription="")
-HazelnuppConstraintTypeMissmatch(const std::string &key, const DATA_TYPE requiredType, const DATA_TYPE actualType, const std::string ¶mDescription="")
-static std::string DataTypeToString(DATA_TYPE type)
-HazelnuppConstraintTypeMissmatch(const std::string &msg)
-Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not ...
-HazelnuppValueNotConvertibleException()
-HazelnuppInvalidKeyException()
-
-
-
-
diff --git a/docs/Hazelnupp_8cpp.html b/docs/Hazelnupp_8cpp.html
deleted file mode 100644
index 6ecce2d..0000000
--- a/docs/Hazelnupp_8cpp.html
+++ /dev/null
@@ -1,132 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/Hazelnupp.cpp File Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#include "Hazelnupp.h "
-
#include "VoidValue.h "
-
#include "IntValue.h "
-
#include "FloatValue.h "
-
#include "StringValue.h "
-
#include "ListValue.h "
-
#include "HazelnuppException.h "
-
#include "Placeholders.h "
-
#include "StringTools.h "
-
#include <iostream>
-
#include <cstdlib>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Go to the source code of this file.
-
-
-
-
-
diff --git a/docs/Hazelnupp_8cpp__incl.map b/docs/Hazelnupp_8cpp__incl.map
deleted file mode 100644
index f1f6081..0000000
--- a/docs/Hazelnupp_8cpp__incl.map
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/Hazelnupp_8cpp__incl.md5 b/docs/Hazelnupp_8cpp__incl.md5
deleted file mode 100644
index 3ab96cd..0000000
--- a/docs/Hazelnupp_8cpp__incl.md5
+++ /dev/null
@@ -1 +0,0 @@
-16baf48028636080ba03165a663b1fef
\ No newline at end of file
diff --git a/docs/Hazelnupp_8cpp__incl.png b/docs/Hazelnupp_8cpp__incl.png
deleted file mode 100644
index b7094a8..0000000
Binary files a/docs/Hazelnupp_8cpp__incl.png and /dev/null differ
diff --git a/docs/Hazelnupp_8cpp_source.html b/docs/Hazelnupp_8cpp_source.html
deleted file mode 100644
index d812e48..0000000
--- a/docs/Hazelnupp_8cpp_source.html
+++ /dev/null
@@ -1,777 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/Hazelnupp.cpp Source File
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Go to the documentation of this file.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
28 for (
auto & it : parameters)
-
-
-
-
-
-
-
-
-
-
-
-
-
41 PopulateRawArgs(argc, argv);
-
-
-
44 ExpandAbbreviations();
-
-
46 executableName = std::string(rawArgs[0]);
-
-
-
49 while (i < rawArgs.size())
-
-
51 if ((rawArgs[i].length() > 2) && (rawArgs[i].substr(0, 2) ==
"--" ))
-
-
-
54 i = ParseNextParameter(i, param);
-
-
56 parameters.insert(std::pair<std::string, Parameter*>(param->
Key (), param));
-
-
-
-
-
-
-
-
-
65 if ((!catchHelp) || (!
HasParam (
"--help" )))
-
-
-
-
-
-
-
-
73 std::cerr <<
"Parameter error: " << exc.
What () << std::endl;
-
-
-
-
-
-
-
-
-
-
-
84 std::cerr <<
"Parameter error: " << exc.
What () << std::endl;
-
-
-
-
-
-
-
-
92 if ((catchHelp) && (
HasParam (
"--help" )))
-
-
-
-
-
-
-
-
-
101 std::size_t Hazelnupp::ParseNextParameter(
const std::size_t parIndex,
Parameter *& out_Par)
-
-
103 std::size_t i = parIndex;
-
104 const std::string key = rawArgs[parIndex];
-
105 std::vector<std::string> values;
-
-
-
108 for (i++; i < rawArgs.size(); i++)
-
-
110 if ((rawArgs[i].length() < 2) || (rawArgs[i].substr(0, 2) !=
"--" ))
-
111 values.emplace_back(rawArgs[i]);
-
-
-
-
-
-
-
-
-
120 Value * parsedVal = ParseValue(values, pcn);
-
121 if (parsedVal !=
nullptr )
-
-
-
-
-
-
-
-
129 throw std::runtime_error(
"Unable to parse parameter!" );
-
-
-
-
-
134 void Hazelnupp::PopulateRawArgs(
const int argc,
const char *
const * argv)
-
-
-
137 rawArgs.reserve(argc);
-
-
139 for (
int i = 0; i < argc; i++)
-
140 rawArgs.emplace_back(std::string(argv[i]));
-
-
-
-
-
145 void Hazelnupp::ExpandAbbreviations()
-
-
-
148 if (parameterAbreviations.size() == 0)
-
-
-
151 for (std::string& arg : rawArgs)
-
-
-
154 auto abbr = parameterAbreviations.find(arg);
-
155 if (abbr != parameterAbreviations.end())
-
-
-
-
-
-
-
-
-
-
-
-
167 return parameters.find(key) != parameters.end();
-
-
-
170 Value * Hazelnupp::ParseValue(
const std::vector<std::string>& values,
const ParamConstraint * constraint)
-
-
-
-
-
-
176 const bool constrainType = (constraint !=
nullptr ) && (constraint->
constrainType );
-
-
-
179 if (values.size() == 0)
-
-
-
-
-
184 if ((constrainType) &&
-
-
-
-
-
189 else if ((constrainType) &&
-
-
-
-
-
194 else if ((constrainType) &&
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
209 else if ((constrainType) &&
-
-
-
-
-
-
-
216 else if (values.size() > 1)
-
-
-
-
-
221 if ((constrainType) &&
-
-
-
-
-
-
-
-
-
-
-
-
233 for (
const std::string& val : values)
-
-
235 Value * tmp = ParseValue({ val });
-
-
-
-
-
-
-
-
243 const std::string& val = values[0];
-
-
-
-
-
-
-
-
-
252 if ((constrainType) &&
-
-
-
-
-
-
-
259 Value * tmp = ParseValue({ val });
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
280 if ((constrainType) &&
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
298 return new IntValue ((
long long int )num);
-
-
-
-
-
-
-
-
306 Value * tmp = ParseValue({ val });
-
-
-
-
-
-
-
-
-
-
-
-
318 return new IntValue ((
long long int )num);
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
336 this->catchHelp = catchHelp;
-
-
-
-
-
-
-
-
-
-
-
347 briefDescription = description;
-
-
-
-
-
-
353 return briefDescription;
-
-
-
-
-
358 parameterDescriptions[parameter] = description;
-
-
-
-
-
-
-
365 if (!HasDescription(parameter))
-
-
-
-
-
370 return parameterDescriptions.find(parameter)->second;
-
-
-
-
-
375 return parameterDescriptions.find(parameter) != parameterDescriptions.end();
-
-
-
-
-
-
381 parameterDescriptions.erase(parameter);
-
-
-
-
-
-
387 parameterDescriptions.clear();
-
-
-
-
-
-
393 std::stringstream ss;
-
-
-
396 if (briefDescription.length() > 0)
-
397 ss << briefDescription << std::endl;
-
-
-
-
-
402 std::string abbreviation;
-
403 std::string description;
-
-
405 bool required =
false ;
-
406 bool typeIsForced =
false ;
-
407 std::string defaultVal;
-
-
409 std::unordered_map<std::string, ParamDocEntry> paramInfos;
-
-
-
412 for (
const auto & it : parameterDescriptions)
-
-
-
415 if (paramInfos.find(it.first) == paramInfos.end())
-
-
417 paramInfos[it.first] = ParamDocEntry();
-
-
419 paramInfos[it.first].description = it.second;
-
-
-
-
-
424 for (
const auto & it : parameterAbreviations)
-
-
-
427 if (paramInfos.find(it.second) == paramInfos.end())
-
-
429 paramInfos[it.second] = ParamDocEntry();
-
-
431 paramInfos[it.second].abbreviation = it.first;
-
-
-
-
435 for (
const auto & it : parameterConstraints)
-
-
-
438 if (paramInfos.find(it.first) == paramInfos.end())
-
-
440 paramInfos[it.first] = ParamDocEntry();
-
-
442 ParamDocEntry& cached = paramInfos[it.first];
-
443 cached.required = it.second.required;
-
444 cached.typeIsForced = it.second.constrainType;
-
-
-
447 std::stringstream defaultValueSs;
-
448 for (
const std::string& s : it.second.defaultValue)
-
-
450 defaultValueSs <<
'\'' << s <<
'\'' ;
-
-
-
453 if ((
void *)&s != (
void *)&it.second.defaultValue.back())
-
454 defaultValueSs <<
" " ;
-
-
456 cached.defaultVal = defaultValueSs.str();
-
-
-
-
460 if (paramInfos.size() > 0)
-
-
-
463 <<
"==== AVAILABLE PARAMETERS ===="
-
464 << std::endl << std::endl;
-
-
466 std::size_t counter = 0;
-
467 for (
const auto & it : paramInfos)
-
-
469 const ParamDocEntry& pde = it.second;
-
-
-
472 ss << it.first <<
" " ;
-
-
-
475 if (pde.abbreviation.length() > 0)
-
476 ss << pde.abbreviation <<
" " ;
-
-
-
479 if (pde.typeIsForced)
-
480 ss << pde.type <<
" " ;
-
-
-
483 if (pde.defaultVal.length() > 0)
-
484 ss <<
"default=[" << pde.defaultVal <<
"] " ;
-
-
-
487 if ((pde.required) && (pde.defaultVal.length() == 0))
-
488 ss <<
"[[REQUIRED]] " ;
-
-
-
491 if (pde.description.length() > 0)
-
492 ss << pde.description;
-
-
-
495 if (counter < paramInfos.size()-1)
-
496 ss << std::endl << std::endl;
-
-
-
-
-
-
-
-
-
505 void Hazelnupp::ApplyConstraints()
-
-
-
508 for (
const auto & pc : parameterConstraints)
-
-
-
-
-
513 if (pc.second.defaultValue.size() > 0)
-
-
-
-
517 Value * tmp = ParseValue(pc.second.defaultValue, &pc.second);
-
518 parameters.insert(std::pair<std::string, Parameter*>(
-
-
-
-
-
-
-
-
-
-
-
-
530 if (pc.second.required)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
544 return parameterConstraints.find(parameter)->second;
-
-
-
-
-
549 parameterConstraints.erase(parameter);
-
-
-
-
-
-
555 return executableName;
-
-
-
-
-
-
-
-
-
564 return *parameters.find(key)->second->GetValue();
-
-
-
-
-
569 parameterAbreviations.insert(std::pair<std::string, std::string>(abbrev, target));
-
-
-
-
-
-
-
-
-
578 return parameterAbreviations.find(abbrev)->second;
-
-
-
-
-
583 return parameterAbreviations.find(abbrev) != parameterAbreviations.end();
-
-
-
-
-
588 parameterAbreviations.erase(abbrevation);
-
-
-
-
-
-
594 parameterAbreviations.clear();
-
-
-
-
-
-
-
601 (parameterConstraints[key] = constraint).key = key;
-
-
-
-
-
-
607 parameterConstraints.clear();
-
-
-
-
-
-
613 this->crashOnFail = crashOnFail;
-
-
-
-
617 const ParamConstraint * Hazelnupp::GetConstraintForKey(
const std::string& key)
const
-
-
619 const auto constraint = parameterConstraints.find(key);
-
-
621 if (constraint == parameterConstraints.end())
-
-
-
624 return &constraint->second;
-
-
-
-
-Specializations for integer values (uses long long int)
-
-
-const std::string & GetBriefDescription()
Returns the brief description of the application to be automatically added to the documentation.
-void ClearConstraints()
Will delete all constraints.
-Gets thrown when an non-existent key gets dereferenced.
-const std::string & GetExecutableName() const
Will return argv[0], the name of the executable.
-std::string GenerateDocumentation() const
Will generate a text-based documentation suited to show the user, for example on –help.
-ParamConstraint GetConstraint(const std::string ¶meter) const
Will return the constraint information for a specific parameter.
-
-const Value & operator[](const std::string &key) const
Will return the value given a key.
-
-const std::string & What() const
Will return an error message.
-
-
-
-void ClearAbbreviations()
Will delete all abbreviations.
-
-Specializations for floating point values (uses long double)
-DATA_TYPE requiredType
Constrain the parameter to this value. Requires constrainType to be set to true.
-void SetBriefDescription(const std::string &description)
Sets a brief description of the application to be automatically added to the documentation.
-Abstract class for values.
-bool GetCrashOnFail() const
Gets whether the application crashes on an exception whilst parsing, and prints to stderr.
-bool HasDescription(const std::string ¶meter) const
Returns whether or not a given parameter has a registered description.
-void SetCatchHelp(bool catchHelp)
Sets whether the Hazelnupp should automatically catch the –help parameter, print the parameter docume...
-bool GetCatchHelp() const
Retruns whether the Hazelnupp should automatically catch the –help parameter, print the parameter doc...
-
-
-
-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...
-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.
-
-bool constrainType
Should this parameter be forced to be of a certain type? Remember to set constrainTo to the wanted ...
-void ClearDescription(const std::string ¶meter)
Will delete the description of a parameter if it exists.
-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 RegisterAbbreviation(const std::string &abbrev, const std::string &target)
Will register an abbreviation (like -f for –force)
-Gets thrown when a parameter is of a type that does not match the required type, and is not convertib...
-
-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.
-void ClearDescriptions()
Will delete all parameter descriptions.
-
-void AddValue(const Value *value)
Will add this value to the list.
-void RegisterConstraint(const std::string &key, const ParamConstraint &constraint)
Will register a constraint for a parameter.
-Specializations for void values.
-const std::string & GetDescription(const std::string ¶meter) const
Will return a short description for a parameter, if it exists.
-
-
-void ClearConstraint(const std::string ¶meter)
Will the constraint of a specific parameter.
-
-DATA_TYPE
The different data types a paramater can be.
-bool HasAbbreviation(const std::string &abbrev) const
Will check wether or not an abbreviation is registered.
-
-void SetCrashOnFail(bool crashOnFail)
Sets whether to crash the application, and print to stderr, when an exception is raised whilst parsin...
-void RegisterDescription(const std::string ¶meter, const std::string &description)
Willl register a short description for a parameter.
-static std::string DataTypeToString(DATA_TYPE type)
-void ClearAbbreviation(const std::string &abbrevation)
Will delete the abbreviation for a given parameter.
-Specializations for list values (uses std::vector<Value*>)
-Specializations for string values (uses std::string)
-
-
-
-
-
diff --git a/docs/Hazelnupp_8h.html b/docs/Hazelnupp_8h.html
deleted file mode 100644
index 1009273..0000000
--- a/docs/Hazelnupp_8h.html
+++ /dev/null
@@ -1,135 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/Hazelnupp.h File Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#include "Parameter.h "
-
#include "ParamConstraint.h "
-
#include <unordered_map>
-
#include <vector>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Go to the source code of this file.
-
-
-
-
-
-
diff --git a/docs/Hazelnupp_8h__dep__incl.map b/docs/Hazelnupp_8h__dep__incl.map
deleted file mode 100644
index d3276c4..0000000
--- a/docs/Hazelnupp_8h__dep__incl.map
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
diff --git a/docs/Hazelnupp_8h__dep__incl.md5 b/docs/Hazelnupp_8h__dep__incl.md5
deleted file mode 100644
index 7c4195d..0000000
--- a/docs/Hazelnupp_8h__dep__incl.md5
+++ /dev/null
@@ -1 +0,0 @@
-9ea9d229b244e88be56b9485081ca20a
\ No newline at end of file
diff --git a/docs/Hazelnupp_8h__dep__incl.png b/docs/Hazelnupp_8h__dep__incl.png
deleted file mode 100644
index f371103..0000000
Binary files a/docs/Hazelnupp_8h__dep__incl.png and /dev/null differ
diff --git a/docs/Hazelnupp_8h__incl.map b/docs/Hazelnupp_8h__incl.map
deleted file mode 100644
index 3538a54..0000000
--- a/docs/Hazelnupp_8h__incl.map
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/Hazelnupp_8h__incl.md5 b/docs/Hazelnupp_8h__incl.md5
deleted file mode 100644
index 49dadf1..0000000
--- a/docs/Hazelnupp_8h__incl.md5
+++ /dev/null
@@ -1 +0,0 @@
-845ac1274f12c8f52f49584ce1233b40
\ No newline at end of file
diff --git a/docs/Hazelnupp_8h__incl.png b/docs/Hazelnupp_8h__incl.png
deleted file mode 100644
index ab8c762..0000000
Binary files a/docs/Hazelnupp_8h__incl.png and /dev/null differ
diff --git a/docs/Hazelnupp_8h_source.html b/docs/Hazelnupp_8h_source.html
deleted file mode 100644
index 79ffef0..0000000
--- a/docs/Hazelnupp_8h_source.html
+++ /dev/null
@@ -1,269 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/Hazelnupp.h Source File
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Go to the documentation of this file.
-
-
-
4 #include <unordered_map>
-
-
-
-
-
-
-
-
-
-
-
15 Hazelnupp (
const int argc,
const char *
const * argv);
-
-
-
-
-
20 void Parse (
const int argc,
const char *
const * argv);
-
-
-
-
-
-
-
-
-
29 bool HasParam (
const std::string& key)
const ;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
88 const std::string&
GetDescription (
const std::string& parameter)
const ;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
104 void PopulateRawArgs(
const int argc,
const char *
const * argv);
-
-
-
107 void ExpandAbbreviations();
-
-
-
110 std::size_t ParseNextParameter(
const std::size_t parIndex,
Parameter *& out_Par);
-
-
-
113 Value * ParseValue(
const std::vector<std::string>& values,
const ParamConstraint * constraint =
nullptr );
-
-
-
116 void ApplyConstraints();
-
-
-
119 const ParamConstraint * GetConstraintForKey(
const std::string& key)
const ;
-
-
121 std::string executableName;
-
122 std::unordered_map<std::string, Parameter*> parameters;
-
-
-
125 std::unordered_map<std::string, std::string> parameterAbreviations;
-
-
-
128 std::unordered_map<std::string, ParamConstraint> parameterConstraints;
-
-
-
131 std::vector<std::string> rawArgs;
-
-
-
-
135 std::unordered_map<std::string, std::string> parameterDescriptions;
-
-
-
138 std::string briefDescription;
-
-
-
141 bool catchHelp =
true ;
-
-
-
144 bool crashOnFail =
true ;
-
-
-
-
-const std::string & GetBriefDescription()
Returns the brief description of the application to be automatically added to the documentation.
-void ClearConstraints()
Will delete all constraints.
-const std::string & GetExecutableName() const
Will return argv[0], the name of the executable.
-std::string GenerateDocumentation() const
Will generate a text-based documentation suited to show the user, for example on –help.
-ParamConstraint GetConstraint(const std::string ¶meter) const
Will return the constraint information for a specific parameter.
-
-const Value & operator[](const std::string &key) const
Will return the value given a key.
-The main class to interface with.
-
-void ClearAbbreviations()
Will delete all abbreviations.
-void SetBriefDescription(const std::string &description)
Sets a brief description of the application to be automatically added to the documentation.
-Abstract class for values.
-
-bool GetCrashOnFail() const
Gets whether the application crashes on an exception whilst parsing, and prints to stderr.
-bool HasDescription(const std::string ¶meter) const
Returns whether or not a given parameter has a registered description.
-void SetCatchHelp(bool catchHelp)
Sets whether the Hazelnupp should automatically catch the –help parameter, print the parameter docume...
-bool GetCatchHelp() const
Retruns whether the Hazelnupp should automatically catch the –help parameter, print the parameter doc...
-
-
-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.
-void ClearDescription(const std::string ¶meter)
Will delete the description of a parameter if it exists.
-void RegisterAbbreviation(const std::string &abbrev, const std::string &target)
Will register an abbreviation (like -f for –force)
-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.
-void ClearDescriptions()
Will delete all parameter descriptions.
-
-void RegisterConstraint(const std::string &key, const ParamConstraint &constraint)
Will register a constraint for a parameter.
-const std::string & GetDescription(const std::string ¶meter) const
Will return a short description for a parameter, if it exists.
-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 SetCrashOnFail(bool crashOnFail)
Sets whether to crash the application, and print to stderr, when an exception is raised whilst parsin...
-void RegisterDescription(const std::string ¶meter, const std::string &description)
Willl register a short description for a parameter.
-void ClearAbbreviation(const std::string &abbrevation)
Will delete the abbreviation for a given parameter.
-
-
-
-
diff --git a/docs/IntValue_8cpp.html b/docs/IntValue_8cpp.html
deleted file mode 100644
index db59b06..0000000
--- a/docs/IntValue_8cpp.html
+++ /dev/null
@@ -1,111 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/IntValue.cpp File Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#include "IntValue.h "
-
#include "HazelnuppException.h "
-
#include <sstream>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Go to the source code of this file.
-
-
-
-
-
diff --git a/docs/IntValue_8cpp__incl.map b/docs/IntValue_8cpp__incl.map
deleted file mode 100644
index c0e2a4e..0000000
--- a/docs/IntValue_8cpp__incl.map
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/IntValue_8cpp__incl.md5 b/docs/IntValue_8cpp__incl.md5
deleted file mode 100644
index 22b5944..0000000
--- a/docs/IntValue_8cpp__incl.md5
+++ /dev/null
@@ -1 +0,0 @@
-a735acab82e17102515add4f64c52e50
\ No newline at end of file
diff --git a/docs/IntValue_8cpp__incl.png b/docs/IntValue_8cpp__incl.png
deleted file mode 100644
index 0f1f9f3..0000000
Binary files a/docs/IntValue_8cpp__incl.png and /dev/null differ
diff --git a/docs/IntValue_8cpp_source.html b/docs/IntValue_8cpp_source.html
deleted file mode 100644
index d5b128f..0000000
--- a/docs/IntValue_8cpp_source.html
+++ /dev/null
@@ -1,181 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/IntValue.cpp Source File
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Go to the documentation of this file.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
23 ss <<
"IntValue: " << value;
-
-
-
-
-
-
-
-
-
32 IntValue::operator
long long int()
const
-
-
-
-
-
37 IntValue::operator int()
const
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
56 return (
long double )value;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-std::string GetAsOsString() const override
Will return a string suitable for an std::ostream;.
-
-double GetFloat32() const override
Will return the data as a double.
-
-IntValue(const long long int &value)
-Abstract class for values.
-int GetInt32() const override
Will return the data as an int.
-const std::vector< Value * > & GetList() const override
Throws HazelnuppValueNotConvertibleException.
-long double GetFloat64() const override
Will return the data as a long double.
-std::string GetString() const override
Will return the data as a string.
-long long int GetInt64() const override
Will return the data as a long long int.
-const long long int & GetValue() const
Will return the raw value.
-Value * Deepcopy() const override
Will return a deeopopy of this object.
-
-DATA_TYPE
The different data types a paramater can be.
-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
deleted file mode 100644
index e6f877d..0000000
--- a/docs/IntValue_8h.html
+++ /dev/null
@@ -1,130 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/IntValue.h File Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/IntValue_8h__dep__incl.map b/docs/IntValue_8h__dep__incl.map
deleted file mode 100644
index 4897b85..0000000
--- a/docs/IntValue_8h__dep__incl.map
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
diff --git a/docs/IntValue_8h__dep__incl.md5 b/docs/IntValue_8h__dep__incl.md5
deleted file mode 100644
index c741961..0000000
--- a/docs/IntValue_8h__dep__incl.md5
+++ /dev/null
@@ -1 +0,0 @@
-210bd13ae99f4f3c78d0bcbf903f3b49
\ No newline at end of file
diff --git a/docs/IntValue_8h__dep__incl.png b/docs/IntValue_8h__dep__incl.png
deleted file mode 100644
index 1aced50..0000000
Binary files a/docs/IntValue_8h__dep__incl.png and /dev/null differ
diff --git a/docs/IntValue_8h__incl.map b/docs/IntValue_8h__incl.map
deleted file mode 100644
index b246bc4..0000000
--- a/docs/IntValue_8h__incl.map
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/docs/IntValue_8h__incl.md5 b/docs/IntValue_8h__incl.md5
deleted file mode 100644
index 0173fa1..0000000
--- a/docs/IntValue_8h__incl.md5
+++ /dev/null
@@ -1 +0,0 @@
-01877cbc4116c27e4712daf7947a4545
\ No newline at end of file
diff --git a/docs/IntValue_8h__incl.png b/docs/IntValue_8h__incl.png
deleted file mode 100644
index c562779..0000000
Binary files a/docs/IntValue_8h__incl.png and /dev/null differ
diff --git a/docs/IntValue_8h_source.html b/docs/IntValue_8h_source.html
deleted file mode 100644
index fc1e7e9..0000000
--- a/docs/IntValue_8h_source.html
+++ /dev/null
@@ -1,150 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/IntValue.h Source File
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Go to the documentation of this file.
-
-
-
-
-
-
-
-
-
-
11 IntValue (
const long long int & value);
-
-
-
-
-
-
-
-
-
-
21 const long long int &
GetValue ()
const ;
-
-
23 operator long long int()
const ;
-
-
-
-
-
28 long long int GetInt64 ()
const override ;
-
-
-
-
-
-
-
-
-
-
-
-
-
41 const std::vector<Value*>&
GetList ()
const override ;
-
-
-
-
-
-
-std::string GetAsOsString() const override
Will return a string suitable for an std::ostream;.
-
-Specializations for integer values (uses long long int)
-double GetFloat32() const override
Will return the data as a double.
-
-IntValue(const long long int &value)
-Abstract class for values.
-int GetInt32() const override
Will return the data as an int.
-const std::vector< Value * > & GetList() const override
Throws HazelnuppValueNotConvertibleException.
-long double GetFloat64() const override
Will return the data as a long double.
-std::string GetString() const override
Will return the data as a string.
-long long int GetInt64() const override
Will return the data as a long long int.
-const long long int & GetValue() const
Will return the raw value.
-Value * Deepcopy() const override
Will return a deeopopy of this object.
-
-
-
-
-
diff --git a/docs/ListValue_8cpp.html b/docs/ListValue_8cpp.html
deleted file mode 100644
index be6bb38..0000000
--- a/docs/ListValue_8cpp.html
+++ /dev/null
@@ -1,111 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/ListValue.cpp File Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#include "ListValue.h "
-
#include "HazelnuppException.h "
-
#include <sstream>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Go to the source code of this file.
-
-
-
-
-
diff --git a/docs/ListValue_8cpp__incl.map b/docs/ListValue_8cpp__incl.map
deleted file mode 100644
index b61c796..0000000
--- a/docs/ListValue_8cpp__incl.map
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/ListValue_8cpp__incl.md5 b/docs/ListValue_8cpp__incl.md5
deleted file mode 100644
index fdbd642..0000000
--- a/docs/ListValue_8cpp__incl.md5
+++ /dev/null
@@ -1 +0,0 @@
-0799ff068d78d8da242bc5bfd0ee52d6
\ No newline at end of file
diff --git a/docs/ListValue_8cpp__incl.png b/docs/ListValue_8cpp__incl.png
deleted file mode 100644
index 7e1de27..0000000
Binary files a/docs/ListValue_8cpp__incl.png and /dev/null differ
diff --git a/docs/ListValue_8cpp_source.html b/docs/ListValue_8cpp_source.html
deleted file mode 100644
index 9b2feaf..0000000
--- a/docs/ListValue_8cpp_source.html
+++ /dev/null
@@ -1,207 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/ListValue.cpp Source File
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Go to the documentation of this file.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
15 for (
Value * val : value)
-
-
-
-
-
-
-
-
-
-
-
-
27 for (
const Value * val : value)
-
-
-
-
-
-
-
-
35 this->value.emplace_back(value->
Deepcopy ());
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
50 for (
const Value * val : value)
-
-
-
53 if (val != value.back())
-
-
-
-
-
-
-
-
-
62 ListValue::operator std::vector<Value*>()
const
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-std::string GetAsOsString() const override
Will return a string suitable for an std::ostream;.
-
-
-double GetFloat32() const override
Throws HazelnuppValueNotConvertibleException.
-std::string GetString() const override
Throws HazelnuppValueNotConvertibleException.
-const std::vector< Value * > & GetList() const override
Will return this values list.
-const std::vector< Value * > & GetValue() const
Will return the raw value.
-Abstract class for values.
-
-long long int GetInt64() const override
Throws HazelnuppValueNotConvertibleException.
-int GetInt32() const override
Throws HazelnuppValueNotConvertibleException.
-
-void AddValue(const Value *value)
Will add this value to the list.
-
-DATA_TYPE
The different data types a paramater can be.
-
-Value * Deepcopy() const override
Will return a deeopopy of this object.
-virtual Value * Deepcopy() const =0
Will return a deeopopy of this object.
-long double GetFloat64() const override
Throws HazelnuppValueNotConvertibleException.
-Specializations for list values (uses std::vector<Value*>)
-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
deleted file mode 100644
index 130a391..0000000
--- a/docs/ListValue_8h.html
+++ /dev/null
@@ -1,131 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/ListValue.h File Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/ListValue_8h__dep__incl.map b/docs/ListValue_8h__dep__incl.map
deleted file mode 100644
index a41c615..0000000
--- a/docs/ListValue_8h__dep__incl.map
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
diff --git a/docs/ListValue_8h__dep__incl.md5 b/docs/ListValue_8h__dep__incl.md5
deleted file mode 100644
index c4ded7a..0000000
--- a/docs/ListValue_8h__dep__incl.md5
+++ /dev/null
@@ -1 +0,0 @@
-f2fcfdd1c5f4d9d482e8985a8a7faca7
\ No newline at end of file
diff --git a/docs/ListValue_8h__dep__incl.png b/docs/ListValue_8h__dep__incl.png
deleted file mode 100644
index 9ddecd8..0000000
Binary files a/docs/ListValue_8h__dep__incl.png and /dev/null differ
diff --git a/docs/ListValue_8h__incl.map b/docs/ListValue_8h__incl.map
deleted file mode 100644
index 34f16d6..0000000
--- a/docs/ListValue_8h__incl.map
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/docs/ListValue_8h__incl.md5 b/docs/ListValue_8h__incl.md5
deleted file mode 100644
index 2334444..0000000
--- a/docs/ListValue_8h__incl.md5
+++ /dev/null
@@ -1 +0,0 @@
-1ba6aca83c254dd89645ea4110f26a39
\ No newline at end of file
diff --git a/docs/ListValue_8h__incl.png b/docs/ListValue_8h__incl.png
deleted file mode 100644
index 9a90276..0000000
Binary files a/docs/ListValue_8h__incl.png and /dev/null differ
diff --git a/docs/ListValue_8h_source.html b/docs/ListValue_8h_source.html
deleted file mode 100644
index 0fa3a52..0000000
--- a/docs/ListValue_8h_source.html
+++ /dev/null
@@ -1,153 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/ListValue.h Source File
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Go to the documentation of this file.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
25 const std::vector<Value*>&
GetValue ()
const ;
-
-
27 operator std::vector<Value*>()
const ;
-
-
-
30 long long int GetInt64 ()
const override ;
-
-
-
-
-
-
-
-
-
-
-
-
-
43 const std::vector<Value*>&
GetList ()
const override ;
-
-
-
46 std::vector<Value*> value;
-
-
-
-std::string GetAsOsString() const override
Will return a string suitable for an std::ostream;.
-
-double GetFloat32() const override
Throws HazelnuppValueNotConvertibleException.
-std::string GetString() const override
Throws HazelnuppValueNotConvertibleException.
-const std::vector< Value * > & GetList() const override
Will return this values list.
-const std::vector< Value * > & GetValue() const
Will return the raw value.
-Abstract class for values.
-long long int GetInt64() const override
Throws HazelnuppValueNotConvertibleException.
-int GetInt32() const override
Throws HazelnuppValueNotConvertibleException.
-void AddValue(const Value *value)
Will add this value to the list.
-
-
-Value * Deepcopy() const override
Will return a deeopopy of this object.
-long double GetFloat64() const override
Throws HazelnuppValueNotConvertibleException.
-Specializations for list values (uses std::vector<Value*>)
-
-
-
-
-
diff --git a/docs/ParamConstraint_8h.html b/docs/ParamConstraint_8h.html
deleted file mode 100644
index 26e1268..0000000
--- a/docs/ParamConstraint_8h.html
+++ /dev/null
@@ -1,129 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/ParamConstraint.h File Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#include "DataType.h "
-
#include <string>
-
#include <vector>
-
-
Go to the source code of this file.
-
-
-
-
-
-
diff --git a/docs/ParamConstraint_8h__dep__incl.map b/docs/ParamConstraint_8h__dep__incl.map
deleted file mode 100644
index 3c271fe..0000000
--- a/docs/ParamConstraint_8h__dep__incl.map
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
diff --git a/docs/ParamConstraint_8h__dep__incl.md5 b/docs/ParamConstraint_8h__dep__incl.md5
deleted file mode 100644
index 4a1582d..0000000
--- a/docs/ParamConstraint_8h__dep__incl.md5
+++ /dev/null
@@ -1 +0,0 @@
-f90bab5c6fc162d0b90bdf119d4cc6e1
\ No newline at end of file
diff --git a/docs/ParamConstraint_8h__dep__incl.png b/docs/ParamConstraint_8h__dep__incl.png
deleted file mode 100644
index 2523755..0000000
Binary files a/docs/ParamConstraint_8h__dep__incl.png and /dev/null differ
diff --git a/docs/ParamConstraint_8h__incl.map b/docs/ParamConstraint_8h__incl.map
deleted file mode 100644
index 99d5b17..0000000
--- a/docs/ParamConstraint_8h__incl.map
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
diff --git a/docs/ParamConstraint_8h__incl.md5 b/docs/ParamConstraint_8h__incl.md5
deleted file mode 100644
index e70d106..0000000
--- a/docs/ParamConstraint_8h__incl.md5
+++ /dev/null
@@ -1 +0,0 @@
-9d9204c024bc0136e4ef70b1bdecc7c4
\ No newline at end of file
diff --git a/docs/ParamConstraint_8h__incl.png b/docs/ParamConstraint_8h__incl.png
deleted file mode 100644
index 9bbfeb8..0000000
Binary files a/docs/ParamConstraint_8h__incl.png and /dev/null differ
diff --git a/docs/ParamConstraint_8h_source.html b/docs/ParamConstraint_8h_source.html
deleted file mode 100644
index 6a6fb95..0000000
--- a/docs/ParamConstraint_8h_source.html
+++ /dev/null
@@ -1,247 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/ParamConstraint.h Source File
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Go to the documentation of this file.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-static ParamConstraint Require(const std::initializer_list< std::string > &defaultValue={}, bool required=true)
Constructs a require constraint.
-
-The main class to interface with.
-static ParamConstraint Incompatibility(const std::string &incompatibleParameters)
Constructs an incompatibility constraint.
-static ParamConstraint Incompatibility(const std::initializer_list< std::string > &incompatibleParameters)
Constructs an incompatibility constraint.
-ParamConstraint(bool constrainType, DATA_TYPE requiredType, const std::initializer_list< std::string > &defaultValue, bool required, const std::initializer_list< std::string > &incompatibleParameters)
Whole constructor.
-
-DATA_TYPE requiredType
Constrain the parameter to this value. Requires constrainType to be set to true.
-ParamConstraint AddIncompatibilities(const std::string &incompatibleParameters)
Daisychain-method.
-
-bool constrainType
Should this parameter be forced to be of a certain type? Remember to set constrainTo to the wanted ...
-ParamConstraint AddRequire(const std::initializer_list< std::string > &defaultValue={}, bool required=true)
Daisychain-method.
-ParamConstraint()=default
Empty constructor.
-std::vector< std::string > incompatibleParameters
Parameters that are incompatible with this parameter.
-ParamConstraint AddIncompatibilities(const std::initializer_list< std::string > &incompatibleParameters)
Daisychain-method.
-bool required
If set to true, and no default value set, an error will be produced if this parameter is not supplied...
-static ParamConstraint TypeSafety(DATA_TYPE requiredType, bool constrainType=true)
Constructs a type-safety constraint.
-DATA_TYPE
The different data types a paramater can be.
-std::vector< std::string > defaultValue
The default value for this parameter.
-ParamConstraint AddTypeSafety(DATA_TYPE requiredType, bool constrainType=true)
Daisychain-method.
-
-
-
-
diff --git a/docs/Parameter_8cpp.html b/docs/Parameter_8cpp.html
deleted file mode 100644
index 56b2215..0000000
--- a/docs/Parameter_8cpp.html
+++ /dev/null
@@ -1,106 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/Parameter.cpp File Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/Parameter_8cpp__incl.map b/docs/Parameter_8cpp__incl.map
deleted file mode 100644
index 1e97d23..0000000
--- a/docs/Parameter_8cpp__incl.map
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/docs/Parameter_8cpp__incl.md5 b/docs/Parameter_8cpp__incl.md5
deleted file mode 100644
index 2cbf985..0000000
--- a/docs/Parameter_8cpp__incl.md5
+++ /dev/null
@@ -1 +0,0 @@
-eef9313956abb82e5769561d6009dfd6
\ No newline at end of file
diff --git a/docs/Parameter_8cpp__incl.png b/docs/Parameter_8cpp__incl.png
deleted file mode 100644
index 72f481d..0000000
Binary files a/docs/Parameter_8cpp__incl.png and /dev/null differ
diff --git a/docs/Parameter_8cpp_source.html b/docs/Parameter_8cpp_source.html
deleted file mode 100644
index 8caa375..0000000
--- a/docs/Parameter_8cpp_source.html
+++ /dev/null
@@ -1,124 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/Parameter.cpp Source File
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Go to the documentation of this file.
-
-
-
-
-
-
-
-
9 this->value = value->Deepcopy();
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-const Value * GetValue() const
Will return the value of this parameter.
-const std::string & Key() const
Will return the key of this parameter.
-Parameter(const std::string &key, const Value *value)
-
-
-
-
-
diff --git a/docs/Parameter_8h.html b/docs/Parameter_8h.html
deleted file mode 100644
index 2767fc9..0000000
--- a/docs/Parameter_8h.html
+++ /dev/null
@@ -1,132 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/Parameter.h File Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#include "Value.h "
-
#include <string>
-
#include <ostream>
-
-
Go to the source code of this file.
-
-
-
-
-
-
diff --git a/docs/Parameter_8h__dep__incl.map b/docs/Parameter_8h__dep__incl.map
deleted file mode 100644
index 3d2fc7a..0000000
--- a/docs/Parameter_8h__dep__incl.map
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
diff --git a/docs/Parameter_8h__dep__incl.md5 b/docs/Parameter_8h__dep__incl.md5
deleted file mode 100644
index 6952c80..0000000
--- a/docs/Parameter_8h__dep__incl.md5
+++ /dev/null
@@ -1 +0,0 @@
-9a4982f3921120df66d02a430e4732ed
\ No newline at end of file
diff --git a/docs/Parameter_8h__dep__incl.png b/docs/Parameter_8h__dep__incl.png
deleted file mode 100644
index b0ea6c6..0000000
Binary files a/docs/Parameter_8h__dep__incl.png and /dev/null differ
diff --git a/docs/Parameter_8h__incl.map b/docs/Parameter_8h__incl.map
deleted file mode 100644
index fabe3ea..0000000
--- a/docs/Parameter_8h__incl.map
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/docs/Parameter_8h__incl.md5 b/docs/Parameter_8h__incl.md5
deleted file mode 100644
index 9c6d55d..0000000
--- a/docs/Parameter_8h__incl.md5
+++ /dev/null
@@ -1 +0,0 @@
-240c281ba511f80f96f83cc0e81d73ac
\ No newline at end of file
diff --git a/docs/Parameter_8h__incl.png b/docs/Parameter_8h__incl.png
deleted file mode 100644
index 9b0c902..0000000
Binary files a/docs/Parameter_8h__incl.png and /dev/null differ
diff --git a/docs/Parameter_8h_source.html b/docs/Parameter_8h_source.html
deleted file mode 100644
index 8aff0b6..0000000
--- a/docs/Parameter_8h_source.html
+++ /dev/null
@@ -1,127 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/Parameter.h Source File
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Go to the documentation of this file.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
15 const std::string&
Key ()
const ;
-
-
-
-
-
-
-
22 return os <<
"{ Key: \"" << p.key <<
"\" -> " << *p.value <<
" }" ;
-
-
-
-
-
-
-
-
-
-
-Abstract class for values.
-
-const Value * GetValue() const
Will return the value of this parameter.
-const std::string & Key() const
Will return the key of this parameter.
-Parameter(const std::string &key, const Value *value)
-friend std::ostream & operator<<(std::ostream &os, const Parameter &p)
-
-
-
-
-
diff --git a/docs/Placeholders_8h.html b/docs/Placeholders_8h.html
deleted file mode 100644
index 7680692..0000000
--- a/docs/Placeholders_8h.html
+++ /dev/null
@@ -1,127 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/Placeholders.h File Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/Placeholders_8h__dep__incl.map b/docs/Placeholders_8h__dep__incl.map
deleted file mode 100644
index 9ef9625..0000000
--- a/docs/Placeholders_8h__dep__incl.map
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
diff --git a/docs/Placeholders_8h__dep__incl.md5 b/docs/Placeholders_8h__dep__incl.md5
deleted file mode 100644
index a02cd5a..0000000
--- a/docs/Placeholders_8h__dep__incl.md5
+++ /dev/null
@@ -1 +0,0 @@
-521956097f5a4e4270470701af0a25f6
\ No newline at end of file
diff --git a/docs/Placeholders_8h__dep__incl.png b/docs/Placeholders_8h__dep__incl.png
deleted file mode 100644
index 79e7b2d..0000000
Binary files a/docs/Placeholders_8h__dep__incl.png and /dev/null differ
diff --git a/docs/Placeholders_8h__incl.map b/docs/Placeholders_8h__incl.map
deleted file mode 100644
index 3e94310..0000000
--- a/docs/Placeholders_8h__incl.map
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
diff --git a/docs/Placeholders_8h__incl.md5 b/docs/Placeholders_8h__incl.md5
deleted file mode 100644
index 58a6a99..0000000
--- a/docs/Placeholders_8h__incl.md5
+++ /dev/null
@@ -1 +0,0 @@
-e5b4d2e9e3fff41bcea0a3f60f76dcda
\ No newline at end of file
diff --git a/docs/Placeholders_8h__incl.png b/docs/Placeholders_8h__incl.png
deleted file mode 100644
index 29ee41b..0000000
Binary files a/docs/Placeholders_8h__incl.png and /dev/null differ
diff --git a/docs/Placeholders_8h_source.html b/docs/Placeholders_8h_source.html
deleted file mode 100644
index 4e5fdf1..0000000
--- a/docs/Placeholders_8h_source.html
+++ /dev/null
@@ -1,102 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/Placeholders.h Source File
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-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
deleted file mode 100644
index a599dab..0000000
--- a/docs/Release_2Hazelnupp_8vcxproj_8FileListAbsolute_8txt.html
+++ /dev/null
@@ -1,85 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/Release/Hazelnupp.vcxproj.FileListAbsolute.txt File Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/Release_2Test__Hazelnupp_8vcxproj_8FileListAbsolute_8txt.html b/docs/Release_2Test__Hazelnupp_8vcxproj_8FileListAbsolute_8txt.html
deleted file mode 100644
index 7eda615..0000000
--- a/docs/Release_2Test__Hazelnupp_8vcxproj_8FileListAbsolute_8txt.html
+++ /dev/null
@@ -1,85 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Test_Hazelnupp/Release/Test_Hazelnupp.vcxproj.FileListAbsolute.txt File Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/StringTools_8cpp.html b/docs/StringTools_8cpp.html
deleted file mode 100644
index 9c1fc51..0000000
--- a/docs/StringTools_8cpp.html
+++ /dev/null
@@ -1,105 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/StringTools.cpp File Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/StringTools_8cpp__incl.map b/docs/StringTools_8cpp__incl.map
deleted file mode 100644
index 762e92c..0000000
--- a/docs/StringTools_8cpp__incl.map
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/docs/StringTools_8cpp__incl.md5 b/docs/StringTools_8cpp__incl.md5
deleted file mode 100644
index 7011543..0000000
--- a/docs/StringTools_8cpp__incl.md5
+++ /dev/null
@@ -1 +0,0 @@
-4d994ee3745469dd451021ef4507b101
\ No newline at end of file
diff --git a/docs/StringTools_8cpp__incl.png b/docs/StringTools_8cpp__incl.png
deleted file mode 100644
index e632c77..0000000
Binary files a/docs/StringTools_8cpp__incl.png and /dev/null differ
diff --git a/docs/StringTools_8cpp_source.html b/docs/StringTools_8cpp_source.html
deleted file mode 100644
index 04dfee9..0000000
--- a/docs/StringTools_8cpp_source.html
+++ /dev/null
@@ -1,283 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/StringTools.cpp Source File
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Go to the documentation of this file.
-
-
-
-
-
-
7 for (
const char & i : str)
-
-
-
-
-
-
-
-
-
-
-
18 for (std::size_t i = 0; i < str.length(); i++)
-
-
20 if (str[i] != find) ss << str[i];
-
-
-
-
-
-
-
-
-
29 if (find.length() == 0)
return str;
-
-
-
-
33 std::size_t posFound = 0;
-
34 std::size_t lastFound = 0;
-
-
36 while (posFound != std::string::npos)
-
-
-
39 posFound = str.find(find, posFound);
-
-
41 if (posFound != std::string::npos)
-
-
43 ss << str.substr(lastFound, posFound - lastFound) << subst;
-
44 posFound += find.length();
-
-
-
-
48 ss << str.substr(lastFound, (str.length()) - lastFound);
-
-
-
-
-
-
-
-
-
-
58 if (str.length() == 0)
return false ;
-
-
60 bool alreadyParsedDecimalPoint =
false ;
-
61 std::size_t digitCount = 0;
-
-
63 for (std::size_t i = 0; i < str.length(); i++)
-
-
-
66 ((str[i] >=
'0' ) && (str[i] <=
'9' )) ||
-
67 ((str[i] ==
'-' ) && (i == 0)) ||
-
68 ((str[i] ==
'.' ) && (allowDecimalPoint) && (!alreadyParsedDecimalPoint) && (digitCount > 0))
-
-
-
-
-
-
74 if (((str[i] >=
'0' ) && (str[i] <=
'9' ))) digitCount++;
-
75 if (str[i] ==
'.' ) alreadyParsedDecimalPoint =
true ;
-
-
-
-
79 return digitCount > 0;
-
-
-
-
-
84 bool isDecimal =
false ;
-
-
86 if (str.length() == 0)
return false ;
-
87 if (Contains(str,
'.' )) isDecimal =
true ;
-
-
-
-
-
-
93 out_number = std::stold(str);
-
-
-
96 catch (std::invalid_argument&)
-
-
-
-
100 catch (std::out_of_range&)
-
-
-
-
-
-
-
-
-
109 out_number = (
long double)std::stoll(str);
-
-
-
112 catch (std::invalid_argument&)
-
-
-
-
116 catch (std::out_of_range&)
-
-
-
-
-
-
-
-
-
-
-
127 if (str.length() == 0)
return std::vector<std::string>();
-
-
129 return SplitString(str, delimiter);
-
-
-
-
-
134 if (str.length() == 0)
return std::vector<std::string>();
-
-
136 std::vector<std::string> parts;
-
-
138 if (delimiter.length() == 0)
-
-
140 for (std::size_t i = 0; i < str.length(); i++)
-
-
142 parts.push_back(std::string({ str[i] }));
-
-
-
-
-
147 std::size_t posFound = 0;
-
148 std::size_t lastFound = 0;
-
-
150 while (posFound != std::string::npos)
-
-
152 lastFound = posFound;
-
153 posFound = str.find(delimiter, posFound);
-
-
-
-
157 if (posFound != std::string::npos)
-
-
159 found = str.substr(lastFound, posFound - lastFound);
-
160 posFound += delimiter.length();
-
-
-
-
164 found = str.substr(lastFound, str.length() - lastFound);
-
-
-
167 parts.push_back(found);
-
-
-
-
-
-
-
-
175 std::stringstream ss;
-
176 for (std::size_t i = 0; i < str.length(); i++)
-
-
178 if ((str[i] >=
'A' ) && (str[i] <=
'Z' )) ss << (char)(((
int )str[i]) + 32);
-
179 else if (str[i] == -60) ss << (char)-28;
-
180 else if (str[i] == -42) ss << (char)-10;
-
181 else if (str[i] == -36) ss << (char)-4;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/StringTools_8h.html b/docs/StringTools_8h.html
deleted file mode 100644
index 01d9a59..0000000
--- a/docs/StringTools_8h.html
+++ /dev/null
@@ -1,134 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/StringTools.h File Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#include <string>
-#include <sstream>
-#include <vector>
-#include <cmath>
-
-
Go to the source code of this file.
-
-
-
-
-
-
diff --git a/docs/StringTools_8h__dep__incl.map b/docs/StringTools_8h__dep__incl.map
deleted file mode 100644
index be3956c..0000000
--- a/docs/StringTools_8h__dep__incl.map
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
diff --git a/docs/StringTools_8h__dep__incl.md5 b/docs/StringTools_8h__dep__incl.md5
deleted file mode 100644
index f88359e..0000000
--- a/docs/StringTools_8h__dep__incl.md5
+++ /dev/null
@@ -1 +0,0 @@
-6a8a846369ea9d647a0ae474629f3fdc
\ No newline at end of file
diff --git a/docs/StringTools_8h__dep__incl.png b/docs/StringTools_8h__dep__incl.png
deleted file mode 100644
index d0d812d..0000000
Binary files a/docs/StringTools_8h__dep__incl.png and /dev/null differ
diff --git a/docs/StringTools_8h__incl.map b/docs/StringTools_8h__incl.map
deleted file mode 100644
index 31b2cdc..0000000
--- a/docs/StringTools_8h__incl.map
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/docs/StringTools_8h__incl.md5 b/docs/StringTools_8h__incl.md5
deleted file mode 100644
index 7975647..0000000
--- a/docs/StringTools_8h__incl.md5
+++ /dev/null
@@ -1 +0,0 @@
-67b004299d6fdf50268756d41946bfee
\ No newline at end of file
diff --git a/docs/StringTools_8h__incl.png b/docs/StringTools_8h__incl.png
deleted file mode 100644
index 6cdea0c..0000000
Binary files a/docs/StringTools_8h__incl.png and /dev/null differ
diff --git a/docs/StringTools_8h_source.html b/docs/StringTools_8h_source.html
deleted file mode 100644
index 4cc1902..0000000
--- a/docs/StringTools_8h_source.html
+++ /dev/null
@@ -1,141 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/StringTools.h Source File
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Go to the documentation of this file.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
17 static bool Contains (
const std::string& str,
const char c);
-
-
-
20 static std::string
Replace (
const std::string& str,
const char find,
const std::string& subst);
-
-
-
23 static std::string
Replace (
const std::string& str,
const std::string& find,
const std::string& subst);
-
-
-
26 static bool IsNumeric (
const std::string& str,
const bool allowDecimalPoint =
false );
-
-
-
-
-
31 static bool ParseNumber (
const std::string& str,
bool & out_isInt,
long double & out_number);
-
-
-
34 static std::vector<std::string>
SplitString (
const std::string& str,
const char delimiter);
-
-
-
37 static std::vector<std::string>
SplitString (
const std::string& str,
const std::string& delimiter);
-
-
-
40 static std::string
ToLower (
const std::string& str);
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/StringValue_8cpp.html b/docs/StringValue_8cpp.html
deleted file mode 100644
index 327b668..0000000
--- a/docs/StringValue_8cpp.html
+++ /dev/null
@@ -1,111 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/StringValue.cpp File Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#include "StringValue.h "
-
#include "HazelnuppException.h "
-
#include <sstream>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Go to the source code of this file.
-
-
-
-
-
diff --git a/docs/StringValue_8cpp__incl.map b/docs/StringValue_8cpp__incl.map
deleted file mode 100644
index 7a62a3c..0000000
--- a/docs/StringValue_8cpp__incl.map
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/StringValue_8cpp__incl.md5 b/docs/StringValue_8cpp__incl.md5
deleted file mode 100644
index e67ac23..0000000
--- a/docs/StringValue_8cpp__incl.md5
+++ /dev/null
@@ -1 +0,0 @@
-edbcbad437362bfcea36ede007a980df
\ No newline at end of file
diff --git a/docs/StringValue_8cpp__incl.png b/docs/StringValue_8cpp__incl.png
deleted file mode 100644
index 2299566..0000000
Binary files a/docs/StringValue_8cpp__incl.png and /dev/null differ
diff --git a/docs/StringValue_8cpp_source.html b/docs/StringValue_8cpp_source.html
deleted file mode 100644
index 5b9ac22..0000000
--- a/docs/StringValue_8cpp_source.html
+++ /dev/null
@@ -1,173 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/StringValue.cpp Source File
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Go to the documentation of this file.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
23 ss <<
"StringValue: " << value;
-
-
-
-
-
-
-
-
-
32 StringValue::operator std::string()
const
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-int GetInt32() const override
Throws HazelnuppValueNotConvertibleException.
-std::string GetAsOsString() const override
Will return a string suitable for an std::ostream;.
-StringValue(const std::string &value)
-
-Abstract class for values.
-long long int GetInt64() const override
Throws HazelnuppValueNotConvertibleException.
-std::string GetString() const override
Will return this value as a string.
-double GetFloat32() const override
Throws HazelnuppValueNotConvertibleException.
-DATA_TYPE
The different data types a paramater can be.
-Value * Deepcopy() const override
Will return a deeopopy of this object.
-
-long double GetFloat64() const override
Throws HazelnuppValueNotConvertibleException.
-const std::vector< Value * > & GetList() const override
Throws HazelnuppValueNotConvertibleException.
-const std::string & GetValue() const
Will return the raw value.
-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
deleted file mode 100644
index 7807b86..0000000
--- a/docs/StringValue_8h.html
+++ /dev/null
@@ -1,131 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/StringValue.h File Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/StringValue_8h__dep__incl.map b/docs/StringValue_8h__dep__incl.map
deleted file mode 100644
index 00d1a24..0000000
--- a/docs/StringValue_8h__dep__incl.map
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
diff --git a/docs/StringValue_8h__dep__incl.md5 b/docs/StringValue_8h__dep__incl.md5
deleted file mode 100644
index c81cd5d..0000000
--- a/docs/StringValue_8h__dep__incl.md5
+++ /dev/null
@@ -1 +0,0 @@
-a0f49b1d76495fc57c0b0a69a84be1dd
\ No newline at end of file
diff --git a/docs/StringValue_8h__dep__incl.png b/docs/StringValue_8h__dep__incl.png
deleted file mode 100644
index a7784eb..0000000
Binary files a/docs/StringValue_8h__dep__incl.png and /dev/null differ
diff --git a/docs/StringValue_8h__incl.map b/docs/StringValue_8h__incl.map
deleted file mode 100644
index d07717d..0000000
--- a/docs/StringValue_8h__incl.map
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/docs/StringValue_8h__incl.md5 b/docs/StringValue_8h__incl.md5
deleted file mode 100644
index 7016e1f..0000000
--- a/docs/StringValue_8h__incl.md5
+++ /dev/null
@@ -1 +0,0 @@
-3091c398edee9f2e3c943dafdcded410
\ No newline at end of file
diff --git a/docs/StringValue_8h__incl.png b/docs/StringValue_8h__incl.png
deleted file mode 100644
index 66f8e57..0000000
Binary files a/docs/StringValue_8h__incl.png and /dev/null differ
diff --git a/docs/StringValue_8h_source.html b/docs/StringValue_8h_source.html
deleted file mode 100644
index 94cebe7..0000000
--- a/docs/StringValue_8h_source.html
+++ /dev/null
@@ -1,149 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/StringValue.h Source File
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Go to the documentation of this file.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
24 operator std::string()
const ;
-
-
-
27 long long int GetInt64 ()
const override ;
-
-
-
-
-
-
-
-
-
-
-
-
-
40 const std::vector<Value*>&
GetList ()
const override ;
-
-
-
-
-
-
-
-int GetInt32() const override
Throws HazelnuppValueNotConvertibleException.
-std::string GetAsOsString() const override
Will return a string suitable for an std::ostream;.
-StringValue(const std::string &value)
-Abstract class for values.
-
-long long int GetInt64() const override
Throws HazelnuppValueNotConvertibleException.
-std::string GetString() const override
Will return this value as a string.
-double GetFloat32() const override
Throws HazelnuppValueNotConvertibleException.
-Value * Deepcopy() const override
Will return a deeopopy of this object.
-long double GetFloat64() const override
Throws HazelnuppValueNotConvertibleException.
-const std::vector< Value * > & GetList() const override
Throws HazelnuppValueNotConvertibleException.
-Specializations for string values (uses std::string)
-const std::string & GetValue() const
Will return the raw value.
-
-
-
-
-
diff --git a/docs/Value_8cpp.html b/docs/Value_8cpp.html
deleted file mode 100644
index 9c455f0..0000000
--- a/docs/Value_8cpp.html
+++ /dev/null
@@ -1,105 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/Value.cpp File Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/Value_8cpp__incl.map b/docs/Value_8cpp__incl.map
deleted file mode 100644
index c2c1829..0000000
--- a/docs/Value_8cpp__incl.map
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/docs/Value_8cpp__incl.md5 b/docs/Value_8cpp__incl.md5
deleted file mode 100644
index 1c22e19..0000000
--- a/docs/Value_8cpp__incl.md5
+++ /dev/null
@@ -1 +0,0 @@
-4cc537f22df28748abb702e213edf12b
\ No newline at end of file
diff --git a/docs/Value_8cpp__incl.png b/docs/Value_8cpp__incl.png
deleted file mode 100644
index 57faa48..0000000
Binary files a/docs/Value_8cpp__incl.png and /dev/null differ
diff --git a/docs/Value_8cpp_source.html b/docs/Value_8cpp_source.html
deleted file mode 100644
index f914271..0000000
--- a/docs/Value_8cpp_source.html
+++ /dev/null
@@ -1,110 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/Value.cpp Source File
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-DATA_TYPE GetDataType() const
Will return the data type of this value.
-DATA_TYPE
The different data types a paramater can be.
-
-
-
-
-
-
diff --git a/docs/Value_8h.html b/docs/Value_8h.html
deleted file mode 100644
index 7ffadce..0000000
--- a/docs/Value_8h.html
+++ /dev/null
@@ -1,144 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/Value.h File Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#include "DataType.h "
-
#include <ostream>
-
#include <vector>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Go to the source code of this file.
-
-
-
-
-
-
diff --git a/docs/Value_8h__dep__incl.map b/docs/Value_8h__dep__incl.map
deleted file mode 100644
index 7cae3a0..0000000
--- a/docs/Value_8h__dep__incl.map
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/Value_8h__dep__incl.md5 b/docs/Value_8h__dep__incl.md5
deleted file mode 100644
index 6dbcc84..0000000
--- a/docs/Value_8h__dep__incl.md5
+++ /dev/null
@@ -1 +0,0 @@
-f01a2282f78dfaef0fb8ee3f2c321ea8
\ No newline at end of file
diff --git a/docs/Value_8h__dep__incl.png b/docs/Value_8h__dep__incl.png
deleted file mode 100644
index e031544..0000000
Binary files a/docs/Value_8h__dep__incl.png and /dev/null differ
diff --git a/docs/Value_8h__incl.map b/docs/Value_8h__incl.map
deleted file mode 100644
index b99434a..0000000
--- a/docs/Value_8h__incl.map
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/docs/Value_8h__incl.md5 b/docs/Value_8h__incl.md5
deleted file mode 100644
index 16be7d7..0000000
--- a/docs/Value_8h__incl.md5
+++ /dev/null
@@ -1 +0,0 @@
-8a865d27021023f3bf0f841e7e4f7839
\ No newline at end of file
diff --git a/docs/Value_8h__incl.png b/docs/Value_8h__incl.png
deleted file mode 100644
index 462fd8a..0000000
Binary files a/docs/Value_8h__incl.png and /dev/null differ
diff --git a/docs/Value_8h_source.html b/docs/Value_8h_source.html
deleted file mode 100644
index 2cebc30..0000000
--- a/docs/Value_8h_source.html
+++ /dev/null
@@ -1,156 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/Value.h Source File
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Go to the documentation of this file.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
30 virtual long long int GetInt64 ()
const = 0;
-
-
-
-
-
-
-
-
-
-
40 virtual std::string
GetString ()
const = 0;
-
-
-
43 virtual const std::vector<Value*>&
GetList ()
const = 0;
-
-
-
-
-
-
-
-
-
-
-virtual double GetFloat32() const =0
Will attempt to return the floating-point data (double)
-Abstract class for values.
-virtual int GetInt32() const =0
Will attempt to return the integer data (int)
-virtual std::string GetString() const =0
Will attempt to return the string-data.
-
-
-DATA_TYPE GetDataType() const
Will return the data type of this value.
-virtual long long int GetInt64() const =0
Will attempt to return the integer data (long long)
-virtual std::string GetAsOsString() const =0
Will return a string suitable for an std::ostream.
-virtual const std::vector< Value * > & GetList() const =0
Will attempt to return the list-data.
-friend std::ostream & operator<<(std::ostream &os, const Value &v)
-DATA_TYPE
The different data types a paramater can be.
-
-virtual Value * Deepcopy() const =0
Will return a deeopopy of this object.
-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
deleted file mode 100644
index 4f1ed99..0000000
--- a/docs/Version_8h.html
+++ /dev/null
@@ -1,126 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/Version.h File Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Go to the source code of this file.
-
-
-
-
◆ HAZELNUPP_VERSION
-
-
-
-
-
- #define HAZELNUPP_VERSION (1.121)
-
-
-
-
-
-
-
-
-
diff --git a/docs/Version_8h__dep__incl.map b/docs/Version_8h__dep__incl.map
deleted file mode 100644
index ec3789b..0000000
--- a/docs/Version_8h__dep__incl.map
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
diff --git a/docs/Version_8h__dep__incl.md5 b/docs/Version_8h__dep__incl.md5
deleted file mode 100644
index 37e3bcb..0000000
--- a/docs/Version_8h__dep__incl.md5
+++ /dev/null
@@ -1 +0,0 @@
-92ebb13d9fcb4c4be1ddcf0283b48ade
\ No newline at end of file
diff --git a/docs/Version_8h__dep__incl.png b/docs/Version_8h__dep__incl.png
deleted file mode 100644
index f14d5a2..0000000
Binary files a/docs/Version_8h__dep__incl.png and /dev/null differ
diff --git a/docs/Version_8h_source.html b/docs/Version_8h_source.html
deleted file mode 100644
index 105d000..0000000
--- a/docs/Version_8h_source.html
+++ /dev/null
@@ -1,91 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/Version.h Source File
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Go to the documentation of this file.
-
2 #define HAZELNUPP_VERSION (1.121)
-
-
-
-
-
diff --git a/docs/VoidValue_8cpp.html b/docs/VoidValue_8cpp.html
deleted file mode 100644
index e0453c1..0000000
--- a/docs/VoidValue_8cpp.html
+++ /dev/null
@@ -1,110 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/VoidValue.cpp File Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Go to the source code of this file.
-
-
-
-
-
diff --git a/docs/VoidValue_8cpp__incl.map b/docs/VoidValue_8cpp__incl.map
deleted file mode 100644
index bf2e24d..0000000
--- a/docs/VoidValue_8cpp__incl.map
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/VoidValue_8cpp__incl.md5 b/docs/VoidValue_8cpp__incl.md5
deleted file mode 100644
index 1f8476e..0000000
--- a/docs/VoidValue_8cpp__incl.md5
+++ /dev/null
@@ -1 +0,0 @@
-8d346c10bcdef3b6c864189574d98cf6
\ No newline at end of file
diff --git a/docs/VoidValue_8cpp__incl.png b/docs/VoidValue_8cpp__incl.png
deleted file mode 100644
index 3a77333..0000000
Binary files a/docs/VoidValue_8cpp__incl.png and /dev/null differ
diff --git a/docs/VoidValue_8cpp_source.html b/docs/VoidValue_8cpp_source.html
deleted file mode 100644
index 95f4b5f..0000000
--- a/docs/VoidValue_8cpp_source.html
+++ /dev/null
@@ -1,159 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/VoidValue.cpp Source File
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Go to the documentation of this file.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
52 static const std::vector<Value*> empty;
-
-
-
-
-
-long long int GetInt64() const override
Throws HazelnuppValueNotConvertibleException.
-long double GetFloat64() const override
Throws HazelnuppValueNotConvertibleException.
-
-std::string GetAsOsString() const override
Will return a string suitable for an std::ostream;.
-Abstract class for values.
-const std::vector< Value * > & GetList() const
Returns an empty list.
-int GetInt32() const override
Throws HazelnuppValueNotConvertibleException.
-
-Value * Deepcopy() const override
Will return a deeopopy of this object.
-std::string GetString() const override
Returns an empty string.
-DATA_TYPE
The different data types a paramater can be.
-double GetFloat32() const override
Throws HazelnuppValueNotConvertibleException.
-
-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
deleted file mode 100644
index 992befa..0000000
--- a/docs/VoidValue_8h.html
+++ /dev/null
@@ -1,130 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/VoidValue.h File Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/VoidValue_8h__dep__incl.map b/docs/VoidValue_8h__dep__incl.map
deleted file mode 100644
index 0462c59..0000000
--- a/docs/VoidValue_8h__dep__incl.map
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
diff --git a/docs/VoidValue_8h__dep__incl.md5 b/docs/VoidValue_8h__dep__incl.md5
deleted file mode 100644
index 9f3bf28..0000000
--- a/docs/VoidValue_8h__dep__incl.md5
+++ /dev/null
@@ -1 +0,0 @@
-c3697ea496d303a2f2ce807251f8e6c9
\ No newline at end of file
diff --git a/docs/VoidValue_8h__dep__incl.png b/docs/VoidValue_8h__dep__incl.png
deleted file mode 100644
index 50297b9..0000000
Binary files a/docs/VoidValue_8h__dep__incl.png and /dev/null differ
diff --git a/docs/VoidValue_8h__incl.map b/docs/VoidValue_8h__incl.map
deleted file mode 100644
index 8150295..0000000
--- a/docs/VoidValue_8h__incl.map
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/docs/VoidValue_8h__incl.md5 b/docs/VoidValue_8h__incl.md5
deleted file mode 100644
index 7483fb9..0000000
--- a/docs/VoidValue_8h__incl.md5
+++ /dev/null
@@ -1 +0,0 @@
-64107a9642900c322c5205ad2d9c1aed
\ No newline at end of file
diff --git a/docs/VoidValue_8h__incl.png b/docs/VoidValue_8h__incl.png
deleted file mode 100644
index 1138ac2..0000000
Binary files a/docs/VoidValue_8h__incl.png and /dev/null differ
diff --git a/docs/VoidValue_8h_source.html b/docs/VoidValue_8h_source.html
deleted file mode 100644
index 093b36c..0000000
--- a/docs/VoidValue_8h_source.html
+++ /dev/null
@@ -1,139 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/VoidValue.h Source File
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Go to the documentation of this file.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
21 long long int GetInt64 ()
const override ;
-
-
-
-
-
-
-
-
-
-
-
-
-
34 const std::vector<Value*>&
GetList ()
const ;
-
-
-
-
-long long int GetInt64() const override
Throws HazelnuppValueNotConvertibleException.
-
-long double GetFloat64() const override
Throws HazelnuppValueNotConvertibleException.
-std::string GetAsOsString() const override
Will return a string suitable for an std::ostream;.
-Abstract class for values.
-const std::vector< Value * > & GetList() const
Returns an empty list.
-int GetInt32() const override
Throws HazelnuppValueNotConvertibleException.
-Value * Deepcopy() const override
Will return a deeopopy of this object.
-Specializations for void values.
-std::string GetString() const override
Returns an empty string.
-double GetFloat32() const override
Throws HazelnuppValueNotConvertibleException.
-
-
-
-
-
-
diff --git a/docs/annotated.html b/docs/annotated.html
deleted file mode 100644
index db68dad..0000000
--- a/docs/annotated.html
+++ /dev/null
@@ -1,108 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Class List
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Here are the classes, structs, unions and interfaces with brief descriptions:
-
-
-
-
-
diff --git a/docs/bc_s.png b/docs/bc_s.png
deleted file mode 100644
index 3ad51f0..0000000
Binary files a/docs/bc_s.png and /dev/null differ
diff --git a/docs/bdwn.png b/docs/bdwn.png
deleted file mode 100644
index 3f938ab..0000000
Binary files a/docs/bdwn.png and /dev/null differ
diff --git a/docs/classFloatValue-members.html b/docs/classFloatValue-members.html
deleted file mode 100644
index 23dcde0..0000000
--- a/docs/classFloatValue-members.html
+++ /dev/null
@@ -1,105 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Member List
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for FloatValue , including all inherited members.
-
-
-
-
-
diff --git a/docs/classFloatValue.html b/docs/classFloatValue.html
deleted file mode 100644
index 3774cd3..0000000
--- a/docs/classFloatValue.html
+++ /dev/null
@@ -1,578 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: FloatValue Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Specializations for floating point values (uses long double)
- More...
-
-
#include <FloatValue.h >
-
-
-
-
-
-
-
Specializations for floating point values (uses long double)
-
-
Definition at line 7 of file FloatValue.h .
-
-
-
◆ FloatValue()
-
-
-
-
-
- FloatValue::FloatValue
- (
- const long double &
- value )
-
-
-
-
-
-
-
◆ ~FloatValue()
-
-
-
-
-
-
-
-
- FloatValue::~FloatValue
- (
- )
-
-
-
-
-
-inline override
-
-
-
-
-
-
-
◆ Deepcopy()
-
-
-
-
-
-
-
-
- Value * FloatValue::Deepcopy
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
Will return a deeopopy of this object.
-
-
Implements Value .
-
-
Definition at line 13 of file FloatValue.cpp .
-
-
-
-
-
◆ GetAsOsString()
-
-
-
-
-
-
-
-
- std::string FloatValue::GetAsOsString
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
Will return a string suitable for an std::ostream;.
-
-
Implements Value .
-
-
Definition at line 18 of file FloatValue.cpp .
-
-
-
21 ss <<
"FloatValue: " << value;
-
-
-
-
-
-
-
◆ GetFloat32()
-
-
-
-
-
-
-
-
- double FloatValue::GetFloat32
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
Will return the data as a double.
-
-
Implements Value .
-
-
Definition at line 57 of file FloatValue.cpp .
-
-
-
-
-
◆ GetFloat64()
-
-
-
-
-
-
-
-
- long double FloatValue::GetFloat64
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
Will return the data as a long double.
-
-
Implements Value .
-
-
Definition at line 52 of file FloatValue.cpp .
-
-
-
-
-
◆ GetInt32()
-
-
-
-
-
-
-
-
- int FloatValue::GetInt32
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
Will return the data as an int.
-
-
Implements Value .
-
-
Definition at line 47 of file FloatValue.cpp .
-
-
-
-
-
◆ GetInt64()
-
-
-
-
-
-
-
-
- long long int FloatValue::GetInt64
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
Will return the data as a long long int.
-
-
Implements Value .
-
-
Definition at line 42 of file FloatValue.cpp .
-
-
44 return (
long long int )value;
-
-
-
-
-
-
◆ GetList()
-
-
-
-
-
-
-
-
- const std::vector< Value * > & FloatValue::GetList
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
-
◆ GetString()
-
-
-
-
-
-
-
-
- std::string FloatValue::GetString
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
Will return the data as a string.
-
-
Implements Value .
-
-
Definition at line 62 of file FloatValue.cpp .
-
-
-
-
-
◆ GetValue()
-
-
-
-
-
- const long double & FloatValue::GetValue
- (
- )
- const
-
-
-
-
-
Will return the raw value.
-
-
Definition at line 25 of file FloatValue.cpp .
-
-
-
-
-
◆ operator double()
-
-
-
-
-
- FloatValue::operator double
- (
- )
- const
-
-
-
-
-
-
◆ operator long double()
-
-
-
-
-
- FloatValue::operator long double
- (
- )
- const
-
-
-
-
-
The documentation for this class was generated from the following files:
-
-
-Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not ...
-
-FloatValue(const long double &value)
-
-
-
-
diff --git a/docs/classFloatValue__coll__graph.map b/docs/classFloatValue__coll__graph.map
deleted file mode 100644
index d1e1117..0000000
--- a/docs/classFloatValue__coll__graph.map
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
diff --git a/docs/classFloatValue__coll__graph.md5 b/docs/classFloatValue__coll__graph.md5
deleted file mode 100644
index ce67a40..0000000
--- a/docs/classFloatValue__coll__graph.md5
+++ /dev/null
@@ -1 +0,0 @@
-61a7c55eab2b6c56d37885d5512dd079
\ No newline at end of file
diff --git a/docs/classFloatValue__coll__graph.png b/docs/classFloatValue__coll__graph.png
deleted file mode 100644
index 81a6e85..0000000
Binary files a/docs/classFloatValue__coll__graph.png and /dev/null differ
diff --git a/docs/classFloatValue__inherit__graph.map b/docs/classFloatValue__inherit__graph.map
deleted file mode 100644
index d1e1117..0000000
--- a/docs/classFloatValue__inherit__graph.map
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
diff --git a/docs/classFloatValue__inherit__graph.md5 b/docs/classFloatValue__inherit__graph.md5
deleted file mode 100644
index ce67a40..0000000
--- a/docs/classFloatValue__inherit__graph.md5
+++ /dev/null
@@ -1 +0,0 @@
-61a7c55eab2b6c56d37885d5512dd079
\ No newline at end of file
diff --git a/docs/classFloatValue__inherit__graph.png b/docs/classFloatValue__inherit__graph.png
deleted file mode 100644
index 81a6e85..0000000
Binary files a/docs/classFloatValue__inherit__graph.png and /dev/null differ
diff --git a/docs/classHazelnp_1_1CmdArgsInterface-members.html b/docs/classHazelnp_1_1CmdArgsInterface-members.html
deleted file mode 100644
index 47e7cef..0000000
--- a/docs/classHazelnp_1_1CmdArgsInterface-members.html
+++ /dev/null
@@ -1,120 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Member List
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for Hazelnp::CmdArgsInterface , including all inherited members.
-
-
-
-
-
diff --git a/docs/classHazelnp_1_1CmdArgsInterface.html b/docs/classHazelnp_1_1CmdArgsInterface.html
deleted file mode 100644
index bb60469..0000000
--- a/docs/classHazelnp_1_1CmdArgsInterface.html
+++ /dev/null
@@ -1,1206 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnp::CmdArgsInterface Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
The main class to interface with.
- More...
-
-
#include <CmdArgsInterface.h >
-
-
- CmdArgsInterface ()
-
- CmdArgsInterface (const int argc, const char *const *argv)
-
- ~CmdArgsInterface ()
-
-void Parse (const int argc, const char *const *argv)
- Will parse command line arguments. More...
-
-const std::string & GetExecutableName () const
- Will return argv[0], the name of the executable. More...
-
-const Value & operator[] (const std::string &key) const
- Will return the value given a key. More...
-
-bool HasParam (const std::string &key) const
- Will check wether a parameter exists given a key, or not. More...
-
-void RegisterAbbreviation (const std::string &abbrev, const std::string &target)
- Will register an abbreviation (like -f for –force) More...
-
-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. More...
-
-bool HasAbbreviation (const std::string &abbrev) const
- Will check wether or not an abbreviation is registered. More...
-
-void ClearAbbreviation (const std::string &abbrevation)
- Will delete the abbreviation for a given parameter. More...
-
-void ClearAbbreviations ()
- Will delete all abbreviations. More...
-
-void RegisterConstraint (const std::string &key, const ParamConstraint &constraint)
- Will register a constraint for a parameter. More...
-
-ParamConstraint GetConstraint (const std::string ¶meter) const
- Will return the constraint information for a specific parameter. More...
-
-void ClearConstraint (const std::string ¶meter)
- Will the constraint of a specific parameter. More...
-
-void ClearConstraints ()
- Will delete all constraints. More...
-
-void SetCrashOnFail (bool crashOnFail)
- Sets whether to crash the application, and print to stderr, when an exception is raised whilst parsing, or not. More...
-
-bool GetCrashOnFail () const
- Gets whether the application crashes on an exception whilst parsing, and prints to stderr. More...
-
-void SetCatchHelp (bool catchHelp)
- Sets whether the CmdArgsInterface should automatically catch the –help parameter, print the parameter documentation to stdout, and exit or not. More...
-
-bool GetCatchHelp () const
- Retruns whether the CmdArgsInterface should automatically catch the –help parameter, print the parameter documentation to stdout, and exit or not. More...
-
-void SetBriefDescription (const std::string &description)
- Sets a brief description of the application to be automatically added to the documentation. More...
-
-const std::string & GetBriefDescription ()
- Returns the brief description of the application to be automatically added to the documentation. More...
-
-void RegisterDescription (const std::string ¶meter, const std::string &description)
- Willl register a short description for a parameter. More...
-
-const std::string & GetDescription (const std::string ¶meter) const
- Will return a short description for a parameter, if it exists. More...
-
-bool HasDescription (const std::string ¶meter) const
- Returns whether or not a given parameter has a registered description. More...
-
-void ClearDescription (const std::string ¶meter)
- Will delete the description of a parameter if it exists. More...
-
-void ClearDescriptions ()
- Will delete all parameter descriptions. More...
-
-std::string GenerateDocumentation () const
- Will generate a text-based documentation suited to show the user, for example on –help. More...
-
-
-
-
The main class to interface with.
-
-
Definition at line 13 of file CmdArgsInterface.h .
-
-
-
◆ CmdArgsInterface() [1/2]
-
-
-
-
-
- CmdArgsInterface::CmdArgsInterface
- (
- )
-
-
-
-
-
-
-
◆ CmdArgsInterface() [2/2]
-
-
-
-
-
- CmdArgsInterface::CmdArgsInterface
- (
- const int
- argc ,
-
-
-
-
- const char *const *
- argv
-
-
-
- )
-
-
-
-
-
-
-
◆ ~CmdArgsInterface()
-
-
-
-
-
- CmdArgsInterface::~CmdArgsInterface
- (
- )
-
-
-
-
-
-
-
-
◆ ClearAbbreviation()
-
-
-
-
-
- void CmdArgsInterface::ClearAbbreviation
- (
- const std::string &
- abbrevation )
-
-
-
-
-
-
Will delete the abbreviation for a given parameter.
-
- IMPORTANT: This parameter is the abbreviation! Not the long form!
-
-
Definition at line 651 of file CmdArgsInterface.cpp .
-
-
653 parameterAbreviations.erase(abbrevation);
-
-
-
-
-
-
-
◆ ClearAbbreviations()
-
-
-
-
-
- void CmdArgsInterface::ClearAbbreviations
- (
- )
-
-
-
-
-
-
Will delete all abbreviations.
-
-
Definition at line 657 of file CmdArgsInterface.cpp .
-
-
659 parameterAbreviations.clear();
-
-
-
-
-
-
-
◆ ClearConstraint()
-
-
-
-
-
- void CmdArgsInterface::ClearConstraint
- (
- const std::string &
- parameter )
-
-
-
-
-
-
Will the constraint of a specific parameter.
-
-
Definition at line 612 of file CmdArgsInterface.cpp .
-
-
614 parameterConstraints.erase(parameter);
-
-
-
-
-
-
-
◆ ClearConstraints()
-
-
-
-
-
- void CmdArgsInterface::ClearConstraints
- (
- )
-
-
-
-
-
-
Will delete all constraints.
-
-
Definition at line 670 of file CmdArgsInterface.cpp .
-
-
672 parameterConstraints.clear();
-
-
-
-
-
-
-
◆ ClearDescription()
-
-
-
-
-
- void CmdArgsInterface::ClearDescription
- (
- const std::string &
- parameter )
-
-
-
-
-
-
Will delete the description of a parameter if it exists.
-
-
Definition at line 412 of file CmdArgsInterface.cpp .
-
-
-
415 parameterDescriptions.erase(parameter);
-
-
-
-
-
-
-
◆ ClearDescriptions()
-
-
-
-
-
- void Hazelnp::CmdArgsInterface::ClearDescriptions
- (
- )
-
-
-
-
-
-
Will delete all parameter descriptions.
-
-
Definition at line 419 of file CmdArgsInterface.cpp .
-
-
421 parameterDescriptions.clear();
-
-
-
-
-
-
-
◆ GenerateDocumentation()
-
-
-
-
-
- std::string CmdArgsInterface::GenerateDocumentation
- (
- )
- const
-
-
-
-
-
Will generate a text-based documentation suited to show the user, for example on –help.
-
-
Definition at line 425 of file CmdArgsInterface.cpp .
-
-
427 std::stringstream ss;
-
-
-
430 if (briefDescription.length() > 0)
-
431 ss << briefDescription << std::endl;
-
-
-
-
-
436 std::string abbreviation;
-
437 std::string description;
-
-
439 bool required =
false ;
-
440 bool typeIsForced =
false ;
-
441 std::string defaultVal;
-
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 (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 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;
-
-
-
-
-
-
-
-
-
-
-
-
◆ GetAbbreviation()
-
-
-
-
-
- const std::string & CmdArgsInterface::GetAbbreviation
- (
- const std::string &
- abbrev )
- const
-
-
-
-
-
Will return the long form of an abbreviation (like –force for -f)
- Returns "" if no match is found.
-
-
Definition at line 638 of file CmdArgsInterface.cpp .
-
-
-
-
-
643 return parameterAbreviations.find(abbrev)->second;
-
-
-
-
-
-
◆ GetBriefDescription()
-
-
-
-
-
- const std::string & CmdArgsInterface::GetBriefDescription
- (
- )
-
-
-
-
-
-
Returns the brief description of the application to be automatically added to the documentation.
-
-
Definition at line 385 of file CmdArgsInterface.cpp .
-
-
387 return briefDescription;
-
-
-
-
-
-
◆ GetCatchHelp()
-
-
-
-
-
- bool CmdArgsInterface::GetCatchHelp
- (
- )
- const
-
-
-
-
-
Retruns whether the CmdArgsInterface should automatically catch the –help parameter, print the parameter documentation to stdout, and exit or not.
-
-
Definition at line 374 of file CmdArgsInterface.cpp .
-
-
-
-
-
◆ GetConstraint()
-
-
-
-
-
- ParamConstraint CmdArgsInterface::GetConstraint
- (
- const std::string &
- parameter )
- const
-
-
-
-
-
Will return the constraint information for a specific parameter.
-
-
Definition at line 607 of file CmdArgsInterface.cpp .
-
-
609 return parameterConstraints.find(parameter)->second;
-
-
-
-
-
-
◆ GetCrashOnFail()
-
-
-
-
-
- bool CmdArgsInterface::GetCrashOnFail
- (
- )
- const
-
-
-
-
-
Gets whether the application crashes on an exception whilst parsing, and prints to stderr.
-
-
Definition at line 363 of file CmdArgsInterface.cpp .
-
-
-
-
-
◆ GetDescription()
-
-
-
-
-
- const std::string & Hazelnp::CmdArgsInterface::GetDescription
- (
- const std::string &
- parameter )
- const
-
-
-
-
-
Will return a short description for a parameter, if it exists.
-
- Empty string if it does not exist.
-
-
Definition at line 396 of file CmdArgsInterface.cpp .
-
-
-
-
-
-
-
-
404 return parameterDescriptions.find(parameter)->second;
-
-
-
-
-
-
◆ GetExecutableName()
-
-
-
-
-
- const std::string & CmdArgsInterface::GetExecutableName
- (
- )
- const
-
-
-
-
-
Will return argv[0], the name of the executable.
-
-
Definition at line 618 of file CmdArgsInterface.cpp .
-
-
620 return executableName;
-
-
-
-
-
-
◆ HasAbbreviation()
-
-
-
-
-
- bool CmdArgsInterface::HasAbbreviation
- (
- const std::string &
- abbrev )
- const
-
-
-
-
-
Will check wether or not an abbreviation is registered.
-
-
Definition at line 646 of file CmdArgsInterface.cpp .
-
-
648 return parameterAbreviations.find(abbrev) != parameterAbreviations.end();
-
-
-
-
-
-
◆ HasDescription()
-
-
-
-
-
- bool CmdArgsInterface::HasDescription
- (
- const std::string &
- parameter )
- const
-
-
-
-
-
Returns whether or not a given parameter has a registered description.
-
-
Definition at line 407 of file CmdArgsInterface.cpp .
-
-
409 return parameterDescriptions.find(parameter) != parameterDescriptions.end();
-
-
-
-
-
-
◆ HasParam()
-
-
-
-
-
- bool CmdArgsInterface::HasParam
- (
- const std::string &
- key )
- const
-
-
-
-
-
Will check wether a parameter exists given a key, or not.
-
-
Definition at line 199 of file CmdArgsInterface.cpp .
-
-
201 return parameters.find(key) != parameters.end();
-
-
-
-
-
-
◆ operator[]()
-
-
-
-
-
- const Value & CmdArgsInterface::operator[]
- (
- const std::string &
- key )
- const
-
-
-
-
-
Will return the value given a key.
-
-
Definition at line 623 of file CmdArgsInterface.cpp .
-
-
-
-
-
-
629 return *parameters.find(key)->second->GetValue();
-
-
-
-
-
-
◆ Parse()
-
-
-
-
-
- void CmdArgsInterface::Parse
- (
- const int
- argc ,
-
-
-
-
- const char *const *
- argv
-
-
-
- )
-
-
-
-
-
-
Will parse command line arguments.
-
-
Definition at line 36 of file CmdArgsInterface.cpp .
-
-
-
-
-
41 PopulateRawArgs(argc, argv);
-
-
-
44 ExpandAbbreviations();
-
-
46 executableName = std::string(rawArgs[0]);
-
-
-
-
50 while (i < rawArgs.size())
-
-
52 if ((rawArgs[i].length() > 2) && (rawArgs[i].substr(0, 2) ==
"--" ))
-
-
-
55 i = ParseNextParameter(i, param);
-
-
57 parameters.insert(std::pair<std::string, Parameter*>(param->
Key (), param));
-
-
-
-
-
-
-
-
-
66 if ((!catchHelp) || (!
HasParam (
"--help" )))
-
-
-
-
-
-
-
-
74 std::cerr <<
"Parameter error: " << exc.
What () << std::endl;
-
-
-
-
-
-
-
-
-
-
-
85 std::cerr <<
"Parameter error: " << exc.
What () << std::endl;
-
-
-
-
-
-
-
-
-
-
-
96 std::cerr <<
"Parameter error: " << exc.
What () << std::endl;
-
-
-
-
-
-
-
-
-
-
-
107 std::cerr <<
"Parameter error: " << exc.
What () << std::endl;
-
-
-
-
-
-
-
-
-
-
-
118 std::cerr <<
"Parameter error: " << exc.
What () << std::endl;
-
-
-
-
-
-
-
-
126 if ((catchHelp) && (
HasParam (
"--help" )))
-
-
-
-
-
-
-
-
-
-
-
-
◆ RegisterAbbreviation()
-
-
-
-
-
- void CmdArgsInterface::RegisterAbbreviation
- (
- const std::string &
- abbrev ,
-
-
-
-
- const std::string &
- target
-
-
-
- )
-
-
-
-
-
-
Will register an abbreviation (like -f for –force)
-
-
Definition at line 632 of file CmdArgsInterface.cpp .
-
-
634 parameterAbreviations.insert(std::pair<std::string, std::string>(abbrev, target));
-
-
-
-
-
-
-
◆ RegisterConstraint()
-
-
-
-
-
- void CmdArgsInterface::RegisterConstraint
- (
- const std::string &
- key ,
-
-
-
-
- const ParamConstraint &
- constraint
-
-
-
- )
-
-
-
-
-
-
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 663 of file CmdArgsInterface.cpp .
-
-
-
666 (parameterConstraints[key] = constraint).key = key;
-
-
-
-
-
-
-
◆ RegisterDescription()
-
-
-
-
-
- void Hazelnp::CmdArgsInterface::RegisterDescription
- (
- const std::string &
- parameter ,
-
-
-
-
- const std::string &
- description
-
-
-
- )
-
-
-
-
-
-
Willl register a short description for a parameter.
-
- Will overwrite existing descriptions for that parameter.
-
-
Definition at line 390 of file CmdArgsInterface.cpp .
-
-
392 parameterDescriptions[parameter] = description;
-
-
-
-
-
-
-
◆ SetBriefDescription()
-
-
-
-
-
- void CmdArgsInterface::SetBriefDescription
- (
- const std::string &
- description )
-
-
-
-
-
-
Sets a brief description of the application to be automatically added to the documentation.
-
-
Definition at line 379 of file CmdArgsInterface.cpp .
-
-
381 briefDescription = description;
-
-
-
-
-
-
-
◆ SetCatchHelp()
-
-
-
-
-
- void CmdArgsInterface::SetCatchHelp
- (
- bool
- catchHelp )
-
-
-
-
-
-
Sets whether the CmdArgsInterface should automatically catch the –help parameter, print the parameter documentation to stdout, and exit or not.
-
-
Definition at line 368 of file CmdArgsInterface.cpp .
-
-
370 this->catchHelp = catchHelp;
-
-
-
-
-
-
-
◆ SetCrashOnFail()
-
-
-
-
-
- void CmdArgsInterface::SetCrashOnFail
- (
- bool
- crashOnFail )
-
-
-
-
-
-
Sets whether to crash the application, and print to stderr, when an exception is raised whilst parsing, or not.
-
-
Definition at line 676 of file CmdArgsInterface.cpp .
-
-
678 this->crashOnFail = crashOnFail;
-
-
-
-
-
-
The documentation for this class was generated from the following files:
-
-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.
-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.
-bool HasParam(const std::string &key) const
Will check wether a parameter exists given a key, or not.
-
-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...
-bool HasDescription(const std::string ¶meter) const
Returns whether or not a given parameter has a registered description.
-Generic hazelnupp exception.
-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...
-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.
-std::string GenerateDocumentation() const
Will generate a text-based documentation suited to show the user, for example on –help.
-static std::string DataTypeToString(DATA_TYPE type)
-
-
-
-
diff --git a/docs/classHazelnp_1_1FloatValue-members.html b/docs/classHazelnp_1_1FloatValue-members.html
deleted file mode 100644
index 38460b1..0000000
--- a/docs/classHazelnp_1_1FloatValue-members.html
+++ /dev/null
@@ -1,109 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Member List
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for Hazelnp::FloatValue , including all inherited members.
-
-
-
-
-
diff --git a/docs/classHazelnp_1_1FloatValue.html b/docs/classHazelnp_1_1FloatValue.html
deleted file mode 100644
index b1a445d..0000000
--- a/docs/classHazelnp_1_1FloatValue.html
+++ /dev/null
@@ -1,582 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnp::FloatValue Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Specializations for floating point values (uses long double)
- More...
-
-
#include <FloatValue.h >
-
-
-
-
-
-
-
Specializations for floating point values (uses long double)
-
-
Definition at line 9 of file FloatValue.h .
-
-
-
◆ FloatValue()
-
-
-
-
-
- FloatValue::FloatValue
- (
- const long double &
- value )
-
-
-
-
-
-
-
◆ ~FloatValue()
-
-
-
-
-
-
-
-
- Hazelnp::FloatValue::~FloatValue
- (
- )
-
-
-
-
-
-inline override
-
-
-
-
-
-
-
◆ Deepcopy()
-
-
-
-
-
-
-
-
- Value * FloatValue::Deepcopy
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
-
◆ GetAsOsString()
-
-
-
-
-
-
-
-
- std::string FloatValue::GetAsOsString
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
Will return a string suitable for an std::ostream;.
-
-
Implements Hazelnp::Value .
-
-
Definition at line 20 of file FloatValue.cpp .
-
-
-
23 ss <<
"FloatValue: " << value;
-
-
-
-
-
-
-
◆ GetFloat32()
-
-
-
-
-
-
-
-
- double FloatValue::GetFloat32
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
-
◆ GetFloat64()
-
-
-
-
-
-
-
-
- long double FloatValue::GetFloat64
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
-
◆ GetInt32()
-
-
-
-
-
-
-
-
- int FloatValue::GetInt32
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
-
◆ GetInt64()
-
-
-
-
-
-
-
-
- long long int FloatValue::GetInt64
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
Will return the data as a long long int.
-
-
Implements Hazelnp::Value .
-
-
Definition at line 44 of file FloatValue.cpp .
-
-
46 return (
long long int )value;
-
-
-
-
-
-
◆ GetList()
-
-
-
-
-
-
-
-
- const std::vector< Value * > & FloatValue::GetList
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
-
◆ GetString()
-
-
-
-
-
-
-
-
- std::string FloatValue::GetString
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
-
◆ GetValue()
-
-
-
-
-
- const long double & FloatValue::GetValue
- (
- )
- const
-
-
-
-
-
Will return the raw value.
-
-
Definition at line 27 of file FloatValue.cpp .
-
-
-
-
-
◆ operator double()
-
-
-
-
-
- FloatValue::operator double
- (
- )
- const
-
-
-
-
-
-
◆ operator long double()
-
-
-
-
-
- FloatValue::operator long double
- (
- )
- const
-
-
-
-
-
The documentation for this class was generated from the following files:
-
-
-
-FloatValue(const long double &value)
-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_1FloatValue__coll__graph.map b/docs/classHazelnp_1_1FloatValue__coll__graph.map
deleted file mode 100644
index e7551d3..0000000
--- a/docs/classHazelnp_1_1FloatValue__coll__graph.map
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
diff --git a/docs/classHazelnp_1_1FloatValue__coll__graph.md5 b/docs/classHazelnp_1_1FloatValue__coll__graph.md5
deleted file mode 100644
index 0638943..0000000
--- a/docs/classHazelnp_1_1FloatValue__coll__graph.md5
+++ /dev/null
@@ -1 +0,0 @@
-e607f145b9f1053a2906e15f99f0542b
\ No newline at end of file
diff --git a/docs/classHazelnp_1_1FloatValue__coll__graph.png b/docs/classHazelnp_1_1FloatValue__coll__graph.png
deleted file mode 100644
index 7f0b564..0000000
Binary files a/docs/classHazelnp_1_1FloatValue__coll__graph.png and /dev/null differ
diff --git a/docs/classHazelnp_1_1FloatValue__inherit__graph.map b/docs/classHazelnp_1_1FloatValue__inherit__graph.map
deleted file mode 100644
index e7551d3..0000000
--- a/docs/classHazelnp_1_1FloatValue__inherit__graph.map
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
diff --git a/docs/classHazelnp_1_1FloatValue__inherit__graph.md5 b/docs/classHazelnp_1_1FloatValue__inherit__graph.md5
deleted file mode 100644
index 0638943..0000000
--- a/docs/classHazelnp_1_1FloatValue__inherit__graph.md5
+++ /dev/null
@@ -1 +0,0 @@
-e607f145b9f1053a2906e15f99f0542b
\ No newline at end of file
diff --git a/docs/classHazelnp_1_1FloatValue__inherit__graph.png b/docs/classHazelnp_1_1FloatValue__inherit__graph.png
deleted file mode 100644
index 7f0b564..0000000
Binary files a/docs/classHazelnp_1_1FloatValue__inherit__graph.png and /dev/null differ
diff --git a/docs/classHazelnp_1_1Hazelnupp-members.html b/docs/classHazelnp_1_1Hazelnupp-members.html
deleted file mode 100644
index 1745ba8..0000000
--- a/docs/classHazelnp_1_1Hazelnupp-members.html
+++ /dev/null
@@ -1,120 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Member List
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for Hazelnp::Hazelnupp , including all inherited members.
-
-
-
-
-
diff --git a/docs/classHazelnp_1_1Hazelnupp.html b/docs/classHazelnp_1_1Hazelnupp.html
deleted file mode 100644
index 52ee004..0000000
--- a/docs/classHazelnp_1_1Hazelnupp.html
+++ /dev/null
@@ -1,1150 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnp::Hazelnupp Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
The main class to interface with.
- More...
-
-
#include <Hazelnupp.h >
-
-
- Hazelnupp ()
-
- Hazelnupp (const int argc, const char *const *argv)
-
- ~Hazelnupp ()
-
-void Parse (const int argc, const char *const *argv)
- Will parse command line arguments. More...
-
-const std::string & GetExecutableName () const
- Will return argv[0], the name of the executable. More...
-
-const Value & operator[] (const std::string &key) const
- Will return the value given a key. More...
-
-bool HasParam (const std::string &key) const
- Will check wether a parameter exists given a key, or not. More...
-
-void RegisterAbbreviation (const std::string &abbrev, const std::string &target)
- Will register an abbreviation (like -f for –force) More...
-
-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. More...
-
-bool HasAbbreviation (const std::string &abbrev) const
- Will check wether or not an abbreviation is registered. More...
-
-void ClearAbbreviation (const std::string &abbrevation)
- Will delete the abbreviation for a given parameter. More...
-
-void ClearAbbreviations ()
- Will delete all abbreviations. More...
-
-void RegisterConstraint (const std::string &key, const ParamConstraint &constraint)
- Will register a constraint for a parameter. More...
-
-ParamConstraint GetConstraint (const std::string ¶meter) const
- Will return the constraint information for a specific parameter. More...
-
-void ClearConstraint (const std::string ¶meter)
- Will the constraint of a specific parameter. More...
-
-void ClearConstraints ()
- Will delete all constraints. More...
-
-void SetCrashOnFail (bool crashOnFail)
- Sets whether to crash the application, and print to stderr, when an exception is raised whilst parsing, or not. More...
-
-bool GetCrashOnFail () const
- Gets whether the application crashes on an exception whilst parsing, and prints to stderr. More...
-
-void SetCatchHelp (bool catchHelp)
- Sets whether the Hazelnupp should automatically catch the –help parameter, print the parameter documentation to stdout, and exit or not. More...
-
-bool GetCatchHelp () const
- Retruns whether the Hazelnupp should automatically catch the –help parameter, print the parameter documentation to stdout, and exit or not. More...
-
-void SetBriefDescription (const std::string &description)
- Sets a brief description of the application to be automatically added to the documentation. More...
-
-const std::string & GetBriefDescription ()
- Returns the brief description of the application to be automatically added to the documentation. More...
-
-void RegisterDescription (const std::string ¶meter, const std::string &description)
- Willl register a short description for a parameter. More...
-
-const std::string & GetDescription (const std::string ¶meter) const
- Will return a short description for a parameter, if it exists. More...
-
-bool HasDescription (const std::string ¶meter) const
- Returns whether or not a given parameter has a registered description. More...
-
-void ClearDescription (const std::string ¶meter)
- Will delete the description of a parameter if it exists. More...
-
-void ClearDescriptions ()
- Will delete all parameter descriptions. More...
-
-std::string GenerateDocumentation () const
- Will generate a text-based documentation suited to show the user, for example on –help. More...
-
-
-
-
The main class to interface with.
-
-
Definition at line 11 of file Hazelnupp.h .
-
-
-
◆ Hazelnupp() [1/2]
-
-
-
-
-
- Hazelnupp::Hazelnupp
- (
- )
-
-
-
-
-
-
-
◆ Hazelnupp() [2/2]
-
-
-
-
-
- Hazelnupp::Hazelnupp
- (
- const int
- argc ,
-
-
-
-
- const char *const *
- argv
-
-
-
- )
-
-
-
-
-
-
-
◆ ~Hazelnupp()
-
-
-
-
-
- Hazelnupp::~Hazelnupp
- (
- )
-
-
-
-
-
-
Definition at line 26 of file Hazelnupp.cpp .
-
-
28 for (
auto & it : parameters)
-
-
-
-
-
-
-
-
-
-
-
-
◆ ClearAbbreviation()
-
-
-
-
-
- void Hazelnupp::ClearAbbreviation
- (
- const std::string &
- abbrevation )
-
-
-
-
-
-
Will delete the abbreviation for a given parameter.
-
- IMPORTANT: This parameter is the abbreviation! Not the long form!
-
-
Definition at line 586 of file Hazelnupp.cpp .
-
-
588 parameterAbreviations.erase(abbrevation);
-
-
-
-
-
-
-
◆ ClearAbbreviations()
-
-
-
-
-
- void Hazelnupp::ClearAbbreviations
- (
- )
-
-
-
-
-
-
Will delete all abbreviations.
-
-
Definition at line 592 of file Hazelnupp.cpp .
-
-
594 parameterAbreviations.clear();
-
-
-
-
-
-
-
◆ ClearConstraint()
-
-
-
-
-
- void Hazelnupp::ClearConstraint
- (
- const std::string &
- parameter )
-
-
-
-
-
-
Will the constraint of a specific parameter.
-
-
Definition at line 547 of file Hazelnupp.cpp .
-
-
549 parameterConstraints.erase(parameter);
-
-
-
-
-
-
-
◆ ClearConstraints()
-
-
-
-
-
- void Hazelnupp::ClearConstraints
- (
- )
-
-
-
-
-
-
Will delete all constraints.
-
-
Definition at line 605 of file Hazelnupp.cpp .
-
-
607 parameterConstraints.clear();
-
-
-
-
-
-
-
◆ ClearDescription()
-
-
-
-
-
- void Hazelnupp::ClearDescription
- (
- const std::string &
- parameter )
-
-
-
-
-
-
Will delete the description of a parameter if it exists.
-
-
Definition at line 378 of file Hazelnupp.cpp .
-
-
-
381 parameterDescriptions.erase(parameter);
-
-
-
-
-
-
-
◆ ClearDescriptions()
-
-
-
-
-
- void Hazelnp::Hazelnupp::ClearDescriptions
- (
- )
-
-
-
-
-
-
Will delete all parameter descriptions.
-
-
Definition at line 385 of file Hazelnupp.cpp .
-
-
387 parameterDescriptions.clear();
-
-
-
-
-
-
-
◆ GenerateDocumentation()
-
-
-
-
-
- std::string Hazelnupp::GenerateDocumentation
- (
- )
- const
-
-
-
-
-
Will generate a text-based documentation suited to show the user, for example on –help.
-
-
Definition at line 391 of file Hazelnupp.cpp .
-
-
393 std::stringstream ss;
-
-
-
396 if (briefDescription.length() > 0)
-
397 ss << briefDescription << std::endl;
-
-
-
-
-
402 std::string abbreviation;
-
403 std::string description;
-
-
405 bool required =
false ;
-
406 bool typeIsForced =
false ;
-
407 std::string defaultVal;
-
-
409 std::unordered_map<std::string, ParamDocEntry> paramInfos;
-
-
-
412 for (
const auto & it : parameterDescriptions)
-
-
-
415 if (paramInfos.find(it.first) == paramInfos.end())
-
-
417 paramInfos[it.first] = ParamDocEntry();
-
-
419 paramInfos[it.first].description = it.second;
-
-
-
-
-
424 for (
const auto & it : parameterAbreviations)
-
-
-
427 if (paramInfos.find(it.second) == paramInfos.end())
-
-
429 paramInfos[it.second] = ParamDocEntry();
-
-
431 paramInfos[it.second].abbreviation = it.first;
-
-
-
-
435 for (
const auto & it : parameterConstraints)
-
-
-
438 if (paramInfos.find(it.first) == paramInfos.end())
-
-
440 paramInfos[it.first] = ParamDocEntry();
-
-
442 ParamDocEntry& cached = paramInfos[it.first];
-
443 cached.required = it.second.required;
-
444 cached.typeIsForced = it.second.constrainType;
-
-
-
447 std::stringstream defaultValueSs;
-
448 for (
const std::string& s : it.second.defaultValue)
-
-
450 defaultValueSs <<
'\'' << s <<
'\'' ;
-
-
-
453 if ((
void *)&s != (
void *)&it.second.defaultValue.back())
-
454 defaultValueSs <<
" " ;
-
-
456 cached.defaultVal = defaultValueSs.str();
-
-
-
-
460 if (paramInfos.size() > 0)
-
-
-
463 <<
"==== AVAILABLE PARAMETERS ===="
-
464 << std::endl << std::endl;
-
-
466 std::size_t counter = 0;
-
467 for (
const auto & it : paramInfos)
-
-
469 const ParamDocEntry& pde = it.second;
-
-
-
472 ss << it.first <<
" " ;
-
-
-
475 if (pde.abbreviation.length() > 0)
-
476 ss << pde.abbreviation <<
" " ;
-
-
-
479 if (pde.typeIsForced)
-
480 ss << pde.type <<
" " ;
-
-
-
483 if (pde.defaultVal.length() > 0)
-
484 ss <<
"default=[" << pde.defaultVal <<
"] " ;
-
-
-
487 if ((pde.required) && (pde.defaultVal.length() == 0))
-
488 ss <<
"[[REQUIRED]] " ;
-
-
-
491 if (pde.description.length() > 0)
-
492 ss << pde.description;
-
-
-
495 if (counter < paramInfos.size()-1)
-
496 ss << std::endl << std::endl;
-
-
-
-
-
-
-
-
-
-
-
-
◆ GetAbbreviation()
-
-
-
-
-
- const std::string & Hazelnupp::GetAbbreviation
- (
- const std::string &
- abbrev )
- const
-
-
-
-
-
Will return the long form of an abbreviation (like –force for -f)
- Returns "" if no match is found.
-
-
Definition at line 573 of file Hazelnupp.cpp .
-
-
-
-
-
578 return parameterAbreviations.find(abbrev)->second;
-
-
-
-
-
-
◆ GetBriefDescription()
-
-
-
-
-
- const std::string & Hazelnupp::GetBriefDescription
- (
- )
-
-
-
-
-
-
Returns the brief description of the application to be automatically added to the documentation.
-
-
Definition at line 351 of file Hazelnupp.cpp .
-
-
353 return briefDescription;
-
-
-
-
-
-
◆ GetCatchHelp()
-
-
-
-
-
- bool Hazelnupp::GetCatchHelp
- (
- )
- const
-
-
-
-
-
Retruns whether the Hazelnupp should automatically catch the –help parameter, print the parameter documentation to stdout, and exit or not.
-
-
Definition at line 340 of file Hazelnupp.cpp .
-
-
-
-
-
◆ GetConstraint()
-
-
-
-
-
- ParamConstraint Hazelnupp::GetConstraint
- (
- const std::string &
- parameter )
- const
-
-
-
-
-
Will return the constraint information for a specific parameter.
-
-
Definition at line 542 of file Hazelnupp.cpp .
-
-
544 return parameterConstraints.find(parameter)->second;
-
-
-
-
-
-
◆ GetCrashOnFail()
-
-
-
-
-
- bool Hazelnupp::GetCrashOnFail
- (
- )
- const
-
-
-
-
-
Gets whether the application crashes on an exception whilst parsing, and prints to stderr.
-
-
Definition at line 329 of file Hazelnupp.cpp .
-
-
-
-
-
◆ GetDescription()
-
-
-
-
-
- const std::string & Hazelnp::Hazelnupp::GetDescription
- (
- const std::string &
- parameter )
- const
-
-
-
-
-
Will return a short description for a parameter, if it exists.
-
- Empty string if it does not exist.
-
-
Definition at line 362 of file Hazelnupp.cpp .
-
-
-
-
-
-
-
-
370 return parameterDescriptions.find(parameter)->second;
-
-
-
-
-
-
◆ GetExecutableName()
-
-
-
-
-
- const std::string & Hazelnupp::GetExecutableName
- (
- )
- const
-
-
-
-
-
Will return argv[0], the name of the executable.
-
-
Definition at line 553 of file Hazelnupp.cpp .
-
-
555 return executableName;
-
-
-
-
-
-
◆ HasAbbreviation()
-
-
-
-
-
- bool Hazelnupp::HasAbbreviation
- (
- const std::string &
- abbrev )
- const
-
-
-
-
-
Will check wether or not an abbreviation is registered.
-
-
Definition at line 581 of file Hazelnupp.cpp .
-
-
583 return parameterAbreviations.find(abbrev) != parameterAbreviations.end();
-
-
-
-
-
-
◆ HasDescription()
-
-
-
-
-
- bool Hazelnupp::HasDescription
- (
- const std::string &
- parameter )
- const
-
-
-
-
-
Returns whether or not a given parameter has a registered description.
-
-
Definition at line 373 of file Hazelnupp.cpp .
-
-
375 return parameterDescriptions.find(parameter) != parameterDescriptions.end();
-
-
-
-
-
-
◆ HasParam()
-
-
-
-
-
- bool Hazelnupp::HasParam
- (
- const std::string &
- key )
- const
-
-
-
-
-
Will check wether a parameter exists given a key, or not.
-
-
Definition at line 165 of file Hazelnupp.cpp .
-
-
167 return parameters.find(key) != parameters.end();
-
-
-
-
-
-
◆ operator[]()
-
-
-
-
-
- const Value & Hazelnupp::operator[]
- (
- const std::string &
- key )
- const
-
-
-
-
-
Will return the value given a key.
-
-
Definition at line 558 of file Hazelnupp.cpp .
-
-
-
-
-
-
564 return *parameters.find(key)->second->GetValue();
-
-
-
-
-
-
◆ Parse()
-
-
-
-
-
- void Hazelnupp::Parse
- (
- const int
- argc ,
-
-
-
-
- const char *const *
- argv
-
-
-
- )
-
-
-
-
-
-
Will parse command line arguments.
-
-
Definition at line 36 of file Hazelnupp.cpp .
-
-
-
-
-
41 PopulateRawArgs(argc, argv);
-
-
-
44 ExpandAbbreviations();
-
-
46 executableName = std::string(rawArgs[0]);
-
-
-
49 while (i < rawArgs.size())
-
-
51 if ((rawArgs[i].length() > 2) && (rawArgs[i].substr(0, 2) ==
"--" ))
-
-
-
54 i = ParseNextParameter(i, param);
-
-
56 parameters.insert(std::pair<std::string, Parameter*>(param->
Key (), param));
-
-
-
-
-
-
-
-
-
65 if ((!catchHelp) || (!
HasParam (
"--help" )))
-
-
-
-
-
-
-
-
73 std::cerr <<
"Parameter error: " << exc.
What () << std::endl;
-
-
-
-
-
-
-
-
-
-
-
84 std::cerr <<
"Parameter error: " << exc.
What () << std::endl;
-
-
-
-
-
-
-
-
92 if ((catchHelp) && (
HasParam (
"--help" )))
-
-
-
-
-
-
-
-
-
-
-
-
◆ RegisterAbbreviation()
-
-
-
-
-
- void Hazelnupp::RegisterAbbreviation
- (
- const std::string &
- abbrev ,
-
-
-
-
- const std::string &
- target
-
-
-
- )
-
-
-
-
-
-
Will register an abbreviation (like -f for –force)
-
-
Definition at line 567 of file Hazelnupp.cpp .
-
-
569 parameterAbreviations.insert(std::pair<std::string, std::string>(abbrev, target));
-
-
-
-
-
-
-
◆ RegisterConstraint()
-
-
-
-
-
- void Hazelnupp::RegisterConstraint
- (
- const std::string &
- key ,
-
-
-
-
- const ParamConstraint &
- constraint
-
-
-
- )
-
-
-
-
-
-
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 and TypeSafety! You can also use the ParamConstraint constructor!
-
-
Definition at line 598 of file Hazelnupp.cpp .
-
-
-
601 (parameterConstraints[key] = constraint).key = key;
-
-
-
-
-
-
-
◆ RegisterDescription()
-
-
-
-
-
- void Hazelnp::Hazelnupp::RegisterDescription
- (
- const std::string &
- parameter ,
-
-
-
-
- const std::string &
- description
-
-
-
- )
-
-
-
-
-
-
Willl register a short description for a parameter.
-
- Will overwrite existing descriptions for that parameter.
-
-
Definition at line 356 of file Hazelnupp.cpp .
-
-
358 parameterDescriptions[parameter] = description;
-
-
-
-
-
-
-
◆ SetBriefDescription()
-
-
-
-
-
- void Hazelnupp::SetBriefDescription
- (
- const std::string &
- description )
-
-
-
-
-
-
Sets a brief description of the application to be automatically added to the documentation.
-
-
Definition at line 345 of file Hazelnupp.cpp .
-
-
347 briefDescription = description;
-
-
-
-
-
-
-
◆ SetCatchHelp()
-
-
-
-
-
- void Hazelnupp::SetCatchHelp
- (
- bool
- catchHelp )
-
-
-
-
-
-
Sets whether the Hazelnupp should automatically catch the –help parameter, print the parameter documentation to stdout, and exit or not.
-
-
Definition at line 334 of file Hazelnupp.cpp .
-
-
336 this->catchHelp = catchHelp;
-
-
-
-
-
-
-
◆ SetCrashOnFail()
-
-
-
-
-
- void Hazelnupp::SetCrashOnFail
- (
- bool
- crashOnFail )
-
-
-
-
-
-
Sets whether to crash the application, and print to stderr, when an exception is raised whilst parsing, or not.
-
-
Definition at line 611 of file Hazelnupp.cpp .
-
-
613 this->crashOnFail = crashOnFail;
-
-
-
-
-
-
The documentation for this class was generated from the following files:
-
-Gets thrown when an non-existent key gets dereferenced.
-std::string GenerateDocumentation() const
Will generate a text-based documentation suited to show the user, for example on –help.
-const std::string & What() const
Will return an error message.
-bool HasDescription(const std::string ¶meter) const
Returns whether or not a given parameter has a registered description.
-
-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...
-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.
-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...
-Gets thrown when a parameter is of a type that does not match the required type, and is not convertib...
-bool HasAbbreviation(const std::string &abbrev) const
Will check wether or not an abbreviation is registered.
-static std::string DataTypeToString(DATA_TYPE type)
-
-
-
-
diff --git a/docs/classHazelnp_1_1HazelnuppConstraintException-members.html b/docs/classHazelnp_1_1HazelnuppConstraintException-members.html
deleted file mode 100644
index b3417c1..0000000
--- a/docs/classHazelnp_1_1HazelnuppConstraintException-members.html
+++ /dev/null
@@ -1,98 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Member List
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for Hazelnp::HazelnuppConstraintException , including all inherited members.
-
-
-
-
-
diff --git a/docs/classHazelnp_1_1HazelnuppConstraintException.html b/docs/classHazelnp_1_1HazelnuppConstraintException.html
deleted file mode 100644
index 4928ef9..0000000
--- a/docs/classHazelnp_1_1HazelnuppConstraintException.html
+++ /dev/null
@@ -1,210 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnp::HazelnuppConstraintException Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Gets thrown something bad happens because of parameter constraints.
- More...
-
-
#include <HazelnuppException.h >
-
-
-
-
-
-
-
-
-
-
-
-
[legend ]
-
-
-
-
-
-
-
-
-
-
-
[legend ]
-
-
-
Gets thrown something bad happens because of parameter constraints.
-
-
Definition at line 47 of file HazelnuppException.h .
-
-
-
◆ HazelnuppConstraintException() [1/2]
-
-
-
-
-
-
-
-
- Hazelnp::HazelnuppConstraintException::HazelnuppConstraintException
- (
- )
-
-
-
-
-
-inline
-
-
-
-
-
-
◆ HazelnuppConstraintException() [2/2]
-
-
-
-
-
-
-
-
- Hazelnp::HazelnuppConstraintException::HazelnuppConstraintException
- (
- const std::string &
- msg )
-
-
-
-
-
-inline
-
-
-
-
-
The documentation for this class was generated from the following file:
-
-
-
-
-
-
diff --git a/docs/classHazelnp_1_1HazelnuppConstraintException__coll__graph.map b/docs/classHazelnp_1_1HazelnuppConstraintException__coll__graph.map
deleted file mode 100644
index 18f00b3..0000000
--- a/docs/classHazelnp_1_1HazelnuppConstraintException__coll__graph.map
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/docs/classHazelnp_1_1HazelnuppConstraintException__coll__graph.md5 b/docs/classHazelnp_1_1HazelnuppConstraintException__coll__graph.md5
deleted file mode 100644
index e3422d4..0000000
--- a/docs/classHazelnp_1_1HazelnuppConstraintException__coll__graph.md5
+++ /dev/null
@@ -1 +0,0 @@
-96b8a2e382311cb88b3e8d75cff008e2
\ No newline at end of file
diff --git a/docs/classHazelnp_1_1HazelnuppConstraintException__coll__graph.png b/docs/classHazelnp_1_1HazelnuppConstraintException__coll__graph.png
deleted file mode 100644
index 9d7f56c..0000000
Binary files a/docs/classHazelnp_1_1HazelnuppConstraintException__coll__graph.png and /dev/null differ
diff --git a/docs/classHazelnp_1_1HazelnuppConstraintException__inherit__graph.map b/docs/classHazelnp_1_1HazelnuppConstraintException__inherit__graph.map
deleted file mode 100644
index dc8e7de..0000000
--- a/docs/classHazelnp_1_1HazelnuppConstraintException__inherit__graph.map
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/docs/classHazelnp_1_1HazelnuppConstraintException__inherit__graph.md5 b/docs/classHazelnp_1_1HazelnuppConstraintException__inherit__graph.md5
deleted file mode 100644
index abdf318..0000000
--- a/docs/classHazelnp_1_1HazelnuppConstraintException__inherit__graph.md5
+++ /dev/null
@@ -1 +0,0 @@
-17838dc81928478a02ebb9e9c8a70244
\ No newline at end of file
diff --git a/docs/classHazelnp_1_1HazelnuppConstraintException__inherit__graph.png b/docs/classHazelnp_1_1HazelnuppConstraintException__inherit__graph.png
deleted file mode 100644
index ec7bde4..0000000
Binary files a/docs/classHazelnp_1_1HazelnuppConstraintException__inherit__graph.png and /dev/null differ
diff --git a/docs/classHazelnp_1_1HazelnuppConstraintIncompatibleParameters-members.html b/docs/classHazelnp_1_1HazelnuppConstraintIncompatibleParameters-members.html
deleted file mode 100644
index e436cd9..0000000
--- a/docs/classHazelnp_1_1HazelnuppConstraintIncompatibleParameters-members.html
+++ /dev/null
@@ -1,100 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Member List
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for Hazelnp::HazelnuppConstraintIncompatibleParameters , including all inherited members.
-
-
-
-
-
diff --git a/docs/classHazelnp_1_1HazelnuppConstraintIncompatibleParameters.html b/docs/classHazelnp_1_1HazelnuppConstraintIncompatibleParameters.html
deleted file mode 100644
index f02af89..0000000
--- a/docs/classHazelnp_1_1HazelnuppConstraintIncompatibleParameters.html
+++ /dev/null
@@ -1,232 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnp::HazelnuppConstraintIncompatibleParameters Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Gets thrown when a parameter constrained to be incompatible with other parameters gets supplied alongside at least one of those incompatible ones.
- More...
-
-
#include <HazelnuppException.h >
-
-
-
-
-
-
-
-
-
-
-
-
-
-
[legend ]
-
-
-
Gets thrown when a parameter constrained to be incompatible with other parameters gets supplied alongside at least one of those incompatible ones.
-
-
Definition at line 101 of file HazelnuppException.h .
-
-
-
◆ HazelnuppConstraintIncompatibleParameters() [1/2]
-
-
-
-
-
-
-
-
- Hazelnp::HazelnuppConstraintIncompatibleParameters::HazelnuppConstraintIncompatibleParameters
- (
- )
-
-
-
-
-
-inline
-
-
-
-
-
-
◆ HazelnuppConstraintIncompatibleParameters() [2/2]
-
-
-
-
-
-
-
-
- Hazelnp::HazelnuppConstraintIncompatibleParameters::HazelnuppConstraintIncompatibleParameters
- (
- const std::string &
- key1 ,
-
-
-
-
- const std::string &
- key2
-
-
-
- )
-
-
-
-
-
-inline
-
-
-
-
-
Definition at line 105 of file HazelnuppException.h .
-
-
-
108 std::stringstream ss;
-
109 ss <<
"Parameter \"" << key1 <<
"\" is NOT compatible with parameter \"" << key2 <<
"\"!" ;
-
-
-
-
-
-
-
-
The documentation for this class was generated from the following file:
-
-HazelnuppConstraintException()
-
-
-
-
-
diff --git a/docs/classHazelnp_1_1HazelnuppConstraintIncompatibleParameters__coll__graph.map b/docs/classHazelnp_1_1HazelnuppConstraintIncompatibleParameters__coll__graph.map
deleted file mode 100644
index 4595aa7..0000000
--- a/docs/classHazelnp_1_1HazelnuppConstraintIncompatibleParameters__coll__graph.map
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/docs/classHazelnp_1_1HazelnuppConstraintIncompatibleParameters__coll__graph.md5 b/docs/classHazelnp_1_1HazelnuppConstraintIncompatibleParameters__coll__graph.md5
deleted file mode 100644
index d63b369..0000000
--- a/docs/classHazelnp_1_1HazelnuppConstraintIncompatibleParameters__coll__graph.md5
+++ /dev/null
@@ -1 +0,0 @@
-ff792383829de5757a3c68b58f7a2cf3
\ No newline at end of file
diff --git a/docs/classHazelnp_1_1HazelnuppConstraintIncompatibleParameters__coll__graph.png b/docs/classHazelnp_1_1HazelnuppConstraintIncompatibleParameters__coll__graph.png
deleted file mode 100644
index 464b775..0000000
Binary files a/docs/classHazelnp_1_1HazelnuppConstraintIncompatibleParameters__coll__graph.png and /dev/null differ
diff --git a/docs/classHazelnp_1_1HazelnuppConstraintIncompatibleParameters__inherit__graph.map b/docs/classHazelnp_1_1HazelnuppConstraintIncompatibleParameters__inherit__graph.map
deleted file mode 100644
index 28db713..0000000
--- a/docs/classHazelnp_1_1HazelnuppConstraintIncompatibleParameters__inherit__graph.map
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
diff --git a/docs/classHazelnp_1_1HazelnuppConstraintIncompatibleParameters__inherit__graph.md5 b/docs/classHazelnp_1_1HazelnuppConstraintIncompatibleParameters__inherit__graph.md5
deleted file mode 100644
index e5f1c0e..0000000
--- a/docs/classHazelnp_1_1HazelnuppConstraintIncompatibleParameters__inherit__graph.md5
+++ /dev/null
@@ -1 +0,0 @@
-dc39f190a0e77f6af97e4154d9f9a859
\ No newline at end of file
diff --git a/docs/classHazelnp_1_1HazelnuppConstraintIncompatibleParameters__inherit__graph.png b/docs/classHazelnp_1_1HazelnuppConstraintIncompatibleParameters__inherit__graph.png
deleted file mode 100644
index defcd6e..0000000
Binary files a/docs/classHazelnp_1_1HazelnuppConstraintIncompatibleParameters__inherit__graph.png and /dev/null differ
diff --git a/docs/classHazelnp_1_1HazelnuppConstraintMissingValue-members.html b/docs/classHazelnp_1_1HazelnuppConstraintMissingValue-members.html
deleted file mode 100644
index fb9bc0c..0000000
--- a/docs/classHazelnp_1_1HazelnuppConstraintMissingValue-members.html
+++ /dev/null
@@ -1,100 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Member List
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for Hazelnp::HazelnuppConstraintMissingValue , including all inherited members.
-
-
-
-
-
diff --git a/docs/classHazelnp_1_1HazelnuppConstraintMissingValue.html b/docs/classHazelnp_1_1HazelnuppConstraintMissingValue.html
deleted file mode 100644
index 67b4eeb..0000000
--- a/docs/classHazelnp_1_1HazelnuppConstraintMissingValue.html
+++ /dev/null
@@ -1,236 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnp::HazelnuppConstraintMissingValue Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Gets thrown when a parameter constrained to be required is not provided, and has no default value set.
- More...
-
-
#include <HazelnuppException.h >
-
-
-
-
-
-
-
-
-
-
-
-
-
-
[legend ]
-
-
-
Gets thrown when a parameter constrained to be required is not provided, and has no default value set.
-
-
Definition at line 80 of file HazelnuppException.h .
-
-
-
◆ HazelnuppConstraintMissingValue() [1/2]
-
-
-
-
-
-
-
-
- Hazelnp::HazelnuppConstraintMissingValue::HazelnuppConstraintMissingValue
- (
- )
-
-
-
-
-
-inline
-
-
-
-
-
-
◆ HazelnuppConstraintMissingValue() [2/2]
-
-
-
-
-
-
-
-
- Hazelnp::HazelnuppConstraintMissingValue::HazelnuppConstraintMissingValue
- (
- const std::string &
- key ,
-
-
-
-
- const std::string &
- paramDescription = ""
-
-
-
- )
-
-
-
-
-
-inline
-
-
-
-
-
Definition at line 84 of file HazelnuppException.h .
-
-
-
-
88 ss <<
"Missing required parameter " << key <<
"." ;
-
-
-
91 if (paramDescription.length() > 0)
-
92 ss << std::endl << key <<
" => " << paramDescription;
-
-
-
-
-
-
-
-
The documentation for this class was generated from the following file:
-
-HazelnuppConstraintException()
-
-
-
-
-
diff --git a/docs/classHazelnp_1_1HazelnuppConstraintMissingValue__coll__graph.map b/docs/classHazelnp_1_1HazelnuppConstraintMissingValue__coll__graph.map
deleted file mode 100644
index e1c0d27..0000000
--- a/docs/classHazelnp_1_1HazelnuppConstraintMissingValue__coll__graph.map
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/docs/classHazelnp_1_1HazelnuppConstraintMissingValue__coll__graph.md5 b/docs/classHazelnp_1_1HazelnuppConstraintMissingValue__coll__graph.md5
deleted file mode 100644
index 22698a5..0000000
--- a/docs/classHazelnp_1_1HazelnuppConstraintMissingValue__coll__graph.md5
+++ /dev/null
@@ -1 +0,0 @@
-14fd73384f3d4b5bc6a4c29d9bd57dbd
\ No newline at end of file
diff --git a/docs/classHazelnp_1_1HazelnuppConstraintMissingValue__coll__graph.png b/docs/classHazelnp_1_1HazelnuppConstraintMissingValue__coll__graph.png
deleted file mode 100644
index 984f957..0000000
Binary files a/docs/classHazelnp_1_1HazelnuppConstraintMissingValue__coll__graph.png and /dev/null differ
diff --git a/docs/classHazelnp_1_1HazelnuppConstraintMissingValue__inherit__graph.map b/docs/classHazelnp_1_1HazelnuppConstraintMissingValue__inherit__graph.map
deleted file mode 100644
index 35b990d..0000000
--- a/docs/classHazelnp_1_1HazelnuppConstraintMissingValue__inherit__graph.map
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
diff --git a/docs/classHazelnp_1_1HazelnuppConstraintMissingValue__inherit__graph.md5 b/docs/classHazelnp_1_1HazelnuppConstraintMissingValue__inherit__graph.md5
deleted file mode 100644
index 799a788..0000000
--- a/docs/classHazelnp_1_1HazelnuppConstraintMissingValue__inherit__graph.md5
+++ /dev/null
@@ -1 +0,0 @@
-ac239fb6436ae22f9572ebde6d1fe1f3
\ No newline at end of file
diff --git a/docs/classHazelnp_1_1HazelnuppConstraintMissingValue__inherit__graph.png b/docs/classHazelnp_1_1HazelnuppConstraintMissingValue__inherit__graph.png
deleted file mode 100644
index dd33504..0000000
Binary files a/docs/classHazelnp_1_1HazelnuppConstraintMissingValue__inherit__graph.png and /dev/null differ
diff --git a/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch-members.html b/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch-members.html
deleted file mode 100644
index 2d5ce96..0000000
--- a/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch-members.html
+++ /dev/null
@@ -1,101 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Member List
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for Hazelnp::HazelnuppConstraintTypeMissmatch , including all inherited members.
-
-
-
-
-
diff --git a/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch.html b/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch.html
deleted file mode 100644
index 29d50fd..0000000
--- a/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch.html
+++ /dev/null
@@ -1,281 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnp::HazelnuppConstraintTypeMissmatch Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Gets thrown when a parameter is of a type that does not match the required type, and is not convertible to it.
- More...
-
-
#include <HazelnuppException.h >
-
-
-
-
-
-
-
-
-
-
-
-
-
-
[legend ]
-
-
-
Gets thrown when a parameter is of a type that does not match the required type, and is not convertible to it.
-
-
Definition at line 56 of file HazelnuppException.h .
-
-
-
◆ HazelnuppConstraintTypeMissmatch() [1/3]
-
-
-
-
-
-
-
-
- Hazelnp::HazelnuppConstraintTypeMissmatch::HazelnuppConstraintTypeMissmatch
- (
- )
-
-
-
-
-
-inline
-
-
-
-
-
-
◆ HazelnuppConstraintTypeMissmatch() [2/3]
-
-
-
-
-
-
-
-
- Hazelnp::HazelnuppConstraintTypeMissmatch::HazelnuppConstraintTypeMissmatch
- (
- const std::string &
- msg )
-
-
-
-
-
-inline
-
-
-
-
-
-
◆ HazelnuppConstraintTypeMissmatch() [3/3]
-
-
-
-
-
-
-
-
- Hazelnp::HazelnuppConstraintTypeMissmatch::HazelnuppConstraintTypeMissmatch
- (
- const std::string &
- key ,
-
-
-
-
- const DATA_TYPE
- requiredType ,
-
-
-
-
- const DATA_TYPE
- actualType ,
-
-
-
-
- const std::string &
- paramDescription = ""
-
-
-
- )
-
-
-
-
-
-inline
-
-
-
-
-
Definition at line 62 of file HazelnuppException.h .
-
-
-
-
66 ss <<
"Cannot convert parameter " << key <<
" to type " <<
DataTypeToString (requiredType)
-
-
-
-
70 if (paramDescription.length() > 0)
-
71 ss << std::endl << key <<
" => " << paramDescription;
-
-
-
-
-
-
-
-
The documentation for this class was generated from the following file:
-
-HazelnuppConstraintException()
-
-static std::string DataTypeToString(DATA_TYPE type)
-
-
-
-
diff --git a/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch__coll__graph.map b/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch__coll__graph.map
deleted file mode 100644
index 46ef196..0000000
--- a/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch__coll__graph.map
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch__coll__graph.md5 b/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch__coll__graph.md5
deleted file mode 100644
index 4b128bd..0000000
--- a/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch__coll__graph.md5
+++ /dev/null
@@ -1 +0,0 @@
-1f1eaf8f767f1aa9bb72dbd4a84338b9
\ No newline at end of file
diff --git a/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch__coll__graph.png b/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch__coll__graph.png
deleted file mode 100644
index 72419d4..0000000
Binary files a/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch__coll__graph.png and /dev/null differ
diff --git a/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch__inherit__graph.map b/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch__inherit__graph.map
deleted file mode 100644
index 92de922..0000000
--- a/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch__inherit__graph.map
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
diff --git a/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch__inherit__graph.md5 b/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch__inherit__graph.md5
deleted file mode 100644
index 6666277..0000000
--- a/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch__inherit__graph.md5
+++ /dev/null
@@ -1 +0,0 @@
-6e5f5d5345e3073deeee322acf58c7e9
\ No newline at end of file
diff --git a/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch__inherit__graph.png b/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch__inherit__graph.png
deleted file mode 100644
index dfea604..0000000
Binary files a/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch__inherit__graph.png and /dev/null differ
diff --git a/docs/classHazelnp_1_1HazelnuppException-members.html b/docs/classHazelnp_1_1HazelnuppException-members.html
deleted file mode 100644
index 12cc340..0000000
--- a/docs/classHazelnp_1_1HazelnuppException-members.html
+++ /dev/null
@@ -1,96 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Member List
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for Hazelnp::HazelnuppException , including all inherited members.
-
-
-
-
-
diff --git a/docs/classHazelnp_1_1HazelnuppException.html b/docs/classHazelnp_1_1HazelnuppException.html
deleted file mode 100644
index 4a1c962..0000000
--- a/docs/classHazelnp_1_1HazelnuppException.html
+++ /dev/null
@@ -1,264 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnp::HazelnuppException Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Generic hazelnupp exception.
- More...
-
-
#include <HazelnuppException.h >
-
-
-
-
-
-
-
-
-
-
-
-
-
-
[legend ]
-
-
-
-
-
Generic hazelnupp exception.
-
-
Definition at line 11 of file HazelnuppException.h .
-
-
-
◆ HazelnuppException() [1/2]
-
-
-
-
-
-
-
-
- Hazelnp::HazelnuppException::HazelnuppException
- (
- )
-
-
-
-
-
-inline
-
-
-
-
-
-
◆ HazelnuppException() [2/2]
-
-
-
-
-
-
-
-
- Hazelnp::HazelnuppException::HazelnuppException
- (
- const std::string &
- msg )
-
-
-
-
-
-inline
-
-
-
-
-
-
-
◆ What()
-
-
-
-
-
-
-
-
- const std::string& Hazelnp::HazelnuppException::What
- (
- )
- const
-
-
-
-
-inline
-
-
-
-
-
-
-
◆ message
-
-
-
-
-
-
-
-
- std::string Hazelnp::HazelnuppException::message
-
-
-
-
-protected
-
-
-
-
-
The documentation for this class was generated from the following file:
-
-
-
-
-
-
diff --git a/docs/classHazelnp_1_1HazelnuppException__coll__graph.map b/docs/classHazelnp_1_1HazelnuppException__coll__graph.map
deleted file mode 100644
index 029a14c..0000000
--- a/docs/classHazelnp_1_1HazelnuppException__coll__graph.map
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
diff --git a/docs/classHazelnp_1_1HazelnuppException__coll__graph.md5 b/docs/classHazelnp_1_1HazelnuppException__coll__graph.md5
deleted file mode 100644
index e7d6faf..0000000
--- a/docs/classHazelnp_1_1HazelnuppException__coll__graph.md5
+++ /dev/null
@@ -1 +0,0 @@
-2c5462b81c42480e2dc96be21e93b854
\ No newline at end of file
diff --git a/docs/classHazelnp_1_1HazelnuppException__coll__graph.png b/docs/classHazelnp_1_1HazelnuppException__coll__graph.png
deleted file mode 100644
index ad6d263..0000000
Binary files a/docs/classHazelnp_1_1HazelnuppException__coll__graph.png and /dev/null differ
diff --git a/docs/classHazelnp_1_1HazelnuppException__inherit__graph.map b/docs/classHazelnp_1_1HazelnuppException__inherit__graph.map
deleted file mode 100644
index b911a6d..0000000
--- a/docs/classHazelnp_1_1HazelnuppException__inherit__graph.map
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/classHazelnp_1_1HazelnuppException__inherit__graph.md5 b/docs/classHazelnp_1_1HazelnuppException__inherit__graph.md5
deleted file mode 100644
index f8cb4b9..0000000
--- a/docs/classHazelnp_1_1HazelnuppException__inherit__graph.md5
+++ /dev/null
@@ -1 +0,0 @@
-c69be8783237f5d99a8ac4955ca40a9d
\ No newline at end of file
diff --git a/docs/classHazelnp_1_1HazelnuppException__inherit__graph.png b/docs/classHazelnp_1_1HazelnuppException__inherit__graph.png
deleted file mode 100644
index 765dcfd..0000000
Binary files a/docs/classHazelnp_1_1HazelnuppException__inherit__graph.png and /dev/null differ
diff --git a/docs/classHazelnp_1_1HazelnuppInvalidKeyException-members.html b/docs/classHazelnp_1_1HazelnuppInvalidKeyException-members.html
deleted file mode 100644
index d90b4a1..0000000
--- a/docs/classHazelnp_1_1HazelnuppInvalidKeyException-members.html
+++ /dev/null
@@ -1,98 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Member List
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for Hazelnp::HazelnuppInvalidKeyException , including all inherited members.
-
-
-
-
-
diff --git a/docs/classHazelnp_1_1HazelnuppInvalidKeyException.html b/docs/classHazelnp_1_1HazelnuppInvalidKeyException.html
deleted file mode 100644
index 757345b..0000000
--- a/docs/classHazelnp_1_1HazelnuppInvalidKeyException.html
+++ /dev/null
@@ -1,207 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnp::HazelnuppInvalidKeyException Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Gets thrown when an non-existent key gets dereferenced.
- More...
-
-
#include <HazelnuppException.h >
-
-
-
-
-
-
-
-
-
-
-
-
-
[legend ]
-
-
-
Gets thrown when an non-existent key gets dereferenced.
-
-
Definition at line 29 of file HazelnuppException.h .
-
-
-
◆ HazelnuppInvalidKeyException() [1/2]
-
-
-
-
-
-
-
-
- Hazelnp::HazelnuppInvalidKeyException::HazelnuppInvalidKeyException
- (
- )
-
-
-
-
-
-inline
-
-
-
-
-
-
◆ HazelnuppInvalidKeyException() [2/2]
-
-
-
-
-
-
-
-
- Hazelnp::HazelnuppInvalidKeyException::HazelnuppInvalidKeyException
- (
- const std::string &
- msg )
-
-
-
-
-
-inline
-
-
-
-
-
The documentation for this class was generated from the following file:
-
-
-
-
-
-
diff --git a/docs/classHazelnp_1_1HazelnuppInvalidKeyException__coll__graph.map b/docs/classHazelnp_1_1HazelnuppInvalidKeyException__coll__graph.map
deleted file mode 100644
index 94b2ad3..0000000
--- a/docs/classHazelnp_1_1HazelnuppInvalidKeyException__coll__graph.map
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/docs/classHazelnp_1_1HazelnuppInvalidKeyException__coll__graph.md5 b/docs/classHazelnp_1_1HazelnuppInvalidKeyException__coll__graph.md5
deleted file mode 100644
index 7de0395..0000000
--- a/docs/classHazelnp_1_1HazelnuppInvalidKeyException__coll__graph.md5
+++ /dev/null
@@ -1 +0,0 @@
-16ffa3b5ee2be4c5c1c81b7d6b31ef6e
\ No newline at end of file
diff --git a/docs/classHazelnp_1_1HazelnuppInvalidKeyException__coll__graph.png b/docs/classHazelnp_1_1HazelnuppInvalidKeyException__coll__graph.png
deleted file mode 100644
index 1005044..0000000
Binary files a/docs/classHazelnp_1_1HazelnuppInvalidKeyException__coll__graph.png and /dev/null differ
diff --git a/docs/classHazelnp_1_1HazelnuppInvalidKeyException__inherit__graph.map b/docs/classHazelnp_1_1HazelnuppInvalidKeyException__inherit__graph.map
deleted file mode 100644
index ac469e9..0000000
--- a/docs/classHazelnp_1_1HazelnuppInvalidKeyException__inherit__graph.map
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
diff --git a/docs/classHazelnp_1_1HazelnuppInvalidKeyException__inherit__graph.md5 b/docs/classHazelnp_1_1HazelnuppInvalidKeyException__inherit__graph.md5
deleted file mode 100644
index 7beb2ba..0000000
--- a/docs/classHazelnp_1_1HazelnuppInvalidKeyException__inherit__graph.md5
+++ /dev/null
@@ -1 +0,0 @@
-ec76222368f87411cfe04b269a65aae9
\ No newline at end of file
diff --git a/docs/classHazelnp_1_1HazelnuppInvalidKeyException__inherit__graph.png b/docs/classHazelnp_1_1HazelnuppInvalidKeyException__inherit__graph.png
deleted file mode 100644
index bbeb20c..0000000
Binary files a/docs/classHazelnp_1_1HazelnuppInvalidKeyException__inherit__graph.png and /dev/null differ
diff --git a/docs/classHazelnp_1_1HazelnuppValueNotConvertibleException-members.html b/docs/classHazelnp_1_1HazelnuppValueNotConvertibleException-members.html
deleted file mode 100644
index c29c64d..0000000
--- a/docs/classHazelnp_1_1HazelnuppValueNotConvertibleException-members.html
+++ /dev/null
@@ -1,98 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Member List
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for Hazelnp::HazelnuppValueNotConvertibleException , including all inherited members.
-
-
-
-
-
diff --git a/docs/classHazelnp_1_1HazelnuppValueNotConvertibleException.html b/docs/classHazelnp_1_1HazelnuppValueNotConvertibleException.html
deleted file mode 100644
index 431639f..0000000
--- a/docs/classHazelnp_1_1HazelnuppValueNotConvertibleException.html
+++ /dev/null
@@ -1,207 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnp::HazelnuppValueNotConvertibleException Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not convertible.
- More...
-
-
#include <HazelnuppException.h >
-
-
-
-
-
-
-
-
-
-
-
-
-
[legend ]
-
-
-
Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not convertible.
-
-
Definition at line 38 of file HazelnuppException.h .
-
-
-
◆ HazelnuppValueNotConvertibleException() [1/2]
-
-
-
-
-
-
-
-
- Hazelnp::HazelnuppValueNotConvertibleException::HazelnuppValueNotConvertibleException
- (
- )
-
-
-
-
-
-inline
-
-
-
-
-
-
◆ HazelnuppValueNotConvertibleException() [2/2]
-
-
-
-
-
-
-
-
- Hazelnp::HazelnuppValueNotConvertibleException::HazelnuppValueNotConvertibleException
- (
- const std::string &
- msg )
-
-
-
-
-
-inline
-
-
-
-
-
The documentation for this class was generated from the following file:
-
-
-
-
-
-
diff --git a/docs/classHazelnp_1_1HazelnuppValueNotConvertibleException__coll__graph.map b/docs/classHazelnp_1_1HazelnuppValueNotConvertibleException__coll__graph.map
deleted file mode 100644
index 45a6978..0000000
--- a/docs/classHazelnp_1_1HazelnuppValueNotConvertibleException__coll__graph.map
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/docs/classHazelnp_1_1HazelnuppValueNotConvertibleException__coll__graph.md5 b/docs/classHazelnp_1_1HazelnuppValueNotConvertibleException__coll__graph.md5
deleted file mode 100644
index 3b39ca0..0000000
--- a/docs/classHazelnp_1_1HazelnuppValueNotConvertibleException__coll__graph.md5
+++ /dev/null
@@ -1 +0,0 @@
-6a4d9f244c4f2ea667c5f6cb28e730f4
\ No newline at end of file
diff --git a/docs/classHazelnp_1_1HazelnuppValueNotConvertibleException__coll__graph.png b/docs/classHazelnp_1_1HazelnuppValueNotConvertibleException__coll__graph.png
deleted file mode 100644
index 44df348..0000000
Binary files a/docs/classHazelnp_1_1HazelnuppValueNotConvertibleException__coll__graph.png and /dev/null differ
diff --git a/docs/classHazelnp_1_1HazelnuppValueNotConvertibleException__inherit__graph.map b/docs/classHazelnp_1_1HazelnuppValueNotConvertibleException__inherit__graph.map
deleted file mode 100644
index f754562..0000000
--- a/docs/classHazelnp_1_1HazelnuppValueNotConvertibleException__inherit__graph.map
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
diff --git a/docs/classHazelnp_1_1HazelnuppValueNotConvertibleException__inherit__graph.md5 b/docs/classHazelnp_1_1HazelnuppValueNotConvertibleException__inherit__graph.md5
deleted file mode 100644
index 04e6bea..0000000
--- a/docs/classHazelnp_1_1HazelnuppValueNotConvertibleException__inherit__graph.md5
+++ /dev/null
@@ -1 +0,0 @@
-2c8552ee30b1bf6307565ce38078f9be
\ No newline at end of file
diff --git a/docs/classHazelnp_1_1HazelnuppValueNotConvertibleException__inherit__graph.png b/docs/classHazelnp_1_1HazelnuppValueNotConvertibleException__inherit__graph.png
deleted file mode 100644
index 951d4d3..0000000
Binary files a/docs/classHazelnp_1_1HazelnuppValueNotConvertibleException__inherit__graph.png and /dev/null differ
diff --git a/docs/classHazelnp_1_1IntValue-members.html b/docs/classHazelnp_1_1IntValue-members.html
deleted file mode 100644
index cccf0c1..0000000
--- a/docs/classHazelnp_1_1IntValue-members.html
+++ /dev/null
@@ -1,109 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Member List
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for Hazelnp::IntValue , including all inherited members.
-
-
-
-
-
diff --git a/docs/classHazelnp_1_1IntValue.html b/docs/classHazelnp_1_1IntValue.html
deleted file mode 100644
index 5dc7eff..0000000
--- a/docs/classHazelnp_1_1IntValue.html
+++ /dev/null
@@ -1,582 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnp::IntValue Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Specializations for integer values (uses long long int)
- More...
-
-
#include <IntValue.h >
-
-
-
-
-
-
-
Specializations for integer values (uses long long int)
-
-
Definition at line 8 of file IntValue.h .
-
-
-
◆ IntValue()
-
-
-
-
-
- IntValue::IntValue
- (
- const long long int &
- value )
-
-
-
-
-
-
-
◆ ~IntValue()
-
-
-
-
-
-
-
-
- Hazelnp::IntValue::~IntValue
- (
- )
-
-
-
-
-
-inline override
-
-
-
-
-
-
-
◆ Deepcopy()
-
-
-
-
-
-
-
-
- Value * IntValue::Deepcopy
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
-
◆ GetAsOsString()
-
-
-
-
-
-
-
-
- std::string IntValue::GetAsOsString
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
Will return a string suitable for an std::ostream;.
-
-
Implements Hazelnp::Value .
-
-
Definition at line 20 of file IntValue.cpp .
-
-
-
23 ss <<
"IntValue: " << value;
-
-
-
-
-
-
-
◆ GetFloat32()
-
-
-
-
-
-
-
-
- double IntValue::GetFloat32
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
-
◆ GetFloat64()
-
-
-
-
-
-
-
-
- long double IntValue::GetFloat64
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
Will return the data as a long double.
-
-
Implements Hazelnp::Value .
-
-
Definition at line 54 of file IntValue.cpp .
-
-
56 return (
long double )value;
-
-
-
-
-
-
◆ GetInt32()
-
-
-
-
-
-
-
-
- int IntValue::GetInt32
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
-
◆ GetInt64()
-
-
-
-
-
-
-
-
- long long int IntValue::GetInt64
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
-
◆ GetList()
-
-
-
-
-
-
-
-
- const std::vector< Value * > & IntValue::GetList
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
-
◆ GetString()
-
-
-
-
-
-
-
-
- std::string IntValue::GetString
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
-
◆ GetValue()
-
-
-
-
-
- const long long int & IntValue::GetValue
- (
- )
- const
-
-
-
-
-
Will return the raw value.
-
-
Definition at line 27 of file IntValue.cpp .
-
-
-
-
-
◆ operator int()
-
-
-
-
-
- IntValue::operator int
- (
- )
- const
-
-
-
-
-
-
◆ operator long long int()
-
-
-
-
-
- IntValue::operator long long int
- (
- )
- const
-
-
-
-
-
The documentation for this class was generated from the following files:
-
-IntValue(const long long int &value)
-
-
-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_1IntValue__coll__graph.map b/docs/classHazelnp_1_1IntValue__coll__graph.map
deleted file mode 100644
index 346ceea..0000000
--- a/docs/classHazelnp_1_1IntValue__coll__graph.map
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
diff --git a/docs/classHazelnp_1_1IntValue__coll__graph.md5 b/docs/classHazelnp_1_1IntValue__coll__graph.md5
deleted file mode 100644
index 8f77434..0000000
--- a/docs/classHazelnp_1_1IntValue__coll__graph.md5
+++ /dev/null
@@ -1 +0,0 @@
-d1c122153bd42fb55af0f1031cd38231
\ No newline at end of file
diff --git a/docs/classHazelnp_1_1IntValue__coll__graph.png b/docs/classHazelnp_1_1IntValue__coll__graph.png
deleted file mode 100644
index 1577bd4..0000000
Binary files a/docs/classHazelnp_1_1IntValue__coll__graph.png and /dev/null differ
diff --git a/docs/classHazelnp_1_1IntValue__inherit__graph.map b/docs/classHazelnp_1_1IntValue__inherit__graph.map
deleted file mode 100644
index 346ceea..0000000
--- a/docs/classHazelnp_1_1IntValue__inherit__graph.map
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
diff --git a/docs/classHazelnp_1_1IntValue__inherit__graph.md5 b/docs/classHazelnp_1_1IntValue__inherit__graph.md5
deleted file mode 100644
index 8f77434..0000000
--- a/docs/classHazelnp_1_1IntValue__inherit__graph.md5
+++ /dev/null
@@ -1 +0,0 @@
-d1c122153bd42fb55af0f1031cd38231
\ No newline at end of file
diff --git a/docs/classHazelnp_1_1IntValue__inherit__graph.png b/docs/classHazelnp_1_1IntValue__inherit__graph.png
deleted file mode 100644
index 1577bd4..0000000
Binary files a/docs/classHazelnp_1_1IntValue__inherit__graph.png and /dev/null differ
diff --git a/docs/classHazelnp_1_1Internal_1_1StringTools-members.html b/docs/classHazelnp_1_1Internal_1_1StringTools-members.html
deleted file mode 100644
index 98ea119..0000000
--- a/docs/classHazelnp_1_1Internal_1_1StringTools-members.html
+++ /dev/null
@@ -1,100 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Member List
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for Hazelnp::Internal::StringTools , including all inherited members.
-
- Contains (const std::string &str, const char c)Hazelnp::Internal::StringTools static
- IsNumeric (const std::string &str, const bool allowDecimalPoint=false)Hazelnp::Internal::StringTools static
- ParseNumber (const std::string &str, bool &out_isInt, long double &out_number)Hazelnp::Internal::StringTools static
- Replace (const std::string &str, const char find, const std::string &subst)Hazelnp::Internal::StringTools static
- Replace (const std::string &str, const std::string &find, const std::string &subst)Hazelnp::Internal::StringTools static
- SplitString (const std::string &str, const char delimiter)Hazelnp::Internal::StringTools static
- SplitString (const std::string &str, const std::string &delimiter)Hazelnp::Internal::StringTools static
- ToLower (const std::string &str)Hazelnp::Internal::StringTools static
-
-
-
-
-
diff --git a/docs/classHazelnp_1_1Internal_1_1StringTools.html b/docs/classHazelnp_1_1Internal_1_1StringTools.html
deleted file mode 100644
index 5033cad..0000000
--- a/docs/classHazelnp_1_1Internal_1_1StringTools.html
+++ /dev/null
@@ -1,634 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnp::Internal::StringTools Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Internal helper class.
- More...
-
-
#include <StringTools.h >
-
-
-static bool Contains (const std::string &str, const char c)
- Will return wether or not a given char is in a string. More...
-
-static std::string Replace (const std::string &str, const char find, const std::string &subst)
- Will replace a part of a string with another string. More...
-
-static std::string Replace (const std::string &str, const std::string &find, const std::string &subst)
- Will replace a part of a string with another string. More...
-
-static bool IsNumeric (const std::string &str, const bool allowDecimalPoint=false)
- Will return true if the given string consists only of digits (including signage) More...
-
-static bool ParseNumber (const std::string &str, bool &out_isInt, long double &out_number)
- Will convert the number in str to a number. More...
-
-static std::vector< std::string > SplitString (const std::string &str, const char delimiter)
- Will split a string by a delimiter char. The delimiter will be excluded! More...
-
-static std::vector< std::string > SplitString (const std::string &str, const std::string &delimiter)
- Will split a string by a delimiter string. The delimiter will be excluded! More...
-
-static std::string ToLower (const std::string &str)
- Will make a string all lower-case. More...
-
-
-
-
Internal helper class.
-
Feel free to use it tho.
-
-
Definition at line 13 of file StringTools.h .
-
-
-
◆ Contains()
-
-
-
-
-
-
-
-
- bool Internal::StringTools::Contains
- (
- const std::string &
- str ,
-
-
-
-
- const char
- c
-
-
-
- )
-
-
-
-
-
-static
-
-
-
-
-
Will return wether or not a given char is in a string.
-
-
Definition at line 5 of file StringTools.cpp .
-
-
7 for (
const char & i : str)
-
-
-
-
-
-
-
-
-
-
◆ IsNumeric()
-
-
-
-
-
-
-
-
- bool Internal::StringTools::IsNumeric
- (
- const std::string &
- str ,
-
-
-
-
- const bool
- allowDecimalPoint = false
-
-
-
- )
-
-
-
-
-
-static
-
-
-
-
-
Will return true if the given string consists only of digits (including signage)
-
-
Definition at line 56 of file StringTools.cpp .
-
-
58 if (str.length() == 0)
return false ;
-
-
60 bool alreadyParsedDecimalPoint =
false ;
-
61 std::size_t digitCount = 0;
-
-
63 for (std::size_t i = 0; i < str.length(); i++)
-
-
-
66 ((str[i] >=
'0' ) && (str[i] <=
'9' )) ||
-
67 ((str[i] ==
'-' ) && (i == 0)) ||
-
68 ((str[i] ==
'.' ) && (allowDecimalPoint) && (!alreadyParsedDecimalPoint) && (digitCount > 0))
-
-
-
-
-
-
74 if (((str[i] >=
'0' ) && (str[i] <=
'9' ))) digitCount++;
-
75 if (str[i] ==
'.' ) alreadyParsedDecimalPoint =
true ;
-
-
-
-
79 return digitCount > 0;
-
-
-
-
-
-
◆ ParseNumber()
-
-
-
-
-
-
-
-
- bool Internal::StringTools::ParseNumber
- (
- const std::string &
- str ,
-
-
-
-
- bool &
- out_isInt ,
-
-
-
-
- long double &
- out_number
-
-
-
- )
-
-
-
-
-
-static
-
-
-
-
-
Will convert the number in str to a number.
-
- Returns wether or not the operation was successful.
- Also returns wether the number is an integer, or floating point. If int, cast out_number to int.
-
-
Definition at line 82 of file StringTools.cpp .
-
-
84 bool isDecimal =
false ;
-
-
86 if (str.length() == 0)
return false ;
-
87 if (
Contains (str,
'.' )) isDecimal =
true ;
-
-
-
-
-
-
93 out_number = std::stold(str);
-
-
-
96 catch (std::invalid_argument&)
-
-
-
-
100 catch (std::out_of_range&)
-
-
-
-
-
-
-
-
-
109 out_number = (
long double)std::stoll(str);
-
-
-
112 catch (std::invalid_argument&)
-
-
-
-
116 catch (std::out_of_range&)
-
-
-
-
-
-
-
-
-
-
-
-
◆ Replace() [1/2]
-
-
-
-
-
-
-
-
- std::string Internal::StringTools::Replace
- (
- const std::string &
- str ,
-
-
-
-
- const char
- find ,
-
-
-
-
- const std::string &
- subst
-
-
-
- )
-
-
-
-
-
-static
-
-
-
-
-
Will replace a part of a string with another string.
-
-
Definition at line 14 of file StringTools.cpp .
-
-
-
-
18 for (std::size_t i = 0; i < str.length(); i++)
-
-
20 if (str[i] != find) ss << str[i];
-
-
-
-
-
-
-
-
-
-
◆ Replace() [2/2]
-
-
-
-
-
-
-
-
- std::string Internal::StringTools::Replace
- (
- const std::string &
- str ,
-
-
-
-
- const std::string &
- find ,
-
-
-
-
- const std::string &
- subst
-
-
-
- )
-
-
-
-
-
-static
-
-
-
-
-
Will replace a part of a string with another string.
-
-
Definition at line 27 of file StringTools.cpp .
-
-
29 if (find.length() == 0)
return str;
-
-
-
-
33 std::size_t posFound = 0;
-
34 std::size_t lastFound = 0;
-
-
36 while (posFound != std::string::npos)
-
-
-
39 posFound = str.find(find, posFound);
-
-
41 if (posFound != std::string::npos)
-
-
43 ss << str.substr(lastFound, posFound - lastFound) << subst;
-
44 posFound += find.length();
-
-
-
-
48 ss << str.substr(lastFound, (str.length()) - lastFound);
-
-
-
-
-
-
-
-
-
-
◆ SplitString() [1/2]
-
-
-
-
-
-
-
-
- std::vector< std::string > Internal::StringTools::SplitString
- (
- const std::string &
- str ,
-
-
-
-
- const char
- delimiter
-
-
-
- )
-
-
-
-
-
-static
-
-
-
-
-
Will split a string by a delimiter char. The delimiter will be excluded!
-
-
Definition at line 125 of file StringTools.cpp .
-
-
127 if (str.length() == 0)
return std::vector<std::string>();
-
-
-
-
-
-
-
-
◆ SplitString() [2/2]
-
-
-
-
-
-
-
-
- std::vector< std::string > Internal::StringTools::SplitString
- (
- const std::string &
- str ,
-
-
-
-
- const std::string &
- delimiter
-
-
-
- )
-
-
-
-
-
-static
-
-
-
-
-
Will split a string by a delimiter string. The delimiter will be excluded!
-
-
Definition at line 132 of file StringTools.cpp .
-
-
134 if (str.length() == 0)
return std::vector<std::string>();
-
-
136 std::vector<std::string> parts;
-
-
138 if (delimiter.length() == 0)
-
-
140 for (std::size_t i = 0; i < str.length(); i++)
-
-
142 parts.push_back(std::string({ str[i] }));
-
-
-
-
-
147 std::size_t posFound = 0;
-
148 std::size_t lastFound = 0;
-
-
150 while (posFound != std::string::npos)
-
-
152 lastFound = posFound;
-
153 posFound = str.find(delimiter, posFound);
-
-
-
-
157 if (posFound != std::string::npos)
-
-
159 found = str.substr(lastFound, posFound - lastFound);
-
160 posFound += delimiter.length();
-
-
-
-
164 found = str.substr(lastFound, str.length() - lastFound);
-
-
-
167 parts.push_back(found);
-
-
-
-
-
-
-
-
-
◆ ToLower()
-
-
-
-
-
-
-
-
- std::string Internal::StringTools::ToLower
- (
- const std::string &
- str )
-
-
-
-
-
-static
-
-
-
-
-
Will make a string all lower-case.
-
-
Definition at line 173 of file StringTools.cpp .
-
-
175 std::stringstream ss;
-
176 for (std::size_t i = 0; i < str.length(); i++)
-
-
178 if ((str[i] >=
'A' ) && (str[i] <=
'Z' )) ss << (char)(((
int )str[i]) + 32);
-
179 else if (str[i] == -60) ss << (char)-28;
-
180 else if (str[i] == -42) ss << (char)-10;
-
181 else if (str[i] == -36) ss << (char)-4;
-
-
-
-
-
-
-
-
-
The documentation for this class was generated from the following files:
-
-
-
-
-
-
-
diff --git a/docs/classHazelnp_1_1ListValue-members.html b/docs/classHazelnp_1_1ListValue-members.html
deleted file mode 100644
index b157050..0000000
--- a/docs/classHazelnp_1_1ListValue-members.html
+++ /dev/null
@@ -1,109 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Member List
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for Hazelnp::ListValue , including all inherited members.
-
-
-
-
-
diff --git a/docs/classHazelnp_1_1ListValue.html b/docs/classHazelnp_1_1ListValue.html
deleted file mode 100644
index ebc116e..0000000
--- a/docs/classHazelnp_1_1ListValue.html
+++ /dev/null
@@ -1,609 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnp::ListValue Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Specializations for list values (uses std::vector<Value*>)
- More...
-
-
#include <ListValue.h >
-
-
-
-
-
-
-
Specializations for list values (uses std::vector<Value*>)
-
-
Definition at line 9 of file ListValue.h .
-
-
-
◆ ListValue()
-
-
-
-
-
- ListValue::ListValue
- (
- )
-
-
-
-
-
-
-
◆ ~ListValue()
-
-
-
-
-
-
-
-
- ListValue::~ListValue
- (
- )
-
-
-
-
-
-override
-
-
-
-
-
-
-
◆ AddValue()
-
-
-
-
-
- void ListValue::AddValue
- (
- const Value *
- value )
-
-
-
-
-
-
Will add this value to the list.
-
-
Definition at line 33 of file ListValue.cpp .
-
-
35 this->value.emplace_back(value->
Deepcopy ());
-
-
-
-
-
-
-
◆ Deepcopy()
-
-
-
-
-
-
-
-
- Value * ListValue::Deepcopy
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
Will return a deeopopy of this object.
-
-
Implements Hazelnp::Value .
-
-
Definition at line 23 of file ListValue.cpp .
-
-
-
-
27 for (
const Value * val : value)
-
-
-
-
-
-
-
-
-
◆ GetAsOsString()
-
-
-
-
-
-
-
-
- std::string ListValue::GetAsOsString
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
Will return a string suitable for an std::ostream;.
-
-
Implements Hazelnp::Value .
-
-
Definition at line 44 of file ListValue.cpp .
-
-
-
-
-
-
50 for (
const Value * val : value)
-
-
-
53 if (val != value.back())
-
-
-
-
-
-
-
-
-
-
-
-
◆ GetFloat32()
-
-
-
-
-
-
-
-
- double ListValue::GetFloat32
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
-
◆ GetFloat64()
-
-
-
-
-
-
-
-
- long double ListValue::GetFloat64
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
-
◆ GetInt32()
-
-
-
-
-
-
-
-
- int ListValue::GetInt32
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
-
◆ GetInt64()
-
-
-
-
-
-
-
-
- long long int ListValue::GetInt64
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
-
◆ GetList()
-
-
-
-
-
-
-
-
- const std::vector< Value * > & ListValue::GetList
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
-
◆ GetString()
-
-
-
-
-
-
-
-
- std::string ListValue::GetString
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
-
◆ GetValue()
-
-
-
-
-
- const std::vector< Value * > & ListValue::GetValue
- (
- )
- const
-
-
-
-
-
Will return the raw value.
-
-
Definition at line 39 of file ListValue.cpp .
-
-
-
-
-
◆ operator std::vector< Value * >()
-
-
-
-
-
- ListValue::operator std::vector< Value * >
- (
- )
- const
-
-
-
-
-
The documentation for this class was generated from the following files:
-
-Abstract class for values.
-
-
-void AddValue(const Value *value)
Will add this value to the list.
-
-virtual Value * Deepcopy() const =0
Will return a deeopopy of this object.
-Specializations for list values (uses std::vector<Value*>)
-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_1ListValue__coll__graph.map b/docs/classHazelnp_1_1ListValue__coll__graph.map
deleted file mode 100644
index 058621e..0000000
--- a/docs/classHazelnp_1_1ListValue__coll__graph.map
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
diff --git a/docs/classHazelnp_1_1ListValue__coll__graph.md5 b/docs/classHazelnp_1_1ListValue__coll__graph.md5
deleted file mode 100644
index 92755e4..0000000
--- a/docs/classHazelnp_1_1ListValue__coll__graph.md5
+++ /dev/null
@@ -1 +0,0 @@
-6921e127b70abed544fbb3e125f3d3b2
\ No newline at end of file
diff --git a/docs/classHazelnp_1_1ListValue__coll__graph.png b/docs/classHazelnp_1_1ListValue__coll__graph.png
deleted file mode 100644
index 108f96b..0000000
Binary files a/docs/classHazelnp_1_1ListValue__coll__graph.png and /dev/null differ
diff --git a/docs/classHazelnp_1_1ListValue__inherit__graph.map b/docs/classHazelnp_1_1ListValue__inherit__graph.map
deleted file mode 100644
index 058621e..0000000
--- a/docs/classHazelnp_1_1ListValue__inherit__graph.map
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
diff --git a/docs/classHazelnp_1_1ListValue__inherit__graph.md5 b/docs/classHazelnp_1_1ListValue__inherit__graph.md5
deleted file mode 100644
index 92755e4..0000000
--- a/docs/classHazelnp_1_1ListValue__inherit__graph.md5
+++ /dev/null
@@ -1 +0,0 @@
-6921e127b70abed544fbb3e125f3d3b2
\ No newline at end of file
diff --git a/docs/classHazelnp_1_1ListValue__inherit__graph.png b/docs/classHazelnp_1_1ListValue__inherit__graph.png
deleted file mode 100644
index 108f96b..0000000
Binary files a/docs/classHazelnp_1_1ListValue__inherit__graph.png and /dev/null differ
diff --git a/docs/classHazelnp_1_1Parameter-members.html b/docs/classHazelnp_1_1Parameter-members.html
deleted file mode 100644
index 50a7c11..0000000
--- a/docs/classHazelnp_1_1Parameter-members.html
+++ /dev/null
@@ -1,97 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Member List
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for Hazelnp::Parameter , including all inherited members.
-
-
-
-
-
diff --git a/docs/classHazelnp_1_1Parameter.html b/docs/classHazelnp_1_1Parameter.html
deleted file mode 100644
index b5a6920..0000000
--- a/docs/classHazelnp_1_1Parameter.html
+++ /dev/null
@@ -1,283 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnp::Parameter Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#include <Parameter.h >
-
-
-
-
Definition at line 8 of file Parameter.h .
-
-
-
◆ Parameter()
-
-
-
-
-
-
-
-
- Parameter::Parameter
- (
- const std::string &
- key ,
-
-
-
-
- const Value *
- value
-
-
-
- )
-
-
-
-
-
-explicit
-
-
-
-
-
-
◆ ~Parameter()
-
-
-
-
-
- Parameter::~Parameter
- (
- )
-
-
-
-
-
-
-
-
◆ GetValue()
-
-
-
-
-
- const ::Value * Parameter::GetValue
- (
- )
- const
-
-
-
-
-
Will return the value of this parameter.
-
-
Definition at line 26 of file Parameter.cpp .
-
-
-
-
-
◆ Key()
-
-
-
-
-
- const std::string & Parameter::Key
- (
- )
- const
-
-
-
-
-
Will return the key of this parameter.
-
-
Definition at line 21 of file Parameter.cpp .
-
-
-
-
-
-
◆ operator<<
-
-
-
-
-
-
-
-
- std::ostream& operator<<
- (
- std::ostream &
- os ,
-
-
-
-
- const Parameter &
- p
-
-
-
- )
-
-
-
-
-
-friend
-
-
-
-
-
Definition at line 20 of file Parameter.h .
-
-
22 return os <<
"{ Key: \"" << p.key <<
"\" -> " << *p.value <<
" }" ;
-
-
-
-
-
The documentation for this class was generated from the following files:
-
-virtual Value * Deepcopy() const =0
Will return a deeopopy of this object.
-
-
-
-
diff --git a/docs/classHazelnp_1_1StringTools-members.html b/docs/classHazelnp_1_1StringTools-members.html
deleted file mode 100644
index 1e3559d..0000000
--- a/docs/classHazelnp_1_1StringTools-members.html
+++ /dev/null
@@ -1,100 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Member List
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for Hazelnp::StringTools , including all inherited members.
-
- Contains (const std::string &str, const char c)Hazelnp::StringTools static
- IsNumeric (const std::string &str, const bool allowDecimalPoint=false)Hazelnp::StringTools static
- ParseNumber (const std::string &str, bool &out_isInt, long double &out_number)Hazelnp::StringTools static
- Replace (const std::string &str, const char find, const std::string &subst)Hazelnp::StringTools static
- Replace (const std::string &str, const std::string &find, const std::string &subst)Hazelnp::StringTools static
- SplitString (const std::string &str, const char delimiter)Hazelnp::StringTools static
- SplitString (const std::string &str, const std::string &delimiter)Hazelnp::StringTools static
- ToLower (const std::string &str)Hazelnp::StringTools static
-
-
-
-
-
diff --git a/docs/classHazelnp_1_1StringTools.html b/docs/classHazelnp_1_1StringTools.html
deleted file mode 100644
index 0847128..0000000
--- a/docs/classHazelnp_1_1StringTools.html
+++ /dev/null
@@ -1,634 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnp::StringTools Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Internal helper class.
- More...
-
-
#include <StringTools.h >
-
-
-static bool Contains (const std::string &str, const char c)
- Will return wether or not a given char is in a string. More...
-
-static std::string Replace (const std::string &str, const char find, const std::string &subst)
- Will replace a part of a string with another string. More...
-
-static std::string Replace (const std::string &str, const std::string &find, const std::string &subst)
- Will replace a part of a string with another string. More...
-
-static bool IsNumeric (const std::string &str, const bool allowDecimalPoint=false)
- Will return true if the given string consists only of digits (including signage) More...
-
-static bool ParseNumber (const std::string &str, bool &out_isInt, long double &out_number)
- Will convert the number in str to a number. More...
-
-static std::vector< std::string > SplitString (const std::string &str, const char delimiter)
- Will split a string by a delimiter char. The delimiter will be excluded! More...
-
-static std::vector< std::string > SplitString (const std::string &str, const std::string &delimiter)
- Will split a string by a delimiter string. The delimiter will be excluded! More...
-
-static std::string ToLower (const std::string &str)
- Will make a string all lower-case. More...
-
-
-
-
Internal helper class.
-
Feel free to use it tho.
-
-
Definition at line 11 of file StringTools.h .
-
-
-
◆ Contains()
-
-
-
-
-
-
-
-
- bool StringTools::Contains
- (
- const std::string &
- str ,
-
-
-
-
- const char
- c
-
-
-
- )
-
-
-
-
-
-static
-
-
-
-
-
Will return wether or not a given char is in a string.
-
-
Definition at line 5 of file StringTools.cpp .
-
-
7 for (
const char & i : str)
-
-
-
-
-
-
-
-
-
-
◆ IsNumeric()
-
-
-
-
-
-
-
-
- bool StringTools::IsNumeric
- (
- const std::string &
- str ,
-
-
-
-
- const bool
- allowDecimalPoint = false
-
-
-
- )
-
-
-
-
-
-static
-
-
-
-
-
Will return true if the given string consists only of digits (including signage)
-
-
Definition at line 56 of file StringTools.cpp .
-
-
58 if (str.length() == 0)
return false ;
-
-
60 bool alreadyParsedDecimalPoint =
false ;
-
61 std::size_t digitCount = 0;
-
-
63 for (std::size_t i = 0; i < str.length(); i++)
-
-
-
66 ((str[i] >=
'0' ) && (str[i] <=
'9' )) ||
-
67 ((str[i] ==
'-' ) && (i == 0)) ||
-
68 ((str[i] ==
'.' ) && (allowDecimalPoint) && (!alreadyParsedDecimalPoint) && (digitCount > 0))
-
-
-
-
-
-
74 if (((str[i] >=
'0' ) && (str[i] <=
'9' ))) digitCount++;
-
75 if (str[i] ==
'.' ) alreadyParsedDecimalPoint =
true ;
-
-
-
-
79 return digitCount > 0;
-
-
-
-
-
-
◆ ParseNumber()
-
-
-
-
-
-
-
-
- bool StringTools::ParseNumber
- (
- const std::string &
- str ,
-
-
-
-
- bool &
- out_isInt ,
-
-
-
-
- long double &
- out_number
-
-
-
- )
-
-
-
-
-
-static
-
-
-
-
-
Will convert the number in str to a number.
-
- Returns wether or not the operation was successful.
- Also returns wether the number is an integer, or floating point. If int, cast out_number to int.
-
-
Definition at line 82 of file StringTools.cpp .
-
-
84 bool isDecimal =
false ;
-
-
86 if (str.length() == 0)
return false ;
-
87 if (
Contains (str,
'.' )) isDecimal =
true ;
-
-
-
-
-
-
93 out_number = std::stold(str);
-
-
-
96 catch (std::invalid_argument&)
-
-
-
-
100 catch (std::out_of_range&)
-
-
-
-
-
-
-
-
-
109 out_number = (
long double)std::stoll(str);
-
-
-
112 catch (std::invalid_argument&)
-
-
-
-
116 catch (std::out_of_range&)
-
-
-
-
-
-
-
-
-
-
-
-
◆ Replace() [1/2]
-
-
-
-
-
-
-
-
- std::string StringTools::Replace
- (
- const std::string &
- str ,
-
-
-
-
- const char
- find ,
-
-
-
-
- const std::string &
- subst
-
-
-
- )
-
-
-
-
-
-static
-
-
-
-
-
Will replace a part of a string with another string.
-
-
Definition at line 14 of file StringTools.cpp .
-
-
-
-
18 for (std::size_t i = 0; i < str.length(); i++)
-
-
20 if (str[i] != find) ss << str[i];
-
-
-
-
-
-
-
-
-
-
◆ Replace() [2/2]
-
-
-
-
-
-
-
-
- std::string StringTools::Replace
- (
- const std::string &
- str ,
-
-
-
-
- const std::string &
- find ,
-
-
-
-
- const std::string &
- subst
-
-
-
- )
-
-
-
-
-
-static
-
-
-
-
-
Will replace a part of a string with another string.
-
-
Definition at line 27 of file StringTools.cpp .
-
-
29 if (find.length() == 0)
return str;
-
-
-
-
33 std::size_t posFound = 0;
-
34 std::size_t lastFound = 0;
-
-
36 while (posFound != std::string::npos)
-
-
-
39 posFound = str.find(find, posFound);
-
-
41 if (posFound != std::string::npos)
-
-
43 ss << str.substr(lastFound, posFound - lastFound) << subst;
-
44 posFound += find.length();
-
-
-
-
48 ss << str.substr(lastFound, (str.length()) - lastFound);
-
-
-
-
-
-
-
-
-
-
◆ SplitString() [1/2]
-
-
-
-
-
-
-
-
- std::vector< std::string > StringTools::SplitString
- (
- const std::string &
- str ,
-
-
-
-
- const char
- delimiter
-
-
-
- )
-
-
-
-
-
-static
-
-
-
-
-
Will split a string by a delimiter char. The delimiter will be excluded!
-
-
Definition at line 125 of file StringTools.cpp .
-
-
127 if (str.length() == 0)
return std::vector<std::string>();
-
-
-
-
-
-
-
-
◆ SplitString() [2/2]
-
-
-
-
-
-
-
-
- std::vector< std::string > StringTools::SplitString
- (
- const std::string &
- str ,
-
-
-
-
- const std::string &
- delimiter
-
-
-
- )
-
-
-
-
-
-static
-
-
-
-
-
Will split a string by a delimiter string. The delimiter will be excluded!
-
-
Definition at line 132 of file StringTools.cpp .
-
-
134 if (str.length() == 0)
return std::vector<std::string>();
-
-
136 std::vector<std::string> parts;
-
-
138 if (delimiter.length() == 0)
-
-
140 for (std::size_t i = 0; i < str.length(); i++)
-
-
142 parts.push_back(std::string({ str[i] }));
-
-
-
-
-
147 std::size_t posFound = 0;
-
148 std::size_t lastFound = 0;
-
-
150 while (posFound != std::string::npos)
-
-
152 lastFound = posFound;
-
153 posFound = str.find(delimiter, posFound);
-
-
-
-
157 if (posFound != std::string::npos)
-
-
159 found = str.substr(lastFound, posFound - lastFound);
-
160 posFound += delimiter.length();
-
-
-
-
164 found = str.substr(lastFound, str.length() - lastFound);
-
-
-
167 parts.push_back(found);
-
-
-
-
-
-
-
-
-
◆ ToLower()
-
-
-
-
-
-
-
-
- std::string StringTools::ToLower
- (
- const std::string &
- str )
-
-
-
-
-
-static
-
-
-
-
-
Will make a string all lower-case.
-
-
Definition at line 173 of file StringTools.cpp .
-
-
175 std::stringstream ss;
-
176 for (std::size_t i = 0; i < str.length(); i++)
-
-
178 if ((str[i] >=
'A' ) && (str[i] <=
'Z' )) ss << (char)(((
int )str[i]) + 32);
-
179 else if (str[i] == -60) ss << (char)-28;
-
180 else if (str[i] == -42) ss << (char)-10;
-
181 else if (str[i] == -36) ss << (char)-4;
-
-
-
-
-
-
-
-
-
The documentation for this class was generated from the following files:
-
-
-
-
-
-
-
diff --git a/docs/classHazelnp_1_1StringValue-members.html b/docs/classHazelnp_1_1StringValue-members.html
deleted file mode 100644
index f1e3500..0000000
--- a/docs/classHazelnp_1_1StringValue-members.html
+++ /dev/null
@@ -1,108 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Member List
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for Hazelnp::StringValue , including all inherited members.
-
-
-
-
-
diff --git a/docs/classHazelnp_1_1StringValue.html b/docs/classHazelnp_1_1StringValue.html
deleted file mode 100644
index 071170c..0000000
--- a/docs/classHazelnp_1_1StringValue.html
+++ /dev/null
@@ -1,555 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnp::StringValue Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Specializations for string values (uses std::string)
- More...
-
-
#include <StringValue.h >
-
-
-
-
-
-
-
Specializations for string values (uses std::string)
-
-
Definition at line 9 of file StringValue.h .
-
-
-
◆ StringValue()
-
-
-
-
-
- StringValue::StringValue
- (
- const std::string &
- value )
-
-
-
-
-
-
-
◆ ~StringValue()
-
-
-
-
-
-
-
-
- Hazelnp::StringValue::~StringValue
- (
- )
-
-
-
-
-
-inline override
-
-
-
-
-
-
-
◆ Deepcopy()
-
-
-
-
-
-
-
-
- Value * StringValue::Deepcopy
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
-
◆ GetAsOsString()
-
-
-
-
-
-
-
-
- std::string StringValue::GetAsOsString
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
Will return a string suitable for an std::ostream;.
-
-
Implements Hazelnp::Value .
-
-
Definition at line 20 of file StringValue.cpp .
-
-
-
23 ss <<
"StringValue: " << value;
-
-
-
-
-
-
-
◆ GetFloat32()
-
-
-
-
-
-
-
-
- double StringValue::GetFloat32
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
-
◆ GetFloat64()
-
-
-
-
-
-
-
-
- long double StringValue::GetFloat64
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
-
◆ GetInt32()
-
-
-
-
-
-
-
-
- int StringValue::GetInt32
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
-
◆ GetInt64()
-
-
-
-
-
-
-
-
- long long int StringValue::GetInt64
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
-
◆ GetList()
-
-
-
-
-
-
-
-
- const std::vector< Value * > & StringValue::GetList
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
-
◆ GetString()
-
-
-
-
-
-
-
-
- std::string StringValue::GetString
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
-
◆ GetValue()
-
-
-
-
-
- const std::string & StringValue::GetValue
- (
- )
- const
-
-
-
-
-
-
◆ operator std::string()
-
-
-
-
-
- StringValue::operator std::string
- (
- )
- const
-
-
-
-
-
The documentation for this class was generated from the following files:
-
-StringValue(const std::string &value)
-
-
-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_1StringValue__coll__graph.map b/docs/classHazelnp_1_1StringValue__coll__graph.map
deleted file mode 100644
index 3296184..0000000
--- a/docs/classHazelnp_1_1StringValue__coll__graph.map
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
diff --git a/docs/classHazelnp_1_1StringValue__coll__graph.md5 b/docs/classHazelnp_1_1StringValue__coll__graph.md5
deleted file mode 100644
index 09c0ce8..0000000
--- a/docs/classHazelnp_1_1StringValue__coll__graph.md5
+++ /dev/null
@@ -1 +0,0 @@
-4997cc0c07834e05bdfd8f7c9c787db0
\ No newline at end of file
diff --git a/docs/classHazelnp_1_1StringValue__coll__graph.png b/docs/classHazelnp_1_1StringValue__coll__graph.png
deleted file mode 100644
index d04958c..0000000
Binary files a/docs/classHazelnp_1_1StringValue__coll__graph.png and /dev/null differ
diff --git a/docs/classHazelnp_1_1StringValue__inherit__graph.map b/docs/classHazelnp_1_1StringValue__inherit__graph.map
deleted file mode 100644
index 3296184..0000000
--- a/docs/classHazelnp_1_1StringValue__inherit__graph.map
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
diff --git a/docs/classHazelnp_1_1StringValue__inherit__graph.md5 b/docs/classHazelnp_1_1StringValue__inherit__graph.md5
deleted file mode 100644
index 09c0ce8..0000000
--- a/docs/classHazelnp_1_1StringValue__inherit__graph.md5
+++ /dev/null
@@ -1 +0,0 @@
-4997cc0c07834e05bdfd8f7c9c787db0
\ No newline at end of file
diff --git a/docs/classHazelnp_1_1StringValue__inherit__graph.png b/docs/classHazelnp_1_1StringValue__inherit__graph.png
deleted file mode 100644
index d04958c..0000000
Binary files a/docs/classHazelnp_1_1StringValue__inherit__graph.png and /dev/null differ
diff --git a/docs/classHazelnp_1_1Value-members.html b/docs/classHazelnp_1_1Value-members.html
deleted file mode 100644
index 42ae4ab..0000000
--- a/docs/classHazelnp_1_1Value-members.html
+++ /dev/null
@@ -1,105 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Member List
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for Hazelnp::Value , including all inherited members.
-
-
-
-
-
diff --git a/docs/classHazelnp_1_1Value.html b/docs/classHazelnp_1_1Value.html
deleted file mode 100644
index 4b8a091..0000000
--- a/docs/classHazelnp_1_1Value.html
+++ /dev/null
@@ -1,556 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnp::Value Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Abstract class for values.
- More...
-
-
#include <Value.h >
-
-
-
-
-
-
-
-
-
-
-
-
[legend ]
-
-
-virtual ~Value ()
-
-virtual Value * Deepcopy () const =0
- Will return a deeopopy of this object. More...
-
-virtual std::string GetAsOsString () const =0
- Will return a string suitable for an std::ostream. More...
-
-DATA_TYPE GetDataType () const
- Will return the data type of this value. More...
-
-virtual long long int GetInt64 () const =0
- Will attempt to return the integer data (long long) More...
-
-virtual int GetInt32 () const =0
- Will attempt to return the integer data (int) More...
-
-virtual long double GetFloat64 () const =0
- Will attempt to return the floating-point data (long double) More...
-
-virtual double GetFloat32 () const =0
- Will attempt to return the floating-point data (double) More...
-
-virtual std::string GetString () const =0
- Will attempt to return the string-data. More...
-
-virtual const std::vector< Value * > & GetList () const =0
- Will attempt to return the list-data. More...
-
-
-
-
Abstract class for values.
-
-
Definition at line 10 of file Value.h .
-
-
-
◆ ~Value()
-
-
-
-
-
-
-
-
- virtual Hazelnp::Value::~Value
- (
- )
-
-
-
-
-
-inline virtual
-
-
-
-
-
Definition at line 13 of file Value.h .
-
-
-
-
-
◆ Value()
-
-
-
-
-
-
-
-
- Value::Value
- (
- DATA_TYPE
- type )
-
-
-
-
-
-protected
-
-
-
-
-
-
-
◆ Deepcopy()
-
-
-
-
-
-
-
-
- virtual Value * Hazelnp::Value::Deepcopy
- (
- )
- const
-
-
-
-
-pure virtual
-
-
-
-
-
-
◆ GetAsOsString()
-
-
-
-
-
-
-
-
- virtual std::string Hazelnp::Value::GetAsOsString
- (
- )
- const
-
-
-
-
-pure virtual
-
-
-
-
-
-
◆ GetDataType()
-
-
-
-
-
- DATA_TYPE Value::GetDataType
- (
- )
- const
-
-
-
-
-
Will return the data type of this value.
-
-
Definition at line 12 of file Value.cpp .
-
-
-
-
-
◆ GetFloat32()
-
-
-
-
-
-
-
-
- virtual double Hazelnp::Value::GetFloat32
- (
- )
- const
-
-
-
-
-pure virtual
-
-
-
-
-
-
◆ GetFloat64()
-
-
-
-
-
-
-
-
- virtual long double Hazelnp::Value::GetFloat64
- (
- )
- const
-
-
-
-
-pure virtual
-
-
-
-
-
-
◆ GetInt32()
-
-
-
-
-
-
-
-
- virtual int Hazelnp::Value::GetInt32
- (
- )
- const
-
-
-
-
-pure virtual
-
-
-
-
-
-
◆ GetInt64()
-
-
-
-
-
-
-
-
- virtual long long int Hazelnp::Value::GetInt64
- (
- )
- const
-
-
-
-
-pure virtual
-
-
-
-
-
-
◆ GetList()
-
-
-
-
-
-
-
-
- virtual const std::vector<Value *>& Hazelnp::Value::GetList
- (
- )
- const
-
-
-
-
-pure virtual
-
-
-
-
-
-
◆ GetString()
-
-
-
-
-
-
-
-
- virtual std::string Hazelnp::Value::GetString
- (
- )
- const
-
-
-
-
-pure virtual
-
-
-
-
-
-
-
◆ operator<<
-
-
-
-
-
-
-
-
- std::ostream& operator<<
- (
- std::ostream &
- os ,
-
-
-
-
- const Value &
- v
-
-
-
- )
-
-
-
-
-
-friend
-
-
-
-
-
Definition at line 24 of file Value.h .
-
-
26 return os << v.GetAsOsString();
-
-
-
-
-
-
-
◆ type
-
-
-
-
-
Definition at line 48 of file Value.h .
-
-
-
-
The documentation for this class was generated from the following files:
-
-
-
-
-
-
diff --git a/docs/classHazelnp_1_1Value__inherit__graph.map b/docs/classHazelnp_1_1Value__inherit__graph.map
deleted file mode 100644
index d1f45d5..0000000
--- a/docs/classHazelnp_1_1Value__inherit__graph.map
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/docs/classHazelnp_1_1Value__inherit__graph.md5 b/docs/classHazelnp_1_1Value__inherit__graph.md5
deleted file mode 100644
index 806245e..0000000
--- a/docs/classHazelnp_1_1Value__inherit__graph.md5
+++ /dev/null
@@ -1 +0,0 @@
-8c449cea971b5762dc13a0d94fcc64bd
\ No newline at end of file
diff --git a/docs/classHazelnp_1_1Value__inherit__graph.png b/docs/classHazelnp_1_1Value__inherit__graph.png
deleted file mode 100644
index fe2031a..0000000
Binary files a/docs/classHazelnp_1_1Value__inherit__graph.png and /dev/null differ
diff --git a/docs/classHazelnp_1_1VoidValue-members.html b/docs/classHazelnp_1_1VoidValue-members.html
deleted file mode 100644
index e0c3922..0000000
--- a/docs/classHazelnp_1_1VoidValue-members.html
+++ /dev/null
@@ -1,106 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Member List
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for Hazelnp::VoidValue , including all inherited members.
-
-
-
-
-
diff --git a/docs/classHazelnp_1_1VoidValue.html b/docs/classHazelnp_1_1VoidValue.html
deleted file mode 100644
index 7caf40d..0000000
--- a/docs/classHazelnp_1_1VoidValue.html
+++ /dev/null
@@ -1,502 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnp::VoidValue Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Specializations for void values.
- More...
-
-
#include <VoidValue.h >
-
-
-
-
-
-
-
Specializations for void values.
-
These house no value whatsoever, but only communicate information by merely existing.
-
-
Definition at line 8 of file VoidValue.h .
-
-
-
◆ VoidValue()
-
-
-
-
-
- VoidValue::VoidValue
- (
- )
-
-
-
-
-
-
-
◆ ~VoidValue()
-
-
-
-
-
-
-
-
- Hazelnp::VoidValue::~VoidValue
- (
- )
-
-
-
-
-
-inline override
-
-
-
-
-
-
-
◆ Deepcopy()
-
-
-
-
-
-
-
-
- Value * VoidValue::Deepcopy
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
-
◆ GetAsOsString()
-
-
-
-
-
-
-
-
- std::string VoidValue::GetAsOsString
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
-
◆ GetFloat32()
-
-
-
-
-
-
-
-
- double VoidValue::GetFloat32
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
-
◆ GetFloat64()
-
-
-
-
-
-
-
-
- long double VoidValue::GetFloat64
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
-
◆ GetInt32()
-
-
-
-
-
-
-
-
- int VoidValue::GetInt32
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
-
◆ GetInt64()
-
-
-
-
-
-
-
-
- long long int VoidValue::GetInt64
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
-
◆ GetList()
-
-
-
-
-
-
-
-
- const std::vector< Value * > & VoidValue::GetList
- (
- )
- const
-
-
-
-
-virtual
-
-
-
-
-
Returns an empty list.
-
-
Implements Hazelnp::Value .
-
-
Definition at line 50 of file VoidValue.cpp .
-
-
52 static const std::vector<Value*> empty;
-
-
-
-
-
-
-
◆ GetString()
-
-
-
-
-
-
-
-
- std::string VoidValue::GetString
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
The documentation for this class was generated from the following files:
-
-
-
-
-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_1VoidValue__coll__graph.map b/docs/classHazelnp_1_1VoidValue__coll__graph.map
deleted file mode 100644
index 684c89f..0000000
--- a/docs/classHazelnp_1_1VoidValue__coll__graph.map
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
diff --git a/docs/classHazelnp_1_1VoidValue__coll__graph.md5 b/docs/classHazelnp_1_1VoidValue__coll__graph.md5
deleted file mode 100644
index 8e50936..0000000
--- a/docs/classHazelnp_1_1VoidValue__coll__graph.md5
+++ /dev/null
@@ -1 +0,0 @@
-906e2b64b26f1d1be0180b938b6a9e45
\ No newline at end of file
diff --git a/docs/classHazelnp_1_1VoidValue__coll__graph.png b/docs/classHazelnp_1_1VoidValue__coll__graph.png
deleted file mode 100644
index abca5b1..0000000
Binary files a/docs/classHazelnp_1_1VoidValue__coll__graph.png and /dev/null differ
diff --git a/docs/classHazelnp_1_1VoidValue__inherit__graph.map b/docs/classHazelnp_1_1VoidValue__inherit__graph.map
deleted file mode 100644
index 684c89f..0000000
--- a/docs/classHazelnp_1_1VoidValue__inherit__graph.map
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
diff --git a/docs/classHazelnp_1_1VoidValue__inherit__graph.md5 b/docs/classHazelnp_1_1VoidValue__inherit__graph.md5
deleted file mode 100644
index 8e50936..0000000
--- a/docs/classHazelnp_1_1VoidValue__inherit__graph.md5
+++ /dev/null
@@ -1 +0,0 @@
-906e2b64b26f1d1be0180b938b6a9e45
\ No newline at end of file
diff --git a/docs/classHazelnp_1_1VoidValue__inherit__graph.png b/docs/classHazelnp_1_1VoidValue__inherit__graph.png
deleted file mode 100644
index abca5b1..0000000
Binary files a/docs/classHazelnp_1_1VoidValue__inherit__graph.png and /dev/null differ
diff --git a/docs/classHazelnupp-members.html b/docs/classHazelnupp-members.html
deleted file mode 100644
index 58b4906..0000000
--- a/docs/classHazelnupp-members.html
+++ /dev/null
@@ -1,103 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Member List
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for Hazelnupp , including all inherited members.
-
-
-
-
-
diff --git a/docs/classHazelnupp.html b/docs/classHazelnupp.html
deleted file mode 100644
index bcd6022..0000000
--- a/docs/classHazelnupp.html
+++ /dev/null
@@ -1,630 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
The main class to interface with.
- More...
-
-
#include <Hazelnupp.h >
-
-
-
The main class to interface with.
-
-
Definition at line 9 of file Hazelnupp.h .
-
-
-
◆ Hazelnupp() [1/2]
-
-
-
-
-
- Hazelnupp::Hazelnupp
- (
- )
-
-
-
-
-
-
-
◆ Hazelnupp() [2/2]
-
-
-
-
-
- Hazelnupp::Hazelnupp
- (
- const int
- argc ,
-
-
-
-
- const char *const *
- argv
-
-
-
- )
-
-
-
-
-
-
-
◆ ~Hazelnupp()
-
-
-
-
-
- Hazelnupp::~Hazelnupp
- (
- )
-
-
-
-
-
-
Definition at line 23 of file Hazelnupp.cpp .
-
-
25 for (
auto & it : parameters)
-
-
-
-
-
-
-
-
-
-
-
-
◆ ClearAbbreviations()
-
-
-
-
-
- void Hazelnupp::ClearAbbreviations
- (
- )
-
-
-
-
-
-
Will delete all abbreviations.
-
-
Definition at line 346 of file Hazelnupp.cpp .
-
-
348 abbreviations.clear();
-
-
-
-
-
-
-
◆ ClearConstraints()
-
-
-
-
-
- void Hazelnupp::ClearConstraints
- (
- )
-
-
-
-
-
-
Will delete all constraints.
-
-
Definition at line 373 of file Hazelnupp.cpp .
-
-
-
-
-
◆ GetAbbreviation()
-
-
-
-
-
- const std::string & Hazelnupp::GetAbbreviation
- (
- const std::string &
- abbrev )
- const
-
-
-
-
-
Will return the long form of an abbreviation (like –force for -f)
-
-
Definition at line 336 of file Hazelnupp.cpp .
-
-
338 return abbreviations.find(abbrev)->second;
-
-
-
-
-
-
◆ GetCrashOnFail()
-
-
-
-
-
- bool Hazelnupp::GetCrashOnFail
- (
- )
- const
-
-
-
-
-
Gets whether the application crashes on an exception whilst parsing, and prints to stderr.
-
-
Definition at line 277 of file Hazelnupp.cpp .
-
-
-
-
-
◆ GetExecutableName()
-
-
-
-
-
- const std::string & Hazelnupp::GetExecutableName
- (
- )
- const
-
-
-
-
-
Will return argv[0], the name of the executable.
-
-
Definition at line 316 of file Hazelnupp.cpp .
-
-
318 return executableName;
-
-
-
-
-
-
◆ HasAbbreviation()
-
-
-
-
-
- bool Hazelnupp::HasAbbreviation
- (
- const std::string &
- abbrev )
- const
-
-
-
-
-
Will check wether or not an abbreviation is registered.
-
-
Definition at line 341 of file Hazelnupp.cpp .
-
-
343 return abbreviations.find(abbrev) != abbreviations.end();
-
-
-
-
-
-
◆ HasParam()
-
-
-
-
-
- bool Hazelnupp::HasParam
- (
- const std::string &
- key )
- const
-
-
-
-
-
Will check wether a parameter exists given a key, or not.
-
-
Definition at line 151 of file Hazelnupp.cpp .
-
-
153 return parameters.find(key) != parameters.end();
-
-
-
-
-
-
◆ operator[]()
-
-
-
-
-
- const Value & Hazelnupp::operator[]
- (
- const std::string &
- key )
- const
-
-
-
-
-
Will return the value given a key.
-
-
Definition at line 321 of file Hazelnupp.cpp .
-
-
-
-
-
-
327 return *parameters.find(key)->second->GetValue();
-
-
-
-
-
-
◆ Parse()
-
-
-
-
-
- void Hazelnupp::Parse
- (
- const int
- argc ,
-
-
-
-
- const char *const *
- argv
-
-
-
- )
-
-
-
-
-
-
Will parse command line arguments.
-
-
Definition at line 33 of file Hazelnupp.cpp .
-
-
-
-
-
38 PopulateRawArgs(argc, argv);
-
-
-
41 ExpandAbbreviations();
-
-
43 executableName = std::string(rawArgs[0]);
-
-
-
46 while (i < rawArgs.size())
-
-
48 if ((rawArgs[i].length() > 2) && (rawArgs[i].substr(0, 2) ==
"--" ))
-
-
-
51 i = ParseNextParameter(i, param);
-
-
53 parameters.insert(std::pair<std::string, Parameter*>(param->
Key (), param));
-
-
-
-
-
-
-
-
-
-
-
-
-
-
67 std::cerr <<
"Fatal error: Command-line parameter value-type mismatch at \"" << hctm.
What () <<
"\"!" ;
-
-
-
-
-
-
-
-
-
-
77 std::cerr <<
"Fatal error: Missing required command-line parameter \"" << hctm.
What () <<
"\"!" ;
-
-
-
-
-
-
-
-
-
-
-
-
-
◆ RegisterAbbreviation()
-
-
-
-
-
- void Hazelnupp::RegisterAbbreviation
- (
- const std::string &
- abbrev ,
-
-
-
-
- const std::string &
- target
-
-
-
- )
-
-
-
-
-
-
Will register an abbreviation (like -f for –force)
-
-
Definition at line 330 of file Hazelnupp.cpp .
-
-
332 abbreviations.insert(std::pair<std::string, std::string>(abbrev, target));
-
-
-
-
-
-
-
◆ RegisterConstraints()
-
-
-
-
-
- void Hazelnupp::RegisterConstraints
- (
- const std::vector< ParamConstraint > &
- constraints )
-
-
-
-
-
-
Will register parameter constraints.
-
-
Definition at line 352 of file Hazelnupp.cpp .
-
-
-
-
-
357 const auto constraint = this->constraints.find(pc.key);
-
-
359 if (constraint != this->constraints.end())
-
360 constraint->second = pc;
-
-
-
-
364 this->constraints.insert(std::pair<std::string, ParamConstraint>(
-
-
-
-
-
-
-
-
-
-
-
-
◆ SetCrashOnFail()
-
-
-
-
-
- void Hazelnupp::SetCrashOnFail
- (
- bool
- crashOnFail )
-
-
-
-
-
-
Sets whether to crash the application, and print to stderr, when an exception is raised whilst parsing, or not.
-
-
Definition at line 379 of file Hazelnupp.cpp .
-
-
381 this->crashOnFail = crashOnFail;
-
-
-
-
-
-
The documentation for this class was generated from the following files:
-
-const std::string & What() const
Will return an error message.
-Gets thrown when a parameter is of a type that does not match the required type, and is not convertib...
-Gets thrown when a parameter constrained to be required is not provided, and has no default value set...
-
-const std::string & Key() const
Will return the key of this parameter.
-Gets thrown when an non-existent key gets dereferenced.
-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.
-
-
-
-
diff --git a/docs/classHazelnuppConstraintException-members.html b/docs/classHazelnuppConstraintException-members.html
deleted file mode 100644
index 7080787..0000000
--- a/docs/classHazelnuppConstraintException-members.html
+++ /dev/null
@@ -1,94 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Member List
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for HazelnuppConstraintException , including all inherited members.
-
-
-
-
-
diff --git a/docs/classHazelnuppConstraintException.html b/docs/classHazelnuppConstraintException.html
deleted file mode 100644
index 0460eb3..0000000
--- a/docs/classHazelnuppConstraintException.html
+++ /dev/null
@@ -1,205 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: HazelnuppConstraintException Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Gets thrown something bad happens because of parameter constraints.
- More...
-
-
#include <HazelnuppException.h >
-
-
-
-
-
-
-
-
-
-
-
[legend ]
-
-
-
-
-
-
-
-
-
-
-
[legend ]
-
-
-
Gets thrown something bad happens because of parameter constraints.
-
-
Definition at line 42 of file HazelnuppException.h .
-
-
-
◆ HazelnuppConstraintException() [1/2]
-
-
-
-
-
-
-
-
- HazelnuppConstraintException::HazelnuppConstraintException
- (
- )
-
-
-
-
-
-inline
-
-
-
-
-
-
◆ HazelnuppConstraintException() [2/2]
-
-
-
-
-
-
-
-
- HazelnuppConstraintException::HazelnuppConstraintException
- (
- const std::string &
- msg )
-
-
-
-
-
-inline
-
-
-
-
-
The documentation for this class was generated from the following file:
-
-
-
-
-
-
diff --git a/docs/classHazelnuppConstraintException__coll__graph.map b/docs/classHazelnuppConstraintException__coll__graph.map
deleted file mode 100644
index 5fa5350..0000000
--- a/docs/classHazelnuppConstraintException__coll__graph.map
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/docs/classHazelnuppConstraintException__coll__graph.md5 b/docs/classHazelnuppConstraintException__coll__graph.md5
deleted file mode 100644
index b5ab92d..0000000
--- a/docs/classHazelnuppConstraintException__coll__graph.md5
+++ /dev/null
@@ -1 +0,0 @@
-8780b5af48266ddbb9e3e39964ac24c9
\ No newline at end of file
diff --git a/docs/classHazelnuppConstraintException__coll__graph.png b/docs/classHazelnuppConstraintException__coll__graph.png
deleted file mode 100644
index 46cfddc..0000000
Binary files a/docs/classHazelnuppConstraintException__coll__graph.png and /dev/null differ
diff --git a/docs/classHazelnuppConstraintException__inherit__graph.map b/docs/classHazelnuppConstraintException__inherit__graph.map
deleted file mode 100644
index 1d23b5b..0000000
--- a/docs/classHazelnuppConstraintException__inherit__graph.map
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/docs/classHazelnuppConstraintException__inherit__graph.md5 b/docs/classHazelnuppConstraintException__inherit__graph.md5
deleted file mode 100644
index e37e84a..0000000
--- a/docs/classHazelnuppConstraintException__inherit__graph.md5
+++ /dev/null
@@ -1 +0,0 @@
-16bc78b0ae884e3cc8de0c87c60d24c5
\ No newline at end of file
diff --git a/docs/classHazelnuppConstraintException__inherit__graph.png b/docs/classHazelnuppConstraintException__inherit__graph.png
deleted file mode 100644
index 03b4355..0000000
Binary files a/docs/classHazelnuppConstraintException__inherit__graph.png and /dev/null differ
diff --git a/docs/classHazelnuppConstraintMissingValue-members.html b/docs/classHazelnuppConstraintMissingValue-members.html
deleted file mode 100644
index e15abd6..0000000
--- a/docs/classHazelnuppConstraintMissingValue-members.html
+++ /dev/null
@@ -1,96 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Member List
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for HazelnuppConstraintMissingValue , including all inherited members.
-
-
-
-
-
diff --git a/docs/classHazelnuppConstraintMissingValue.html b/docs/classHazelnuppConstraintMissingValue.html
deleted file mode 100644
index 8a44906..0000000
--- a/docs/classHazelnuppConstraintMissingValue.html
+++ /dev/null
@@ -1,210 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: HazelnuppConstraintMissingValue Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Gets thrown when a parameter constrained to be required is not provided, and has no default value set.
- More...
-
-
#include <HazelnuppException.h >
-
-
-
-
-
-
-
-
-
-
-
-
-
-
[legend ]
-
-
-
Gets thrown when a parameter constrained to be required is not provided, and has no default value set.
-
-
Definition at line 60 of file HazelnuppException.h .
-
-
-
◆ HazelnuppConstraintMissingValue() [1/2]
-
-
-
-
-
-
-
-
- HazelnuppConstraintMissingValue::HazelnuppConstraintMissingValue
- (
- )
-
-
-
-
-
-inline
-
-
-
-
-
-
◆ HazelnuppConstraintMissingValue() [2/2]
-
-
-
-
-
-
-
-
- HazelnuppConstraintMissingValue::HazelnuppConstraintMissingValue
- (
- const std::string &
- msg )
-
-
-
-
-
-inline
-
-
-
-
-
The documentation for this class was generated from the following file:
-
-HazelnuppConstraintException()
-
-
-
-
diff --git a/docs/classHazelnuppConstraintMissingValue__coll__graph.map b/docs/classHazelnuppConstraintMissingValue__coll__graph.map
deleted file mode 100644
index a3c28ef..0000000
--- a/docs/classHazelnuppConstraintMissingValue__coll__graph.map
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/docs/classHazelnuppConstraintMissingValue__coll__graph.md5 b/docs/classHazelnuppConstraintMissingValue__coll__graph.md5
deleted file mode 100644
index a3e58d6..0000000
--- a/docs/classHazelnuppConstraintMissingValue__coll__graph.md5
+++ /dev/null
@@ -1 +0,0 @@
-53168f4d3c07fb954273ae81459e9a52
\ No newline at end of file
diff --git a/docs/classHazelnuppConstraintMissingValue__coll__graph.png b/docs/classHazelnuppConstraintMissingValue__coll__graph.png
deleted file mode 100644
index 2efec37..0000000
Binary files a/docs/classHazelnuppConstraintMissingValue__coll__graph.png and /dev/null differ
diff --git a/docs/classHazelnuppConstraintMissingValue__inherit__graph.map b/docs/classHazelnuppConstraintMissingValue__inherit__graph.map
deleted file mode 100644
index 5659d69..0000000
--- a/docs/classHazelnuppConstraintMissingValue__inherit__graph.map
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
diff --git a/docs/classHazelnuppConstraintMissingValue__inherit__graph.md5 b/docs/classHazelnuppConstraintMissingValue__inherit__graph.md5
deleted file mode 100644
index f3f9de7..0000000
--- a/docs/classHazelnuppConstraintMissingValue__inherit__graph.md5
+++ /dev/null
@@ -1 +0,0 @@
-30c14b46f5309ee00f2ac553ceadf88a
\ No newline at end of file
diff --git a/docs/classHazelnuppConstraintMissingValue__inherit__graph.png b/docs/classHazelnuppConstraintMissingValue__inherit__graph.png
deleted file mode 100644
index e9df92f..0000000
Binary files a/docs/classHazelnuppConstraintMissingValue__inherit__graph.png and /dev/null differ
diff --git a/docs/classHazelnuppConstraintTypeMissmatch-members.html b/docs/classHazelnuppConstraintTypeMissmatch-members.html
deleted file mode 100644
index d35c233..0000000
--- a/docs/classHazelnuppConstraintTypeMissmatch-members.html
+++ /dev/null
@@ -1,96 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Member List
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for HazelnuppConstraintTypeMissmatch , including all inherited members.
-
-
-
-
-
diff --git a/docs/classHazelnuppConstraintTypeMissmatch.html b/docs/classHazelnuppConstraintTypeMissmatch.html
deleted file mode 100644
index 818c3b5..0000000
--- a/docs/classHazelnuppConstraintTypeMissmatch.html
+++ /dev/null
@@ -1,210 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: HazelnuppConstraintTypeMissmatch Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Gets thrown when a parameter is of a type that does not match the required type, and is not convertible to it.
- More...
-
-
#include <HazelnuppException.h >
-
-
-
-
-
-
-
-
-
-
-
-
-
-
[legend ]
-
-
-
Gets thrown when a parameter is of a type that does not match the required type, and is not convertible to it.
-
-
Definition at line 51 of file HazelnuppException.h .
-
-
-
◆ HazelnuppConstraintTypeMissmatch() [1/2]
-
-
-
-
-
-
-
-
- HazelnuppConstraintTypeMissmatch::HazelnuppConstraintTypeMissmatch
- (
- )
-
-
-
-
-
-inline
-
-
-
-
-
-
◆ HazelnuppConstraintTypeMissmatch() [2/2]
-
-
-
-
-
-
-
-
- HazelnuppConstraintTypeMissmatch::HazelnuppConstraintTypeMissmatch
- (
- const std::string &
- msg )
-
-
-
-
-
-inline
-
-
-
-
-
The documentation for this class was generated from the following file:
-
-HazelnuppConstraintException()
-
-
-
-
diff --git a/docs/classHazelnuppConstraintTypeMissmatch__coll__graph.map b/docs/classHazelnuppConstraintTypeMissmatch__coll__graph.map
deleted file mode 100644
index 0c19bad..0000000
--- a/docs/classHazelnuppConstraintTypeMissmatch__coll__graph.map
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/docs/classHazelnuppConstraintTypeMissmatch__coll__graph.md5 b/docs/classHazelnuppConstraintTypeMissmatch__coll__graph.md5
deleted file mode 100644
index afe2d90..0000000
--- a/docs/classHazelnuppConstraintTypeMissmatch__coll__graph.md5
+++ /dev/null
@@ -1 +0,0 @@
-16e304d64e326eb561ef8c13d477c677
\ No newline at end of file
diff --git a/docs/classHazelnuppConstraintTypeMissmatch__coll__graph.png b/docs/classHazelnuppConstraintTypeMissmatch__coll__graph.png
deleted file mode 100644
index fb08f14..0000000
Binary files a/docs/classHazelnuppConstraintTypeMissmatch__coll__graph.png and /dev/null differ
diff --git a/docs/classHazelnuppConstraintTypeMissmatch__inherit__graph.map b/docs/classHazelnuppConstraintTypeMissmatch__inherit__graph.map
deleted file mode 100644
index 3814bac..0000000
--- a/docs/classHazelnuppConstraintTypeMissmatch__inherit__graph.map
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
diff --git a/docs/classHazelnuppConstraintTypeMissmatch__inherit__graph.md5 b/docs/classHazelnuppConstraintTypeMissmatch__inherit__graph.md5
deleted file mode 100644
index d76519e..0000000
--- a/docs/classHazelnuppConstraintTypeMissmatch__inherit__graph.md5
+++ /dev/null
@@ -1 +0,0 @@
-099f62bbcdccec595c21e9510dc0dae9
\ No newline at end of file
diff --git a/docs/classHazelnuppConstraintTypeMissmatch__inherit__graph.png b/docs/classHazelnuppConstraintTypeMissmatch__inherit__graph.png
deleted file mode 100644
index fe764c6..0000000
Binary files a/docs/classHazelnuppConstraintTypeMissmatch__inherit__graph.png and /dev/null differ
diff --git a/docs/classHazelnuppException-members.html b/docs/classHazelnuppException-members.html
deleted file mode 100644
index 45714c5..0000000
--- a/docs/classHazelnuppException-members.html
+++ /dev/null
@@ -1,92 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Member List
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for HazelnuppException , including all inherited members.
-
-
-
-
-
diff --git a/docs/classHazelnuppException.html b/docs/classHazelnuppException.html
deleted file mode 100644
index fcc987e..0000000
--- a/docs/classHazelnuppException.html
+++ /dev/null
@@ -1,259 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: HazelnuppException Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Generic hazelnupp exception.
- More...
-
-
#include <HazelnuppException.h >
-
-
-
-
-
-
-
-
-
-
-
-
-
[legend ]
-
-
-
-
-
Generic hazelnupp exception.
-
-
Definition at line 6 of file HazelnuppException.h .
-
-
-
◆ HazelnuppException() [1/2]
-
-
-
-
-
-
-
-
- HazelnuppException::HazelnuppException
- (
- )
-
-
-
-
-
-inline
-
-
-
-
-
-
◆ HazelnuppException() [2/2]
-
-
-
-
-
-
-
-
- HazelnuppException::HazelnuppException
- (
- const std::string &
- msg )
-
-
-
-
-
-inline
-
-
-
-
-
-
-
◆ What()
-
-
-
-
-
-
-
-
- const std::string& HazelnuppException::What
- (
- )
- const
-
-
-
-
-inline
-
-
-
-
-
-
-
◆ message
-
-
-
-
-
-
-
-
- std::string HazelnuppException::message
-
-
-
-
-protected
-
-
-
-
-
The documentation for this class was generated from the following file:
-
-
-
-
-
-
diff --git a/docs/classHazelnuppException__coll__graph.map b/docs/classHazelnuppException__coll__graph.map
deleted file mode 100644
index 0faf445..0000000
--- a/docs/classHazelnuppException__coll__graph.map
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
diff --git a/docs/classHazelnuppException__coll__graph.md5 b/docs/classHazelnuppException__coll__graph.md5
deleted file mode 100644
index c1bf83d..0000000
--- a/docs/classHazelnuppException__coll__graph.md5
+++ /dev/null
@@ -1 +0,0 @@
-73a1a62dc1264bfb70a21bb9c678179c
\ No newline at end of file
diff --git a/docs/classHazelnuppException__coll__graph.png b/docs/classHazelnuppException__coll__graph.png
deleted file mode 100644
index 1493d52..0000000
Binary files a/docs/classHazelnuppException__coll__graph.png and /dev/null differ
diff --git a/docs/classHazelnuppException__inherit__graph.map b/docs/classHazelnuppException__inherit__graph.map
deleted file mode 100644
index 6246c04..0000000
--- a/docs/classHazelnuppException__inherit__graph.map
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/docs/classHazelnuppException__inherit__graph.md5 b/docs/classHazelnuppException__inherit__graph.md5
deleted file mode 100644
index ffa0264..0000000
--- a/docs/classHazelnuppException__inherit__graph.md5
+++ /dev/null
@@ -1 +0,0 @@
-2ea7051c44210f9778f71602609d2ced
\ No newline at end of file
diff --git a/docs/classHazelnuppException__inherit__graph.png b/docs/classHazelnuppException__inherit__graph.png
deleted file mode 100644
index 93ce952..0000000
Binary files a/docs/classHazelnuppException__inherit__graph.png and /dev/null differ
diff --git a/docs/classHazelnuppInvalidKeyException-members.html b/docs/classHazelnuppInvalidKeyException-members.html
deleted file mode 100644
index d96d6a1..0000000
--- a/docs/classHazelnuppInvalidKeyException-members.html
+++ /dev/null
@@ -1,94 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Member List
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for HazelnuppInvalidKeyException , including all inherited members.
-
-
-
-
-
diff --git a/docs/classHazelnuppInvalidKeyException.html b/docs/classHazelnuppInvalidKeyException.html
deleted file mode 100644
index 6b63a3d..0000000
--- a/docs/classHazelnuppInvalidKeyException.html
+++ /dev/null
@@ -1,203 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: HazelnuppInvalidKeyException Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Gets thrown when an non-existent key gets dereferenced.
- More...
-
-
#include <HazelnuppException.h >
-
-
-
-
-
-
-
-
-
-
-
-
-
[legend ]
-
-
-
Gets thrown when an non-existent key gets dereferenced.
-
-
Definition at line 24 of file HazelnuppException.h .
-
-
-
◆ HazelnuppInvalidKeyException() [1/2]
-
-
-
-
-
-
-
-
- HazelnuppInvalidKeyException::HazelnuppInvalidKeyException
- (
- )
-
-
-
-
-
-inline
-
-
-
-
-
-
◆ HazelnuppInvalidKeyException() [2/2]
-
-
-
-
-
-
-
-
- HazelnuppInvalidKeyException::HazelnuppInvalidKeyException
- (
- const std::string &
- msg )
-
-
-
-
-
-inline
-
-
-
-
-
The documentation for this class was generated from the following file:
-
-
-
-
-
-
diff --git a/docs/classHazelnuppInvalidKeyException__coll__graph.map b/docs/classHazelnuppInvalidKeyException__coll__graph.map
deleted file mode 100644
index b678d19..0000000
--- a/docs/classHazelnuppInvalidKeyException__coll__graph.map
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/docs/classHazelnuppInvalidKeyException__coll__graph.md5 b/docs/classHazelnuppInvalidKeyException__coll__graph.md5
deleted file mode 100644
index 6ea7594..0000000
--- a/docs/classHazelnuppInvalidKeyException__coll__graph.md5
+++ /dev/null
@@ -1 +0,0 @@
-9824cce6102c022eca7ea3340a6e069a
\ No newline at end of file
diff --git a/docs/classHazelnuppInvalidKeyException__coll__graph.png b/docs/classHazelnuppInvalidKeyException__coll__graph.png
deleted file mode 100644
index 6f49ccd..0000000
Binary files a/docs/classHazelnuppInvalidKeyException__coll__graph.png and /dev/null differ
diff --git a/docs/classHazelnuppInvalidKeyException__inherit__graph.map b/docs/classHazelnuppInvalidKeyException__inherit__graph.map
deleted file mode 100644
index d2fb1c2..0000000
--- a/docs/classHazelnuppInvalidKeyException__inherit__graph.map
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
diff --git a/docs/classHazelnuppInvalidKeyException__inherit__graph.md5 b/docs/classHazelnuppInvalidKeyException__inherit__graph.md5
deleted file mode 100644
index cd0380e..0000000
--- a/docs/classHazelnuppInvalidKeyException__inherit__graph.md5
+++ /dev/null
@@ -1 +0,0 @@
-3cbba2db8b9e26494124e6786b5e2b42
\ No newline at end of file
diff --git a/docs/classHazelnuppInvalidKeyException__inherit__graph.png b/docs/classHazelnuppInvalidKeyException__inherit__graph.png
deleted file mode 100644
index b95d9af..0000000
Binary files a/docs/classHazelnuppInvalidKeyException__inherit__graph.png and /dev/null differ
diff --git a/docs/classHazelnuppValueNotConvertibleException-members.html b/docs/classHazelnuppValueNotConvertibleException-members.html
deleted file mode 100644
index 346dbc4..0000000
--- a/docs/classHazelnuppValueNotConvertibleException-members.html
+++ /dev/null
@@ -1,94 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Member List
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for HazelnuppValueNotConvertibleException , including all inherited members.
-
-
-
-
-
diff --git a/docs/classHazelnuppValueNotConvertibleException.html b/docs/classHazelnuppValueNotConvertibleException.html
deleted file mode 100644
index 7857c7a..0000000
--- a/docs/classHazelnuppValueNotConvertibleException.html
+++ /dev/null
@@ -1,203 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: HazelnuppValueNotConvertibleException Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not convertible.
- More...
-
-
#include <HazelnuppException.h >
-
-
-
-
-
-
-
-
-
-
-
-
-
[legend ]
-
-
-
Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not convertible.
-
-
Definition at line 33 of file HazelnuppException.h .
-
-
-
◆ HazelnuppValueNotConvertibleException() [1/2]
-
-
-
-
-
-
-
-
- HazelnuppValueNotConvertibleException::HazelnuppValueNotConvertibleException
- (
- )
-
-
-
-
-
-inline
-
-
-
-
-
-
◆ HazelnuppValueNotConvertibleException() [2/2]
-
-
-
-
-
-
-
-
- HazelnuppValueNotConvertibleException::HazelnuppValueNotConvertibleException
- (
- const std::string &
- msg )
-
-
-
-
-
-inline
-
-
-
-
-
The documentation for this class was generated from the following file:
-
-
-
-
-
-
diff --git a/docs/classHazelnuppValueNotConvertibleException__coll__graph.map b/docs/classHazelnuppValueNotConvertibleException__coll__graph.map
deleted file mode 100644
index 549a305..0000000
--- a/docs/classHazelnuppValueNotConvertibleException__coll__graph.map
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/docs/classHazelnuppValueNotConvertibleException__coll__graph.md5 b/docs/classHazelnuppValueNotConvertibleException__coll__graph.md5
deleted file mode 100644
index 19e2e3f..0000000
--- a/docs/classHazelnuppValueNotConvertibleException__coll__graph.md5
+++ /dev/null
@@ -1 +0,0 @@
-9d32983d0d841eed4a6fd0df8a5f7cc4
\ No newline at end of file
diff --git a/docs/classHazelnuppValueNotConvertibleException__coll__graph.png b/docs/classHazelnuppValueNotConvertibleException__coll__graph.png
deleted file mode 100644
index e198a8c..0000000
Binary files a/docs/classHazelnuppValueNotConvertibleException__coll__graph.png and /dev/null differ
diff --git a/docs/classHazelnuppValueNotConvertibleException__inherit__graph.map b/docs/classHazelnuppValueNotConvertibleException__inherit__graph.map
deleted file mode 100644
index c262591..0000000
--- a/docs/classHazelnuppValueNotConvertibleException__inherit__graph.map
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
diff --git a/docs/classHazelnuppValueNotConvertibleException__inherit__graph.md5 b/docs/classHazelnuppValueNotConvertibleException__inherit__graph.md5
deleted file mode 100644
index 438de84..0000000
--- a/docs/classHazelnuppValueNotConvertibleException__inherit__graph.md5
+++ /dev/null
@@ -1 +0,0 @@
-8ca6ce8b99f1fee2372c0029f0781e92
\ No newline at end of file
diff --git a/docs/classHazelnuppValueNotConvertibleException__inherit__graph.png b/docs/classHazelnuppValueNotConvertibleException__inherit__graph.png
deleted file mode 100644
index f33f98f..0000000
Binary files a/docs/classHazelnuppValueNotConvertibleException__inherit__graph.png and /dev/null differ
diff --git a/docs/classIntValue-members.html b/docs/classIntValue-members.html
deleted file mode 100644
index fa2b2c4..0000000
--- a/docs/classIntValue-members.html
+++ /dev/null
@@ -1,105 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Member List
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for IntValue , including all inherited members.
-
-
-
-
-
diff --git a/docs/classIntValue.html b/docs/classIntValue.html
deleted file mode 100644
index 30a0b97..0000000
--- a/docs/classIntValue.html
+++ /dev/null
@@ -1,578 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: IntValue Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Specializations for integer values (uses long long int)
- More...
-
-
#include <IntValue.h >
-
-
-
-
-
-
-
Specializations for integer values (uses long long int)
-
-
Definition at line 6 of file IntValue.h .
-
-
-
◆ IntValue()
-
-
-
-
-
- IntValue::IntValue
- (
- const long long int &
- value )
-
-
-
-
-
-
-
◆ ~IntValue()
-
-
-
-
-
-
-
-
- IntValue::~IntValue
- (
- )
-
-
-
-
-
-inline override
-
-
-
-
-
-
-
◆ Deepcopy()
-
-
-
-
-
-
-
-
- Value * IntValue::Deepcopy
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
Will return a deeopopy of this object.
-
-
Implements Value .
-
-
Definition at line 13 of file IntValue.cpp .
-
-
-
-
-
◆ GetAsOsString()
-
-
-
-
-
-
-
-
- std::string IntValue::GetAsOsString
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
Will return a string suitable for an std::ostream;.
-
-
Implements Value .
-
-
Definition at line 18 of file IntValue.cpp .
-
-
-
21 ss <<
"IntValue: " << value;
-
-
-
-
-
-
-
◆ GetFloat32()
-
-
-
-
-
-
-
-
- double IntValue::GetFloat32
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
Will return the data as a double.
-
-
Implements Value .
-
-
Definition at line 57 of file IntValue.cpp .
-
-
-
-
-
◆ GetFloat64()
-
-
-
-
-
-
-
-
- long double IntValue::GetFloat64
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
Will return the data as a long double.
-
-
Implements Value .
-
-
Definition at line 52 of file IntValue.cpp .
-
-
54 return (
long double )value;
-
-
-
-
-
-
◆ GetInt32()
-
-
-
-
-
-
-
-
- int IntValue::GetInt32
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
Will return the data as an int.
-
-
Implements Value .
-
-
Definition at line 47 of file IntValue.cpp .
-
-
-
-
-
◆ GetInt64()
-
-
-
-
-
-
-
-
- long long int IntValue::GetInt64
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
Will return the data as a long long int.
-
-
Implements Value .
-
-
Definition at line 42 of file IntValue.cpp .
-
-
-
-
-
◆ GetList()
-
-
-
-
-
-
-
-
- const std::vector< Value * > & IntValue::GetList
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
-
◆ GetString()
-
-
-
-
-
-
-
-
- std::string IntValue::GetString
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
Will return the data as a string.
-
-
Implements Value .
-
-
Definition at line 62 of file IntValue.cpp .
-
-
-
-
-
◆ GetValue()
-
-
-
-
-
- const long long int & IntValue::GetValue
- (
- )
- const
-
-
-
-
-
Will return the raw value.
-
-
Definition at line 25 of file IntValue.cpp .
-
-
-
-
-
◆ operator int()
-
-
-
-
-
- IntValue::operator int
- (
- )
- const
-
-
-
-
-
-
◆ operator long long int()
-
-
-
-
-
- IntValue::operator long long int
- (
- )
- const
-
-
-
-
-
The documentation for this class was generated from the following files:
-
-Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not ...
-
-IntValue(const long long int &value)
-
-
-
-
-
diff --git a/docs/classIntValue__coll__graph.map b/docs/classIntValue__coll__graph.map
deleted file mode 100644
index 7dc6700..0000000
--- a/docs/classIntValue__coll__graph.map
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
diff --git a/docs/classIntValue__coll__graph.md5 b/docs/classIntValue__coll__graph.md5
deleted file mode 100644
index 4283d04..0000000
--- a/docs/classIntValue__coll__graph.md5
+++ /dev/null
@@ -1 +0,0 @@
-fe282cdc62e45fcd3bd1eea2f9ef3879
\ No newline at end of file
diff --git a/docs/classIntValue__coll__graph.png b/docs/classIntValue__coll__graph.png
deleted file mode 100644
index 3133f8d..0000000
Binary files a/docs/classIntValue__coll__graph.png and /dev/null differ
diff --git a/docs/classIntValue__inherit__graph.map b/docs/classIntValue__inherit__graph.map
deleted file mode 100644
index 7dc6700..0000000
--- a/docs/classIntValue__inherit__graph.map
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
diff --git a/docs/classIntValue__inherit__graph.md5 b/docs/classIntValue__inherit__graph.md5
deleted file mode 100644
index 4283d04..0000000
--- a/docs/classIntValue__inherit__graph.md5
+++ /dev/null
@@ -1 +0,0 @@
-fe282cdc62e45fcd3bd1eea2f9ef3879
\ No newline at end of file
diff --git a/docs/classIntValue__inherit__graph.png b/docs/classIntValue__inherit__graph.png
deleted file mode 100644
index 3133f8d..0000000
Binary files a/docs/classIntValue__inherit__graph.png and /dev/null differ
diff --git a/docs/classListValue-members.html b/docs/classListValue-members.html
deleted file mode 100644
index d92098e..0000000
--- a/docs/classListValue-members.html
+++ /dev/null
@@ -1,105 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Member List
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for ListValue , including all inherited members.
-
-
-
-
-
diff --git a/docs/classListValue.html b/docs/classListValue.html
deleted file mode 100644
index a935940..0000000
--- a/docs/classListValue.html
+++ /dev/null
@@ -1,605 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: ListValue Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Specializations for list values (uses std::vector<Value*>)
- More...
-
-
#include <ListValue.h >
-
-
-
-
-
-
-
Specializations for list values (uses std::vector<Value*>)
-
-
Definition at line 7 of file ListValue.h .
-
-
-
◆ ListValue()
-
-
-
-
-
- ListValue::ListValue
- (
- )
-
-
-
-
-
-
-
◆ ~ListValue()
-
-
-
-
-
-
-
-
- ListValue::~ListValue
- (
- )
-
-
-
-
-
-override
-
-
-
-
-
-
-
◆ AddValue()
-
-
-
-
-
- void ListValue::AddValue
- (
- const Value *
- value )
-
-
-
-
-
-
Will add this value to the list.
-
-
Definition at line 31 of file ListValue.cpp .
-
-
33 this->value.emplace_back(value->
Deepcopy ());
-
-
-
-
-
-
-
◆ Deepcopy()
-
-
-
-
-
-
-
-
- Value * ListValue::Deepcopy
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
Will return a deeopopy of this object.
-
-
Implements Value .
-
-
Definition at line 21 of file ListValue.cpp .
-
-
-
-
25 for (
const Value * val : value)
-
-
-
-
-
-
-
-
-
◆ GetAsOsString()
-
-
-
-
-
-
-
-
- std::string ListValue::GetAsOsString
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
Will return a string suitable for an std::ostream;.
-
-
Implements Value .
-
-
Definition at line 42 of file ListValue.cpp .
-
-
-
-
-
-
48 for (
const Value * val : value)
-
-
-
51 if (val != value.back())
-
-
-
-
-
-
-
-
-
-
-
-
◆ GetFloat32()
-
-
-
-
-
-
-
-
- double ListValue::GetFloat32
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
-
◆ GetFloat64()
-
-
-
-
-
-
-
-
- long double ListValue::GetFloat64
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
-
◆ GetInt32()
-
-
-
-
-
-
-
-
- int ListValue::GetInt32
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
-
◆ GetInt64()
-
-
-
-
-
-
-
-
- long long int ListValue::GetInt64
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
-
◆ GetList()
-
-
-
-
-
-
-
-
- const std::vector< Value * > & ListValue::GetList
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
Will return this values list.
-
-
Implements Value .
-
-
Definition at line 92 of file ListValue.cpp .
-
-
-
-
-
◆ GetString()
-
-
-
-
-
-
-
-
- std::string ListValue::GetString
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
-
◆ GetValue()
-
-
-
-
-
- const std::vector< Value * > & ListValue::GetValue
- (
- )
- const
-
-
-
-
-
Will return the raw value.
-
-
Definition at line 37 of file ListValue.cpp .
-
-
-
-
-
◆ operator std::vector< Value * >()
-
-
-
-
-
- ListValue::operator std::vector< Value * >
- (
- )
- const
-
-
-
-
-
The documentation for this class was generated from the following files:
-
-void AddValue(const Value *value)
Will add this value to the list.
-Specializations for list values (uses std::vector<Value*>)
-
-
-Abstract class for values.
-virtual Value * Deepcopy() const =0
Will return a deeopopy of this object.
-Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not ...
-
-
-
-
-
diff --git a/docs/classListValue__coll__graph.map b/docs/classListValue__coll__graph.map
deleted file mode 100644
index 1053ad5..0000000
--- a/docs/classListValue__coll__graph.map
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
diff --git a/docs/classListValue__coll__graph.md5 b/docs/classListValue__coll__graph.md5
deleted file mode 100644
index e3af863..0000000
--- a/docs/classListValue__coll__graph.md5
+++ /dev/null
@@ -1 +0,0 @@
-7d4215aa276a9b6216eeee2d4500b5d1
\ No newline at end of file
diff --git a/docs/classListValue__coll__graph.png b/docs/classListValue__coll__graph.png
deleted file mode 100644
index cc8b727..0000000
Binary files a/docs/classListValue__coll__graph.png and /dev/null differ
diff --git a/docs/classListValue__inherit__graph.map b/docs/classListValue__inherit__graph.map
deleted file mode 100644
index 1053ad5..0000000
--- a/docs/classListValue__inherit__graph.map
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
diff --git a/docs/classListValue__inherit__graph.md5 b/docs/classListValue__inherit__graph.md5
deleted file mode 100644
index e3af863..0000000
--- a/docs/classListValue__inherit__graph.md5
+++ /dev/null
@@ -1 +0,0 @@
-7d4215aa276a9b6216eeee2d4500b5d1
\ No newline at end of file
diff --git a/docs/classListValue__inherit__graph.png b/docs/classListValue__inherit__graph.png
deleted file mode 100644
index cc8b727..0000000
Binary files a/docs/classListValue__inherit__graph.png and /dev/null differ
diff --git a/docs/classParameter-members.html b/docs/classParameter-members.html
deleted file mode 100644
index 9f9b58b..0000000
--- a/docs/classParameter-members.html
+++ /dev/null
@@ -1,93 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Member List
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for Parameter , including all inherited members.
-
-
-
-
-
diff --git a/docs/classParameter.html b/docs/classParameter.html
deleted file mode 100644
index 8782b5e..0000000
--- a/docs/classParameter.html
+++ /dev/null
@@ -1,279 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Parameter Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#include <Parameter.h >
-
-
-
-
Definition at line 6 of file Parameter.h .
-
-
-
◆ Parameter()
-
-
-
-
-
-
-
-
- Parameter::Parameter
- (
- const std::string &
- key ,
-
-
-
-
- const Value *
- value
-
-
-
- )
-
-
-
-
-
-explicit
-
-
-
-
-
-
◆ ~Parameter()
-
-
-
-
-
- Parameter::~Parameter
- (
- )
-
-
-
-
-
-
-
-
◆ GetValue()
-
-
-
-
-
- const ::Value * Parameter::GetValue
- (
- )
- const
-
-
-
-
-
Will return the value of this parameter.
-
-
Definition at line 24 of file Parameter.cpp .
-
-
-
-
-
◆ Key()
-
-
-
-
-
- const std::string & Parameter::Key
- (
- )
- const
-
-
-
-
-
Will return the key of this parameter.
-
-
Definition at line 19 of file Parameter.cpp .
-
-
-
-
-
-
◆ operator<<
-
-
-
-
-
-
-
-
- std::ostream& operator<<
- (
- std::ostream &
- os ,
-
-
-
-
- const Parameter &
- p
-
-
-
- )
-
-
-
-
-
-friend
-
-
-
-
-
Definition at line 18 of file Parameter.h .
-
-
20 return os <<
"{ Key: \"" << p.key <<
"\" -> " << *p.value <<
" }" ;
-
-
-
-
-
The documentation for this class was generated from the following files:
-
-virtual Value * Deepcopy() const =0
Will return a deeopopy of this object.
-
-
-
-
diff --git a/docs/classStringTools-members.html b/docs/classStringTools-members.html
deleted file mode 100644
index 5d5bb3a..0000000
--- a/docs/classStringTools-members.html
+++ /dev/null
@@ -1,96 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Member List
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for StringTools , including all inherited members.
-
- Contains (const std::string &str, const char c)StringTools static
- IsNumeric (const std::string &str, const bool allowDecimalPoint=false)StringTools static
- ParseNumber (const std::string &str, bool &out_isInt, long double &out_number)StringTools static
- Replace (const std::string &str, const char find, const std::string &subst)StringTools static
- Replace (const std::string &str, const std::string &find, const std::string &subst)StringTools static
- SplitString (const std::string &str, const char delimiter)StringTools static
- SplitString (const std::string &str, const std::string &delimiter)StringTools static
- ToLower (const std::string &str)StringTools static
-
-
-
-
-
diff --git a/docs/classStringTools.html b/docs/classStringTools.html
deleted file mode 100644
index 7b961af..0000000
--- a/docs/classStringTools.html
+++ /dev/null
@@ -1,630 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: StringTools Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Internal helper class.
- More...
-
-
#include <StringTools.h >
-
-
-static bool Contains (const std::string &str, const char c)
- Will return wether or not a given char is in a string. More...
-
-static std::string Replace (const std::string &str, const char find, const std::string &subst)
- Will replace a part of a string with another string. More...
-
-static std::string Replace (const std::string &str, const std::string &find, const std::string &subst)
- Will replace a part of a string with another string. More...
-
-static bool IsNumeric (const std::string &str, const bool allowDecimalPoint=false)
- Will return true if the given string consists only of digits (including signage) More...
-
-static bool ParseNumber (const std::string &str, bool &out_isInt, long double &out_number)
- Will convert the number in str to a number. More...
-
-static std::vector< std::string > SplitString (const std::string &str, const char delimiter)
- Will split a string by a delimiter char. The delimiter will be excluded! More...
-
-static std::vector< std::string > SplitString (const std::string &str, const std::string &delimiter)
- Will split a string by a delimiter string. The delimiter will be excluded! More...
-
-static std::string ToLower (const std::string &str)
- Will make a string all lower-case. More...
-
-
-
-
Internal helper class.
-
Feel free to use it tho.
-
-
Definition at line 9 of file StringTools.h .
-
-
-
◆ Contains()
-
-
-
-
-
-
-
-
- bool StringTools::Contains
- (
- const std::string &
- str ,
-
-
-
-
- const char
- c
-
-
-
- )
-
-
-
-
-
-static
-
-
-
-
-
Will return wether or not a given char is in a string.
-
-
Definition at line 3 of file StringTools.cpp .
-
-
5 for (
const char & i : str)
-
-
-
-
-
-
-
-
-
-
◆ IsNumeric()
-
-
-
-
-
-
-
-
- bool StringTools::IsNumeric
- (
- const std::string &
- str ,
-
-
-
-
- const bool
- allowDecimalPoint = false
-
-
-
- )
-
-
-
-
-
-static
-
-
-
-
-
Will return true if the given string consists only of digits (including signage)
-
-
Definition at line 54 of file StringTools.cpp .
-
-
56 if (str.length() == 0)
return false ;
-
-
58 bool alreadyParsedDecimalPoint =
false ;
-
59 std::size_t digitCount = 0;
-
-
61 for (std::size_t i = 0; i < str.length(); i++)
-
-
-
64 ((str[i] >=
'0' ) && (str[i] <=
'9' )) ||
-
65 ((str[i] ==
'-' ) && (i == 0)) ||
-
66 ((str[i] ==
'.' ) && (allowDecimalPoint) && (!alreadyParsedDecimalPoint) && (digitCount > 0))
-
-
-
-
-
-
72 if (((str[i] >=
'0' ) && (str[i] <=
'9' ))) digitCount++;
-
73 if (str[i] ==
'.' ) alreadyParsedDecimalPoint =
true ;
-
-
-
-
77 return digitCount > 0;
-
-
-
-
-
-
◆ ParseNumber()
-
-
-
-
-
-
-
-
- bool StringTools::ParseNumber
- (
- const std::string &
- str ,
-
-
-
-
- bool &
- out_isInt ,
-
-
-
-
- long double &
- out_number
-
-
-
- )
-
-
-
-
-
-static
-
-
-
-
-
Will convert the number in str to a number.
-
- Returns wether or not the operation was successful.
- Also returns wether the number is an integer, or floating point. If int, cast out_number to int.
-
-
Definition at line 80 of file StringTools.cpp .
-
-
82 bool isDecimal =
false ;
-
-
84 if (str.length() == 0)
return false ;
-
85 if (
Contains (str,
'.' )) isDecimal =
true ;
-
-
-
-
-
-
91 out_number = std::stold(str);
-
-
-
94 catch (std::invalid_argument&)
-
-
-
-
98 catch (std::out_of_range&)
-
-
-
-
-
-
-
-
-
107 out_number = (
long double)std::stoll(str);
-
-
-
110 catch (std::invalid_argument&)
-
-
-
-
114 catch (std::out_of_range&)
-
-
-
-
-
-
-
-
-
-
-
-
◆ Replace() [1/2]
-
-
-
-
-
-
-
-
- std::string StringTools::Replace
- (
- const std::string &
- str ,
-
-
-
-
- const char
- find ,
-
-
-
-
- const std::string &
- subst
-
-
-
- )
-
-
-
-
-
-static
-
-
-
-
-
Will replace a part of a string with another string.
-
-
Definition at line 12 of file StringTools.cpp .
-
-
-
-
16 for (std::size_t i = 0; i < str.length(); i++)
-
-
18 if (str[i] != find) ss << str[i];
-
-
-
-
-
-
-
-
-
-
◆ Replace() [2/2]
-
-
-
-
-
-
-
-
- std::string StringTools::Replace
- (
- const std::string &
- str ,
-
-
-
-
- const std::string &
- find ,
-
-
-
-
- const std::string &
- subst
-
-
-
- )
-
-
-
-
-
-static
-
-
-
-
-
Will replace a part of a string with another string.
-
-
Definition at line 25 of file StringTools.cpp .
-
-
27 if (find.length() == 0)
return str;
-
-
-
-
31 std::size_t posFound = 0;
-
32 std::size_t lastFound = 0;
-
-
34 while (posFound != std::string::npos)
-
-
-
37 posFound = str.find(find, posFound);
-
-
39 if (posFound != std::string::npos)
-
-
41 ss << str.substr(lastFound, posFound - lastFound) << subst;
-
42 posFound += find.length();
-
-
-
-
46 ss << str.substr(lastFound, (str.length()) - lastFound);
-
-
-
-
-
-
-
-
-
-
◆ SplitString() [1/2]
-
-
-
-
-
-
-
-
- std::vector< std::string > StringTools::SplitString
- (
- const std::string &
- str ,
-
-
-
-
- const char
- delimiter
-
-
-
- )
-
-
-
-
-
-static
-
-
-
-
-
Will split a string by a delimiter char. The delimiter will be excluded!
-
-
Definition at line 123 of file StringTools.cpp .
-
-
125 if (str.length() == 0)
return std::vector<std::string>();
-
-
-
-
-
-
-
-
◆ SplitString() [2/2]
-
-
-
-
-
-
-
-
- std::vector< std::string > StringTools::SplitString
- (
- const std::string &
- str ,
-
-
-
-
- const std::string &
- delimiter
-
-
-
- )
-
-
-
-
-
-static
-
-
-
-
-
Will split a string by a delimiter string. The delimiter will be excluded!
-
-
Definition at line 130 of file StringTools.cpp .
-
-
132 if (str.length() == 0)
return std::vector<std::string>();
-
-
134 std::vector<std::string> parts;
-
-
136 if (delimiter.length() == 0)
-
-
138 for (std::size_t i = 0; i < str.length(); i++)
-
-
140 parts.push_back(std::string({ str[i] }));
-
-
-
-
-
145 std::size_t posFound = 0;
-
146 std::size_t lastFound = 0;
-
-
148 while (posFound != std::string::npos)
-
-
150 lastFound = posFound;
-
151 posFound = str.find(delimiter, posFound);
-
-
-
-
155 if (posFound != std::string::npos)
-
-
157 found = str.substr(lastFound, posFound - lastFound);
-
158 posFound += delimiter.length();
-
-
-
-
162 found = str.substr(lastFound, str.length() - lastFound);
-
-
-
165 parts.push_back(found);
-
-
-
-
-
-
-
-
-
◆ ToLower()
-
-
-
-
-
-
-
-
- std::string StringTools::ToLower
- (
- const std::string &
- str )
-
-
-
-
-
-static
-
-
-
-
-
Will make a string all lower-case.
-
-
Definition at line 171 of file StringTools.cpp .
-
-
173 std::stringstream ss;
-
174 for (std::size_t i = 0; i < str.length(); i++)
-
-
176 if ((str[i] >=
'A' ) && (str[i] <=
'Z' )) ss << (char)(((
int )str[i]) + 32);
-
177 else if (str[i] == -60) ss << (char)-28;
-
178 else if (str[i] == -42) ss << (char)-10;
-
179 else if (str[i] == -36) ss << (char)-4;
-
-
-
-
-
-
-
-
-
The documentation for this class was generated from the following files:
-
-
-
-
-
-
-
diff --git a/docs/classStringValue-members.html b/docs/classStringValue-members.html
deleted file mode 100644
index 2f06bd7..0000000
--- a/docs/classStringValue-members.html
+++ /dev/null
@@ -1,104 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Member List
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for StringValue , including all inherited members.
-
-
-
-
-
diff --git a/docs/classStringValue.html b/docs/classStringValue.html
deleted file mode 100644
index 57ae1ac..0000000
--- a/docs/classStringValue.html
+++ /dev/null
@@ -1,551 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: StringValue Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Specializations for string values (uses std::string)
- More...
-
-
#include <StringValue.h >
-
-
-
-
-
-
-
Specializations for string values (uses std::string)
-
-
Definition at line 7 of file StringValue.h .
-
-
-
◆ StringValue()
-
-
-
-
-
- StringValue::StringValue
- (
- const std::string &
- value )
-
-
-
-
-
-
-
◆ ~StringValue()
-
-
-
-
-
-
-
-
- StringValue::~StringValue
- (
- )
-
-
-
-
-
-inline override
-
-
-
-
-
-
-
◆ Deepcopy()
-
-
-
-
-
-
-
-
- Value * StringValue::Deepcopy
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
Will return a deeopopy of this object.
-
-
Implements Value .
-
-
Definition at line 13 of file StringValue.cpp .
-
-
-
-
-
◆ GetAsOsString()
-
-
-
-
-
-
-
-
- std::string StringValue::GetAsOsString
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
Will return a string suitable for an std::ostream;.
-
-
Implements Value .
-
-
Definition at line 18 of file StringValue.cpp .
-
-
-
21 ss <<
"StringValue: " << value;
-
-
-
-
-
-
-
◆ GetFloat32()
-
-
-
-
-
-
-
-
- double StringValue::GetFloat32
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
-
◆ GetFloat64()
-
-
-
-
-
-
-
-
- long double StringValue::GetFloat64
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
-
◆ GetInt32()
-
-
-
-
-
-
-
-
- int StringValue::GetInt32
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
-
◆ GetInt64()
-
-
-
-
-
-
-
-
- long long int StringValue::GetInt64
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
-
◆ GetList()
-
-
-
-
-
-
-
-
- const std::vector< Value * > & StringValue::GetList
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
-
◆ GetString()
-
-
-
-
-
-
-
-
- std::string StringValue::GetString
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
Will return this value as a string.
-
-
Implements Value .
-
-
Definition at line 57 of file StringValue.cpp .
-
-
-
-
-
◆ GetValue()
-
-
-
-
-
- const std::string & StringValue::GetValue
- (
- )
- const
-
-
-
-
-
-
◆ operator std::string()
-
-
-
-
-
- StringValue::operator std::string
- (
- )
- const
-
-
-
-
-
The documentation for this class was generated from the following files:
-
-Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not ...
-
-StringValue(const std::string &value)
-
-
-
-
-
diff --git a/docs/classStringValue__coll__graph.map b/docs/classStringValue__coll__graph.map
deleted file mode 100644
index d2b7fd3..0000000
--- a/docs/classStringValue__coll__graph.map
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
diff --git a/docs/classStringValue__coll__graph.md5 b/docs/classStringValue__coll__graph.md5
deleted file mode 100644
index 8d0e42c..0000000
--- a/docs/classStringValue__coll__graph.md5
+++ /dev/null
@@ -1 +0,0 @@
-22c37eb3e53210c1533895d69c2ccfe0
\ No newline at end of file
diff --git a/docs/classStringValue__coll__graph.png b/docs/classStringValue__coll__graph.png
deleted file mode 100644
index dda135c..0000000
Binary files a/docs/classStringValue__coll__graph.png and /dev/null differ
diff --git a/docs/classStringValue__inherit__graph.map b/docs/classStringValue__inherit__graph.map
deleted file mode 100644
index d2b7fd3..0000000
--- a/docs/classStringValue__inherit__graph.map
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
diff --git a/docs/classStringValue__inherit__graph.md5 b/docs/classStringValue__inherit__graph.md5
deleted file mode 100644
index 8d0e42c..0000000
--- a/docs/classStringValue__inherit__graph.md5
+++ /dev/null
@@ -1 +0,0 @@
-22c37eb3e53210c1533895d69c2ccfe0
\ No newline at end of file
diff --git a/docs/classStringValue__inherit__graph.png b/docs/classStringValue__inherit__graph.png
deleted file mode 100644
index dda135c..0000000
Binary files a/docs/classStringValue__inherit__graph.png and /dev/null differ
diff --git a/docs/classValue-members.html b/docs/classValue-members.html
deleted file mode 100644
index 0a363f8..0000000
--- a/docs/classValue-members.html
+++ /dev/null
@@ -1,101 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Member List
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for Value , including all inherited members.
-
-
-
-
-
diff --git a/docs/classValue.html b/docs/classValue.html
deleted file mode 100644
index 3e7e312..0000000
--- a/docs/classValue.html
+++ /dev/null
@@ -1,553 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Value Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Abstract class for values.
- More...
-
-
#include <Value.h >
-
-
-
-
-
-
-
-
-
-
-
-
[legend ]
-
-
-virtual ~Value ()
-
-virtual Value * Deepcopy () const =0
- Will return a deeopopy of this object. More...
-
-virtual std::string GetAsOsString () const =0
- Will return a string suitable for an std::ostream. More...
-
-DATA_TYPE GetDataType () const
- Will return the data type of this value. More...
-
-virtual long long int GetInt64 () const =0
- Will attempt to return the integer data (long long) More...
-
-virtual int GetInt32 () const =0
- Will attempt to return the integer data (int) More...
-
-virtual long double GetFloat64 () const =0
- Will attempt to return the floating-point data (long double) More...
-
-virtual double GetFloat32 () const =0
- Will attempt to return the floating-point data (double) More...
-
-virtual std::string GetString () const =0
- Will attempt to return the string-data. More...
-
-virtual const std::vector< Value * > & GetList () const =0
- Will attempt to return the list-data. More...
-
-
-
-
Abstract class for values.
-
-
Definition at line 8 of file Value.h .
-
-
-
◆ ~Value()
-
-
-
-
-
-
-
-
- virtual Value::~Value
- (
- )
-
-
-
-
-
-inline virtual
-
-
-
-
-
Definition at line 11 of file Value.h .
-
-
-
-
-
◆ Value()
-
-
-
-
-
-
-
-
- Value::Value
- (
- DATA_TYPE
- type )
-
-
-
-
-
-protected
-
-
-
-
-
-
-
◆ Deepcopy()
-
-
-
-
-
-
-
-
- virtual Value * Value::Deepcopy
- (
- )
- const
-
-
-
-
-pure virtual
-
-
-
-
-
-
◆ GetAsOsString()
-
-
-
-
-
-
-
-
- virtual std::string Value::GetAsOsString
- (
- )
- const
-
-
-
-
-pure virtual
-
-
-
-
-
-
◆ GetDataType()
-
-
-
-
-
- DATA_TYPE Value::GetDataType
- (
- )
- const
-
-
-
-
-
Will return the data type of this value.
-
-
Definition at line 10 of file Value.cpp .
-
-
-
-
-
◆ GetFloat32()
-
-
-
-
-
-
-
-
- virtual double Value::GetFloat32
- (
- )
- const
-
-
-
-
-pure virtual
-
-
-
-
-
-
◆ GetFloat64()
-
-
-
-
-
-
-
-
- virtual long double Value::GetFloat64
- (
- )
- const
-
-
-
-
-pure virtual
-
-
-
-
-
-
◆ GetInt32()
-
-
-
-
-
-
-
-
- virtual int Value::GetInt32
- (
- )
- const
-
-
-
-
-pure virtual
-
-
-
-
-
-
◆ GetInt64()
-
-
-
-
-
-
-
-
- virtual long long int Value::GetInt64
- (
- )
- const
-
-
-
-
-pure virtual
-
-
-
-
-
-
◆ GetList()
-
-
-
-
-
-
-
-
- virtual const std::vector<Value *>& Value::GetList
- (
- )
- const
-
-
-
-
-pure virtual
-
-
-
-
-
-
◆ GetString()
-
-
-
-
-
-
-
-
- virtual std::string Value::GetString
- (
- )
- const
-
-
-
-
-pure virtual
-
-
-
-
-
-
-
◆ operator<<
-
-
-
-
-
-
-
-
- std::ostream& operator<<
- (
- std::ostream &
- os ,
-
-
-
-
- const Value &
- v
-
-
-
- )
-
-
-
-
-
-friend
-
-
-
-
-
Definition at line 22 of file Value.h .
-
-
-
-
-
-
◆ type
-
-
-
-
-
Definition at line 46 of file Value.h .
-
-
-
-
The documentation for this class was generated from the following files:
-
-
-virtual std::string GetAsOsString() const =0
Will return a string suitable for an std::ostream.
-
-
-
-
diff --git a/docs/classValue__inherit__graph.map b/docs/classValue__inherit__graph.map
deleted file mode 100644
index 21e25b5..0000000
--- a/docs/classValue__inherit__graph.map
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/docs/classValue__inherit__graph.md5 b/docs/classValue__inherit__graph.md5
deleted file mode 100644
index 003a4ef..0000000
--- a/docs/classValue__inherit__graph.md5
+++ /dev/null
@@ -1 +0,0 @@
-77b1f35d4bc0222204841b7253e3c0c7
\ No newline at end of file
diff --git a/docs/classValue__inherit__graph.png b/docs/classValue__inherit__graph.png
deleted file mode 100644
index 110109e..0000000
Binary files a/docs/classValue__inherit__graph.png and /dev/null differ
diff --git a/docs/classVoidValue-members.html b/docs/classVoidValue-members.html
deleted file mode 100644
index b30b9b0..0000000
--- a/docs/classVoidValue-members.html
+++ /dev/null
@@ -1,102 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Member List
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the complete list of members for VoidValue , including all inherited members.
-
-
-
-
-
diff --git a/docs/classVoidValue.html b/docs/classVoidValue.html
deleted file mode 100644
index 0ae229b..0000000
--- a/docs/classVoidValue.html
+++ /dev/null
@@ -1,497 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: VoidValue Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Specializations for void values.
- More...
-
-
#include <VoidValue.h >
-
-
-
-
-
-
-
Specializations for void values.
-
These house no value whatsoever, but only communicate information by merely existing.
-
-
Definition at line 6 of file VoidValue.h .
-
-
-
◆ VoidValue()
-
-
-
-
-
- VoidValue::VoidValue
- (
- )
-
-
-
-
-
-
-
◆ ~VoidValue()
-
-
-
-
-
-
-
-
- VoidValue::~VoidValue
- (
- )
-
-
-
-
-
-inline override
-
-
-
-
-
-
-
◆ Deepcopy()
-
-
-
-
-
-
-
-
- Value * VoidValue::Deepcopy
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
Will return a deeopopy of this object.
-
-
Implements Value .
-
-
Definition at line 11 of file VoidValue.cpp .
-
-
-
-
-
◆ GetAsOsString()
-
-
-
-
-
-
-
-
- std::string VoidValue::GetAsOsString
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
Will return a string suitable for an std::ostream;.
-
-
Implements Value .
-
-
Definition at line 16 of file VoidValue.cpp .
-
-
-
-
-
◆ GetFloat32()
-
-
-
-
-
-
-
-
- double VoidValue::GetFloat32
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
-
◆ GetFloat64()
-
-
-
-
-
-
-
-
- long double VoidValue::GetFloat64
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
-
◆ GetInt32()
-
-
-
-
-
-
-
-
- int VoidValue::GetInt32
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
-
◆ GetInt64()
-
-
-
-
-
-
-
-
- long long int VoidValue::GetInt64
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
-
◆ GetList()
-
-
-
-
-
-
-
-
- const std::vector< Value * > & VoidValue::GetList
- (
- )
- const
-
-
-
-
-virtual
-
-
-
-
-
-
◆ GetString()
-
-
-
-
-
-
-
-
- std::string VoidValue::GetString
- (
- )
- const
-
-
-
-
-override virtual
-
-
-
-
-
The documentation for this class was generated from the following files:
-
-
-
-Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not ...
-
-
-
-
-
diff --git a/docs/classVoidValue__coll__graph.map b/docs/classVoidValue__coll__graph.map
deleted file mode 100644
index f9c9a0e..0000000
--- a/docs/classVoidValue__coll__graph.map
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
diff --git a/docs/classVoidValue__coll__graph.md5 b/docs/classVoidValue__coll__graph.md5
deleted file mode 100644
index 8bca56a..0000000
--- a/docs/classVoidValue__coll__graph.md5
+++ /dev/null
@@ -1 +0,0 @@
-49110319ff8617406aa3f422d40aa923
\ No newline at end of file
diff --git a/docs/classVoidValue__coll__graph.png b/docs/classVoidValue__coll__graph.png
deleted file mode 100644
index abb7ae4..0000000
Binary files a/docs/classVoidValue__coll__graph.png and /dev/null differ
diff --git a/docs/classVoidValue__inherit__graph.map b/docs/classVoidValue__inherit__graph.map
deleted file mode 100644
index f9c9a0e..0000000
--- a/docs/classVoidValue__inherit__graph.map
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
diff --git a/docs/classVoidValue__inherit__graph.md5 b/docs/classVoidValue__inherit__graph.md5
deleted file mode 100644
index 8bca56a..0000000
--- a/docs/classVoidValue__inherit__graph.md5
+++ /dev/null
@@ -1 +0,0 @@
-49110319ff8617406aa3f422d40aa923
\ No newline at end of file
diff --git a/docs/classVoidValue__inherit__graph.png b/docs/classVoidValue__inherit__graph.png
deleted file mode 100644
index abb7ae4..0000000
Binary files a/docs/classVoidValue__inherit__graph.png and /dev/null differ
diff --git a/docs/classes.html b/docs/classes.html
deleted file mode 100644
index 2f8a6cc..0000000
--- a/docs/classes.html
+++ /dev/null
@@ -1,132 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Class Index
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/closed.png b/docs/closed.png
deleted file mode 100644
index 3ff4431..0000000
Binary files a/docs/closed.png and /dev/null differ
diff --git a/docs/dir_000003_000000.html b/docs/dir_000003_000000.html
deleted file mode 100644
index 1ffa3dc..0000000
--- a/docs/dir_000003_000000.html
+++ /dev/null
@@ -1,85 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Test_Hazelnupp -> Hazelnupp Relation
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Test_Hazelnupp → Hazelnupp Relation
-
-
-
-
diff --git a/docs/dir_0202e1e26df2e040f4dc3d434eecf04c.html b/docs/dir_0202e1e26df2e040f4dc3d434eecf04c.html
deleted file mode 100644
index bd72d8c..0000000
--- a/docs/dir_0202e1e26df2e040f4dc3d434eecf04c.html
+++ /dev/null
@@ -1,146 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp Directory Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/dir_0c3d7a8ae27c1a80e1a2e78f7c177a7d.html b/docs/dir_0c3d7a8ae27c1a80e1a2e78f7c177a7d.html
deleted file mode 100644
index 2ad44d1..0000000
--- a/docs/dir_0c3d7a8ae27c1a80e1a2e78f7c177a7d.html
+++ /dev/null
@@ -1,89 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Test_Hazelnupp/Release Directory Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/dir_0cc5f59b28c403d42cc56800132eb975.html b/docs/dir_0cc5f59b28c403d42cc56800132eb975.html
deleted file mode 100644
index a9e07d5..0000000
--- a/docs/dir_0cc5f59b28c403d42cc56800132eb975.html
+++ /dev/null
@@ -1,89 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/Debug Directory Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/dir_1148ebc2b25b55095aebf6f4cbb6efca.html b/docs/dir_1148ebc2b25b55095aebf6f4cbb6efca.html
deleted file mode 100644
index ec1a133..0000000
--- a/docs/dir_1148ebc2b25b55095aebf6f4cbb6efca.html
+++ /dev/null
@@ -1,89 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Doxygen Directory Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/dir_5c0eadceca12ef8285078e2e738769ee.html b/docs/dir_5c0eadceca12ef8285078e2e738769ee.html
deleted file mode 100644
index 2e6c637..0000000
--- a/docs/dir_5c0eadceca12ef8285078e2e738769ee.html
+++ /dev/null
@@ -1,89 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Test_Hazelnupp/Debug Directory Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/dir_a4e10305c1b03e566e1d27ef3ea61492.html b/docs/dir_a4e10305c1b03e566e1d27ef3ea61492.html
deleted file mode 100644
index 9f333a8..0000000
--- a/docs/dir_a4e10305c1b03e566e1d27ef3ea61492.html
+++ /dev/null
@@ -1,122 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Test_Hazelnupp Directory Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/dir_a4e10305c1b03e566e1d27ef3ea61492_dep.map b/docs/dir_a4e10305c1b03e566e1d27ef3ea61492_dep.map
deleted file mode 100644
index 43702a4..0000000
--- a/docs/dir_a4e10305c1b03e566e1d27ef3ea61492_dep.map
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/docs/dir_a4e10305c1b03e566e1d27ef3ea61492_dep.md5 b/docs/dir_a4e10305c1b03e566e1d27ef3ea61492_dep.md5
deleted file mode 100644
index 93c45c0..0000000
--- a/docs/dir_a4e10305c1b03e566e1d27ef3ea61492_dep.md5
+++ /dev/null
@@ -1 +0,0 @@
-39d561844e34e2a7e7b390ed90e30357
\ No newline at end of file
diff --git a/docs/dir_a4e10305c1b03e566e1d27ef3ea61492_dep.png b/docs/dir_a4e10305c1b03e566e1d27ef3ea61492_dep.png
deleted file mode 100644
index 670d84c..0000000
Binary files a/docs/dir_a4e10305c1b03e566e1d27ef3ea61492_dep.png and /dev/null differ
diff --git a/docs/dir_a8cffda729361e9d9637effa362fcea9.html b/docs/dir_a8cffda729361e9d9637effa362fcea9.html
deleted file mode 100644
index f98b8a6..0000000
--- a/docs/dir_a8cffda729361e9d9637effa362fcea9.html
+++ /dev/null
@@ -1,89 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp/Release Directory Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/doc.png b/docs/doc.png
deleted file mode 100644
index 260aaf7..0000000
Binary files a/docs/doc.png and /dev/null differ
diff --git a/docs/doxygen.css b/docs/doxygen.css
deleted file mode 100644
index 2ba8ca9..0000000
--- a/docs/doxygen.css
+++ /dev/null
@@ -1,1771 +0,0 @@
-/* The standard CSS for doxygen 1.8.17 */
-
-body, table, div, p, dl {
- font: 400 14px/22px Roboto,sans-serif;
-}
-
-p.reference, p.definition {
- font: 400 14px/22px Roboto,sans-serif;
-}
-
-/* @group Heading Levels */
-
-h1.groupheader {
- font-size: 150%;
-}
-
-.title {
- font: 400 14px/28px Roboto,sans-serif;
- font-size: 150%;
- font-weight: bold;
- margin: 10px 2px;
-}
-
-h2.groupheader {
- border-bottom: 1px solid #D3D7BD;
- color: #A0A96F;
- font-size: 150%;
- font-weight: normal;
- margin-top: 1.75em;
- padding-top: 8px;
- padding-bottom: 4px;
- width: 100%;
-}
-
-h3.groupheader {
- font-size: 100%;
-}
-
-h1, h2, h3, h4, h5, h6 {
- -webkit-transition: text-shadow 0.5s linear;
- -moz-transition: text-shadow 0.5s linear;
- -ms-transition: text-shadow 0.5s linear;
- -o-transition: text-shadow 0.5s linear;
- transition: text-shadow 0.5s linear;
- margin-right: 15px;
-}
-
-h1.glow, h2.glow, h3.glow, h4.glow, h5.glow, h6.glow {
- text-shadow: 0 0 15px cyan;
-}
-
-dt {
- font-weight: bold;
-}
-
-ul.multicol {
- -moz-column-gap: 1em;
- -webkit-column-gap: 1em;
- column-gap: 1em;
- -moz-column-count: 3;
- -webkit-column-count: 3;
- column-count: 3;
-}
-
-p.startli, p.startdd {
- margin-top: 2px;
-}
-
-th p.starttd, p.intertd, p.endtd {
- font-size: 100%;
- font-weight: 700;
-}
-
-p.starttd {
- margin-top: 0px;
-}
-
-p.endli {
- margin-bottom: 0px;
-}
-
-p.enddd {
- margin-bottom: 4px;
-}
-
-p.endtd {
- margin-bottom: 2px;
-}
-
-p.interli {
-}
-
-p.interdd {
-}
-
-p.intertd {
-}
-
-/* @end */
-
-caption {
- font-weight: bold;
-}
-
-span.legend {
- font-size: 70%;
- text-align: center;
-}
-
-h3.version {
- font-size: 90%;
- text-align: center;
-}
-
-div.qindex, div.navtab{
- background-color: #F8F9F5;
- border: 1px solid #DEE1CD;
- text-align: center;
-}
-
-div.qindex, div.navpath {
- width: 100%;
- line-height: 140%;
-}
-
-div.navtab {
- margin-right: 15px;
-}
-
-/* @group Link Styling */
-
-a {
- color: #A8B17C;
- font-weight: normal;
- text-decoration: none;
-}
-
-.contents a:visited {
- color: #B3BB8D;
-}
-
-a:hover {
- text-decoration: underline;
-}
-
-a.qindex {
- font-weight: bold;
-}
-
-a.qindexHL {
- font-weight: bold;
- background-color: #DBDFC9;
- color: #FFFFFF;
- border: 1px double #D3D7BC;
-}
-
-.contents a.qindexHL:visited {
- color: #FFFFFF;
-}
-
-a.el {
- font-weight: bold;
-}
-
-a.elRef {
-}
-
-a.code, a.code:visited, a.line, a.line:visited {
- color: #B3BB8D;
-}
-
-a.codeRef, a.codeRef:visited, a.lineRef, a.lineRef:visited {
- color: #B3BB8D;
-}
-
-/* @end */
-
-dl.el {
- margin-left: -1cm;
-}
-
-ul {
- overflow: hidden; /*Fixed: list item bullets overlap floating elements*/
-}
-
-#side-nav ul {
- overflow: visible; /* reset ul rule for scroll bar in GENERATE_TREEVIEW window */
-}
-
-#main-nav ul {
- overflow: visible; /* reset ul rule for the navigation bar drop down lists */
-}
-
-.fragment {
- text-align: left;
- direction: ltr;
- overflow-x: auto; /*Fixed: fragment lines overlap floating elements*/
- overflow-y: hidden;
-}
-
-pre.fragment {
- border: 1px solid #EAECE0;
- background-color: #FDFDFD;
- padding: 4px 6px;
- margin: 4px 8px 4px 2px;
- overflow: auto;
- word-wrap: break-word;
- font-size: 9pt;
- line-height: 125%;
- font-family: monospace, fixed;
- font-size: 105%;
-}
-
-div.fragment {
- padding: 0 0 1px 0; /*Fixed: last line underline overlap border*/
- margin: 4px 8px 4px 2px;
- background-color: #FDFDFD;
- border: 1px solid #EAECE0;
-}
-
-div.line {
- font-family: monospace, fixed;
- font-size: 13px;
- min-height: 13px;
- line-height: 1.0;
- text-wrap: unrestricted;
- white-space: -moz-pre-wrap; /* Moz */
- white-space: -pre-wrap; /* Opera 4-6 */
- white-space: -o-pre-wrap; /* Opera 7 */
- white-space: pre-wrap; /* CSS3 */
- word-wrap: break-word; /* IE 5.5+ */
- text-indent: -53px;
- padding-left: 53px;
- padding-bottom: 0px;
- margin: 0px;
- -webkit-transition-property: background-color, box-shadow;
- -webkit-transition-duration: 0.5s;
- -moz-transition-property: background-color, box-shadow;
- -moz-transition-duration: 0.5s;
- -ms-transition-property: background-color, box-shadow;
- -ms-transition-duration: 0.5s;
- -o-transition-property: background-color, box-shadow;
- -o-transition-duration: 0.5s;
- transition-property: background-color, box-shadow;
- transition-duration: 0.5s;
-}
-
-div.line:after {
- content:"\000A";
- white-space: pre;
-}
-
-div.line.glow {
- background-color: cyan;
- box-shadow: 0 0 10px cyan;
-}
-
-
-span.lineno {
- padding-right: 4px;
- text-align: right;
- border-right: 2px solid #0F0;
- background-color: #E8E8E8;
- white-space: pre;
-}
-span.lineno a {
- background-color: #D8D8D8;
-}
-
-span.lineno a:hover {
- background-color: #C8C8C8;
-}
-
-.lineno {
- -webkit-touch-callout: none;
- -webkit-user-select: none;
- -khtml-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
-}
-
-div.ah, span.ah {
- background-color: black;
- font-weight: bold;
- color: #FFFFFF;
- margin-bottom: 3px;
- margin-top: 3px;
- padding: 0.2em;
- border: solid thin #333;
- border-radius: 0.5em;
- -webkit-border-radius: .5em;
- -moz-border-radius: .5em;
- box-shadow: 2px 2px 3px #999;
- -webkit-box-shadow: 2px 2px 3px #999;
- -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px;
- background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444));
- background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000 110%);
-}
-
-div.classindex ul {
- list-style: none;
- padding-left: 0;
-}
-
-div.classindex span.ai {
- display: inline-block;
-}
-
-div.groupHeader {
- margin-left: 16px;
- margin-top: 12px;
- font-weight: bold;
-}
-
-div.groupText {
- margin-left: 16px;
- font-style: italic;
-}
-
-body {
- background-color: white;
- color: black;
- margin: 0;
-}
-
-div.contents {
- margin-top: 10px;
- margin-left: 12px;
- margin-right: 8px;
-}
-
-td.indexkey {
- background-color: #F8F9F5;
- font-weight: bold;
- border: 1px solid #EAECE0;
- margin: 2px 0px 2px 0;
- padding: 2px 10px;
- white-space: nowrap;
- vertical-align: top;
-}
-
-td.indexvalue {
- background-color: #F8F9F5;
- border: 1px solid #EAECE0;
- padding: 2px 10px;
- margin: 2px 0px;
-}
-
-tr.memlist {
- background-color: #F9F9F6;
-}
-
-p.formulaDsp {
- text-align: center;
-}
-
-img.formulaDsp {
-
-}
-
-img.formulaInl, img.inline {
- vertical-align: middle;
-}
-
-div.center {
- text-align: center;
- margin-top: 0px;
- margin-bottom: 0px;
- padding: 0px;
-}
-
-div.center img {
- border: 0px;
-}
-
-address.footer {
- text-align: right;
- padding-right: 12px;
-}
-
-img.footer {
- border: 0px;
- vertical-align: middle;
-}
-
-/* @group Code Colorization */
-
-span.keyword {
- color: #008000
-}
-
-span.keywordtype {
- color: #604020
-}
-
-span.keywordflow {
- color: #e08000
-}
-
-span.comment {
- color: #800000
-}
-
-span.preprocessor {
- color: #806020
-}
-
-span.stringliteral {
- color: #002080
-}
-
-span.charliteral {
- color: #008080
-}
-
-span.vhdldigit {
- color: #ff00ff
-}
-
-span.vhdlchar {
- color: #000000
-}
-
-span.vhdlkeyword {
- color: #700070
-}
-
-span.vhdllogic {
- color: #ff0000
-}
-
-blockquote {
- background-color: #FCFCFB;
- border-left: 2px solid #DBDFC9;
- margin: 0 24px 0 4px;
- padding: 0 12px 0 16px;
-}
-
-blockquote.DocNodeRTL {
- border-left: 0;
- border-right: 2px solid #DBDFC9;
- margin: 0 4px 0 24px;
- padding: 0 16px 0 12px;
-}
-
-/* @end */
-
-/*
-.search {
- color: #003399;
- font-weight: bold;
-}
-
-form.search {
- margin-bottom: 0px;
- margin-top: 0px;
-}
-
-input.search {
- font-size: 75%;
- color: #000080;
- font-weight: normal;
- background-color: #e8eef2;
-}
-*/
-
-td.tiny {
- font-size: 75%;
-}
-
-.dirtab {
- padding: 4px;
- border-collapse: collapse;
- border: 1px solid #DEE1CD;
-}
-
-th.dirtab {
- background: #F8F9F5;
- font-weight: bold;
-}
-
-hr {
- height: 0px;
- border: none;
- border-top: 1px solid #B7BE92;
-}
-
-hr.footer {
- height: 1px;
-}
-
-/* @group Member Descriptions */
-
-table.memberdecls {
- border-spacing: 0px;
- padding: 0px;
-}
-
-.memberdecls td, .fieldtable tr {
- -webkit-transition-property: background-color, box-shadow;
- -webkit-transition-duration: 0.5s;
- -moz-transition-property: background-color, box-shadow;
- -moz-transition-duration: 0.5s;
- -ms-transition-property: background-color, box-shadow;
- -ms-transition-duration: 0.5s;
- -o-transition-property: background-color, box-shadow;
- -o-transition-duration: 0.5s;
- transition-property: background-color, box-shadow;
- transition-duration: 0.5s;
-}
-
-.memberdecls td.glow, .fieldtable tr.glow {
- background-color: cyan;
- box-shadow: 0 0 15px cyan;
-}
-
-.mdescLeft, .mdescRight,
-.memItemLeft, .memItemRight,
-.memTemplItemLeft, .memTemplItemRight, .memTemplParams {
- background-color: #FDFDFC;
- border: none;
- margin: 4px;
- padding: 1px 0 0 8px;
-}
-
-.mdescLeft, .mdescRight {
- padding: 0px 8px 4px 8px;
- color: #555;
-}
-
-.memSeparator {
- border-bottom: 1px solid #F3F4EE;
- line-height: 1px;
- margin: 0px;
- padding: 0px;
-}
-
-.memItemLeft, .memTemplItemLeft {
- white-space: nowrap;
-}
-
-.memItemRight, .memTemplItemRight {
- width: 100%;
-}
-
-.memTemplParams {
- color: #B3BB8D;
- white-space: nowrap;
- font-size: 80%;
-}
-
-/* @end */
-
-/* @group Member Details */
-
-/* Styles for detailed member documentation */
-
-.memtitle {
- padding: 8px;
- border-top: 1px solid #E0E3D0;
- border-left: 1px solid #E0E3D0;
- border-right: 1px solid #E0E3D0;
- border-top-right-radius: 4px;
- border-top-left-radius: 4px;
- margin-bottom: -1px;
- background-image: url('nav_f.png');
- background-repeat: repeat-x;
- background-color: #F5F6F0;
- line-height: 1.25;
- font-weight: 300;
- float:left;
-}
-
-.permalink
-{
- font-size: 65%;
- display: inline-block;
- vertical-align: middle;
-}
-
-.memtemplate {
- font-size: 80%;
- color: #B3BB8D;
- font-weight: normal;
- margin-left: 9px;
-}
-
-.memnav {
- background-color: #F8F9F5;
- border: 1px solid #DEE1CD;
- text-align: center;
- margin: 2px;
- margin-right: 15px;
- padding: 2px;
-}
-
-.mempage {
- width: 100%;
-}
-
-.memitem {
- padding: 0;
- margin-bottom: 10px;
- margin-right: 5px;
- -webkit-transition: box-shadow 0.5s linear;
- -moz-transition: box-shadow 0.5s linear;
- -ms-transition: box-shadow 0.5s linear;
- -o-transition: box-shadow 0.5s linear;
- transition: box-shadow 0.5s linear;
- display: table !important;
- width: 100%;
-}
-
-.memitem.glow {
- box-shadow: 0 0 15px cyan;
-}
-
-.memname {
- font-weight: 400;
- margin-left: 6px;
-}
-
-.memname td {
- vertical-align: bottom;
-}
-
-.memproto, dl.reflist dt {
- border-top: 1px solid #E0E3D0;
- border-left: 1px solid #E0E3D0;
- border-right: 1px solid #E0E3D0;
- padding: 6px 0px 6px 0px;
- color: #858F55;
- font-weight: bold;
- text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9);
- background-color: #F4F5EE;
- /* opera specific markup */
- box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
- border-top-right-radius: 4px;
- /* firefox specific markup */
- -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px;
- -moz-border-radius-topright: 4px;
- /* webkit specific markup */
- -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
- -webkit-border-top-right-radius: 4px;
-
-}
-
-.overload {
- font-family: "courier new",courier,monospace;
- font-size: 65%;
-}
-
-.memdoc, dl.reflist dd {
- border-bottom: 1px solid #E0E3D0;
- border-left: 1px solid #E0E3D0;
- border-right: 1px solid #E0E3D0;
- padding: 6px 10px 2px 10px;
- background-color: #FDFDFD;
- border-top-width: 0;
- background-image:url('nav_g.png');
- background-repeat:repeat-x;
- background-color: #FFFFFF;
- /* opera specific markup */
- border-bottom-left-radius: 4px;
- border-bottom-right-radius: 4px;
- box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
- /* firefox specific markup */
- -moz-border-radius-bottomleft: 4px;
- -moz-border-radius-bottomright: 4px;
- -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px;
- /* webkit specific markup */
- -webkit-border-bottom-left-radius: 4px;
- -webkit-border-bottom-right-radius: 4px;
- -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
-}
-
-dl.reflist dt {
- padding: 5px;
-}
-
-dl.reflist dd {
- margin: 0px 0px 10px 0px;
- padding: 5px;
-}
-
-.paramkey {
- text-align: right;
-}
-
-.paramtype {
- white-space: nowrap;
-}
-
-.paramname {
- color: #602020;
- white-space: nowrap;
-}
-.paramname em {
- font-style: normal;
-}
-.paramname code {
- line-height: 14px;
-}
-
-.params, .retval, .exception, .tparams {
- margin-left: 0px;
- padding-left: 0px;
-}
-
-.params .paramname, .retval .paramname, .tparams .paramname, .exception .paramname {
- font-weight: bold;
- vertical-align: top;
-}
-
-.params .paramtype, .tparams .paramtype {
- font-style: italic;
- vertical-align: top;
-}
-
-.params .paramdir, .tparams .paramdir {
- font-family: "courier new",courier,monospace;
- vertical-align: top;
-}
-
-table.mlabels {
- border-spacing: 0px;
-}
-
-td.mlabels-left {
- width: 100%;
- padding: 0px;
-}
-
-td.mlabels-right {
- vertical-align: bottom;
- padding: 0px;
- white-space: nowrap;
-}
-
-span.mlabels {
- margin-left: 8px;
-}
-
-span.mlabel {
- background-color: #CAD0B0;
- border-top:1px solid #BDC49B;
- border-left:1px solid #BDC49B;
- border-right:1px solid #EAECE0;
- border-bottom:1px solid #EAECE0;
- text-shadow: none;
- color: white;
- margin-right: 4px;
- padding: 2px 3px;
- border-radius: 3px;
- font-size: 7pt;
- white-space: nowrap;
- vertical-align: middle;
-}
-
-
-
-/* @end */
-
-/* these are for tree view inside a (index) page */
-
-div.directory {
- margin: 10px 0px;
- border-top: 1px solid #DBDFC9;
- border-bottom: 1px solid #DBDFC9;
- width: 100%;
-}
-
-.directory table {
- border-collapse:collapse;
-}
-
-.directory td {
- margin: 0px;
- padding: 0px;
- vertical-align: top;
-}
-
-.directory td.entry {
- white-space: nowrap;
- padding-right: 6px;
- padding-top: 3px;
-}
-
-.directory td.entry a {
- outline:none;
-}
-
-.directory td.entry a img {
- border: none;
-}
-
-.directory td.desc {
- width: 100%;
- padding-left: 6px;
- padding-right: 6px;
- padding-top: 3px;
- border-left: 1px solid rgba(0,0,0,0.05);
-}
-
-.directory tr.even {
- padding-left: 6px;
- background-color: #FCFCFB;
-}
-
-.directory img {
- vertical-align: -30%;
-}
-
-.directory .levels {
- white-space: nowrap;
- width: 100%;
- text-align: right;
- font-size: 9pt;
-}
-
-.directory .levels span {
- cursor: pointer;
- padding-left: 2px;
- padding-right: 2px;
- color: #A8B17C;
-}
-
-.arrow {
- color: #DBDFC9;
- -webkit-user-select: none;
- -khtml-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- cursor: pointer;
- font-size: 80%;
- display: inline-block;
- width: 16px;
- height: 22px;
-}
-
-.icon {
- font-family: Arial, Helvetica;
- font-weight: bold;
- font-size: 12px;
- height: 14px;
- width: 16px;
- display: inline-block;
- background-color: #CAD0B0;
- color: white;
- text-align: center;
- border-radius: 4px;
- margin-left: 2px;
- margin-right: 2px;
-}
-
-.icona {
- width: 24px;
- height: 22px;
- display: inline-block;
-}
-
-.iconfopen {
- width: 24px;
- height: 18px;
- margin-bottom: 4px;
- background-image:url('folderopen.png');
- background-position: 0px -4px;
- background-repeat: repeat-y;
- vertical-align:top;
- display: inline-block;
-}
-
-.iconfclosed {
- width: 24px;
- height: 18px;
- margin-bottom: 4px;
- background-image:url('folderclosed.png');
- background-position: 0px -4px;
- background-repeat: repeat-y;
- vertical-align:top;
- display: inline-block;
-}
-
-.icondoc {
- width: 24px;
- height: 18px;
- margin-bottom: 4px;
- background-image:url('doc.png');
- background-position: 0px -4px;
- background-repeat: repeat-y;
- vertical-align:top;
- display: inline-block;
-}
-
-table.directory {
- font: 400 14px Roboto,sans-serif;
-}
-
-/* @end */
-
-div.dynheader {
- margin-top: 8px;
- -webkit-touch-callout: none;
- -webkit-user-select: none;
- -khtml-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
-}
-
-address {
- font-style: normal;
- color: #909B5C;
-}
-
-table.doxtable caption {
- caption-side: top;
-}
-
-table.doxtable {
- border-collapse:collapse;
- margin-top: 4px;
- margin-bottom: 4px;
-}
-
-table.doxtable td, table.doxtable th {
- border: 1px solid #95A05F;
- padding: 3px 7px 2px;
-}
-
-table.doxtable th {
- background-color: #A2AB73;
- color: #FFFFFF;
- font-size: 110%;
- padding-bottom: 4px;
- padding-top: 5px;
-}
-
-table.fieldtable {
- /*width: 100%;*/
- margin-bottom: 10px;
- border: 1px solid #E0E3D0;
- border-spacing: 0px;
- -moz-border-radius: 4px;
- -webkit-border-radius: 4px;
- border-radius: 4px;
- -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px;
- -webkit-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15);
- box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15);
-}
-
-.fieldtable td, .fieldtable th {
- padding: 3px 7px 2px;
-}
-
-.fieldtable td.fieldtype, .fieldtable td.fieldname {
- white-space: nowrap;
- border-right: 1px solid #E0E3D0;
- border-bottom: 1px solid #E0E3D0;
- vertical-align: top;
-}
-
-.fieldtable td.fieldname {
- padding-top: 3px;
-}
-
-.fieldtable td.fielddoc {
- border-bottom: 1px solid #E0E3D0;
- /*width: 100%;*/
-}
-
-.fieldtable td.fielddoc p:first-child {
- margin-top: 0px;
-}
-
-.fieldtable td.fielddoc p:last-child {
- margin-bottom: 2px;
-}
-
-.fieldtable tr:last-child td {
- border-bottom: none;
-}
-
-.fieldtable th {
- background-image:url('nav_f.png');
- background-repeat:repeat-x;
- background-color: #F5F6F0;
- font-size: 90%;
- color: #858F55;
- padding-bottom: 4px;
- padding-top: 5px;
- text-align:left;
- font-weight: 400;
- -moz-border-radius-topleft: 4px;
- -moz-border-radius-topright: 4px;
- -webkit-border-top-left-radius: 4px;
- -webkit-border-top-right-radius: 4px;
- border-top-left-radius: 4px;
- border-top-right-radius: 4px;
- border-bottom: 1px solid #E0E3D0;
-}
-
-
-.tabsearch {
- top: 0px;
- left: 10px;
- height: 36px;
- background-image: url('tab_b.png');
- z-index: 101;
- overflow: hidden;
- font-size: 13px;
-}
-
-.navpath ul
-{
- font-size: 11px;
- background-image:url('tab_b.png');
- background-repeat:repeat-x;
- background-position: 0 -5px;
- height:30px;
- line-height:30px;
- color:#D4D8BE;
- border:solid 1px #E9ECDF;
- overflow:hidden;
- margin:0px;
- padding:0px;
-}
-
-.navpath li
-{
- list-style-type:none;
- float:left;
- padding-left:10px;
- padding-right:15px;
- background-image:url('bc_s.png');
- background-repeat:no-repeat;
- background-position:right;
- color:#A0AA70;
-}
-
-.navpath li.navelem a
-{
- height:32px;
- display:block;
- text-decoration: none;
- outline: none;
- color: #8C9659;
- font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif;
- text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9);
- text-decoration: none;
-}
-
-.navpath li.navelem a:hover
-{
- color:#C6CCA9;
-}
-
-.navpath li.footer
-{
- list-style-type:none;
- float:right;
- padding-left:10px;
- padding-right:15px;
- background-image:none;
- background-repeat:no-repeat;
- background-position:right;
- color:#A0AA70;
- font-size: 8pt;
-}
-
-
-div.summary
-{
- float: right;
- font-size: 8pt;
- padding-right: 5px;
- width: 50%;
- text-align: right;
-}
-
-div.summary a
-{
- white-space: nowrap;
-}
-
-table.classindex
-{
- margin: 10px;
- white-space: nowrap;
- margin-left: 3%;
- margin-right: 3%;
- width: 94%;
- border: 0;
- border-spacing: 0;
- padding: 0;
-}
-
-div.ingroups
-{
- font-size: 8pt;
- width: 50%;
- text-align: left;
-}
-
-div.ingroups a
-{
- white-space: nowrap;
-}
-
-div.header
-{
- background-image:url('nav_h.png');
- background-repeat:repeat-x;
- background-color: #FDFDFC;
- margin: 0px;
- border-bottom: 1px solid #EAECE0;
-}
-
-div.headertitle
-{
- padding: 5px 5px 5px 10px;
-}
-
-.PageDocRTL-title div.headertitle {
- text-align: right;
- direction: rtl;
-}
-
-dl {
- padding: 0 0 0 0;
-}
-
-/* dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated, dl.todo, dl.test, dl.bug, dl.examples */
-dl.section {
- margin-left: 0px;
- padding-left: 0px;
-}
-
-dl.section.DocNodeRTL {
- margin-right: 0px;
- padding-right: 0px;
-}
-
-dl.note {
- margin-left: -7px;
- padding-left: 3px;
- border-left: 4px solid;
- border-color: #D0C000;
-}
-
-dl.note.DocNodeRTL {
- margin-left: 0;
- padding-left: 0;
- border-left: 0;
- margin-right: -7px;
- padding-right: 3px;
- border-right: 4px solid;
- border-color: #D0C000;
-}
-
-dl.warning, dl.attention {
- margin-left: -7px;
- padding-left: 3px;
- border-left: 4px solid;
- border-color: #FF0000;
-}
-
-dl.warning.DocNodeRTL, dl.attention.DocNodeRTL {
- margin-left: 0;
- padding-left: 0;
- border-left: 0;
- margin-right: -7px;
- padding-right: 3px;
- border-right: 4px solid;
- border-color: #FF0000;
-}
-
-dl.pre, dl.post, dl.invariant {
- margin-left: -7px;
- padding-left: 3px;
- border-left: 4px solid;
- border-color: #00D000;
-}
-
-dl.pre.DocNodeRTL, dl.post.DocNodeRTL, dl.invariant.DocNodeRTL {
- margin-left: 0;
- padding-left: 0;
- border-left: 0;
- margin-right: -7px;
- padding-right: 3px;
- border-right: 4px solid;
- border-color: #00D000;
-}
-
-dl.deprecated {
- margin-left: -7px;
- padding-left: 3px;
- border-left: 4px solid;
- border-color: #505050;
-}
-
-dl.deprecated.DocNodeRTL {
- margin-left: 0;
- padding-left: 0;
- border-left: 0;
- margin-right: -7px;
- padding-right: 3px;
- border-right: 4px solid;
- border-color: #505050;
-}
-
-dl.todo {
- margin-left: -7px;
- padding-left: 3px;
- border-left: 4px solid;
- border-color: #00C0E0;
-}
-
-dl.todo.DocNodeRTL {
- margin-left: 0;
- padding-left: 0;
- border-left: 0;
- margin-right: -7px;
- padding-right: 3px;
- border-right: 4px solid;
- border-color: #00C0E0;
-}
-
-dl.test {
- margin-left: -7px;
- padding-left: 3px;
- border-left: 4px solid;
- border-color: #3030E0;
-}
-
-dl.test.DocNodeRTL {
- margin-left: 0;
- padding-left: 0;
- border-left: 0;
- margin-right: -7px;
- padding-right: 3px;
- border-right: 4px solid;
- border-color: #3030E0;
-}
-
-dl.bug {
- margin-left: -7px;
- padding-left: 3px;
- border-left: 4px solid;
- border-color: #C08050;
-}
-
-dl.bug.DocNodeRTL {
- margin-left: 0;
- padding-left: 0;
- border-left: 0;
- margin-right: -7px;
- padding-right: 3px;
- border-right: 4px solid;
- border-color: #C08050;
-}
-
-dl.section dd {
- margin-bottom: 6px;
-}
-
-
-#projectlogo
-{
- text-align: center;
- vertical-align: bottom;
- border-collapse: separate;
-}
-
-#projectlogo img
-{
- border: 0px none;
-}
-
-#projectalign
-{
- vertical-align: middle;
-}
-
-#projectname
-{
- font: 300% Tahoma, Arial,sans-serif;
- margin: 0px;
- padding: 2px 0px;
-}
-
-#projectbrief
-{
- font: 120% Tahoma, Arial,sans-serif;
- margin: 0px;
- padding: 0px;
-}
-
-#projectnumber
-{
- font: 50% Tahoma, Arial,sans-serif;
- margin: 0px;
- padding: 0px;
-}
-
-#titlearea
-{
- padding: 0px;
- margin: 0px;
- width: 100%;
- border-bottom: 1px solid #BDC49B;
-}
-
-.image
-{
- text-align: center;
-}
-
-.dotgraph
-{
- text-align: center;
-}
-
-.mscgraph
-{
- text-align: center;
-}
-
-.plantumlgraph
-{
- text-align: center;
-}
-
-.diagraph
-{
- text-align: center;
-}
-
-.caption
-{
- font-weight: bold;
-}
-
-div.zoom
-{
- border: 1px solid #D6DBC2;
-}
-
-dl.citelist {
- margin-bottom:50px;
-}
-
-dl.citelist dt {
- color:#9CA66A;
- float:left;
- font-weight:bold;
- margin-right:10px;
- padding:5px;
-}
-
-dl.citelist dd {
- margin:2px 0;
- padding:5px 0;
-}
-
-div.toc {
- padding: 14px 25px;
- background-color: #FBFBF9;
- border: 1px solid #F1F3EB;
- border-radius: 7px 7px 7px 7px;
- float: right;
- height: auto;
- margin: 0 8px 10px 10px;
- width: 200px;
-}
-
-.PageDocRTL-title div.toc {
- float: left !important;
- text-align: right;
-}
-
-div.toc li {
- background: url("bdwn.png") no-repeat scroll 0 5px transparent;
- font: 10px/1.2 Verdana,DejaVu Sans,Geneva,sans-serif;
- margin-top: 5px;
- padding-left: 10px;
- padding-top: 2px;
-}
-
-.PageDocRTL-title div.toc li {
- background-position-x: right !important;
- padding-left: 0 !important;
- padding-right: 10px;
-}
-
-div.toc h3 {
- font: bold 12px/1.2 Arial,FreeSans,sans-serif;
- color: #B3BB8D;
- border-bottom: 0 none;
- margin: 0;
-}
-
-div.toc ul {
- list-style: none outside none;
- border: medium none;
- padding: 0px;
-}
-
-div.toc li.level1 {
- margin-left: 0px;
-}
-
-div.toc li.level2 {
- margin-left: 15px;
-}
-
-div.toc li.level3 {
- margin-left: 30px;
-}
-
-div.toc li.level4 {
- margin-left: 45px;
-}
-
-.PageDocRTL-title div.toc li.level1 {
- margin-left: 0 !important;
- margin-right: 0;
-}
-
-.PageDocRTL-title div.toc li.level2 {
- margin-left: 0 !important;
- margin-right: 15px;
-}
-
-.PageDocRTL-title div.toc li.level3 {
- margin-left: 0 !important;
- margin-right: 30px;
-}
-
-.PageDocRTL-title div.toc li.level4 {
- margin-left: 0 !important;
- margin-right: 45px;
-}
-
-.inherit_header {
- font-weight: bold;
- color: gray;
- cursor: pointer;
- -webkit-touch-callout: none;
- -webkit-user-select: none;
- -khtml-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
-}
-
-.inherit_header td {
- padding: 6px 0px 2px 5px;
-}
-
-.inherit {
- display: none;
-}
-
-tr.heading h2 {
- margin-top: 12px;
- margin-bottom: 4px;
-}
-
-/* tooltip related style info */
-
-.ttc {
- position: absolute;
- display: none;
-}
-
-#powerTip {
- cursor: default;
- white-space: nowrap;
- background-color: white;
- border: 1px solid gray;
- border-radius: 4px 4px 4px 4px;
- box-shadow: 1px 1px 7px gray;
- display: none;
- font-size: smaller;
- max-width: 80%;
- opacity: 0.9;
- padding: 1ex 1em 1em;
- position: absolute;
- z-index: 2147483647;
-}
-
-#powerTip div.ttdoc {
- color: grey;
- font-style: italic;
-}
-
-#powerTip div.ttname a {
- font-weight: bold;
-}
-
-#powerTip div.ttname {
- font-weight: bold;
-}
-
-#powerTip div.ttdeci {
- color: #006318;
-}
-
-#powerTip div {
- margin: 0px;
- padding: 0px;
- font: 12px/16px Roboto,sans-serif;
-}
-
-#powerTip:before, #powerTip:after {
- content: "";
- position: absolute;
- margin: 0px;
-}
-
-#powerTip.n:after, #powerTip.n:before,
-#powerTip.s:after, #powerTip.s:before,
-#powerTip.w:after, #powerTip.w:before,
-#powerTip.e:after, #powerTip.e:before,
-#powerTip.ne:after, #powerTip.ne:before,
-#powerTip.se:after, #powerTip.se:before,
-#powerTip.nw:after, #powerTip.nw:before,
-#powerTip.sw:after, #powerTip.sw:before {
- border: solid transparent;
- content: " ";
- height: 0;
- width: 0;
- position: absolute;
-}
-
-#powerTip.n:after, #powerTip.s:after,
-#powerTip.w:after, #powerTip.e:after,
-#powerTip.nw:after, #powerTip.ne:after,
-#powerTip.sw:after, #powerTip.se:after {
- border-color: rgba(255, 255, 255, 0);
-}
-
-#powerTip.n:before, #powerTip.s:before,
-#powerTip.w:before, #powerTip.e:before,
-#powerTip.nw:before, #powerTip.ne:before,
-#powerTip.sw:before, #powerTip.se:before {
- border-color: rgba(128, 128, 128, 0);
-}
-
-#powerTip.n:after, #powerTip.n:before,
-#powerTip.ne:after, #powerTip.ne:before,
-#powerTip.nw:after, #powerTip.nw:before {
- top: 100%;
-}
-
-#powerTip.n:after, #powerTip.ne:after, #powerTip.nw:after {
- border-top-color: #FFFFFF;
- border-width: 10px;
- margin: 0px -10px;
-}
-#powerTip.n:before {
- border-top-color: #808080;
- border-width: 11px;
- margin: 0px -11px;
-}
-#powerTip.n:after, #powerTip.n:before {
- left: 50%;
-}
-
-#powerTip.nw:after, #powerTip.nw:before {
- right: 14px;
-}
-
-#powerTip.ne:after, #powerTip.ne:before {
- left: 14px;
-}
-
-#powerTip.s:after, #powerTip.s:before,
-#powerTip.se:after, #powerTip.se:before,
-#powerTip.sw:after, #powerTip.sw:before {
- bottom: 100%;
-}
-
-#powerTip.s:after, #powerTip.se:after, #powerTip.sw:after {
- border-bottom-color: #FFFFFF;
- border-width: 10px;
- margin: 0px -10px;
-}
-
-#powerTip.s:before, #powerTip.se:before, #powerTip.sw:before {
- border-bottom-color: #808080;
- border-width: 11px;
- margin: 0px -11px;
-}
-
-#powerTip.s:after, #powerTip.s:before {
- left: 50%;
-}
-
-#powerTip.sw:after, #powerTip.sw:before {
- right: 14px;
-}
-
-#powerTip.se:after, #powerTip.se:before {
- left: 14px;
-}
-
-#powerTip.e:after, #powerTip.e:before {
- left: 100%;
-}
-#powerTip.e:after {
- border-left-color: #FFFFFF;
- border-width: 10px;
- top: 50%;
- margin-top: -10px;
-}
-#powerTip.e:before {
- border-left-color: #808080;
- border-width: 11px;
- top: 50%;
- margin-top: -11px;
-}
-
-#powerTip.w:after, #powerTip.w:before {
- right: 100%;
-}
-#powerTip.w:after {
- border-right-color: #FFFFFF;
- border-width: 10px;
- top: 50%;
- margin-top: -10px;
-}
-#powerTip.w:before {
- border-right-color: #808080;
- border-width: 11px;
- top: 50%;
- margin-top: -11px;
-}
-
-@media print
-{
- #top { display: none; }
- #side-nav { display: none; }
- #nav-path { display: none; }
- body { overflow:visible; }
- h1, h2, h3, h4, h5, h6 { page-break-after: avoid; }
- .summary { display: none; }
- .memitem { page-break-inside: avoid; }
- #doc-content
- {
- margin-left:0 !important;
- height:auto !important;
- width:auto !important;
- overflow:inherit;
- display:inline;
- }
-}
-
-/* @group Markdown */
-
-/*
-table.markdownTable {
- border-collapse:collapse;
- margin-top: 4px;
- margin-bottom: 4px;
-}
-
-table.markdownTable td, table.markdownTable th {
- border: 1px solid #95A05F;
- padding: 3px 7px 2px;
-}
-
-table.markdownTableHead tr {
-}
-
-table.markdownTableBodyLeft td, table.markdownTable th {
- border: 1px solid #95A05F;
- padding: 3px 7px 2px;
-}
-
-th.markdownTableHeadLeft th.markdownTableHeadRight th.markdownTableHeadCenter th.markdownTableHeadNone {
- background-color: #A2AB73;
- color: #FFFFFF;
- font-size: 110%;
- padding-bottom: 4px;
- padding-top: 5px;
-}
-
-th.markdownTableHeadLeft {
- text-align: left
-}
-
-th.markdownTableHeadRight {
- text-align: right
-}
-
-th.markdownTableHeadCenter {
- text-align: center
-}
-*/
-
-table.markdownTable {
- border-collapse:collapse;
- margin-top: 4px;
- margin-bottom: 4px;
-}
-
-table.markdownTable td, table.markdownTable th {
- border: 1px solid #95A05F;
- padding: 3px 7px 2px;
-}
-
-table.markdownTable tr {
-}
-
-th.markdownTableHeadLeft, th.markdownTableHeadRight, th.markdownTableHeadCenter, th.markdownTableHeadNone {
- background-color: #A2AB73;
- color: #FFFFFF;
- font-size: 110%;
- padding-bottom: 4px;
- padding-top: 5px;
-}
-
-th.markdownTableHeadLeft, td.markdownTableBodyLeft {
- text-align: left
-}
-
-th.markdownTableHeadRight, td.markdownTableBodyRight {
- text-align: right
-}
-
-th.markdownTableHeadCenter, td.markdownTableBodyCenter {
- text-align: center
-}
-
-.DocNodeRTL {
- text-align: right;
- direction: rtl;
-}
-
-.DocNodeLTR {
- text-align: left;
- direction: ltr;
-}
-
-table.DocNodeRTL {
- width: auto;
- margin-right: 0;
- margin-left: auto;
-}
-
-table.DocNodeLTR {
- width: auto;
- margin-right: auto;
- margin-left: 0;
-}
-
-tt, code, kbd, samp
-{
- display: inline-block;
- direction:ltr;
-}
-/* @end */
-
-u {
- text-decoration: underline;
-}
-
diff --git a/docs/doxygen.png b/docs/doxygen.png
deleted file mode 100644
index bc0e10e..0000000
Binary files a/docs/doxygen.png and /dev/null differ
diff --git a/docs/dynsections.js b/docs/dynsections.js
deleted file mode 100644
index c8e84aa..0000000
--- a/docs/dynsections.js
+++ /dev/null
@@ -1,127 +0,0 @@
-/*
- @licstart The following is the entire license notice for the
- JavaScript code in this file.
-
- Copyright (C) 1997-2017 by Dimitri van Heesch
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License along
- with this program; if not, write to the Free Software Foundation, Inc.,
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-
- @licend The above is the entire license notice
- for the JavaScript code in this file
- */
-function toggleVisibility(linkObj)
-{
- var base = $(linkObj).attr('id');
- var summary = $('#'+base+'-summary');
- var content = $('#'+base+'-content');
- var trigger = $('#'+base+'-trigger');
- var src=$(trigger).attr('src');
- if (content.is(':visible')===true) {
- content.hide();
- summary.show();
- $(linkObj).addClass('closed').removeClass('opened');
- $(trigger).attr('src',src.substring(0,src.length-8)+'closed.png');
- } else {
- content.show();
- summary.hide();
- $(linkObj).removeClass('closed').addClass('opened');
- $(trigger).attr('src',src.substring(0,src.length-10)+'open.png');
- }
- return false;
-}
-
-function updateStripes()
-{
- $('table.directory tr').
- removeClass('even').filter(':visible:even').addClass('even');
-}
-
-function toggleLevel(level)
-{
- $('table.directory tr').each(function() {
- var l = this.id.split('_').length-1;
- var i = $('#img'+this.id.substring(3));
- var a = $('#arr'+this.id.substring(3));
- if (l
-
-
-
-
-
-
-Leonetienne/Hazelnupp: File List
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Here is a list of all files with brief descriptions:
-
-
-
-
-
diff --git a/docs/folderclosed.png b/docs/folderclosed.png
deleted file mode 100644
index 72913ae..0000000
Binary files a/docs/folderclosed.png and /dev/null differ
diff --git a/docs/folderopen.png b/docs/folderopen.png
deleted file mode 100644
index b85d251..0000000
Binary files a/docs/folderopen.png and /dev/null differ
diff --git a/docs/functions.html b/docs/functions.html
deleted file mode 100644
index f87e96a..0000000
--- a/docs/functions.html
+++ /dev/null
@@ -1,463 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Class Members
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Here is a list of all class members with links to the classes they belong to:
-
-
- a -
-
-
-
- c -
-
-
-
- d -
-
-
-
- f -
-
-
-
- g -
-GenerateDocumentation()
-: Hazelnp::CmdArgsInterface
-
-GetAbbreviation()
-: Hazelnp::CmdArgsInterface
-
-GetAsOsString()
-: Hazelnp::FloatValue
-, Hazelnp::IntValue
-, Hazelnp::ListValue
-, Hazelnp::StringValue
-, Hazelnp::Value
-, Hazelnp::VoidValue
-
-GetBriefDescription()
-: Hazelnp::CmdArgsInterface
-
-GetCatchHelp()
-: Hazelnp::CmdArgsInterface
-
-GetConstraint()
-: Hazelnp::CmdArgsInterface
-
-GetCrashOnFail()
-: Hazelnp::CmdArgsInterface
-
-GetDataType()
-: Hazelnp::Value
-
-GetDescription()
-: Hazelnp::CmdArgsInterface
-
-GetExecutableName()
-: Hazelnp::CmdArgsInterface
-
-GetFloat32()
-: Hazelnp::FloatValue
-, Hazelnp::IntValue
-, Hazelnp::ListValue
-, Hazelnp::StringValue
-, Hazelnp::Value
-, Hazelnp::VoidValue
-
-GetFloat64()
-: Hazelnp::FloatValue
-, Hazelnp::IntValue
-, Hazelnp::ListValue
-, Hazelnp::StringValue
-, Hazelnp::Value
-, Hazelnp::VoidValue
-
-GetInt32()
-: Hazelnp::FloatValue
-, Hazelnp::IntValue
-, Hazelnp::ListValue
-, Hazelnp::StringValue
-, Hazelnp::Value
-, Hazelnp::VoidValue
-
-GetInt64()
-: Hazelnp::FloatValue
-, Hazelnp::IntValue
-, Hazelnp::ListValue
-, Hazelnp::StringValue
-, Hazelnp::Value
-, Hazelnp::VoidValue
-
-GetList()
-: Hazelnp::FloatValue
-, Hazelnp::IntValue
-, Hazelnp::ListValue
-, Hazelnp::StringValue
-, Hazelnp::Value
-, Hazelnp::VoidValue
-
-GetString()
-: Hazelnp::FloatValue
-, Hazelnp::IntValue
-, Hazelnp::ListValue
-, Hazelnp::StringValue
-, Hazelnp::Value
-, Hazelnp::VoidValue
-
-GetValue()
-: Hazelnp::FloatValue
-, Hazelnp::IntValue
-, Hazelnp::ListValue
-, Hazelnp::Parameter
-, Hazelnp::StringValue
-
-
-
-
-
- h -
-
-
-
- i -
-
-
-
- k -
-
-
-
- l -
-
-
-
- m -
-
-
-
- o -
-
-
-
- p -
-
-
-
- r -
-
-
-
- s -
-
-
-
- t -
-
-
-
- v -
-
-
-
- w -
-
-
-
- ~ -
-
-
-
-
-
diff --git a/docs/functions_func.html b/docs/functions_func.html
deleted file mode 100644
index c778ffc..0000000
--- a/docs/functions_func.html
+++ /dev/null
@@ -1,433 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Class Members - Functions
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- a -
-
-
-
- c -
-
-
-
- d -
-
-
-
- f -
-
-
-
- g -
-GenerateDocumentation()
-: Hazelnp::CmdArgsInterface
-
-GetAbbreviation()
-: Hazelnp::CmdArgsInterface
-
-GetAsOsString()
-: Hazelnp::FloatValue
-, Hazelnp::IntValue
-, Hazelnp::ListValue
-, Hazelnp::StringValue
-, Hazelnp::Value
-, Hazelnp::VoidValue
-
-GetBriefDescription()
-: Hazelnp::CmdArgsInterface
-
-GetCatchHelp()
-: Hazelnp::CmdArgsInterface
-
-GetConstraint()
-: Hazelnp::CmdArgsInterface
-
-GetCrashOnFail()
-: Hazelnp::CmdArgsInterface
-
-GetDataType()
-: Hazelnp::Value
-
-GetDescription()
-: Hazelnp::CmdArgsInterface
-
-GetExecutableName()
-: Hazelnp::CmdArgsInterface
-
-GetFloat32()
-: Hazelnp::FloatValue
-, Hazelnp::IntValue
-, Hazelnp::ListValue
-, Hazelnp::StringValue
-, Hazelnp::Value
-, Hazelnp::VoidValue
-
-GetFloat64()
-: Hazelnp::FloatValue
-, Hazelnp::IntValue
-, Hazelnp::ListValue
-, Hazelnp::StringValue
-, Hazelnp::Value
-, Hazelnp::VoidValue
-
-GetInt32()
-: Hazelnp::FloatValue
-, Hazelnp::IntValue
-, Hazelnp::ListValue
-, Hazelnp::StringValue
-, Hazelnp::Value
-, Hazelnp::VoidValue
-
-GetInt64()
-: Hazelnp::FloatValue
-, Hazelnp::IntValue
-, Hazelnp::ListValue
-, Hazelnp::StringValue
-, Hazelnp::Value
-, Hazelnp::VoidValue
-
-GetList()
-: Hazelnp::FloatValue
-, Hazelnp::IntValue
-, Hazelnp::ListValue
-, Hazelnp::StringValue
-, Hazelnp::Value
-, Hazelnp::VoidValue
-
-GetString()
-: Hazelnp::FloatValue
-, Hazelnp::IntValue
-, Hazelnp::ListValue
-, Hazelnp::StringValue
-, Hazelnp::Value
-, Hazelnp::VoidValue
-
-GetValue()
-: Hazelnp::FloatValue
-, Hazelnp::IntValue
-, Hazelnp::ListValue
-, Hazelnp::Parameter
-, Hazelnp::StringValue
-
-
-
-
-
- h -
-
-
-
- i -
-
-
-
- k -
-
-
-
- l -
-
-
-
- o -
-
-
-
- p -
-
-
-
- r -
-
-
-
- s -
-
-
-
- t -
-
-
-
- v -
-
-
-
- w -
-
-
-
- ~ -
-
-
-
-
-
diff --git a/docs/functions_rela.html b/docs/functions_rela.html
deleted file mode 100644
index ee8bdf0..0000000
--- a/docs/functions_rela.html
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Class Members - Related Functions
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/functions_vars.html b/docs/functions_vars.html
deleted file mode 100644
index b8a2aea..0000000
--- a/docs/functions_vars.html
+++ /dev/null
@@ -1,104 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Class Members - Variables
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/globals.html b/docs/globals.html
deleted file mode 100644
index eccea3d..0000000
--- a/docs/globals.html
+++ /dev/null
@@ -1,86 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: File Members
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Here is a list of all file members with links to the files they belong to:
-
-
-
-
-
diff --git a/docs/globals_defs.html b/docs/globals_defs.html
deleted file mode 100644
index 2412a02..0000000
--- a/docs/globals_defs.html
+++ /dev/null
@@ -1,86 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: File Members
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/globals_enum.html b/docs/globals_enum.html
deleted file mode 100644
index 28b08db..0000000
--- a/docs/globals_enum.html
+++ /dev/null
@@ -1,86 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: File Members
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/globals_func.html b/docs/globals_func.html
deleted file mode 100644
index f6eaa80..0000000
--- a/docs/globals_func.html
+++ /dev/null
@@ -1,86 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: File Members
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/globals_type.html b/docs/globals_type.html
deleted file mode 100644
index d524f11..0000000
--- a/docs/globals_type.html
+++ /dev/null
@@ -1,86 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: File Members
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/graph_legend.html b/docs/graph_legend.html
deleted file mode 100644
index 44dfbc2..0000000
--- a/docs/graph_legend.html
+++ /dev/null
@@ -1,145 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Graph Legend
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This page explains how to interpret the graphs that are generated by doxygen.
-
Consider the following example:
-
class Invisible { };
-
-
-
class Truncated : public Invisible { };
-
-
-
class Undocumented { };
-
-
-
class PublicBase : public Truncated { };
-
-
-
template <class T> class Templ { };
-
-
-
class ProtectedBase { };
-
-
-
class PrivateBase { };
-
-
-
class Used { };
-
-
-
class Inherited : public PublicBase,
-
protected ProtectedBase,
-
private PrivateBase,
-
public Undocumented,
-
public Templ<int>
-
{
-
private :
-
Used *m_usedClass;
-
};
-
This will result in the following graph:
-
The boxes in the above graph have the following meaning:
-
-
-A filled gray box represents the struct or class for which the graph is generated.
-
-A box with a black border denotes a documented struct or class.
-
-A box with a gray border denotes an undocumented struct or class.
-
-A box with a red border denotes a documented struct or class forwhich not all inheritance/containment relations are shown. A graph is truncated if it does not fit within the specified boundaries.
-
-
The arrows have the following meaning:
-
-
-A dark blue arrow is used to visualize a public inheritance relation between two classes.
-
-A dark green arrow is used for protected inheritance.
-
-A dark red arrow is used for private inheritance.
-
-A purple dashed arrow is used if a class is contained or used by another class. The arrow is labelled with the variable(s) through which the pointed class or struct is accessible.
-
-A yellow dashed arrow denotes a relation between a template instance and the template class it was instantiated from. The arrow is labelled with the template parameters of the instance.
-
-
-
-
-
-
diff --git a/docs/graph_legend.md5 b/docs/graph_legend.md5
deleted file mode 100644
index 8fcdccd..0000000
--- a/docs/graph_legend.md5
+++ /dev/null
@@ -1 +0,0 @@
-f51bf6e9a10430aafef59831b08dcbfe
\ No newline at end of file
diff --git a/docs/graph_legend.png b/docs/graph_legend.png
deleted file mode 100644
index 7e2cbcf..0000000
Binary files a/docs/graph_legend.png and /dev/null differ
diff --git a/docs/helper_8h.html b/docs/helper_8h.html
deleted file mode 100644
index c9c2151..0000000
--- a/docs/helper_8h.html
+++ /dev/null
@@ -1,165 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Test_Hazelnupp/helper.h File Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#include <vector>
-
-
Go to the source code of this file.
-
-
-#define C_Ify (vector) vector.size(), vector.data()
-
-
-
-typedef std::vector< const char * > ArgList
-
-
-
-
-
◆ C_Ify
-
-
-
-
-
- #define C_Ify
- (
-
- vector )
- vector.size(), vector.data()
-
-
-
-
-
Definition at line 4 of file helper.h .
-
-
-
-
-
-
◆ ArgList
-
-
-
-
-
- typedef std::vector<const char*> ArgList
-
-
-
-
-
Definition at line 6 of file helper.h .
-
-
-
-
-
-
-
-
diff --git a/docs/helper_8h__dep__incl.map b/docs/helper_8h__dep__incl.map
deleted file mode 100644
index 89aaa7e..0000000
--- a/docs/helper_8h__dep__incl.map
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/docs/helper_8h__dep__incl.md5 b/docs/helper_8h__dep__incl.md5
deleted file mode 100644
index 426dd98..0000000
--- a/docs/helper_8h__dep__incl.md5
+++ /dev/null
@@ -1 +0,0 @@
-1227db7e106ab3999edfad0e739912b2
\ No newline at end of file
diff --git a/docs/helper_8h__dep__incl.png b/docs/helper_8h__dep__incl.png
deleted file mode 100644
index 856b621..0000000
Binary files a/docs/helper_8h__dep__incl.png and /dev/null differ
diff --git a/docs/helper_8h__incl.map b/docs/helper_8h__incl.map
deleted file mode 100644
index 22e622e..0000000
--- a/docs/helper_8h__incl.map
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
diff --git a/docs/helper_8h__incl.md5 b/docs/helper_8h__incl.md5
deleted file mode 100644
index e553760..0000000
--- a/docs/helper_8h__incl.md5
+++ /dev/null
@@ -1 +0,0 @@
-259281a56cf33665dc686d86fe837a4d
\ No newline at end of file
diff --git a/docs/helper_8h__incl.png b/docs/helper_8h__incl.png
deleted file mode 100644
index d2165c2..0000000
Binary files a/docs/helper_8h__incl.png and /dev/null differ
diff --git a/docs/helper_8h_source.html b/docs/helper_8h_source.html
deleted file mode 100644
index 3ca0786..0000000
--- a/docs/helper_8h_source.html
+++ /dev/null
@@ -1,96 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Test_Hazelnupp/helper.h Source File
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Go to the documentation of this file.
-
-
-
4 #define C_Ify(vector) vector.size(), vector.data()
-
-
6 typedef std::vector<const char*>
ArgList ;
-
-std::vector< const char * > ArgList
-
-
-
-
diff --git a/docs/hierarchy.html b/docs/hierarchy.html
deleted file mode 100644
index 8b32ce0..0000000
--- a/docs/hierarchy.html
+++ /dev/null
@@ -1,109 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Class Hierarchy
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Go to the graphical class hierarchy
-This inheritance list is sorted roughly, but not completely, alphabetically:
-
-
-
-
-
diff --git a/docs/index.html b/docs/index.html
deleted file mode 100644
index c00fb8a..0000000
--- a/docs/index.html
+++ /dev/null
@@ -1,441 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Hazelnupp
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
is a simple, easy to use command line parameter parser.
- Hazelnupp does not support windows-, or bsd-style arguments. Only linux-style.
-
-
What is the linux-style? This:
# Using a long parameter
-
$ a.out --long-parameter 1234
-
-
# Using an abbreviated parameter
-
$ a.out -lp 1234
-
-Note
-
These examples reference exceptions. These are not enabled by default. The default behaviour for user-fault exceptions is to produce output to stderr
and kill the process.
- To enable exceptions, call this method:
CmdArgsInterface args;
-
args.SetCrashOnFail(false );
-
-Index
-
-Importing into a project
-What's the concept?
-Minimal working example
-Abbreviations
-Constraints
-Automatic parameter documentation
-Descriptive error messages
-More examples?
-What is not supported?
-Further notes
-Contributing
-LICENSE
-
-
-
-Importing into a project
-
-How do i actually import this into my existing project?
-
-
Super easily! Just grab the latest files (2) from /INCLUDE and put them into your project! You may have to add the .cpp to your compile list, but most IDEs should do this automatically.
-
-
-What's the concept?
-
The concept is that each parameter must be one of five types. These are:
-Void
-Int
-Float
-String
-List (non-recursive)
-
-
Here are examples on how to create them
# Void
-
$ a.out --foo
-
-
# Int
-
$ a.out --foo 5
-
-
# Float
-
$ a.out --foo 5.5
-
-
# String
-
$ a.out --foo peter
-
-
# List (any type above works, except void)
-
$ a.out --foo peter jake jeff billy
-
-
# List, mixed types
-
$ a.out --foo 1 2 3 4 peter willy billy bob 3
-
These parameters can then be accessed via a simple lookup!
-
-
-Minimal working example
-
So what's the simplest way to use Hazelnupp to work with command-line parameters? See:
#include "Hazelnupp.h"
-
-
-
int main(int argc, char ** argv)
-
{
-
-
-
if (args.HasParam("--force" ))
-
-
else
-
-
-
return 0;
-
}
-
Looks super easy! But what about actual values?
#include "Hazelnupp.h"
-
-
-
int main(int argc, char ** argv)
-
{
-
-
-
-
try
-
{
-
int myInt = args["--my-int" ].GetInt32();
-
double myFlt = args["--my-float" ].GetFloat32();
-
std::string myStr = args["--my-string" ].GetString();
-
}
-
-
{
-
return -1;
-
}
-
-
return 0;
-
}
-
What about lists?
#include "Hazelnupp.h"
-
-
-
int main(int argc, char ** argv)
-
{
-
-
-
const auto & myList = args["--my-list" ].GetList();
-
-
for (const auto * it : myList)
-
{
-
-
std::cout << it->GetString() << std::endl;
-
}
-
-
return 0;
-
}
-
-
-Abbreviations
-
Abbreviations are a very important part of command line arguments. Like, typing -f
instead of --force
. Here's how to use them in Hazelnupp:
#include "Hazelnupp.h"
-
-
-
int main(int argc, char ** argv)
-
{
-
-
-
-
-
-
-
-
-
-
-
else
-
-
-
return 0;
-
}
-
-
-Constraints
-
-That's all cool and stuff, but this looks like a LOT of error-checking and not elegant at all! How would i actually use this?
-
-
For exactly this reason, there are constraints. With this, you can control what your data looks like! Constraints serve three main purposes:
-
-Requiring data
-
With ParamConstraint::Require()
you can declare that a paramater must either always be present, or provide a default value.
-
-If a parameter is not present, but has a default value, it will be automatically created.
-If a parameter is not present, and has no default value, the process will terminate with a descriptive error message.
-
-
Minimal working example:
#include "Hazelnupp.h"
-
-
-
int main(int argc, char ** argv)
-
{
-
-
-
-
-
-
-
-
-
-
return 0;
-
}
-
-Type safety
-
With type safety you can always be certain that you are working with the correct type!
- By creating a type-constraint, you force Hazelnupp to use a certain type.
- If a supplied type does not match, but is convertible, it will be converted.
- If it is not convertible, the process will terminate with a descriptive error message.
-
These conversions are:
-int -> [float, string, list, void]
-float ->[int, string, list, void]
-string -> [list, void]
-list -> [void]
-void -> [list, string]
-
-
The conversions *->list
just create a list with a single entry (except for void->list
which produces an empty list).
- The *->void
conversions just drop their value.
- void->string
just produces an empty string.
-
Minimal working example:
#include "Hazelnupp.h"
-
-
-
int main(int argc, char ** argv)
-
{
-
-
-
-
-
-
-
-
-
return 0;
-
}
-
If --this-must-be-int
would be passed as a float, it would be converted to int. If it was passed, for example, as a string, it would throw an exception.
-
-Parameter incompatibilities
-
With parameter incompatibilities you can declare that certain parameters are just incompatible.
- If they get passed together, the process will terminate with a descriptive error message.
-
Minimal working example:
#include "Hazelnupp.h"
-
-
-
int main(int argc, char ** argv)
-
{
-
-
-
-
-
-
-
-
-
-
"--be-carnivore" ,
-
"--like-meat" ,
-
"--buy-meat" ,
-
"--grill-meat" ,
-
"--eat-meat"
-
}));
-
-
-
-
-
-
return 0;
-
}
-
-
Keep in mind that you can only register ONE constraint for each parameter! Adding another one will just overwrite the prior one. However, one constraint can do all three "types" at once if you daisychain them:
-
"--width" ,
-
ParamConstraint::Require()
-
.AddTypeSafety(DATA_TYPE::FLOAT)
-
.AddIncompatibilities({ "--antiwidth" })
-
);
-
-
-Automatic parameter documentation
-
Hazelnupp does automatically create a parameter documentation, accessible via --help
.
- If you want to use --help
yourself, just turn it off.
CmdArgsInterface args;
-
-
What does this automatically generated documentation look like?
$ a.out --help
-
-
This is the testing application for Hazelnupp.
-
-
==== AVAILABLE PARAMETERS ====
-
-
--help This will display the parameter documentation.
-
-
--names LIST default=['peter' 'hannes'] The names to target
-
-
--force -f Just forces it.
-
-
--width -w FLOAT The width of something...
-
-
--fruit STRING [[REQUIRED]] The fruit to use
-
-
--height -h
-
This documentation is automatically fed by any information provided on parameters.
- You have to set the brief descriptions yourself though.
CmdArgsInterface args;
-
args.RegisterDescription("--force" , "Just forces it." );
-
Additionally you can provide a brief description of your application to be added right above the parameter list.
CmdArgsInterface args;
-
args.SetBriefDescription("This is the testing application for Hazelnupp." );
-
If you want to display this information somewhere else, you can always access it as a string via args.GenerateDocumentation()
.
-
-
-Descriptive error messages
-
Given that you did not disable crash-on-error, Hazelnupps default behaviour on user error is to terminate the process with a descriptive error message to stderr.
-
Here's how they look like:
-
Type mismatch:
$ a.out --width "about 3 meters"
-
<< --help page gets printed here aswell >>
-
-
Parameter error: Cannot convert parameter --width to type FLOAT. You supplied type: VOID.
-
--width => The width of something...
-
Missing required parameter:
$ a.out"
-
<< --help page gets printed here aswell >>
-
-
Parameter error: Missing required parameter --width.
-
--width => The width of something...
-
This assumes that you've set a description for, in this example, --width
. If a description is not set, the last line will simply be omitted.
-
-
-More examples?
-
Check out the tests ! They may help you out!
- Also make sure to check out the doxygen docs !
-
-
-What is not supported?
-
Chaining abbreviated parameters, like this:
# This is not supported. It would think -ltr is one parameter.
-
$ a.out -ltr
-
-
# Instead do this
-
$ a.out -l -t -r
-
Using parameters multiple times
# This is not supported.
-
# Let's say -i is short for --input
-
$ a.out -i hello.txt -i shoe.txt -i somsang.txt
-
-
# Instead do this
-
$ a.out -i hello.txt shoe.txt somsang.txt
-
-
-Further notes
-
This is still in alpha! There is no guarantee at all that this actually works.
- Whilst i did my best to make sure it does, i bet there are still a few flaws i've overlooked.
- Please know that i am not obliged to work on fixes. I do have other stuff to do. This does not mean that i won't, but i'm not sure when.
- Feel free to submit a PR if you think you improved it in any way :)
-
-
-Contributing
-
If you want to contribute, feel free to fork the repository, and submit a pull request.
- Bugfixes and tests are almost certain to be accepted, features should be agreed upon and come with tests.
- Just create an issue with the tag feature request
. Don't forget to update the UML (Hazelnupp.vpp
)! The (free) modelling software used is Visual Paradigm .
-
-
Any code added must match the existing style!
-Objects begin with a lowercase initial
-Classifiers and Functions/Methods begin with an uppercase initial
-Classifiers are camel-case
-Classifiers get documented via /** */
for doxygen. See existing classifiers
-Members (methods and objects) get documented via //!
for doxygen. See existing definitions
-{
always gets a new line
-Enumerations (and their values) and macros are all-upper case snake-case
-No using namespace std
-Do using namespace Hazelnp
in cpp files. Don't do Hazelnp ::
if possible
-Files outside the project (like STL) have to be included with #include <>
. Not ""
-
-
-
-LICENSE
-
Copyright (c) 2021, Leon Etienne
-
-
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
-
-
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
-
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
-
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-
-
-static ParamConstraint Require(const std::initializer_list< std::string > &defaultValue={}, bool required=true)
Constructs a require constraint.
-The main class to interface with.
-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)
-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
deleted file mode 100644
index f59a1fe..0000000
--- a/docs/index_8md.html
+++ /dev/null
@@ -1,85 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Doxygen/index.md File Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/inherit_graph_0.map b/docs/inherit_graph_0.map
deleted file mode 100644
index 81bd617..0000000
--- a/docs/inherit_graph_0.map
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
diff --git a/docs/inherit_graph_0.md5 b/docs/inherit_graph_0.md5
deleted file mode 100644
index 08869e1..0000000
--- a/docs/inherit_graph_0.md5
+++ /dev/null
@@ -1 +0,0 @@
-b51d05eec03cf85b1bdc9f391bc5e48c
\ No newline at end of file
diff --git a/docs/inherit_graph_0.png b/docs/inherit_graph_0.png
deleted file mode 100644
index 1c29da1..0000000
Binary files a/docs/inherit_graph_0.png and /dev/null differ
diff --git a/docs/inherit_graph_1.map b/docs/inherit_graph_1.map
deleted file mode 100644
index 60adf25..0000000
--- a/docs/inherit_graph_1.map
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/inherit_graph_1.md5 b/docs/inherit_graph_1.md5
deleted file mode 100644
index 32e12d8..0000000
--- a/docs/inherit_graph_1.md5
+++ /dev/null
@@ -1 +0,0 @@
-414008b1001331bfd5d70936aa6acf74
\ No newline at end of file
diff --git a/docs/inherit_graph_1.png b/docs/inherit_graph_1.png
deleted file mode 100644
index d65deab..0000000
Binary files a/docs/inherit_graph_1.png and /dev/null differ
diff --git a/docs/inherit_graph_2.map b/docs/inherit_graph_2.map
deleted file mode 100644
index 0465d4f..0000000
--- a/docs/inherit_graph_2.map
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
diff --git a/docs/inherit_graph_2.md5 b/docs/inherit_graph_2.md5
deleted file mode 100644
index 263113e..0000000
--- a/docs/inherit_graph_2.md5
+++ /dev/null
@@ -1 +0,0 @@
-07998a2db940c611db700a6971a05277
\ No newline at end of file
diff --git a/docs/inherit_graph_2.png b/docs/inherit_graph_2.png
deleted file mode 100644
index 645803e..0000000
Binary files a/docs/inherit_graph_2.png and /dev/null differ
diff --git a/docs/inherit_graph_3.map b/docs/inherit_graph_3.map
deleted file mode 100644
index 28dcc03..0000000
--- a/docs/inherit_graph_3.map
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
diff --git a/docs/inherit_graph_3.md5 b/docs/inherit_graph_3.md5
deleted file mode 100644
index b80eac4..0000000
--- a/docs/inherit_graph_3.md5
+++ /dev/null
@@ -1 +0,0 @@
-4f0b35bc688eabf2cb9ac18b4e4afbc3
\ No newline at end of file
diff --git a/docs/inherit_graph_3.png b/docs/inherit_graph_3.png
deleted file mode 100644
index 1282d1d..0000000
Binary files a/docs/inherit_graph_3.png and /dev/null differ
diff --git a/docs/inherit_graph_4.map b/docs/inherit_graph_4.map
deleted file mode 100644
index d7e3fbb..0000000
--- a/docs/inherit_graph_4.map
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
diff --git a/docs/inherit_graph_4.md5 b/docs/inherit_graph_4.md5
deleted file mode 100644
index fd7dc51..0000000
--- a/docs/inherit_graph_4.md5
+++ /dev/null
@@ -1 +0,0 @@
-3396960537c122b0b3247a767ac311f4
\ No newline at end of file
diff --git a/docs/inherit_graph_4.png b/docs/inherit_graph_4.png
deleted file mode 100644
index a1f8985..0000000
Binary files a/docs/inherit_graph_4.png and /dev/null differ
diff --git a/docs/inherit_graph_5.map b/docs/inherit_graph_5.map
deleted file mode 100644
index 29d72ae..0000000
--- a/docs/inherit_graph_5.map
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/docs/inherit_graph_5.md5 b/docs/inherit_graph_5.md5
deleted file mode 100644
index 7583c18..0000000
--- a/docs/inherit_graph_5.md5
+++ /dev/null
@@ -1 +0,0 @@
-7e4a693e66d05f2ee8664e3ea22c9807
\ No newline at end of file
diff --git a/docs/inherit_graph_5.png b/docs/inherit_graph_5.png
deleted file mode 100644
index be7a7d7..0000000
Binary files a/docs/inherit_graph_5.png and /dev/null differ
diff --git a/docs/inherits.html b/docs/inherits.html
deleted file mode 100644
index 7223cbf..0000000
--- a/docs/inherits.html
+++ /dev/null
@@ -1,131 +0,0 @@
-
-
-
-
-
-
-
-Leonetienne/Hazelnupp: Class Hierarchy
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/jquery.js b/docs/jquery.js
deleted file mode 100644
index 103c32d..0000000
--- a/docs/jquery.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/*! jQuery v3.4.1 | (c) JS Foundation and other contributors | jquery.org/license */
-!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],E=C.document,r=Object.getPrototypeOf,s=t.slice,g=t.concat,u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},x=function(e){return null!=e&&e===e.window},c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.4.1",k=function(e,t){return new k.fn.init(e,t)},p=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function d(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp($),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ne=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(m.childNodes),m.childNodes),t[m.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&((e?e.ownerDocument||e:m)!==C&&T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!A[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&U.test(t)){(s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=k),o=(l=h(t)).length;while(o--)l[o]="#"+s+" "+xe(l[o]);c=l.join(","),f=ee.test(t)&&ye(e.parentNode)||e}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){A(t,!0)}finally{s===k&&e.removeAttribute("id")}}}return g(t.replace(B,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[k]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:m;return r!==C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),m!==C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=k,!C.getElementsByName||!C.getElementsByName(k).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){a.appendChild(e).innerHTML=" ",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+k+"-]").length||v.push("~="),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+k+"+*").length||v.push(".#.+[+~]")}),ce(function(e){e.innerHTML=" ";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",$)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===m&&y(m,e)?-1:t===C||t.ownerDocument===m&&y(m,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===C?-1:t===C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]===m?-1:s[r]===m?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&T(e),d.matchesSelector&&E&&!A[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){A(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=p[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&p(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?k.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?k.grep(e,function(e){return e===n!==r}):"string"!=typeof n?k.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(k.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:L.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),D.test(r[1])&&k.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this)}).prototype=k.fn,q=k(E);var H=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i,ge={option:[1,""," "],thead:[1,""],col:[2,""],tr:[2,""],td:[3,""],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?k.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;nx",y.noCloneChecked=!!me.cloneNode(!0).lastChild.defaultValue;var Te=/^key/,Ce=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ee=/^([^.]*)(?:\.(.+)|)/;function ke(){return!0}function Se(){return!1}function Ne(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ae(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Se;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return k().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=k.guid++)),e.each(function(){k.event.add(this,t,i,r,n)})}function De(e,i,o){o?(Q.set(e,i,!1),k.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Q.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(k.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Q.set(this,i,r),t=o(this,i),this[i](),r!==(n=Q.get(this,i))||t?Q.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else r.length&&(Q.set(this,i,{value:k.event.trigger(k.extend(r[0],k.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,i)&&k.event.add(e,i,ke)}k.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.get(t);if(v){n.handler&&(n=(o=n).handler,i=o.selector),i&&k.find.matchesSelector(ie,i),n.guid||(n.guid=k.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(R)||[""]).length;while(l--)d=g=(s=Ee.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=k.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=k.event.special[d]||{},c=k.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&k.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),k.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.hasData(e)&&Q.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(R)||[""]).length;while(l--)if(d=g=(s=Ee.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=k.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||k.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)k.event.remove(e,d+t[l],n,r,!0);k.isEmptyObject(u)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=k.event.fix(e),u=new Array(arguments.length),l=(Q.get(this,"events")||{})[s.type]||[],c=k.event.special[s.type]||{};for(u[0]=s,t=1;t\x20\t\r\n\f]*)[^>]*)\/>/gi,qe=/
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leonetienne/Hazelnupp
-
- Simple, easy to use, command line parameter interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
#include <iostream>
-
#include "Hazelnupp.h "
-
#include "IntValue.h "
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Go to the source code of this file.
-
-
-int main (int argc, char **argv)
-
-
-
-
-
◆ main()
-
-
-
-
-
- int main
- (
- int
- argc ,
-
-
-
-
- char **
- argv
-
-
-
- )
-
-
-
-
-
-
Definition at line 7 of file main.cpp .
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
27 nupp.
Parse (argc, argv);
-
-
-
-
-
-
-
-The main class to interface with.
-void SetBriefDescription(const std::string &description)
Sets a brief description of the application to be automatically added to the documentation.
-
-void Parse(const int argc, const char *const *argv)
Will parse command line arguments.
-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 RegisterDescription(const std::string ¶meter, const std::string &description)
Willl register a short description for a parameter.
-
-
-
-