diff --git a/docs/Abbreviations_8cpp.html b/docs/Abbreviations_8cpp.html
new file mode 100644
index 0000000..7d3bbee
--- /dev/null
+++ b/docs/Abbreviations_8cpp.html
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..3063684
--- /dev/null
+++ b/docs/Abbreviations_8cpp__incl.map
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/Abbreviations_8cpp__incl.md5 b/docs/Abbreviations_8cpp__incl.md5
new file mode 100644
index 0000000..deb98ee
--- /dev/null
+++ b/docs/Abbreviations_8cpp__incl.md5
@@ -0,0 +1 @@
+104f1fc85c82d50f566784751bc221be
\ No newline at end of file
diff --git a/docs/Abbreviations_8cpp__incl.png b/docs/Abbreviations_8cpp__incl.png
new file mode 100644
index 0000000..3ec6bc2
Binary files /dev/null and b/docs/Abbreviations_8cpp__incl.png differ
diff --git a/docs/Abbreviations_8cpp_source.html b/docs/Abbreviations_8cpp_source.html
new file mode 100644
index 0000000..5cc7ecb
--- /dev/null
+++ b/docs/Abbreviations_8cpp_source.html
@@ -0,0 +1,262 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..c863d6c
--- /dev/null
+++ b/docs/Basics_8cpp.html
@@ -0,0 +1,130 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..26c89de
--- /dev/null
+++ b/docs/Basics_8cpp__incl.map
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/Basics_8cpp__incl.md5 b/docs/Basics_8cpp__incl.md5
new file mode 100644
index 0000000..233d371
--- /dev/null
+++ b/docs/Basics_8cpp__incl.md5
@@ -0,0 +1 @@
+7637a15ad95d868d907efc4ded5bee64
\ No newline at end of file
diff --git a/docs/Basics_8cpp__incl.png b/docs/Basics_8cpp__incl.png
new file mode 100644
index 0000000..7992a5a
Binary files /dev/null and b/docs/Basics_8cpp__incl.png differ
diff --git a/docs/Basics_8cpp_source.html b/docs/Basics_8cpp_source.html
new file mode 100644
index 0000000..c5e4d08
--- /dev/null
+++ b/docs/Basics_8cpp_source.html
@@ -0,0 +1,350 @@
+
+
+
+
+
+
+
+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/Constraints_8cpp.html b/docs/Constraints_8cpp.html
new file mode 100644
index 0000000..678c1fc
--- /dev/null
+++ b/docs/Constraints_8cpp.html
@@ -0,0 +1,130 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..8653bb5
--- /dev/null
+++ b/docs/Constraints_8cpp__incl.map
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/Constraints_8cpp__incl.md5 b/docs/Constraints_8cpp__incl.md5
new file mode 100644
index 0000000..5676aa1
--- /dev/null
+++ b/docs/Constraints_8cpp__incl.md5
@@ -0,0 +1 @@
+62c377b56c814420aa9bd5d3797e756b
\ No newline at end of file
diff --git a/docs/Constraints_8cpp__incl.png b/docs/Constraints_8cpp__incl.png
new file mode 100644
index 0000000..834ecd7
Binary files /dev/null and b/docs/Constraints_8cpp__incl.png differ
diff --git a/docs/Constraints_8cpp_source.html b/docs/Constraints_8cpp_source.html
new file mode 100644
index 0000000..a068a35
--- /dev/null
+++ b/docs/Constraints_8cpp_source.html
@@ -0,0 +1,425 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..a556531
--- /dev/null
+++ b/docs/Conversion_8cpp.html
@@ -0,0 +1,130 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..09e7105
--- /dev/null
+++ b/docs/Conversion_8cpp__incl.map
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/Conversion_8cpp__incl.md5 b/docs/Conversion_8cpp__incl.md5
new file mode 100644
index 0000000..cfeb8b4
--- /dev/null
+++ b/docs/Conversion_8cpp__incl.md5
@@ -0,0 +1 @@
+d5db07f8e0783c171b7745265e2ec834
\ No newline at end of file
diff --git a/docs/Conversion_8cpp__incl.png b/docs/Conversion_8cpp__incl.png
new file mode 100644
index 0000000..347956d
Binary files /dev/null and b/docs/Conversion_8cpp__incl.png differ
diff --git a/docs/Conversion_8cpp_source.html b/docs/Conversion_8cpp_source.html
new file mode 100644
index 0000000..34a8126
--- /dev/null
+++ b/docs/Conversion_8cpp_source.html
@@ -0,0 +1,353 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..74bc12c
--- /dev/null
+++ b/docs/DataType_8h.html
@@ -0,0 +1,180 @@
+
+
+
+
+
+
+
+Leonetienne/Hazelnupp: Hazelnupp/DataType.h File Reference
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Leonetienne/Hazelnupp
+
+ Simple, easy to use, command line parameter interface
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Go to the source code of this file.
+
+
+
+
◆ DATA_TYPE
+
+
+
+
+
The different data types a paramater can be.
+
+Enumerator VOID
+ INT
+ FLOAT
+ STRING
+ LIST
+
+
+
Definition at line 5 of file DataType.h .
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/DataType_8h__dep__incl.map b/docs/DataType_8h__dep__incl.map
new file mode 100644
index 0000000..c561cca
--- /dev/null
+++ b/docs/DataType_8h__dep__incl.map
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/DataType_8h__dep__incl.md5 b/docs/DataType_8h__dep__incl.md5
new file mode 100644
index 0000000..3db0014
--- /dev/null
+++ b/docs/DataType_8h__dep__incl.md5
@@ -0,0 +1 @@
+53cc32d8b6240e57e0be50e31234d161
\ No newline at end of file
diff --git a/docs/DataType_8h__dep__incl.png b/docs/DataType_8h__dep__incl.png
new file mode 100644
index 0000000..83c9a7b
Binary files /dev/null and b/docs/DataType_8h__dep__incl.png differ
diff --git a/docs/DataType_8h_source.html b/docs/DataType_8h_source.html
new file mode 100644
index 0000000..52b5f98
--- /dev/null
+++ b/docs/DataType_8h_source.html
@@ -0,0 +1,105 @@
+
+
+
+
+
+
+
+Leonetienne/Hazelnupp: Hazelnupp/DataType.h Source File
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Leonetienne/Hazelnupp
+
+ Simple, easy to use, command line parameter interface
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+DATA_TYPE
The different data types a paramater can be.
+
+
+
+
+
+
+
+
+
diff --git a/docs/Debug_2Hazelnupp_8vcxproj_8FileListAbsolute_8txt.html b/docs/Debug_2Hazelnupp_8vcxproj_8FileListAbsolute_8txt.html
new file mode 100644
index 0000000..2f85f9c
--- /dev/null
+++ b/docs/Debug_2Hazelnupp_8vcxproj_8FileListAbsolute_8txt.html
@@ -0,0 +1,85 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..dc5d6cc
--- /dev/null
+++ b/docs/Debug_2Test__Hazelnupp_8vcxproj_8FileListAbsolute_8txt.html
@@ -0,0 +1,85 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..a67d042
--- /dev/null
+++ b/docs/FloatValue_8cpp.html
@@ -0,0 +1,110 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..baf1876
--- /dev/null
+++ b/docs/FloatValue_8cpp__incl.map
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/FloatValue_8cpp__incl.md5 b/docs/FloatValue_8cpp__incl.md5
new file mode 100644
index 0000000..ad58fce
--- /dev/null
+++ b/docs/FloatValue_8cpp__incl.md5
@@ -0,0 +1 @@
+b3f9cd4cf82115a6509a6170e6bc592c
\ No newline at end of file
diff --git a/docs/FloatValue_8cpp__incl.png b/docs/FloatValue_8cpp__incl.png
new file mode 100644
index 0000000..27c12bd
Binary files /dev/null and b/docs/FloatValue_8cpp__incl.png differ
diff --git a/docs/FloatValue_8cpp_source.html b/docs/FloatValue_8cpp_source.html
new file mode 100644
index 0000000..78f719f
--- /dev/null
+++ b/docs/FloatValue_8cpp_source.html
@@ -0,0 +1,178 @@
+
+
+
+
+
+
+
+Leonetienne/Hazelnupp: Hazelnupp/FloatValue.cpp Source File
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Leonetienne/Hazelnupp
+
+ Simple, easy to use, command line parameter interface
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
21 ss <<
"FloatValue: " << value;
+
+
+
+
+
+
+
+
+
30 FloatValue::operator
long double()
const
+
+
+
+
+
35 FloatValue::operator double()
const
+
+
+
+
+
+
+
+
+
44 return (
long long int )value;
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+DATA_TYPE
The different data types a paramater can be.
+const long double & GetValue() const
Will return the raw value.
+
+Abstract class for values.
+std::string GetString() const override
Will return the data as a string.
+Value * Deepcopy() const override
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 ...
+std::string GetAsOsString() const override
Will return a string suitable for an std::ostream;.
+long double GetFloat64() const override
Will return the data as a long double.
+FloatValue(const long double &value)
+int GetInt32() const override
Will return the data as an int.
+
+long long int GetInt64() const override
Will return the data as a long long int.
+const std::vector< Value * > & GetList() const override
Throws HazelnuppValueNotConvertibleException.
+double GetFloat32() const override
Will return the data as a double.
+
+
+
+
diff --git a/docs/FloatValue_8h.html b/docs/FloatValue_8h.html
new file mode 100644
index 0000000..1b53071
--- /dev/null
+++ b/docs/FloatValue_8h.html
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+Leonetienne/Hazelnupp: Hazelnupp/FloatValue.h File Reference
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Leonetienne/Hazelnupp
+
+ Simple, easy to use, command line parameter interface
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#include "Value.h "
+
#include <ostream>
+
+
Go to the source code of this file.
+
+
+class FloatValue
+ Specializations for floating point values (uses long double) More...
+
+
+
+
+
+
+
diff --git a/docs/FloatValue_8h__dep__incl.map b/docs/FloatValue_8h__dep__incl.map
new file mode 100644
index 0000000..aa6c8a7
--- /dev/null
+++ b/docs/FloatValue_8h__dep__incl.map
@@ -0,0 +1,5 @@
+
+
+
+
+
diff --git a/docs/FloatValue_8h__dep__incl.md5 b/docs/FloatValue_8h__dep__incl.md5
new file mode 100644
index 0000000..a0ee1a1
--- /dev/null
+++ b/docs/FloatValue_8h__dep__incl.md5
@@ -0,0 +1 @@
+6cf23af62c7641b0c347b14a52c8bd43
\ No newline at end of file
diff --git a/docs/FloatValue_8h__dep__incl.png b/docs/FloatValue_8h__dep__incl.png
new file mode 100644
index 0000000..b5ce816
Binary files /dev/null and b/docs/FloatValue_8h__dep__incl.png differ
diff --git a/docs/FloatValue_8h__incl.map b/docs/FloatValue_8h__incl.map
new file mode 100644
index 0000000..387f7e7
--- /dev/null
+++ b/docs/FloatValue_8h__incl.map
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/docs/FloatValue_8h__incl.md5 b/docs/FloatValue_8h__incl.md5
new file mode 100644
index 0000000..1e74042
--- /dev/null
+++ b/docs/FloatValue_8h__incl.md5
@@ -0,0 +1 @@
+9b604a14942d77e96210b43e148cde7d
\ No newline at end of file
diff --git a/docs/FloatValue_8h__incl.png b/docs/FloatValue_8h__incl.png
new file mode 100644
index 0000000..869b3b3
Binary files /dev/null and b/docs/FloatValue_8h__incl.png differ
diff --git a/docs/FloatValue_8h_source.html b/docs/FloatValue_8h_source.html
new file mode 100644
index 0000000..5ee6b30
--- /dev/null
+++ b/docs/FloatValue_8h_source.html
@@ -0,0 +1,135 @@
+
+
+
+
+
+
+
+Leonetienne/Hazelnupp: Hazelnupp/FloatValue.h Source File
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Leonetienne/Hazelnupp
+
+ Simple, easy to use, command line parameter interface
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
22 operator long double ()
const ;
+
23 operator double()
const ;
+
+
26 long long int GetInt64 ()
const override ;
+
+
+
+
+
+
+
+
39 const std::vector<Value*>&
GetList ()
const override ;
+
+
+
+
+
+const long double & GetValue() const
Will return the raw value.
+Abstract class for values.
+
+std::string GetString() const override
Will return the data as a string.
+Value * Deepcopy() const override
Will return a deeopopy of this object.
+std::string GetAsOsString() const override
Will return a string suitable for an std::ostream;.
+long double GetFloat64() const override
Will return the data as a long double.
+Specializations for floating point values (uses long double)
+FloatValue(const long double &value)
+int GetInt32() const override
Will return the data as an int.
+long long int GetInt64() const override
Will return the data as a long long int.
+const std::vector< Value * > & GetList() const override
Throws HazelnuppValueNotConvertibleException.
+double GetFloat32() const override
Will return the data as a double.
+
+
+
+
+
diff --git a/docs/HazelnuppException_8h.html b/docs/HazelnuppException_8h.html
new file mode 100644
index 0000000..52b0dd4
--- /dev/null
+++ b/docs/HazelnuppException_8h.html
@@ -0,0 +1,139 @@
+
+
+
+
+
+
+
+Leonetienne/Hazelnupp: Hazelnupp/HazelnuppException.h File Reference
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Leonetienne/Hazelnupp
+
+ Simple, easy to use, command line parameter interface
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/HazelnuppException_8h__dep__incl.map b/docs/HazelnuppException_8h__dep__incl.map
new file mode 100644
index 0000000..be745d8
--- /dev/null
+++ b/docs/HazelnuppException_8h__dep__incl.map
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
diff --git a/docs/HazelnuppException_8h__dep__incl.md5 b/docs/HazelnuppException_8h__dep__incl.md5
new file mode 100644
index 0000000..0d4788b
--- /dev/null
+++ b/docs/HazelnuppException_8h__dep__incl.md5
@@ -0,0 +1 @@
+57d355773249b6d7455978a59686235f
\ No newline at end of file
diff --git a/docs/HazelnuppException_8h__dep__incl.png b/docs/HazelnuppException_8h__dep__incl.png
new file mode 100644
index 0000000..2184595
Binary files /dev/null and b/docs/HazelnuppException_8h__dep__incl.png differ
diff --git a/docs/HazelnuppException_8h__incl.map b/docs/HazelnuppException_8h__incl.map
new file mode 100644
index 0000000..37033b5
--- /dev/null
+++ b/docs/HazelnuppException_8h__incl.map
@@ -0,0 +1,4 @@
+
+
+
+
diff --git a/docs/HazelnuppException_8h__incl.md5 b/docs/HazelnuppException_8h__incl.md5
new file mode 100644
index 0000000..1b8bb07
--- /dev/null
+++ b/docs/HazelnuppException_8h__incl.md5
@@ -0,0 +1 @@
+7497987f6e78b96fc05595540da5a488
\ No newline at end of file
diff --git a/docs/HazelnuppException_8h__incl.png b/docs/HazelnuppException_8h__incl.png
new file mode 100644
index 0000000..910c941
Binary files /dev/null and b/docs/HazelnuppException_8h__incl.png differ
diff --git a/docs/HazelnuppException_8h_source.html b/docs/HazelnuppException_8h_source.html
new file mode 100644
index 0000000..0d3dbb3
--- /dev/null
+++ b/docs/HazelnuppException_8h_source.html
@@ -0,0 +1,161 @@
+
+
+
+
+
+
+
+Leonetienne/Hazelnupp: Hazelnupp/HazelnuppException.h Source File
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Leonetienne/Hazelnupp
+
+ Simple, easy to use, command line parameter interface
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
13 const std::string&
What ()
const
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+const std::string & What() const
Will return an error message.
+HazelnuppConstraintMissingValue(const std::string &msg)
+Gets thrown something bad happens because of parameter constraints.
+HazelnuppConstraintTypeMissmatch(const std::string &msg)
+HazelnuppInvalidKeyException(const std::string &msg)
+Generic hazelnupp exception.
+HazelnuppInvalidKeyException()
+Gets thrown when a parameter is of a type that does not match the required type, and is not convertib...
+HazelnuppException(const std::string &msg)
+Gets thrown when a parameter constrained to be required is not provided, and has no default value set...
+Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not ...
+HazelnuppValueNotConvertibleException()
+HazelnuppConstraintMissingValue()
+HazelnuppConstraintException()
+HazelnuppConstraintTypeMissmatch()
+Gets thrown when an non-existent key gets dereferenced.
+HazelnuppConstraintException(const std::string &msg)
+HazelnuppValueNotConvertibleException(const std::string &msg)
+
+
+
+
+
+
diff --git a/docs/Hazelnupp_8cpp.html b/docs/Hazelnupp_8cpp.html
new file mode 100644
index 0000000..35bc024
--- /dev/null
+++ b/docs/Hazelnupp_8cpp.html
@@ -0,0 +1,130 @@
+
+
+
+
+
+
+
+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 "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
new file mode 100644
index 0000000..b11c750
--- /dev/null
+++ b/docs/Hazelnupp_8cpp__incl.map
@@ -0,0 +1,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/Hazelnupp_8cpp__incl.md5 b/docs/Hazelnupp_8cpp__incl.md5
new file mode 100644
index 0000000..e8b2664
--- /dev/null
+++ b/docs/Hazelnupp_8cpp__incl.md5
@@ -0,0 +1 @@
+4d63500dc473ffaa933a4e0479de4f4c
\ No newline at end of file
diff --git a/docs/Hazelnupp_8cpp__incl.png b/docs/Hazelnupp_8cpp__incl.png
new file mode 100644
index 0000000..a2a20a9
Binary files /dev/null and b/docs/Hazelnupp_8cpp__incl.png differ
diff --git a/docs/Hazelnupp_8cpp_source.html b/docs/Hazelnupp_8cpp_source.html
new file mode 100644
index 0000000..ee6668c
--- /dev/null
+++ b/docs/Hazelnupp_8cpp_source.html
@@ -0,0 +1,527 @@
+
+
+
+
+
+
+
+Leonetienne/Hazelnupp: Hazelnupp/Hazelnupp.cpp Source File
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Leonetienne/Hazelnupp
+
+ Simple, easy to use, command line parameter interface
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
25 for (
auto & it : parameters)
+
+
+
+
+
+
+
+
+
+
+
+
+
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 () <<
"\"!" ;
+
+
+
+
+
+
+
+
+
+
87 std::size_t Hazelnupp::ParseNextParameter(
const std::size_t parIndex,
Parameter *& out_Par)
+
+
89 std::size_t i = parIndex;
+
90 const std::string key = rawArgs[parIndex];
+
91 std::vector<std::string> values;
+
+
+
94 for (i++; i < rawArgs.size(); i++)
+
+
96 if ((rawArgs[i].length() < 2) || (rawArgs[i].substr(0, 2) !=
"--" ))
+
97 values.emplace_back(rawArgs[i]);
+
+
+
+
+
+
+
+
+
106 Value * parsedVal = ParseValue(values, pcn);
+
107 if (parsedVal !=
nullptr )
+
+
+
+
+
+
+
+
115 throw std::runtime_error(
"Unable to parse parameter!" );
+
+
+
+
+
120 void Hazelnupp::PopulateRawArgs(
const int argc,
const char *
const * argv)
+
+
+
123 rawArgs.reserve(argc);
+
+
125 for (
int i = 0; i < argc; i++)
+
126 rawArgs.emplace_back(std::string(argv[i]));
+
+
+
+
+
131 void Hazelnupp::ExpandAbbreviations()
+
+
+
134 if (abbreviations.size() == 0)
+
+
+
137 for (std::string& arg : rawArgs)
+
+
+
140 auto abbr = abbreviations.find(arg);
+
141 if (abbr != abbreviations.end())
+
+
+
+
+
+
+
+
+
+
+
+
153 return parameters.find(key) != parameters.end();
+
+
+
156 Value * Hazelnupp::ParseValue(
const std::vector<std::string>& values,
const ParamConstraint * constraint)
+
+
+
159 const bool constrainType = (constraint !=
nullptr ) && (constraint->
constrainType );
+
+
+
162 if (values.size() == 0)
+
+
+
165 if ((constrainType) &&
+
+
+
+
+
+
+
+
173 if ((constrainType) &&
+
+
+
+
+
+
+
180 else if (values.size() > 1)
+
+
+
183 if ((constrainType) &&
+
+
+
+
+
+
+
190 for (
const std::string& val : values)
+
+
192 Value * tmp = ParseValue({ val });
+
+
+
+
+
+
+
+
200 const std::string& val = values[0];
+
+
+
+
+
+
+
207 if ((constrainType) &&
+
+
+
+
+
+
+
214 Value * tmp = ParseValue({ val });
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
230 if ((constrainType) &&
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
246 return new IntValue ((
long long int )num);
+
+
+
+
+
+
+
+
254 Value * tmp = ParseValue({ val });
+
+
+
+
+
+
+
+
+
+
+
+
266 return new IntValue ((
long long int )num);
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
282 void Hazelnupp::ApplyConstraints()
+
+
+
285 for (
const auto & pc : constraints)
+
+
+
+
+
290 if (pc.second.defaultValue.size() > 0)
+
+
+
+
294 Value * tmp = ParseValue(pc.second.defaultValue, &pc.second);
+
295 parameters.insert(std::pair<std::string, Parameter*>(
+
+
+
+
+
+
+
+
+
+
+
+
307 if (pc.second.required)
+
+
+
+
+
+
+
+
+
+
+
318 return executableName;
+
+
+
+
+
+
+
+
+
327 return *parameters.find(key)->second->GetValue();
+
+
+
+
+
332 abbreviations.insert(std::pair<std::string, std::string>(abbrev, target));
+
+
+
+
+
+
338 return abbreviations.find(abbrev)->second;
+
+
+
+
+
343 return abbreviations.find(abbrev) != abbreviations.end();
+
+
+
+
+
348 abbreviations.clear();
+
+
+
+
+
+
+
+
+
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>(
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
381 this->crashOnFail = crashOnFail;
+
+
+
+
385 const ParamConstraint * Hazelnupp::GetConstraintForKey(
const std::string& key)
const
+
+
387 const auto constraint = constraints.find(key);
+
+
389 if (constraint == constraints.end())
+
+
+
392 return &constraint->second;
+
+
+const std::string & What() const
Will return an error message.
+
+
+void AddValue(const Value *value)
Will add this value to the list.
+
+void RegisterAbbreviation(const std::string &abbrev, const std::string &target)
Will register an abbreviation (like -f for –force)
+
+void ClearConstraints()
Will delete all constraints.
+Specializations for integer values (uses long long int)
+Specializations for list values (uses std::vector<Value*>)
+void RegisterConstraints(const std::vector< ParamConstraint > &constraints)
Will register parameter constraints.
+
+
+
+Gets thrown when a parameter is of a type that does not match the required type, and is not convertib...
+
+Abstract class for values.
+Gets thrown when a parameter constrained to be required is not provided, and has no default value set...
+
+const std::string & GetAbbreviation(const std::string &abbrev) const
Will return the long form of an abbreviation (like –force for -f)
+const std::string & Key() const
Will return the key of this parameter.
+Specializations for void values.
+bool HasAbbreviation(const std::string &abbrev) const
Will check wether or not an abbreviation is registered.
+
+
+const std::string & GetExecutableName() const
Will return argv[0], the name of the executable.
+Specializations for floating point values (uses long double)
+Specializations for string values (uses std::string)
+
+
+
+
+Gets thrown when an non-existent key gets dereferenced.
+bool GetCrashOnFail() const
Gets whether the application crashes on an exception whilst parsing, and prints to stderr.
+
+void SetCrashOnFail(bool crashOnFail)
Sets whether to crash the application, and print to stderr, when an exception is raised whilst parsin...
+bool HasParam(const std::string &key) const
Will check wether a parameter exists given a key, or not.
+bool constrainType
Should this parameter be forced to be of a certain type? Remember to set constrainTo to the wanted ...
+
+DATA_TYPE wantedType
Constrain the parameter to this value. Requires constrainType to be set to true.
+
+void Parse(const int argc, const char *const *argv)
Will parse command line arguments.
+
+const Value & operator[](const std::string &key) const
Will return the value given a key.
+void ClearAbbreviations()
Will delete all abbreviations.
+
+
+
+
diff --git a/docs/Hazelnupp_8h.html b/docs/Hazelnupp_8h.html
new file mode 100644
index 0000000..fa16191
--- /dev/null
+++ b/docs/Hazelnupp_8h.html
@@ -0,0 +1,130 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..ffdcea6
--- /dev/null
+++ b/docs/Hazelnupp_8h__dep__incl.map
@@ -0,0 +1,5 @@
+
+
+
+
+
diff --git a/docs/Hazelnupp_8h__dep__incl.md5 b/docs/Hazelnupp_8h__dep__incl.md5
new file mode 100644
index 0000000..a7ffd77
--- /dev/null
+++ b/docs/Hazelnupp_8h__dep__incl.md5
@@ -0,0 +1 @@
+5d6fe09e5292b77269845d454a648df4
\ No newline at end of file
diff --git a/docs/Hazelnupp_8h__dep__incl.png b/docs/Hazelnupp_8h__dep__incl.png
new file mode 100644
index 0000000..f3ec43e
Binary files /dev/null and b/docs/Hazelnupp_8h__dep__incl.png differ
diff --git a/docs/Hazelnupp_8h__incl.map b/docs/Hazelnupp_8h__incl.map
new file mode 100644
index 0000000..e2be8dd
--- /dev/null
+++ b/docs/Hazelnupp_8h__incl.map
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/Hazelnupp_8h__incl.md5 b/docs/Hazelnupp_8h__incl.md5
new file mode 100644
index 0000000..f39864f
--- /dev/null
+++ b/docs/Hazelnupp_8h__incl.md5
@@ -0,0 +1 @@
+1ce9845c7ab32e24bfb9df598b5bdad8
\ No newline at end of file
diff --git a/docs/Hazelnupp_8h__incl.png b/docs/Hazelnupp_8h__incl.png
new file mode 100644
index 0000000..483b066
Binary files /dev/null and b/docs/Hazelnupp_8h__incl.png differ
diff --git a/docs/Hazelnupp_8h_source.html b/docs/Hazelnupp_8h_source.html
new file mode 100644
index 0000000..501b119
--- /dev/null
+++ b/docs/Hazelnupp_8h_source.html
@@ -0,0 +1,174 @@
+
+
+
+
+
+
+
+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>
+
+
+
+
+
+
+
13 Hazelnupp (
const int argc,
const char *
const * argv);
+
+
+
+
18 void Parse (
const int argc,
const char *
const * argv);
+
+
+
+
+
+
27 bool HasParam (
const std::string& key)
const ;
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
57 void PopulateRawArgs(
const int argc,
const char *
const * argv);
+
+
60 void ExpandAbbreviations();
+
+
63 std::size_t ParseNextParameter(
const std::size_t parIndex,
Parameter *& out_Par);
+
+
66 Value * ParseValue(
const std::vector<std::string>& values,
const ParamConstraint * constraint =
nullptr );
+
+
69 void ApplyConstraints();
+
+
72 const ParamConstraint * GetConstraintForKey(
const std::string& key)
const ;
+
+
74 std::string executableName;
+
75 std::unordered_map<std::string, Parameter*> parameters;
+
+
+
78 std::unordered_map<std::string, std::string> abbreviations;
+
+
+
81 std::unordered_map<std::string, ParamConstraint> constraints;
+
+
83 std::vector<std::string> rawArgs;
+
+
86 bool crashOnFail =
true ;
+
+
+
+void RegisterAbbreviation(const std::string &abbrev, const std::string &target)
Will register an abbreviation (like -f for –force)
+void ClearConstraints()
Will delete all constraints.
+void RegisterConstraints(const std::vector< ParamConstraint > &constraints)
Will register parameter constraints.
+Abstract class for values.
+
+
+const std::string & GetAbbreviation(const std::string &abbrev) const
Will return the long form of an abbreviation (like –force for -f)
+bool HasAbbreviation(const std::string &abbrev) const
Will check wether or not an abbreviation is registered.
+const std::string & GetExecutableName() const
Will return argv[0], the name of the executable.
+
+
+bool GetCrashOnFail() const
Gets whether the application crashes on an exception whilst parsing, and prints to stderr.
+void SetCrashOnFail(bool crashOnFail)
Sets whether to crash the application, and print to stderr, when an exception is raised whilst parsin...
+bool HasParam(const std::string &key) const
Will check wether a parameter exists given a key, or not.
+The main class to interface with.
+
+void Parse(const int argc, const char *const *argv)
Will parse command line arguments.
+const Value & operator[](const std::string &key) const
Will return the value given a key.
+void ClearAbbreviations()
Will delete all abbreviations.
+
+
+
+
diff --git a/docs/IntValue_8cpp.html b/docs/IntValue_8cpp.html
new file mode 100644
index 0000000..85296a3
--- /dev/null
+++ b/docs/IntValue_8cpp.html
@@ -0,0 +1,110 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..287f93f
--- /dev/null
+++ b/docs/IntValue_8cpp__incl.map
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/IntValue_8cpp__incl.md5 b/docs/IntValue_8cpp__incl.md5
new file mode 100644
index 0000000..ca0299a
--- /dev/null
+++ b/docs/IntValue_8cpp__incl.md5
@@ -0,0 +1 @@
+a513bf2aa6a8c4f9e291d3f6fb3798e4
\ No newline at end of file
diff --git a/docs/IntValue_8cpp__incl.png b/docs/IntValue_8cpp__incl.png
new file mode 100644
index 0000000..5f5a94f
Binary files /dev/null and b/docs/IntValue_8cpp__incl.png differ
diff --git a/docs/IntValue_8cpp_source.html b/docs/IntValue_8cpp_source.html
new file mode 100644
index 0000000..8710ead
--- /dev/null
+++ b/docs/IntValue_8cpp_source.html
@@ -0,0 +1,178 @@
+
+
+
+
+
+
+
+Leonetienne/Hazelnupp: Hazelnupp/IntValue.cpp Source File
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Leonetienne/Hazelnupp
+
+ Simple, easy to use, command line parameter interface
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
21 ss <<
"IntValue: " << value;
+
+
+
+
+
+
+
+
+
30 IntValue::operator
long long int()
const
+
+
+
+
+
35 IntValue::operator int()
const
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
54 return (
long double )value;
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+DATA_TYPE
The different data types a paramater can be.
+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.
+
+Abstract class for values.
+Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not ...
+
+const long long int & GetValue() const
Will return the raw value.
+IntValue(const long long int &value)
+int GetInt32() const override
Will return the data as an int.
+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.
+Value * Deepcopy() const override
Will return a deeopopy of this object.
+const std::vector< Value * > & GetList() const override
Throws HazelnuppValueNotConvertibleException.
+long long int GetInt64() const override
Will return the data as a long long int.
+
+
+
+
diff --git a/docs/IntValue_8h.html b/docs/IntValue_8h.html
new file mode 100644
index 0000000..084ee89
--- /dev/null
+++ b/docs/IntValue_8h.html
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+Leonetienne/Hazelnupp: Hazelnupp/IntValue.h File Reference
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Leonetienne/Hazelnupp
+
+ Simple, easy to use, command line parameter interface
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Go to the source code of this file.
+
+
+class IntValue
+ Specializations for integer values (uses long long int) More...
+
+
+
+
+
+
+
diff --git a/docs/IntValue_8h__dep__incl.map b/docs/IntValue_8h__dep__incl.map
new file mode 100644
index 0000000..017ecc5
--- /dev/null
+++ b/docs/IntValue_8h__dep__incl.map
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/docs/IntValue_8h__dep__incl.md5 b/docs/IntValue_8h__dep__incl.md5
new file mode 100644
index 0000000..d25bda3
--- /dev/null
+++ b/docs/IntValue_8h__dep__incl.md5
@@ -0,0 +1 @@
+5a4141368586afbf5f14dba7b0235510
\ No newline at end of file
diff --git a/docs/IntValue_8h__dep__incl.png b/docs/IntValue_8h__dep__incl.png
new file mode 100644
index 0000000..bae9cf2
Binary files /dev/null and b/docs/IntValue_8h__dep__incl.png differ
diff --git a/docs/IntValue_8h__incl.map b/docs/IntValue_8h__incl.map
new file mode 100644
index 0000000..b98a5c5
--- /dev/null
+++ b/docs/IntValue_8h__incl.map
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/docs/IntValue_8h__incl.md5 b/docs/IntValue_8h__incl.md5
new file mode 100644
index 0000000..4f49589
--- /dev/null
+++ b/docs/IntValue_8h__incl.md5
@@ -0,0 +1 @@
+caf40a9d83fa450c538f6eb146b29652
\ No newline at end of file
diff --git a/docs/IntValue_8h__incl.png b/docs/IntValue_8h__incl.png
new file mode 100644
index 0000000..c565f06
Binary files /dev/null and b/docs/IntValue_8h__incl.png differ
diff --git a/docs/IntValue_8h_source.html b/docs/IntValue_8h_source.html
new file mode 100644
index 0000000..99b2202
--- /dev/null
+++ b/docs/IntValue_8h_source.html
@@ -0,0 +1,135 @@
+
+
+
+
+
+
+
+Leonetienne/Hazelnupp: Hazelnupp/IntValue.h Source File
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Leonetienne/Hazelnupp
+
+ Simple, easy to use, command line parameter interface
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
+
+
+
+
19 const long long int &
GetValue ()
const ;
+
+
21 operator long long int()
const ;
+
+
+
+
26 long long int GetInt64 ()
const override ;
+
+
+
+
+
+
+
+
39 const std::vector<Value*>&
GetList ()
const override ;
+
+
+
+
+
+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.
+Specializations for integer values (uses long long int)
+Abstract class for values.
+const long long int & GetValue() const
Will return the raw value.
+IntValue(const long long int &value)
+
+int GetInt32() const override
Will return the data as an int.
+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.
+Value * Deepcopy() const override
Will return a deeopopy of this object.
+const std::vector< Value * > & GetList() const override
Throws HazelnuppValueNotConvertibleException.
+long long int GetInt64() const override
Will return the data as a long long int.
+
+
+
+
+
diff --git a/docs/ListValue_8cpp.html b/docs/ListValue_8cpp.html
new file mode 100644
index 0000000..6d592d0
--- /dev/null
+++ b/docs/ListValue_8cpp.html
@@ -0,0 +1,110 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..b0c8d9b
--- /dev/null
+++ b/docs/ListValue_8cpp__incl.map
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/ListValue_8cpp__incl.md5 b/docs/ListValue_8cpp__incl.md5
new file mode 100644
index 0000000..1d088a2
--- /dev/null
+++ b/docs/ListValue_8cpp__incl.md5
@@ -0,0 +1 @@
+12fd1618e97deaecd680b70f119f5cac
\ No newline at end of file
diff --git a/docs/ListValue_8cpp__incl.png b/docs/ListValue_8cpp__incl.png
new file mode 100644
index 0000000..441db2b
Binary files /dev/null and b/docs/ListValue_8cpp__incl.png differ
diff --git a/docs/ListValue_8cpp_source.html b/docs/ListValue_8cpp_source.html
new file mode 100644
index 0000000..77677e1
--- /dev/null
+++ b/docs/ListValue_8cpp_source.html
@@ -0,0 +1,204 @@
+
+
+
+
+
+
+
+Leonetienne/Hazelnupp: Hazelnupp/ListValue.cpp Source File
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Leonetienne/Hazelnupp
+
+ Simple, easy to use, command line parameter interface
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
+
+
+
13 for (
Value * val : value)
+
+
+
+
+
+
+
+
+
+
+
+
25 for (
const Value * val : value)
+
+
+
+
+
+
+
+
33 this->value.emplace_back(value->
Deepcopy ());
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
48 for (
const Value * val : value)
+
+
+
51 if (val != value.back())
+
+
+
+
+
+
+
+
+
60 ListValue::operator std::vector<Value*>()
const
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+DATA_TYPE
The different data types a paramater can be.
+void AddValue(const Value *value)
Will add this value to the list.
+Specializations for list values (uses std::vector<Value*>)
+
+double GetFloat32() const override
Throws HazelnuppValueNotConvertibleException.
+
+
+Value * Deepcopy() const override
Will return a deeopopy of this object.
+Abstract class for values.
+virtual Value * Deepcopy() const =0
Will return a deeopopy of this object.
+long double GetFloat64() const override
Throws HazelnuppValueNotConvertibleException.
+Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not ...
+const std::vector< Value * > & GetList() const override
Will return this values list.
+
+std::string GetAsOsString() const override
Will return a string suitable for an std::ostream;.
+long long int GetInt64() const override
Throws HazelnuppValueNotConvertibleException.
+const std::vector< Value * > & GetValue() const
Will return the raw value.
+int GetInt32() const override
Throws HazelnuppValueNotConvertibleException.
+std::string GetString() const override
Throws HazelnuppValueNotConvertibleException.
+
+
+
+
diff --git a/docs/ListValue_8h.html b/docs/ListValue_8h.html
new file mode 100644
index 0000000..1ec16cf
--- /dev/null
+++ b/docs/ListValue_8h.html
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+Leonetienne/Hazelnupp: Hazelnupp/ListValue.h File Reference
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Leonetienne/Hazelnupp
+
+ Simple, easy to use, command line parameter interface
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#include "Value.h "
+
#include <vector>
+
+
Go to the source code of this file.
+
+
+class ListValue
+ Specializations for list values (uses std::vector<Value*>) More...
+
+
+
+
+
+
+
diff --git a/docs/ListValue_8h__dep__incl.map b/docs/ListValue_8h__dep__incl.map
new file mode 100644
index 0000000..cc98cae
--- /dev/null
+++ b/docs/ListValue_8h__dep__incl.map
@@ -0,0 +1,5 @@
+
+
+
+
+
diff --git a/docs/ListValue_8h__dep__incl.md5 b/docs/ListValue_8h__dep__incl.md5
new file mode 100644
index 0000000..6b7d0aa
--- /dev/null
+++ b/docs/ListValue_8h__dep__incl.md5
@@ -0,0 +1 @@
+802f41af52b697b82dc77a4af0f62c8c
\ No newline at end of file
diff --git a/docs/ListValue_8h__dep__incl.png b/docs/ListValue_8h__dep__incl.png
new file mode 100644
index 0000000..aee092d
Binary files /dev/null and b/docs/ListValue_8h__dep__incl.png differ
diff --git a/docs/ListValue_8h__incl.map b/docs/ListValue_8h__incl.map
new file mode 100644
index 0000000..9cefd6a
--- /dev/null
+++ b/docs/ListValue_8h__incl.map
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/docs/ListValue_8h__incl.md5 b/docs/ListValue_8h__incl.md5
new file mode 100644
index 0000000..50099b1
--- /dev/null
+++ b/docs/ListValue_8h__incl.md5
@@ -0,0 +1 @@
+1f357c8bbe0826b683d0428f992ad690
\ No newline at end of file
diff --git a/docs/ListValue_8h__incl.png b/docs/ListValue_8h__incl.png
new file mode 100644
index 0000000..32cc822
Binary files /dev/null and b/docs/ListValue_8h__incl.png differ
diff --git a/docs/ListValue_8h_source.html b/docs/ListValue_8h_source.html
new file mode 100644
index 0000000..03518a4
--- /dev/null
+++ b/docs/ListValue_8h_source.html
@@ -0,0 +1,137 @@
+
+
+
+
+
+
+
+Leonetienne/Hazelnupp: Hazelnupp/ListValue.h Source File
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Leonetienne/Hazelnupp
+
+ Simple, easy to use, command line parameter interface
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
23 const std::vector<Value*>&
GetValue ()
const ;
+
+
25 operator std::vector<Value*>()
const ;
+
+
28 long long int GetInt64 ()
const override ;
+
+
+
+
+
+
+
+
41 const std::vector<Value*>&
GetList ()
const override ;
+
+
+
44 std::vector<Value*> value;
+
+
+void AddValue(const Value *value)
Will add this value to the list.
+Specializations for list values (uses std::vector<Value*>)
+
+double GetFloat32() const override
Throws HazelnuppValueNotConvertibleException.
+
+Value * Deepcopy() const override
Will return a deeopopy of this object.
+Abstract class for values.
+long double GetFloat64() const override
Throws HazelnuppValueNotConvertibleException.
+const std::vector< Value * > & GetList() const override
Will return this values list.
+std::string GetAsOsString() const override
Will return a string suitable for an std::ostream;.
+long long int GetInt64() const override
Throws HazelnuppValueNotConvertibleException.
+const std::vector< Value * > & GetValue() const
Will return the raw value.
+int GetInt32() const override
Throws HazelnuppValueNotConvertibleException.
+std::string GetString() const override
Throws HazelnuppValueNotConvertibleException.
+
+
+
+
+
diff --git a/docs/ParamConstraint_8h.html b/docs/ParamConstraint_8h.html
new file mode 100644
index 0000000..617965d
--- /dev/null
+++ b/docs/ParamConstraint_8h.html
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..8501976
--- /dev/null
+++ b/docs/ParamConstraint_8h__dep__incl.map
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/docs/ParamConstraint_8h__dep__incl.md5 b/docs/ParamConstraint_8h__dep__incl.md5
new file mode 100644
index 0000000..3833a5c
--- /dev/null
+++ b/docs/ParamConstraint_8h__dep__incl.md5
@@ -0,0 +1 @@
+8f1eb59f86ed8a0013eb1f57ade7c0a6
\ No newline at end of file
diff --git a/docs/ParamConstraint_8h__dep__incl.png b/docs/ParamConstraint_8h__dep__incl.png
new file mode 100644
index 0000000..164ba47
Binary files /dev/null and b/docs/ParamConstraint_8h__dep__incl.png differ
diff --git a/docs/ParamConstraint_8h__incl.map b/docs/ParamConstraint_8h__incl.map
new file mode 100644
index 0000000..0db6788
--- /dev/null
+++ b/docs/ParamConstraint_8h__incl.map
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/docs/ParamConstraint_8h__incl.md5 b/docs/ParamConstraint_8h__incl.md5
new file mode 100644
index 0000000..e1a5448
--- /dev/null
+++ b/docs/ParamConstraint_8h__incl.md5
@@ -0,0 +1 @@
+112e8f880b838c8ff96327d435079d1f
\ No newline at end of file
diff --git a/docs/ParamConstraint_8h__incl.png b/docs/ParamConstraint_8h__incl.png
new file mode 100644
index 0000000..6c428db
Binary files /dev/null and b/docs/ParamConstraint_8h__incl.png differ
diff --git a/docs/ParamConstraint_8h_source.html b/docs/ParamConstraint_8h_source.html
new file mode 100644
index 0000000..1aa71ee
--- /dev/null
+++ b/docs/ParamConstraint_8h_source.html
@@ -0,0 +1,153 @@
+
+
+
+
+
+
+
+Leonetienne/Hazelnupp: Hazelnupp/ParamConstraint.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.
+
+bool required
If set to true, and no default value set, an error will be produced if this parameter is not supplied...
+ParamConstraint(const std::string &key, bool constrainType, DATA_TYPE wantedType, const std::vector< std::string > &defaultValue, bool required)
Whole constructor.
+static ParamConstraint TypeSafety(const std::string &key, DATA_TYPE wantedType, bool constrainType=true)
Constructs a type-safety constraint.
+std::vector< std::string > defaultValue
The default value for this parameter.
+static ParamConstraint Require(const std::string &key, const std::vector< std::string > &defaultValue={}, bool required=true)
Constructs a require constraint.
+std::string key
The key of the parameter to constrain.
+bool constrainType
Should this parameter be forced to be of a certain type? Remember to set constrainTo to the wanted ...
+ParamConstraint()=default
Empty constructor.
+DATA_TYPE wantedType
Constrain the parameter to this value. Requires constrainType to be set to true.
+
+
+
+
+
diff --git a/docs/Parameter_8cpp.html b/docs/Parameter_8cpp.html
new file mode 100644
index 0000000..078e35d
--- /dev/null
+++ b/docs/Parameter_8cpp.html
@@ -0,0 +1,106 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..7376c9f
--- /dev/null
+++ b/docs/Parameter_8cpp__incl.map
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
diff --git a/docs/Parameter_8cpp__incl.md5 b/docs/Parameter_8cpp__incl.md5
new file mode 100644
index 0000000..42ec160
--- /dev/null
+++ b/docs/Parameter_8cpp__incl.md5
@@ -0,0 +1 @@
+89588e764ed7b9e840675c3b459cf4bc
\ No newline at end of file
diff --git a/docs/Parameter_8cpp__incl.png b/docs/Parameter_8cpp__incl.png
new file mode 100644
index 0000000..5f79f28
Binary files /dev/null and b/docs/Parameter_8cpp__incl.png differ
diff --git a/docs/Parameter_8cpp_source.html b/docs/Parameter_8cpp_source.html
new file mode 100644
index 0000000..57ec943
--- /dev/null
+++ b/docs/Parameter_8cpp_source.html
@@ -0,0 +1,121 @@
+
+
+
+
+
+
+
+Leonetienne/Hazelnupp: Hazelnupp/Parameter.cpp Source File
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Leonetienne/Hazelnupp
+
+ Simple, easy to use, command line parameter interface
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Go to the documentation of this file.
+
+
+
+
+
+
7 this->value = value->Deepcopy();
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+const std::string & Key() const
Will return the key of this parameter.
+const Value * GetValue() const
Will return the value of this parameter.
+
+Parameter(const std::string &key, const Value *value)
+
+
+
+
diff --git a/docs/Parameter_8h.html b/docs/Parameter_8h.html
new file mode 100644
index 0000000..78c55df
--- /dev/null
+++ b/docs/Parameter_8h.html
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..9780187
--- /dev/null
+++ b/docs/Parameter_8h__dep__incl.map
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/docs/Parameter_8h__dep__incl.md5 b/docs/Parameter_8h__dep__incl.md5
new file mode 100644
index 0000000..a83b01b
--- /dev/null
+++ b/docs/Parameter_8h__dep__incl.md5
@@ -0,0 +1 @@
+0792589fb3c9949d71f6142d7142a87c
\ No newline at end of file
diff --git a/docs/Parameter_8h__dep__incl.png b/docs/Parameter_8h__dep__incl.png
new file mode 100644
index 0000000..67dc051
Binary files /dev/null and b/docs/Parameter_8h__dep__incl.png differ
diff --git a/docs/Parameter_8h__incl.map b/docs/Parameter_8h__incl.map
new file mode 100644
index 0000000..48c4f23
--- /dev/null
+++ b/docs/Parameter_8h__incl.map
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
diff --git a/docs/Parameter_8h__incl.md5 b/docs/Parameter_8h__incl.md5
new file mode 100644
index 0000000..dd474e6
--- /dev/null
+++ b/docs/Parameter_8h__incl.md5
@@ -0,0 +1 @@
+5a29230ca588044835e12098cae44dbe
\ No newline at end of file
diff --git a/docs/Parameter_8h__incl.png b/docs/Parameter_8h__incl.png
new file mode 100644
index 0000000..2b19eb5
Binary files /dev/null and b/docs/Parameter_8h__incl.png differ
diff --git a/docs/Parameter_8h_source.html b/docs/Parameter_8h_source.html
new file mode 100644
index 0000000..3e2b320
--- /dev/null
+++ b/docs/Parameter_8h_source.html
@@ -0,0 +1,121 @@
+
+
+
+
+
+
+
+Leonetienne/Hazelnupp: Hazelnupp/Parameter.h Source File
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Leonetienne/Hazelnupp
+
+ Simple, easy to use, command line parameter interface
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
+
+
13 const std::string&
Key ()
const ;
+
+
+
+
+
+
20 return os <<
"{ Key: \"" << p.key <<
"\" -> " << *p.value <<
" }" ;
+
+
+
+
+
+
+
+friend std::ostream & operator<<(std::ostream &os, const Parameter &p)
+Abstract class for values.
+
+
+const std::string & Key() const
Will return the key of this parameter.
+const Value * GetValue() const
Will return the value of this parameter.
+Parameter(const std::string &key, const Value *value)
+
+
+
+
+
diff --git a/docs/Release_2Hazelnupp_8vcxproj_8FileListAbsolute_8txt.html b/docs/Release_2Hazelnupp_8vcxproj_8FileListAbsolute_8txt.html
new file mode 100644
index 0000000..3cc2a2f
--- /dev/null
+++ b/docs/Release_2Hazelnupp_8vcxproj_8FileListAbsolute_8txt.html
@@ -0,0 +1,85 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..7eda615
--- /dev/null
+++ b/docs/Release_2Test__Hazelnupp_8vcxproj_8FileListAbsolute_8txt.html
@@ -0,0 +1,85 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..6e04e69
--- /dev/null
+++ b/docs/StringTools_8cpp.html
@@ -0,0 +1,105 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..762e92c
--- /dev/null
+++ b/docs/StringTools_8cpp__incl.map
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
diff --git a/docs/StringTools_8cpp__incl.md5 b/docs/StringTools_8cpp__incl.md5
new file mode 100644
index 0000000..7011543
--- /dev/null
+++ b/docs/StringTools_8cpp__incl.md5
@@ -0,0 +1 @@
+4d994ee3745469dd451021ef4507b101
\ No newline at end of file
diff --git a/docs/StringTools_8cpp__incl.png b/docs/StringTools_8cpp__incl.png
new file mode 100644
index 0000000..e632c77
Binary files /dev/null and b/docs/StringTools_8cpp__incl.png differ
diff --git a/docs/StringTools_8cpp_source.html b/docs/StringTools_8cpp_source.html
new file mode 100644
index 0000000..04ee1b2
--- /dev/null
+++ b/docs/StringTools_8cpp_source.html
@@ -0,0 +1,280 @@
+
+
+
+
+
+
+
+Leonetienne/Hazelnupp: Hazelnupp/StringTools.cpp Source File
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Leonetienne/Hazelnupp
+
+ Simple, easy to use, command line parameter interface
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Go to the documentation of this file.
+
+
+
+
5 for (
const char & i : str)
+
+
+
+
+
+
+
+
+
+
+
16 for (std::size_t i = 0; i < str.length(); i++)
+
+
18 if (str[i] != find) ss << str[i];
+
+
+
+
+
+
+
25 std::string
StringTools::Replace (
const std::string& str,
const std::string& find,
const std::string& subst)
+
+
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);
+
+
+
+
+
+
+
+
+
+
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;
+
+
+
+
+
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&)
+
+
+
+
+
+
+
+
+
+
+
125 if (str.length() == 0)
return std::vector<std::string>();
+
+
+
+
+
+
+
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);
+
+
+
+
+
+
+
+
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;
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/StringTools_8h.html b/docs/StringTools_8h.html
new file mode 100644
index 0000000..b529eba
--- /dev/null
+++ b/docs/StringTools_8h.html
@@ -0,0 +1,126 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..c2f6e1b
--- /dev/null
+++ b/docs/StringTools_8h__dep__incl.map
@@ -0,0 +1,5 @@
+
+
+
+
+
diff --git a/docs/StringTools_8h__dep__incl.md5 b/docs/StringTools_8h__dep__incl.md5
new file mode 100644
index 0000000..345b1d1
--- /dev/null
+++ b/docs/StringTools_8h__dep__incl.md5
@@ -0,0 +1 @@
+4ba8b953211065d16127937b8012e0e9
\ No newline at end of file
diff --git a/docs/StringTools_8h__dep__incl.png b/docs/StringTools_8h__dep__incl.png
new file mode 100644
index 0000000..91c51dd
Binary files /dev/null and b/docs/StringTools_8h__dep__incl.png differ
diff --git a/docs/StringTools_8h__incl.map b/docs/StringTools_8h__incl.map
new file mode 100644
index 0000000..31b2cdc
--- /dev/null
+++ b/docs/StringTools_8h__incl.map
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/docs/StringTools_8h__incl.md5 b/docs/StringTools_8h__incl.md5
new file mode 100644
index 0000000..7975647
--- /dev/null
+++ b/docs/StringTools_8h__incl.md5
@@ -0,0 +1 @@
+67b004299d6fdf50268756d41946bfee
\ No newline at end of file
diff --git a/docs/StringTools_8h__incl.png b/docs/StringTools_8h__incl.png
new file mode 100644
index 0000000..6cdea0c
Binary files /dev/null and b/docs/StringTools_8h__incl.png differ
diff --git a/docs/StringTools_8h_source.html b/docs/StringTools_8h_source.html
new file mode 100644
index 0000000..3f3d1a9
--- /dev/null
+++ b/docs/StringTools_8h_source.html
@@ -0,0 +1,121 @@
+
+
+
+
+
+
+
+Leonetienne/Hazelnupp: Hazelnupp/StringTools.h Source File
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Leonetienne/Hazelnupp
+
+ Simple, easy to use, command line parameter interface
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
13 static bool Contains (
const std::string& str,
const char c);
+
+
16 static std::string
Replace (
const std::string& str,
const char find,
const std::string& subst);
+
+
19 static std::string
Replace (
const std::string& str,
const std::string& find,
const std::string& subst);
+
+
22 static bool IsNumeric (
const std::string& str,
const bool allowDecimalPoint =
false );
+
+
27 static bool ParseNumber (
const std::string& str,
bool & out_isInt,
long double & out_number);
+
+
30 static std::vector<std::string>
SplitString (
const std::string& str,
const char delimiter);
+
+
33 static std::vector<std::string>
SplitString (
const std::string& str,
const std::string& delimiter);
+
+
36 static std::string
ToLower (
const std::string& str);
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/StringValue_8cpp.html b/docs/StringValue_8cpp.html
new file mode 100644
index 0000000..2c9f29c
--- /dev/null
+++ b/docs/StringValue_8cpp.html
@@ -0,0 +1,111 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..cecdb13
--- /dev/null
+++ b/docs/StringValue_8cpp__incl.map
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/StringValue_8cpp__incl.md5 b/docs/StringValue_8cpp__incl.md5
new file mode 100644
index 0000000..c059726
--- /dev/null
+++ b/docs/StringValue_8cpp__incl.md5
@@ -0,0 +1 @@
+ba78d6fa329f3f88ca5a096174459af0
\ No newline at end of file
diff --git a/docs/StringValue_8cpp__incl.png b/docs/StringValue_8cpp__incl.png
new file mode 100644
index 0000000..03913b0
Binary files /dev/null and b/docs/StringValue_8cpp__incl.png differ
diff --git a/docs/StringValue_8cpp_source.html b/docs/StringValue_8cpp_source.html
new file mode 100644
index 0000000..1d1c6fa
--- /dev/null
+++ b/docs/StringValue_8cpp_source.html
@@ -0,0 +1,170 @@
+
+
+
+
+
+
+
+Leonetienne/Hazelnupp: Hazelnupp/StringValue.cpp Source File
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Leonetienne/Hazelnupp
+
+ Simple, easy to use, command line parameter interface
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
21 ss <<
"StringValue: " << value;
+
+
+
+
+
+
+
+
+
30 StringValue::operator std::string()
const
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+DATA_TYPE
The different data types a paramater can be.
+
+std::string GetString() const override
Will return this value as a string.
+Abstract class for values.
+int GetInt32() const override
Throws HazelnuppValueNotConvertibleException.
+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 ...
+Value * Deepcopy() const override
Will return a deeopopy of this object.
+std::string GetAsOsString() const override
Will return a string suitable for an std::ostream;.
+const std::vector< Value * > & GetList() const override
Throws HazelnuppValueNotConvertibleException.
+StringValue(const std::string &value)
+
+long long int GetInt64() const override
Throws HazelnuppValueNotConvertibleException.
+long double GetFloat64() const override
Throws HazelnuppValueNotConvertibleException.
+const std::string & GetValue() const
Will return the raw value.
+
+
+
+
diff --git a/docs/StringValue_8h.html b/docs/StringValue_8h.html
new file mode 100644
index 0000000..b6fc1c0
--- /dev/null
+++ b/docs/StringValue_8h.html
@@ -0,0 +1,125 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..d6bec0a
--- /dev/null
+++ b/docs/StringValue_8h__dep__incl.map
@@ -0,0 +1,5 @@
+
+
+
+
+
diff --git a/docs/StringValue_8h__dep__incl.md5 b/docs/StringValue_8h__dep__incl.md5
new file mode 100644
index 0000000..fb32603
--- /dev/null
+++ b/docs/StringValue_8h__dep__incl.md5
@@ -0,0 +1 @@
+ca9d7db385a6e6038cd9f1292aff77d0
\ No newline at end of file
diff --git a/docs/StringValue_8h__dep__incl.png b/docs/StringValue_8h__dep__incl.png
new file mode 100644
index 0000000..0acb9c8
Binary files /dev/null and b/docs/StringValue_8h__dep__incl.png differ
diff --git a/docs/StringValue_8h__incl.map b/docs/StringValue_8h__incl.map
new file mode 100644
index 0000000..702afe8
--- /dev/null
+++ b/docs/StringValue_8h__incl.map
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
diff --git a/docs/StringValue_8h__incl.md5 b/docs/StringValue_8h__incl.md5
new file mode 100644
index 0000000..faf7bf4
--- /dev/null
+++ b/docs/StringValue_8h__incl.md5
@@ -0,0 +1 @@
+e31f647cc6d6c07de8c0bf958d89e76c
\ No newline at end of file
diff --git a/docs/StringValue_8h__incl.png b/docs/StringValue_8h__incl.png
new file mode 100644
index 0000000..c3f7534
Binary files /dev/null and b/docs/StringValue_8h__incl.png differ
diff --git a/docs/StringValue_8h_source.html b/docs/StringValue_8h_source.html
new file mode 100644
index 0000000..e155105
--- /dev/null
+++ b/docs/StringValue_8h_source.html
@@ -0,0 +1,134 @@
+
+
+
+
+
+
+
+Leonetienne/Hazelnupp: Hazelnupp/StringValue.h Source File
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Leonetienne/Hazelnupp
+
+ Simple, easy to use, command line parameter interface
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
22 operator std::string()
const ;
+
+
25 long long int GetInt64 ()
const override ;
+
+
+
+
+
+
+
+
38 const std::vector<Value*>&
GetList ()
const override ;
+
+
+
+
+
+std::string GetString() const override
Will return this value as a string.
+Abstract class for values.
+int GetInt32() const override
Throws HazelnuppValueNotConvertibleException.
+double GetFloat32() const override
Throws HazelnuppValueNotConvertibleException.
+Specializations for string values (uses std::string)
+Value * Deepcopy() const override
Will return a deeopopy of this object.
+std::string GetAsOsString() const override
Will return a string suitable for an std::ostream;.
+
+const std::vector< Value * > & GetList() const override
Throws HazelnuppValueNotConvertibleException.
+StringValue(const std::string &value)
+long long int GetInt64() const override
Throws HazelnuppValueNotConvertibleException.
+
+long double GetFloat64() const override
Throws HazelnuppValueNotConvertibleException.
+const std::string & GetValue() const
Will return the raw value.
+
+
+
+
diff --git a/docs/Value_8cpp.html b/docs/Value_8cpp.html
new file mode 100644
index 0000000..2a5a45f
--- /dev/null
+++ b/docs/Value_8cpp.html
@@ -0,0 +1,104 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..86cce41
--- /dev/null
+++ b/docs/Value_8cpp__incl.map
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/docs/Value_8cpp__incl.md5 b/docs/Value_8cpp__incl.md5
new file mode 100644
index 0000000..584f279
--- /dev/null
+++ b/docs/Value_8cpp__incl.md5
@@ -0,0 +1 @@
+69da090fe7fb4635fabe3680d01e5670
\ No newline at end of file
diff --git a/docs/Value_8cpp__incl.png b/docs/Value_8cpp__incl.png
new file mode 100644
index 0000000..3f235fd
Binary files /dev/null and b/docs/Value_8cpp__incl.png differ
diff --git a/docs/Value_8cpp_source.html b/docs/Value_8cpp_source.html
new file mode 100644
index 0000000..0bc6ec6
--- /dev/null
+++ b/docs/Value_8cpp_source.html
@@ -0,0 +1,107 @@
+
+
+
+
+
+
+
+Leonetienne/Hazelnupp: Hazelnupp/Value.cpp Source File
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Leonetienne/Hazelnupp
+
+ Simple, easy to use, command line parameter interface
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+DATA_TYPE
The different data types a paramater can be.
+
+
+DATA_TYPE GetDataType() const
Will return the data type of this value.
+
+
+
+
+
diff --git a/docs/Value_8h.html b/docs/Value_8h.html
new file mode 100644
index 0000000..a065cd5
--- /dev/null
+++ b/docs/Value_8h.html
@@ -0,0 +1,138 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..4a9cf6b
--- /dev/null
+++ b/docs/Value_8h__dep__incl.map
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/Value_8h__dep__incl.md5 b/docs/Value_8h__dep__incl.md5
new file mode 100644
index 0000000..2639777
--- /dev/null
+++ b/docs/Value_8h__dep__incl.md5
@@ -0,0 +1 @@
+a89dc6216fd07fdfdd4f79f41556b577
\ No newline at end of file
diff --git a/docs/Value_8h__dep__incl.png b/docs/Value_8h__dep__incl.png
new file mode 100644
index 0000000..66e21f7
Binary files /dev/null and b/docs/Value_8h__dep__incl.png differ
diff --git a/docs/Value_8h__incl.map b/docs/Value_8h__incl.map
new file mode 100644
index 0000000..be86f8e
--- /dev/null
+++ b/docs/Value_8h__incl.map
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/docs/Value_8h__incl.md5 b/docs/Value_8h__incl.md5
new file mode 100644
index 0000000..8446cdf
--- /dev/null
+++ b/docs/Value_8h__incl.md5
@@ -0,0 +1 @@
+7bb92e5fe6cfc0f580f1f9e08772dd2c
\ No newline at end of file
diff --git a/docs/Value_8h__incl.png b/docs/Value_8h__incl.png
new file mode 100644
index 0000000..5c98c28
Binary files /dev/null and b/docs/Value_8h__incl.png differ
diff --git a/docs/Value_8h_source.html b/docs/Value_8h_source.html
new file mode 100644
index 0000000..6e8a897
--- /dev/null
+++ b/docs/Value_8h_source.html
@@ -0,0 +1,141 @@
+
+
+
+
+
+
+
+Leonetienne/Hazelnupp: Hazelnupp/Value.h Source File
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Leonetienne/Hazelnupp
+
+ Simple, easy to use, command line parameter interface
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
28 virtual long long int GetInt64 ()
const = 0;
+
+
+
+
+
+
38 virtual std::string
GetString ()
const = 0;
+
+
41 virtual const std::vector<Value*>&
GetList ()
const = 0;
+
+
+
+
+
+
+
+
+DATA_TYPE
The different data types a paramater can be.
+
+virtual const std::vector< Value * > & GetList() const =0
Will attempt to return the list-data.
+Abstract class for values.
+virtual Value * Deepcopy() const =0
Will return a deeopopy of this object.
+virtual std::string GetAsOsString() const =0
Will return a string suitable for an std::ostream.
+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.
+
+friend std::ostream & operator<<(std::ostream &os, const Value &v)
+virtual long double GetFloat64() const =0
Will attempt to return the floating-point data (long double)
+
+virtual long long int GetInt64() const =0
Will attempt to return the integer data (long long)
+virtual double GetFloat32() const =0
Will attempt to return the floating-point data (double)
+DATA_TYPE GetDataType() const
Will return the data type of this value.
+
+
+
+
diff --git a/docs/VoidValue_8cpp.html b/docs/VoidValue_8cpp.html
new file mode 100644
index 0000000..c441690
--- /dev/null
+++ b/docs/VoidValue_8cpp.html
@@ -0,0 +1,108 @@
+
+
+
+
+
+
+
+Leonetienne/Hazelnupp: Hazelnupp/VoidValue.cpp File Reference
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Leonetienne/Hazelnupp
+
+ Simple, easy to use, command line parameter interface
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/VoidValue_8cpp__incl.map b/docs/VoidValue_8cpp__incl.map
new file mode 100644
index 0000000..7d66c73
--- /dev/null
+++ b/docs/VoidValue_8cpp__incl.map
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/VoidValue_8cpp__incl.md5 b/docs/VoidValue_8cpp__incl.md5
new file mode 100644
index 0000000..778315c
--- /dev/null
+++ b/docs/VoidValue_8cpp__incl.md5
@@ -0,0 +1 @@
+88a7c0ddfe48e0a540dc2f75215c7748
\ No newline at end of file
diff --git a/docs/VoidValue_8cpp__incl.png b/docs/VoidValue_8cpp__incl.png
new file mode 100644
index 0000000..cea727e
Binary files /dev/null and b/docs/VoidValue_8cpp__incl.png differ
diff --git a/docs/VoidValue_8cpp_source.html b/docs/VoidValue_8cpp_source.html
new file mode 100644
index 0000000..16e992f
--- /dev/null
+++ b/docs/VoidValue_8cpp_source.html
@@ -0,0 +1,155 @@
+
+
+
+
+
+
+
+Leonetienne/Hazelnupp: Hazelnupp/VoidValue.cpp 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.
+std::string GetString() const override
Throws HazelnuppValueNotConvertibleException.
+
+Abstract class for values.
+
+double GetFloat32() const override
Throws HazelnuppValueNotConvertibleException.
+Value * Deepcopy() const override
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 ...
+
+std::string GetAsOsString() const override
Will return a string suitable for an std::ostream;.
+long long int GetInt64() const override
Throws HazelnuppValueNotConvertibleException.
+long double GetFloat64() const override
Throws HazelnuppValueNotConvertibleException.
+int GetInt32() const override
Throws HazelnuppValueNotConvertibleException.
+const std::vector< Value * > & GetList() const
Throws HazelnuppValueNotConvertibleException.
+
+
+
+
diff --git a/docs/VoidValue_8h.html b/docs/VoidValue_8h.html
new file mode 100644
index 0000000..25b366c
--- /dev/null
+++ b/docs/VoidValue_8h.html
@@ -0,0 +1,123 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..0673bcf
--- /dev/null
+++ b/docs/VoidValue_8h__dep__incl.map
@@ -0,0 +1,5 @@
+
+
+
+
+
diff --git a/docs/VoidValue_8h__dep__incl.md5 b/docs/VoidValue_8h__dep__incl.md5
new file mode 100644
index 0000000..03f8110
--- /dev/null
+++ b/docs/VoidValue_8h__dep__incl.md5
@@ -0,0 +1 @@
+b1fa5187a73f08f6f0d205b365df780c
\ No newline at end of file
diff --git a/docs/VoidValue_8h__dep__incl.png b/docs/VoidValue_8h__dep__incl.png
new file mode 100644
index 0000000..68924fd
Binary files /dev/null and b/docs/VoidValue_8h__dep__incl.png differ
diff --git a/docs/VoidValue_8h__incl.map b/docs/VoidValue_8h__incl.map
new file mode 100644
index 0000000..5997110
--- /dev/null
+++ b/docs/VoidValue_8h__incl.map
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/docs/VoidValue_8h__incl.md5 b/docs/VoidValue_8h__incl.md5
new file mode 100644
index 0000000..4713dc5
--- /dev/null
+++ b/docs/VoidValue_8h__incl.md5
@@ -0,0 +1 @@
+2fe8fe9fabcd58d433f9b82392834b5c
\ No newline at end of file
diff --git a/docs/VoidValue_8h__incl.png b/docs/VoidValue_8h__incl.png
new file mode 100644
index 0000000..886ddce
Binary files /dev/null and b/docs/VoidValue_8h__incl.png differ
diff --git a/docs/VoidValue_8h_source.html b/docs/VoidValue_8h_source.html
new file mode 100644
index 0000000..fe39a6a
--- /dev/null
+++ b/docs/VoidValue_8h_source.html
@@ -0,0 +1,125 @@
+
+
+
+
+
+
+
+Leonetienne/Hazelnupp: Hazelnupp/VoidValue.h Source File
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Leonetienne/Hazelnupp
+
+ Simple, easy to use, command line parameter interface
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
+
+
+
+
19 long long int GetInt64 ()
const override ;
+
+
+
+
+
+
+
+
32 const std::vector<Value*>&
GetList ()
const ;
+
+
+std::string GetString() const override
Throws HazelnuppValueNotConvertibleException.
+Abstract class for values.
+
+double GetFloat32() const override
Throws HazelnuppValueNotConvertibleException.
+Value * Deepcopy() const override
Will return a deeopopy of this object.
+Specializations for void values.
+std::string GetAsOsString() const override
Will return a string suitable for an std::ostream;.
+long long int GetInt64() const override
Throws HazelnuppValueNotConvertibleException.
+long double GetFloat64() const override
Throws HazelnuppValueNotConvertibleException.
+int GetInt32() const override
Throws HazelnuppValueNotConvertibleException.
+
+
+const std::vector< Value * > & GetList() const
Throws HazelnuppValueNotConvertibleException.
+
+
+
+
diff --git a/docs/annotated.html b/docs/annotated.html
new file mode 100644
index 0000000..77a95b8
--- /dev/null
+++ b/docs/annotated.html
@@ -0,0 +1,105 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..3ad51f0
Binary files /dev/null and b/docs/bc_s.png differ
diff --git a/docs/bdwn.png b/docs/bdwn.png
new file mode 100644
index 0000000..3f938ab
Binary files /dev/null and b/docs/bdwn.png differ
diff --git a/docs/classFloatValue-members.html b/docs/classFloatValue-members.html
new file mode 100644
index 0000000..23dcde0
--- /dev/null
+++ b/docs/classFloatValue-members.html
@@ -0,0 +1,105 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..3774cd3
--- /dev/null
+++ b/docs/classFloatValue.html
@@ -0,0 +1,578 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..d1e1117
--- /dev/null
+++ b/docs/classFloatValue__coll__graph.map
@@ -0,0 +1,4 @@
+
+
+
+
diff --git a/docs/classFloatValue__coll__graph.md5 b/docs/classFloatValue__coll__graph.md5
new file mode 100644
index 0000000..ce67a40
--- /dev/null
+++ b/docs/classFloatValue__coll__graph.md5
@@ -0,0 +1 @@
+61a7c55eab2b6c56d37885d5512dd079
\ No newline at end of file
diff --git a/docs/classFloatValue__coll__graph.png b/docs/classFloatValue__coll__graph.png
new file mode 100644
index 0000000..81a6e85
Binary files /dev/null and b/docs/classFloatValue__coll__graph.png differ
diff --git a/docs/classFloatValue__inherit__graph.map b/docs/classFloatValue__inherit__graph.map
new file mode 100644
index 0000000..d1e1117
--- /dev/null
+++ b/docs/classFloatValue__inherit__graph.map
@@ -0,0 +1,4 @@
+
+
+
+
diff --git a/docs/classFloatValue__inherit__graph.md5 b/docs/classFloatValue__inherit__graph.md5
new file mode 100644
index 0000000..ce67a40
--- /dev/null
+++ b/docs/classFloatValue__inherit__graph.md5
@@ -0,0 +1 @@
+61a7c55eab2b6c56d37885d5512dd079
\ No newline at end of file
diff --git a/docs/classFloatValue__inherit__graph.png b/docs/classFloatValue__inherit__graph.png
new file mode 100644
index 0000000..81a6e85
Binary files /dev/null and b/docs/classFloatValue__inherit__graph.png differ
diff --git a/docs/classHazelnupp-members.html b/docs/classHazelnupp-members.html
new file mode 100644
index 0000000..58b4906
--- /dev/null
+++ b/docs/classHazelnupp-members.html
@@ -0,0 +1,103 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..bcd6022
--- /dev/null
+++ b/docs/classHazelnupp.html
@@ -0,0 +1,630 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..7080787
--- /dev/null
+++ b/docs/classHazelnuppConstraintException-members.html
@@ -0,0 +1,94 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..0460eb3
--- /dev/null
+++ b/docs/classHazelnuppConstraintException.html
@@ -0,0 +1,205 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..5fa5350
--- /dev/null
+++ b/docs/classHazelnuppConstraintException__coll__graph.map
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/docs/classHazelnuppConstraintException__coll__graph.md5 b/docs/classHazelnuppConstraintException__coll__graph.md5
new file mode 100644
index 0000000..b5ab92d
--- /dev/null
+++ b/docs/classHazelnuppConstraintException__coll__graph.md5
@@ -0,0 +1 @@
+8780b5af48266ddbb9e3e39964ac24c9
\ No newline at end of file
diff --git a/docs/classHazelnuppConstraintException__coll__graph.png b/docs/classHazelnuppConstraintException__coll__graph.png
new file mode 100644
index 0000000..46cfddc
Binary files /dev/null and b/docs/classHazelnuppConstraintException__coll__graph.png differ
diff --git a/docs/classHazelnuppConstraintException__inherit__graph.map b/docs/classHazelnuppConstraintException__inherit__graph.map
new file mode 100644
index 0000000..1d23b5b
--- /dev/null
+++ b/docs/classHazelnuppConstraintException__inherit__graph.map
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/docs/classHazelnuppConstraintException__inherit__graph.md5 b/docs/classHazelnuppConstraintException__inherit__graph.md5
new file mode 100644
index 0000000..e37e84a
--- /dev/null
+++ b/docs/classHazelnuppConstraintException__inherit__graph.md5
@@ -0,0 +1 @@
+16bc78b0ae884e3cc8de0c87c60d24c5
\ No newline at end of file
diff --git a/docs/classHazelnuppConstraintException__inherit__graph.png b/docs/classHazelnuppConstraintException__inherit__graph.png
new file mode 100644
index 0000000..03b4355
Binary files /dev/null and b/docs/classHazelnuppConstraintException__inherit__graph.png differ
diff --git a/docs/classHazelnuppConstraintMissingValue-members.html b/docs/classHazelnuppConstraintMissingValue-members.html
new file mode 100644
index 0000000..e15abd6
--- /dev/null
+++ b/docs/classHazelnuppConstraintMissingValue-members.html
@@ -0,0 +1,96 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..8a44906
--- /dev/null
+++ b/docs/classHazelnuppConstraintMissingValue.html
@@ -0,0 +1,210 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..a3c28ef
--- /dev/null
+++ b/docs/classHazelnuppConstraintMissingValue__coll__graph.map
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
diff --git a/docs/classHazelnuppConstraintMissingValue__coll__graph.md5 b/docs/classHazelnuppConstraintMissingValue__coll__graph.md5
new file mode 100644
index 0000000..a3e58d6
--- /dev/null
+++ b/docs/classHazelnuppConstraintMissingValue__coll__graph.md5
@@ -0,0 +1 @@
+53168f4d3c07fb954273ae81459e9a52
\ No newline at end of file
diff --git a/docs/classHazelnuppConstraintMissingValue__coll__graph.png b/docs/classHazelnuppConstraintMissingValue__coll__graph.png
new file mode 100644
index 0000000..2efec37
Binary files /dev/null and b/docs/classHazelnuppConstraintMissingValue__coll__graph.png differ
diff --git a/docs/classHazelnuppConstraintMissingValue__inherit__graph.map b/docs/classHazelnuppConstraintMissingValue__inherit__graph.map
new file mode 100644
index 0000000..5659d69
--- /dev/null
+++ b/docs/classHazelnuppConstraintMissingValue__inherit__graph.map
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/docs/classHazelnuppConstraintMissingValue__inherit__graph.md5 b/docs/classHazelnuppConstraintMissingValue__inherit__graph.md5
new file mode 100644
index 0000000..f3f9de7
--- /dev/null
+++ b/docs/classHazelnuppConstraintMissingValue__inherit__graph.md5
@@ -0,0 +1 @@
+30c14b46f5309ee00f2ac553ceadf88a
\ No newline at end of file
diff --git a/docs/classHazelnuppConstraintMissingValue__inherit__graph.png b/docs/classHazelnuppConstraintMissingValue__inherit__graph.png
new file mode 100644
index 0000000..e9df92f
Binary files /dev/null and b/docs/classHazelnuppConstraintMissingValue__inherit__graph.png differ
diff --git a/docs/classHazelnuppConstraintTypeMissmatch-members.html b/docs/classHazelnuppConstraintTypeMissmatch-members.html
new file mode 100644
index 0000000..d35c233
--- /dev/null
+++ b/docs/classHazelnuppConstraintTypeMissmatch-members.html
@@ -0,0 +1,96 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..818c3b5
--- /dev/null
+++ b/docs/classHazelnuppConstraintTypeMissmatch.html
@@ -0,0 +1,210 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..0c19bad
--- /dev/null
+++ b/docs/classHazelnuppConstraintTypeMissmatch__coll__graph.map
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
diff --git a/docs/classHazelnuppConstraintTypeMissmatch__coll__graph.md5 b/docs/classHazelnuppConstraintTypeMissmatch__coll__graph.md5
new file mode 100644
index 0000000..afe2d90
--- /dev/null
+++ b/docs/classHazelnuppConstraintTypeMissmatch__coll__graph.md5
@@ -0,0 +1 @@
+16e304d64e326eb561ef8c13d477c677
\ No newline at end of file
diff --git a/docs/classHazelnuppConstraintTypeMissmatch__coll__graph.png b/docs/classHazelnuppConstraintTypeMissmatch__coll__graph.png
new file mode 100644
index 0000000..fb08f14
Binary files /dev/null and b/docs/classHazelnuppConstraintTypeMissmatch__coll__graph.png differ
diff --git a/docs/classHazelnuppConstraintTypeMissmatch__inherit__graph.map b/docs/classHazelnuppConstraintTypeMissmatch__inherit__graph.map
new file mode 100644
index 0000000..3814bac
--- /dev/null
+++ b/docs/classHazelnuppConstraintTypeMissmatch__inherit__graph.map
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/docs/classHazelnuppConstraintTypeMissmatch__inherit__graph.md5 b/docs/classHazelnuppConstraintTypeMissmatch__inherit__graph.md5
new file mode 100644
index 0000000..d76519e
--- /dev/null
+++ b/docs/classHazelnuppConstraintTypeMissmatch__inherit__graph.md5
@@ -0,0 +1 @@
+099f62bbcdccec595c21e9510dc0dae9
\ No newline at end of file
diff --git a/docs/classHazelnuppConstraintTypeMissmatch__inherit__graph.png b/docs/classHazelnuppConstraintTypeMissmatch__inherit__graph.png
new file mode 100644
index 0000000..fe764c6
Binary files /dev/null and b/docs/classHazelnuppConstraintTypeMissmatch__inherit__graph.png differ
diff --git a/docs/classHazelnuppException-members.html b/docs/classHazelnuppException-members.html
new file mode 100644
index 0000000..45714c5
--- /dev/null
+++ b/docs/classHazelnuppException-members.html
@@ -0,0 +1,92 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..fcc987e
--- /dev/null
+++ b/docs/classHazelnuppException.html
@@ -0,0 +1,259 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..0faf445
--- /dev/null
+++ b/docs/classHazelnuppException__coll__graph.map
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/docs/classHazelnuppException__coll__graph.md5 b/docs/classHazelnuppException__coll__graph.md5
new file mode 100644
index 0000000..c1bf83d
--- /dev/null
+++ b/docs/classHazelnuppException__coll__graph.md5
@@ -0,0 +1 @@
+73a1a62dc1264bfb70a21bb9c678179c
\ No newline at end of file
diff --git a/docs/classHazelnuppException__coll__graph.png b/docs/classHazelnuppException__coll__graph.png
new file mode 100644
index 0000000..1493d52
Binary files /dev/null and b/docs/classHazelnuppException__coll__graph.png differ
diff --git a/docs/classHazelnuppException__inherit__graph.map b/docs/classHazelnuppException__inherit__graph.map
new file mode 100644
index 0000000..6246c04
--- /dev/null
+++ b/docs/classHazelnuppException__inherit__graph.map
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
diff --git a/docs/classHazelnuppException__inherit__graph.md5 b/docs/classHazelnuppException__inherit__graph.md5
new file mode 100644
index 0000000..ffa0264
--- /dev/null
+++ b/docs/classHazelnuppException__inherit__graph.md5
@@ -0,0 +1 @@
+2ea7051c44210f9778f71602609d2ced
\ No newline at end of file
diff --git a/docs/classHazelnuppException__inherit__graph.png b/docs/classHazelnuppException__inherit__graph.png
new file mode 100644
index 0000000..93ce952
Binary files /dev/null and b/docs/classHazelnuppException__inherit__graph.png differ
diff --git a/docs/classHazelnuppInvalidKeyException-members.html b/docs/classHazelnuppInvalidKeyException-members.html
new file mode 100644
index 0000000..d96d6a1
--- /dev/null
+++ b/docs/classHazelnuppInvalidKeyException-members.html
@@ -0,0 +1,94 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..6b63a3d
--- /dev/null
+++ b/docs/classHazelnuppInvalidKeyException.html
@@ -0,0 +1,203 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..b678d19
--- /dev/null
+++ b/docs/classHazelnuppInvalidKeyException__coll__graph.map
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/docs/classHazelnuppInvalidKeyException__coll__graph.md5 b/docs/classHazelnuppInvalidKeyException__coll__graph.md5
new file mode 100644
index 0000000..6ea7594
--- /dev/null
+++ b/docs/classHazelnuppInvalidKeyException__coll__graph.md5
@@ -0,0 +1 @@
+9824cce6102c022eca7ea3340a6e069a
\ No newline at end of file
diff --git a/docs/classHazelnuppInvalidKeyException__coll__graph.png b/docs/classHazelnuppInvalidKeyException__coll__graph.png
new file mode 100644
index 0000000..6f49ccd
Binary files /dev/null and b/docs/classHazelnuppInvalidKeyException__coll__graph.png differ
diff --git a/docs/classHazelnuppInvalidKeyException__inherit__graph.map b/docs/classHazelnuppInvalidKeyException__inherit__graph.map
new file mode 100644
index 0000000..d2fb1c2
--- /dev/null
+++ b/docs/classHazelnuppInvalidKeyException__inherit__graph.map
@@ -0,0 +1,5 @@
+
+
+
+
+
diff --git a/docs/classHazelnuppInvalidKeyException__inherit__graph.md5 b/docs/classHazelnuppInvalidKeyException__inherit__graph.md5
new file mode 100644
index 0000000..cd0380e
--- /dev/null
+++ b/docs/classHazelnuppInvalidKeyException__inherit__graph.md5
@@ -0,0 +1 @@
+3cbba2db8b9e26494124e6786b5e2b42
\ No newline at end of file
diff --git a/docs/classHazelnuppInvalidKeyException__inherit__graph.png b/docs/classHazelnuppInvalidKeyException__inherit__graph.png
new file mode 100644
index 0000000..b95d9af
Binary files /dev/null and b/docs/classHazelnuppInvalidKeyException__inherit__graph.png differ
diff --git a/docs/classHazelnuppValueNotConvertibleException-members.html b/docs/classHazelnuppValueNotConvertibleException-members.html
new file mode 100644
index 0000000..346dbc4
--- /dev/null
+++ b/docs/classHazelnuppValueNotConvertibleException-members.html
@@ -0,0 +1,94 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..7857c7a
--- /dev/null
+++ b/docs/classHazelnuppValueNotConvertibleException.html
@@ -0,0 +1,203 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..549a305
--- /dev/null
+++ b/docs/classHazelnuppValueNotConvertibleException__coll__graph.map
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/docs/classHazelnuppValueNotConvertibleException__coll__graph.md5 b/docs/classHazelnuppValueNotConvertibleException__coll__graph.md5
new file mode 100644
index 0000000..19e2e3f
--- /dev/null
+++ b/docs/classHazelnuppValueNotConvertibleException__coll__graph.md5
@@ -0,0 +1 @@
+9d32983d0d841eed4a6fd0df8a5f7cc4
\ No newline at end of file
diff --git a/docs/classHazelnuppValueNotConvertibleException__coll__graph.png b/docs/classHazelnuppValueNotConvertibleException__coll__graph.png
new file mode 100644
index 0000000..e198a8c
Binary files /dev/null and b/docs/classHazelnuppValueNotConvertibleException__coll__graph.png differ
diff --git a/docs/classHazelnuppValueNotConvertibleException__inherit__graph.map b/docs/classHazelnuppValueNotConvertibleException__inherit__graph.map
new file mode 100644
index 0000000..c262591
--- /dev/null
+++ b/docs/classHazelnuppValueNotConvertibleException__inherit__graph.map
@@ -0,0 +1,5 @@
+
+
+
+
+
diff --git a/docs/classHazelnuppValueNotConvertibleException__inherit__graph.md5 b/docs/classHazelnuppValueNotConvertibleException__inherit__graph.md5
new file mode 100644
index 0000000..438de84
--- /dev/null
+++ b/docs/classHazelnuppValueNotConvertibleException__inherit__graph.md5
@@ -0,0 +1 @@
+8ca6ce8b99f1fee2372c0029f0781e92
\ No newline at end of file
diff --git a/docs/classHazelnuppValueNotConvertibleException__inherit__graph.png b/docs/classHazelnuppValueNotConvertibleException__inherit__graph.png
new file mode 100644
index 0000000..f33f98f
Binary files /dev/null and b/docs/classHazelnuppValueNotConvertibleException__inherit__graph.png differ
diff --git a/docs/classIntValue-members.html b/docs/classIntValue-members.html
new file mode 100644
index 0000000..fa2b2c4
--- /dev/null
+++ b/docs/classIntValue-members.html
@@ -0,0 +1,105 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..30a0b97
--- /dev/null
+++ b/docs/classIntValue.html
@@ -0,0 +1,578 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..7dc6700
--- /dev/null
+++ b/docs/classIntValue__coll__graph.map
@@ -0,0 +1,4 @@
+
+
+
+
diff --git a/docs/classIntValue__coll__graph.md5 b/docs/classIntValue__coll__graph.md5
new file mode 100644
index 0000000..4283d04
--- /dev/null
+++ b/docs/classIntValue__coll__graph.md5
@@ -0,0 +1 @@
+fe282cdc62e45fcd3bd1eea2f9ef3879
\ No newline at end of file
diff --git a/docs/classIntValue__coll__graph.png b/docs/classIntValue__coll__graph.png
new file mode 100644
index 0000000..3133f8d
Binary files /dev/null and b/docs/classIntValue__coll__graph.png differ
diff --git a/docs/classIntValue__inherit__graph.map b/docs/classIntValue__inherit__graph.map
new file mode 100644
index 0000000..7dc6700
--- /dev/null
+++ b/docs/classIntValue__inherit__graph.map
@@ -0,0 +1,4 @@
+
+
+
+
diff --git a/docs/classIntValue__inherit__graph.md5 b/docs/classIntValue__inherit__graph.md5
new file mode 100644
index 0000000..4283d04
--- /dev/null
+++ b/docs/classIntValue__inherit__graph.md5
@@ -0,0 +1 @@
+fe282cdc62e45fcd3bd1eea2f9ef3879
\ No newline at end of file
diff --git a/docs/classIntValue__inherit__graph.png b/docs/classIntValue__inherit__graph.png
new file mode 100644
index 0000000..3133f8d
Binary files /dev/null and b/docs/classIntValue__inherit__graph.png differ
diff --git a/docs/classListValue-members.html b/docs/classListValue-members.html
new file mode 100644
index 0000000..d92098e
--- /dev/null
+++ b/docs/classListValue-members.html
@@ -0,0 +1,105 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..a935940
--- /dev/null
+++ b/docs/classListValue.html
@@ -0,0 +1,605 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..1053ad5
--- /dev/null
+++ b/docs/classListValue__coll__graph.map
@@ -0,0 +1,4 @@
+
+
+
+
diff --git a/docs/classListValue__coll__graph.md5 b/docs/classListValue__coll__graph.md5
new file mode 100644
index 0000000..e3af863
--- /dev/null
+++ b/docs/classListValue__coll__graph.md5
@@ -0,0 +1 @@
+7d4215aa276a9b6216eeee2d4500b5d1
\ No newline at end of file
diff --git a/docs/classListValue__coll__graph.png b/docs/classListValue__coll__graph.png
new file mode 100644
index 0000000..cc8b727
Binary files /dev/null and b/docs/classListValue__coll__graph.png differ
diff --git a/docs/classListValue__inherit__graph.map b/docs/classListValue__inherit__graph.map
new file mode 100644
index 0000000..1053ad5
--- /dev/null
+++ b/docs/classListValue__inherit__graph.map
@@ -0,0 +1,4 @@
+
+
+
+
diff --git a/docs/classListValue__inherit__graph.md5 b/docs/classListValue__inherit__graph.md5
new file mode 100644
index 0000000..e3af863
--- /dev/null
+++ b/docs/classListValue__inherit__graph.md5
@@ -0,0 +1 @@
+7d4215aa276a9b6216eeee2d4500b5d1
\ No newline at end of file
diff --git a/docs/classListValue__inherit__graph.png b/docs/classListValue__inherit__graph.png
new file mode 100644
index 0000000..cc8b727
Binary files /dev/null and b/docs/classListValue__inherit__graph.png differ
diff --git a/docs/classParameter-members.html b/docs/classParameter-members.html
new file mode 100644
index 0000000..9f9b58b
--- /dev/null
+++ b/docs/classParameter-members.html
@@ -0,0 +1,93 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..8782b5e
--- /dev/null
+++ b/docs/classParameter.html
@@ -0,0 +1,279 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..5d5bb3a
--- /dev/null
+++ b/docs/classStringTools-members.html
@@ -0,0 +1,96 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..7b961af
--- /dev/null
+++ b/docs/classStringTools.html
@@ -0,0 +1,630 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..2f06bd7
--- /dev/null
+++ b/docs/classStringValue-members.html
@@ -0,0 +1,104 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..57ae1ac
--- /dev/null
+++ b/docs/classStringValue.html
@@ -0,0 +1,551 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..d2b7fd3
--- /dev/null
+++ b/docs/classStringValue__coll__graph.map
@@ -0,0 +1,4 @@
+
+
+
+
diff --git a/docs/classStringValue__coll__graph.md5 b/docs/classStringValue__coll__graph.md5
new file mode 100644
index 0000000..8d0e42c
--- /dev/null
+++ b/docs/classStringValue__coll__graph.md5
@@ -0,0 +1 @@
+22c37eb3e53210c1533895d69c2ccfe0
\ No newline at end of file
diff --git a/docs/classStringValue__coll__graph.png b/docs/classStringValue__coll__graph.png
new file mode 100644
index 0000000..dda135c
Binary files /dev/null and b/docs/classStringValue__coll__graph.png differ
diff --git a/docs/classStringValue__inherit__graph.map b/docs/classStringValue__inherit__graph.map
new file mode 100644
index 0000000..d2b7fd3
--- /dev/null
+++ b/docs/classStringValue__inherit__graph.map
@@ -0,0 +1,4 @@
+
+
+
+
diff --git a/docs/classStringValue__inherit__graph.md5 b/docs/classStringValue__inherit__graph.md5
new file mode 100644
index 0000000..8d0e42c
--- /dev/null
+++ b/docs/classStringValue__inherit__graph.md5
@@ -0,0 +1 @@
+22c37eb3e53210c1533895d69c2ccfe0
\ No newline at end of file
diff --git a/docs/classStringValue__inherit__graph.png b/docs/classStringValue__inherit__graph.png
new file mode 100644
index 0000000..dda135c
Binary files /dev/null and b/docs/classStringValue__inherit__graph.png differ
diff --git a/docs/classValue-members.html b/docs/classValue-members.html
new file mode 100644
index 0000000..0a363f8
--- /dev/null
+++ b/docs/classValue-members.html
@@ -0,0 +1,101 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..3e7e312
--- /dev/null
+++ b/docs/classValue.html
@@ -0,0 +1,553 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..21e25b5
--- /dev/null
+++ b/docs/classValue__inherit__graph.map
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
diff --git a/docs/classValue__inherit__graph.md5 b/docs/classValue__inherit__graph.md5
new file mode 100644
index 0000000..003a4ef
--- /dev/null
+++ b/docs/classValue__inherit__graph.md5
@@ -0,0 +1 @@
+77b1f35d4bc0222204841b7253e3c0c7
\ No newline at end of file
diff --git a/docs/classValue__inherit__graph.png b/docs/classValue__inherit__graph.png
new file mode 100644
index 0000000..110109e
Binary files /dev/null and b/docs/classValue__inherit__graph.png differ
diff --git a/docs/classVoidValue-members.html b/docs/classVoidValue-members.html
new file mode 100644
index 0000000..b30b9b0
--- /dev/null
+++ b/docs/classVoidValue-members.html
@@ -0,0 +1,102 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..0ae229b
--- /dev/null
+++ b/docs/classVoidValue.html
@@ -0,0 +1,497 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..f9c9a0e
--- /dev/null
+++ b/docs/classVoidValue__coll__graph.map
@@ -0,0 +1,4 @@
+
+
+
+
diff --git a/docs/classVoidValue__coll__graph.md5 b/docs/classVoidValue__coll__graph.md5
new file mode 100644
index 0000000..8bca56a
--- /dev/null
+++ b/docs/classVoidValue__coll__graph.md5
@@ -0,0 +1 @@
+49110319ff8617406aa3f422d40aa923
\ No newline at end of file
diff --git a/docs/classVoidValue__coll__graph.png b/docs/classVoidValue__coll__graph.png
new file mode 100644
index 0000000..abb7ae4
Binary files /dev/null and b/docs/classVoidValue__coll__graph.png differ
diff --git a/docs/classVoidValue__inherit__graph.map b/docs/classVoidValue__inherit__graph.map
new file mode 100644
index 0000000..f9c9a0e
--- /dev/null
+++ b/docs/classVoidValue__inherit__graph.map
@@ -0,0 +1,4 @@
+
+
+
+
diff --git a/docs/classVoidValue__inherit__graph.md5 b/docs/classVoidValue__inherit__graph.md5
new file mode 100644
index 0000000..8bca56a
--- /dev/null
+++ b/docs/classVoidValue__inherit__graph.md5
@@ -0,0 +1 @@
+49110319ff8617406aa3f422d40aa923
\ No newline at end of file
diff --git a/docs/classVoidValue__inherit__graph.png b/docs/classVoidValue__inherit__graph.png
new file mode 100644
index 0000000..abb7ae4
Binary files /dev/null and b/docs/classVoidValue__inherit__graph.png differ
diff --git a/docs/classes.html b/docs/classes.html
new file mode 100644
index 0000000..4b8568e
--- /dev/null
+++ b/docs/classes.html
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+
+Leonetienne/Hazelnupp: Class Index
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Leonetienne/Hazelnupp
+
+ Simple, easy to use, command line parameter interface
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/closed.png b/docs/closed.png
new file mode 100644
index 0000000..3ff4431
Binary files /dev/null and b/docs/closed.png differ
diff --git a/docs/dir_000003_000000.html b/docs/dir_000003_000000.html
new file mode 100644
index 0000000..1ffa3dc
--- /dev/null
+++ b/docs/dir_000003_000000.html
@@ -0,0 +1,85 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..55dd772
--- /dev/null
+++ b/docs/dir_0202e1e26df2e040f4dc3d434eecf04c.html
@@ -0,0 +1,144 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..2ad44d1
--- /dev/null
+++ b/docs/dir_0c3d7a8ae27c1a80e1a2e78f7c177a7d.html
@@ -0,0 +1,89 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..93ce022
--- /dev/null
+++ b/docs/dir_0cc5f59b28c403d42cc56800132eb975.html
@@ -0,0 +1,89 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..4513d6e
--- /dev/null
+++ b/docs/dir_1148ebc2b25b55095aebf6f4cbb6efca.html
@@ -0,0 +1,89 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..2e6c637
--- /dev/null
+++ b/docs/dir_5c0eadceca12ef8285078e2e738769ee.html
@@ -0,0 +1,89 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..9f333a8
--- /dev/null
+++ b/docs/dir_a4e10305c1b03e566e1d27ef3ea61492.html
@@ -0,0 +1,122 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..43702a4
--- /dev/null
+++ b/docs/dir_a4e10305c1b03e566e1d27ef3ea61492_dep.map
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/docs/dir_a4e10305c1b03e566e1d27ef3ea61492_dep.md5 b/docs/dir_a4e10305c1b03e566e1d27ef3ea61492_dep.md5
new file mode 100644
index 0000000..93c45c0
--- /dev/null
+++ b/docs/dir_a4e10305c1b03e566e1d27ef3ea61492_dep.md5
@@ -0,0 +1 @@
+39d561844e34e2a7e7b390ed90e30357
\ No newline at end of file
diff --git a/docs/dir_a4e10305c1b03e566e1d27ef3ea61492_dep.png b/docs/dir_a4e10305c1b03e566e1d27ef3ea61492_dep.png
new file mode 100644
index 0000000..670d84c
Binary files /dev/null and b/docs/dir_a4e10305c1b03e566e1d27ef3ea61492_dep.png differ
diff --git a/docs/dir_a8cffda729361e9d9637effa362fcea9.html b/docs/dir_a8cffda729361e9d9637effa362fcea9.html
new file mode 100644
index 0000000..724bb46
--- /dev/null
+++ b/docs/dir_a8cffda729361e9d9637effa362fcea9.html
@@ -0,0 +1,89 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..260aaf7
Binary files /dev/null and b/docs/doc.png differ
diff --git a/docs/doxygen.css b/docs/doxygen.css
new file mode 100644
index 0000000..2ba8ca9
--- /dev/null
+++ b/docs/doxygen.css
@@ -0,0 +1,1771 @@
+/* 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
new file mode 100644
index 0000000..bc0e10e
Binary files /dev/null and b/docs/doxygen.png differ
diff --git a/docs/dynsections.js b/docs/dynsections.js
new file mode 100644
index 0000000..c8e84aa
--- /dev/null
+++ b/docs/dynsections.js
@@ -0,0 +1,127 @@
+/*
+ @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
new file mode 100644
index 0000000..72913ae
Binary files /dev/null and b/docs/folderclosed.png differ
diff --git a/docs/folderopen.png b/docs/folderopen.png
new file mode 100644
index 0000000..b85d251
Binary files /dev/null and b/docs/folderopen.png differ
diff --git a/docs/functions.html b/docs/functions.html
new file mode 100644
index 0000000..f197558
--- /dev/null
+++ b/docs/functions.html
@@ -0,0 +1,408 @@
+
+
+
+
+
+
+
+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 -
+GetAbbreviation()
+: Hazelnupp
+
+GetAsOsString()
+: FloatValue
+, IntValue
+, ListValue
+, StringValue
+, Value
+, VoidValue
+
+GetCrashOnFail()
+: Hazelnupp
+
+GetDataType()
+: Value
+
+GetExecutableName()
+: Hazelnupp
+
+GetFloat32()
+: FloatValue
+, IntValue
+, ListValue
+, StringValue
+, Value
+, VoidValue
+
+GetFloat64()
+: FloatValue
+, IntValue
+, ListValue
+, StringValue
+, Value
+, VoidValue
+
+GetInt32()
+: FloatValue
+, IntValue
+, ListValue
+, StringValue
+, Value
+, VoidValue
+
+GetInt64()
+: FloatValue
+, IntValue
+, ListValue
+, StringValue
+, Value
+, VoidValue
+
+GetList()
+: FloatValue
+, IntValue
+, ListValue
+, StringValue
+, Value
+, VoidValue
+
+GetString()
+: FloatValue
+, IntValue
+, ListValue
+, StringValue
+, Value
+, VoidValue
+
+GetValue()
+: FloatValue
+, IntValue
+, ListValue
+, Parameter
+, 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
new file mode 100644
index 0000000..323c228
--- /dev/null
+++ b/docs/functions_func.html
@@ -0,0 +1,379 @@
+
+
+
+
+
+
+
+Leonetienne/Hazelnupp: Class Members - Functions
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Leonetienne/Hazelnupp
+
+ Simple, easy to use, command line parameter interface
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
- a -
+
+
+
- c -
+
+
+
- d -
+
+
+
- f -
+
+
+
- g -
+GetAbbreviation()
+: Hazelnupp
+
+GetAsOsString()
+: FloatValue
+, IntValue
+, ListValue
+, StringValue
+, Value
+, VoidValue
+
+GetCrashOnFail()
+: Hazelnupp
+
+GetDataType()
+: Value
+
+GetExecutableName()
+: Hazelnupp
+
+GetFloat32()
+: FloatValue
+, IntValue
+, ListValue
+, StringValue
+, Value
+, VoidValue
+
+GetFloat64()
+: FloatValue
+, IntValue
+, ListValue
+, StringValue
+, Value
+, VoidValue
+
+GetInt32()
+: FloatValue
+, IntValue
+, ListValue
+, StringValue
+, Value
+, VoidValue
+
+GetInt64()
+: FloatValue
+, IntValue
+, ListValue
+, StringValue
+, Value
+, VoidValue
+
+GetList()
+: FloatValue
+, IntValue
+, ListValue
+, StringValue
+, Value
+, VoidValue
+
+GetString()
+: FloatValue
+, IntValue
+, ListValue
+, StringValue
+, Value
+, VoidValue
+
+GetValue()
+: FloatValue
+, IntValue
+, ListValue
+, Parameter
+, StringValue
+
+
+
+
+
- h -
+
+
+
- i -
+
+
+
- k -
+
+
+
- l -
+
+
+
- o -
+
+
+
- p -
+
+
+
- r -
+
+
+
- s -
+
+
+
- t -
+
+
+
- v -
+
+
+
- w -
+
+
+
- ~ -
+
+
+
+
+
diff --git a/docs/functions_rela.html b/docs/functions_rela.html
new file mode 100644
index 0000000..c19da44
--- /dev/null
+++ b/docs/functions_rela.html
@@ -0,0 +1,87 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..5b5a23a
--- /dev/null
+++ b/docs/functions_vars.html
@@ -0,0 +1,104 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..c2d87eb
--- /dev/null
+++ b/docs/globals.html
@@ -0,0 +1,89 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..868b6b3
--- /dev/null
+++ b/docs/globals_defs.html
@@ -0,0 +1,86 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..28b08db
--- /dev/null
+++ b/docs/globals_enum.html
@@ -0,0 +1,86 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..aaf8e66
--- /dev/null
+++ b/docs/globals_func.html
@@ -0,0 +1,86 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..d524f11
--- /dev/null
+++ b/docs/globals_type.html
@@ -0,0 +1,86 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..5f5d4e7
--- /dev/null
+++ b/docs/graph_legend.html
@@ -0,0 +1,145 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..8fcdccd
--- /dev/null
+++ b/docs/graph_legend.md5
@@ -0,0 +1 @@
+f51bf6e9a10430aafef59831b08dcbfe
\ No newline at end of file
diff --git a/docs/graph_legend.png b/docs/graph_legend.png
new file mode 100644
index 0000000..7e2cbcf
Binary files /dev/null and b/docs/graph_legend.png differ
diff --git a/docs/helper_8h.html b/docs/helper_8h.html
new file mode 100644
index 0000000..c9c2151
--- /dev/null
+++ b/docs/helper_8h.html
@@ -0,0 +1,165 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..89aaa7e
--- /dev/null
+++ b/docs/helper_8h__dep__incl.map
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/docs/helper_8h__dep__incl.md5 b/docs/helper_8h__dep__incl.md5
new file mode 100644
index 0000000..426dd98
--- /dev/null
+++ b/docs/helper_8h__dep__incl.md5
@@ -0,0 +1 @@
+1227db7e106ab3999edfad0e739912b2
\ No newline at end of file
diff --git a/docs/helper_8h__dep__incl.png b/docs/helper_8h__dep__incl.png
new file mode 100644
index 0000000..856b621
Binary files /dev/null and b/docs/helper_8h__dep__incl.png differ
diff --git a/docs/helper_8h__incl.map b/docs/helper_8h__incl.map
new file mode 100644
index 0000000..22e622e
--- /dev/null
+++ b/docs/helper_8h__incl.map
@@ -0,0 +1,4 @@
+
+
+
+
diff --git a/docs/helper_8h__incl.md5 b/docs/helper_8h__incl.md5
new file mode 100644
index 0000000..e553760
--- /dev/null
+++ b/docs/helper_8h__incl.md5
@@ -0,0 +1 @@
+259281a56cf33665dc686d86fe837a4d
\ No newline at end of file
diff --git a/docs/helper_8h__incl.png b/docs/helper_8h__incl.png
new file mode 100644
index 0000000..d2165c2
Binary files /dev/null and b/docs/helper_8h__incl.png differ
diff --git a/docs/helper_8h_source.html b/docs/helper_8h_source.html
new file mode 100644
index 0000000..3ca0786
--- /dev/null
+++ b/docs/helper_8h_source.html
@@ -0,0 +1,96 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..99dbae8
--- /dev/null
+++ b/docs/hierarchy.html
@@ -0,0 +1,108 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..67fdd8a
--- /dev/null
+++ b/docs/index.html
@@ -0,0 +1,324 @@
+
+
+
+
+
+
+
+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:
+Importing into a project
+
+How do i actually import this into my existing project?
+
+
I am working on a proper way to make this a fast-and-easy include.
+ I am probably going to make it a single-header–single-cpp file solution. A namespace will obviously also be used.
+
+
If you want to use it NOW, the best idea would probably be to either compile a lib from source or set the entire Visual Studio project as a dependency, if you are using VS.
+
+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)
+
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:
+
+
int main (
int argc,
char ** argv)
+
{
+
+
+
+
+
else
+
+
+
return 0;
+
}
+
Looks super easy! But what about actual values?
+
+
int main (
int argc,
char ** argv)
+
{
+
+
+
+
try
+
{
+
int myInt = args["--my-int" ].GetInt32();
+
double myInt = args["--my-float" ].GetFloat32();
+
std::string myStr = args["--my-string" ].GetString();
+
}
+
+
{
+
return -1;
+
}
+
+
return 0;
+
}
+
What about lists?
+
+
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 :
+
+
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 the data looks like! Constraints serve two 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, an exception will be thrown.
+
+
Minimal working example:
+
+
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, an exception will be thrown.
+
These conversions are:
+int -> [float, string, list, void]
+float ->[int, string, list, void]
+string -> [list, void]
+list -> [void]
+void -> [list]
+
+
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.
+
Minimal working example:
+
+
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.
+
+
Note that you can also combine these two constraint-types by populating the struct yourself:
What doesn't work is inserting multiple constraints for one key. It will just discard the oldest one. But that's okay because one can describe all possible constraints for a single key in one struct.
+
+More examples?
+
Check out the unit tests! They may help you out!
+ Also make sure to check out the doxygen docs !
+
+Further notes
+
This is still in alpha! There is no guarantee at all that this actually works.
+ Whilst i did my best do make sure it does, i bet there are still a few flaws i did overlook.
+ 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 do it, but i'm not sure when.
+ Feel free to submit a PR if you fixed something :)
+
+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
+
+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.
+
+
+void RegisterAbbreviation(const std::string &abbrev, const std::string &target)
Will register an abbreviation (like -f for –force)
+bool required
If set to true, and no default value set, an error will be produced if this parameter is not supplied...
+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.
+int main(int argc, char **argv)
+std::vector< std::string > defaultValue
The default value for this parameter.
+
+static ParamConstraint Require(const std::string &key, const std::vector< std::string > &defaultValue={}, bool required=true)
Constructs a require constraint.
+std::string key
The key of the parameter to constrain.
+
+Gets thrown when an non-existent key gets dereferenced.
+void SetCrashOnFail(bool crashOnFail)
Sets whether to crash the application, and print to stderr, when an exception is raised whilst parsin...
+bool HasParam(const std::string &key) const
Will check wether a parameter exists given a key, or not.
+bool constrainType
Should this parameter be forced to be of a certain type? Remember to set constrainTo to the wanted ...
+
+DATA_TYPE wantedType
Constrain the parameter to this value. Requires constrainType to be set to true.
+The main class to interface with.
+
+void Parse(const int argc, const char *const *argv)
Will parse command line arguments.
+
+
+
+
diff --git a/docs/index_8md.html b/docs/index_8md.html
new file mode 100644
index 0000000..be5e7cb
--- /dev/null
+++ b/docs/index_8md.html
@@ -0,0 +1,85 @@
+
+
+
+
+
+
+
+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
new file mode 100644
index 0000000..9741c9e
--- /dev/null
+++ b/docs/inherit_graph_0.map
@@ -0,0 +1,3 @@
+
+
+
diff --git a/docs/inherit_graph_0.md5 b/docs/inherit_graph_0.md5
new file mode 100644
index 0000000..232c3e6
--- /dev/null
+++ b/docs/inherit_graph_0.md5
@@ -0,0 +1 @@
+05f5fbf778280a49be054f37088fe987
\ No newline at end of file
diff --git a/docs/inherit_graph_0.png b/docs/inherit_graph_0.png
new file mode 100644
index 0000000..8b3ae89
Binary files /dev/null and b/docs/inherit_graph_0.png differ
diff --git a/docs/inherit_graph_1.map b/docs/inherit_graph_1.map
new file mode 100644
index 0000000..bbbbf01
--- /dev/null
+++ b/docs/inherit_graph_1.map
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
diff --git a/docs/inherit_graph_1.md5 b/docs/inherit_graph_1.md5
new file mode 100644
index 0000000..9fcad0b
--- /dev/null
+++ b/docs/inherit_graph_1.md5
@@ -0,0 +1 @@
+11f045deeaf9a601d5ad34a79967a0f9
\ No newline at end of file
diff --git a/docs/inherit_graph_1.png b/docs/inherit_graph_1.png
new file mode 100644
index 0000000..827eff2
Binary files /dev/null and b/docs/inherit_graph_1.png differ
diff --git a/docs/inherit_graph_2.map b/docs/inherit_graph_2.map
new file mode 100644
index 0000000..67e54a1
--- /dev/null
+++ b/docs/inherit_graph_2.map
@@ -0,0 +1,3 @@
+
+
+
diff --git a/docs/inherit_graph_2.md5 b/docs/inherit_graph_2.md5
new file mode 100644
index 0000000..3373ae5
--- /dev/null
+++ b/docs/inherit_graph_2.md5
@@ -0,0 +1 @@
+192546f8044e385dcb4e1aca18ebe513
\ No newline at end of file
diff --git a/docs/inherit_graph_2.png b/docs/inherit_graph_2.png
new file mode 100644
index 0000000..7cac96f
Binary files /dev/null and b/docs/inherit_graph_2.png differ
diff --git a/docs/inherit_graph_3.map b/docs/inherit_graph_3.map
new file mode 100644
index 0000000..b155a08
--- /dev/null
+++ b/docs/inherit_graph_3.map
@@ -0,0 +1,3 @@
+
+
+
diff --git a/docs/inherit_graph_3.md5 b/docs/inherit_graph_3.md5
new file mode 100644
index 0000000..308f1f7
--- /dev/null
+++ b/docs/inherit_graph_3.md5
@@ -0,0 +1 @@
+6481c4409a2d34d7347ae0ab04e39488
\ No newline at end of file
diff --git a/docs/inherit_graph_3.png b/docs/inherit_graph_3.png
new file mode 100644
index 0000000..15e18f4
Binary files /dev/null and b/docs/inherit_graph_3.png differ
diff --git a/docs/inherit_graph_4.map b/docs/inherit_graph_4.map
new file mode 100644
index 0000000..1a5cc03
--- /dev/null
+++ b/docs/inherit_graph_4.map
@@ -0,0 +1,3 @@
+
+
+
diff --git a/docs/inherit_graph_4.md5 b/docs/inherit_graph_4.md5
new file mode 100644
index 0000000..86dc5ad
--- /dev/null
+++ b/docs/inherit_graph_4.md5
@@ -0,0 +1 @@
+c74d2ba194164b7d25404563e65b9801
\ No newline at end of file
diff --git a/docs/inherit_graph_4.png b/docs/inherit_graph_4.png
new file mode 100644
index 0000000..8b0046f
Binary files /dev/null and b/docs/inherit_graph_4.png differ
diff --git a/docs/inherit_graph_5.map b/docs/inherit_graph_5.map
new file mode 100644
index 0000000..262f085
--- /dev/null
+++ b/docs/inherit_graph_5.map
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
diff --git a/docs/inherit_graph_5.md5 b/docs/inherit_graph_5.md5
new file mode 100644
index 0000000..8306c47
--- /dev/null
+++ b/docs/inherit_graph_5.md5
@@ -0,0 +1 @@
+62f776d5de34d54281012fb34d2f62cc
\ No newline at end of file
diff --git a/docs/inherit_graph_5.png b/docs/inherit_graph_5.png
new file mode 100644
index 0000000..a1ae793
Binary files /dev/null and b/docs/inherit_graph_5.png differ
diff --git a/docs/inherits.html b/docs/inherits.html
new file mode 100644
index 0000000..cb18cf9
--- /dev/null
+++ b/docs/inherits.html
@@ -0,0 +1,130 @@
+
+
+
+
+
+
+
+Leonetienne/Hazelnupp: Class Hierarchy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Leonetienne/Hazelnupp
+
+ Simple, easy to use, command line parameter interface
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/jquery.js b/docs/jquery.js
new file mode 100644
index 0000000..103c32d
--- /dev/null
+++ b/docs/jquery.js
@@ -0,0 +1,35 @@
+/*! 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 5 of file main.cpp .
+
+
+
+
+
10 std::vector<const char*> testArgv = {
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
26 argc = testArgv.size();
+
27 argv =
const_cast< char **
> (testArgv.data());
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
46 args.
Parse (argc, argv);
+
+
+
+
+
51 std::cout << args[
"--alfredo" ].GetInt32() << std::endl;
+
+
+
+
55 std::cout <<
"No --alfredo!" << std::endl;
+
+
+
+
+
+
+
+
+
+void RegisterAbbreviation(const std::string &abbrev, const std::string &target)
Will register an abbreviation (like -f for –force)
+bool required
If set to true, and no default value set, an error will be produced if this parameter is not supplied...
+void RegisterConstraints(const std::vector< ParamConstraint > &constraints)
Will register parameter constraints.
+
+std::vector< std::string > defaultValue
The default value for this parameter.
+std::string key
The key of the parameter to constrain.
+bool HasParam(const std::string &key) const
Will check wether a parameter exists given a key, or not.
+bool constrainType
Should this parameter be forced to be of a certain type? Remember to set constrainTo to the wanted ...
+DATA_TYPE wantedType
Constrain the parameter to this value. Requires constrainType to be set to true.
+The main class to interface with.
+
+void Parse(const int argc, const char *const *argv)
Will parse command line arguments.
+
+
+
+