diff --git a/docs/DataType_8h.html b/docs/DataType_8h.html index 3ee0795..50e8603 100644 --- a/docs/DataType_8h.html +++ b/docs/DataType_8h.html @@ -148,7 +148,7 @@ Functions diff --git a/docs/DataType_8h_source.html b/docs/DataType_8h_source.html index e1dde81..23f683e 100644 --- a/docs/DataType_8h_source.html +++ b/docs/DataType_8h_source.html @@ -128,7 +128,7 @@ $(function() {
Hazelnp::DataTypeToString
static std::string DataTypeToString(DATA_TYPE type)
Definition: DataType.h:17
diff --git a/docs/Debug_2Hazelnupp_8vcxproj_8FileListAbsolute_8txt.html b/docs/Debug_2Hazelnupp_8vcxproj_8FileListAbsolute_8txt.html index 2d73da6..b9698de 100644 --- a/docs/Debug_2Hazelnupp_8vcxproj_8FileListAbsolute_8txt.html +++ b/docs/Debug_2Hazelnupp_8vcxproj_8FileListAbsolute_8txt.html @@ -77,7 +77,7 @@ $(function() { diff --git a/docs/FloatValue_8cpp.html b/docs/FloatValue_8cpp.html index 23ebd96..62aa079 100644 --- a/docs/FloatValue_8cpp.html +++ b/docs/FloatValue_8cpp.html @@ -103,7 +103,7 @@ Include dependency graph for FloatValue.cpp: diff --git a/docs/FloatValue_8cpp_source.html b/docs/FloatValue_8cpp_source.html index cd7d7a6..bdcd0f4 100644 --- a/docs/FloatValue_8cpp_source.html +++ b/docs/FloatValue_8cpp_source.html @@ -173,7 +173,7 @@ $(function() {
Hazelnp::FloatValue::GetInt32
int GetInt32() const override
Will return the data as an int.
Definition: FloatValue.cpp:49
diff --git a/docs/FloatValue_8h.html b/docs/FloatValue_8h.html index 156cbe1..0fcd7df 100644 --- a/docs/FloatValue_8h.html +++ b/docs/FloatValue_8h.html @@ -123,7 +123,7 @@ Namespaces diff --git a/docs/FloatValue_8h_source.html b/docs/FloatValue_8h_source.html index 0dcbf03..064c70d 100644 --- a/docs/FloatValue_8h_source.html +++ b/docs/FloatValue_8h_source.html @@ -142,7 +142,7 @@ $(function() {
Hazelnp::FloatValue::GetInt32
int GetInt32() const override
Will return the data as an int.
Definition: FloatValue.cpp:49
diff --git a/docs/HazelnuppException_8h.html b/docs/HazelnuppException_8h.html index 4d139b9..7eccce3 100644 --- a/docs/HazelnuppException_8h.html +++ b/docs/HazelnuppException_8h.html @@ -137,7 +137,7 @@ Namespaces diff --git a/docs/HazelnuppException_8h_source.html b/docs/HazelnuppException_8h_source.html index 45a7433..04cfe17 100644 --- a/docs/HazelnuppException_8h_source.html +++ b/docs/HazelnuppException_8h_source.html @@ -170,7 +170,7 @@ $(function() {
Hazelnp::HazelnuppInvalidKeyException::HazelnuppInvalidKeyException
HazelnuppInvalidKeyException()
Definition: HazelnuppException.h:29
diff --git a/docs/Hazelnupp_8cpp.html b/docs/Hazelnupp_8cpp.html index 366914f..d5c9e71 100644 --- a/docs/Hazelnupp_8cpp.html +++ b/docs/Hazelnupp_8cpp.html @@ -85,6 +85,7 @@ $(function() { #include "StringValue.h"
#include "ListValue.h"
#include "HazelnuppException.h"
+#include "Placeholders.h"
#include "StringTools.h"
#include <iostream>
#include <cstdlib>
@@ -93,28 +94,29 @@ Include dependency graph for Hazelnupp.cpp:
- - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + +
@@ -122,7 +124,7 @@ Include dependency graph for Hazelnupp.cpp: diff --git a/docs/Hazelnupp_8cpp__incl.map b/docs/Hazelnupp_8cpp__incl.map index 9aca4e3..a20df59 100644 --- a/docs/Hazelnupp_8cpp__incl.map +++ b/docs/Hazelnupp_8cpp__incl.map @@ -1,24 +1,25 @@ - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/Hazelnupp_8cpp__incl.md5 b/docs/Hazelnupp_8cpp__incl.md5 index 4fe7749..69ae8ae 100644 --- a/docs/Hazelnupp_8cpp__incl.md5 +++ b/docs/Hazelnupp_8cpp__incl.md5 @@ -1 +1 @@ -c20f31e793f546287eb4f919b1cf5f58 \ No newline at end of file +2a942c4e9db5d3068ee66edfb624813a \ No newline at end of file diff --git a/docs/Hazelnupp_8cpp__incl.png b/docs/Hazelnupp_8cpp__incl.png index 1371170..a7d1cee 100644 Binary files a/docs/Hazelnupp_8cpp__incl.png and b/docs/Hazelnupp_8cpp__incl.png differ diff --git a/docs/Hazelnupp_8cpp_source.html b/docs/Hazelnupp_8cpp_source.html index 88787c7..e70db42 100644 --- a/docs/Hazelnupp_8cpp_source.html +++ b/docs/Hazelnupp_8cpp_source.html @@ -85,620 +85,650 @@ $(function() {
5 #include "StringValue.h"
6 #include "ListValue.h"
7 #include "HazelnuppException.h"
-
8 #include "StringTools.h"
-
9 #include <iostream>
-
10 #include <cstdlib>
-
11 
-
12 using namespace Hazelnp;
-
13 
-
14 Hazelnupp::Hazelnupp()
-
15 {
-
16  return;
-
17 }
-
18 
-
19 Hazelnupp::Hazelnupp(const int argc, const char* const* argv)
-
20 {
-
21  Parse(argc, argv);
-
22  return;
-
23 }
-
24 
-
25 Hazelnupp::~Hazelnupp()
-
26 {
-
27  for (auto& it : parameters)
-
28  delete it.second;
-
29 
-
30  parameters.clear();
-
31 
-
32  return;
-
33 }
-
34 
-
35 void Hazelnupp::Parse(const int argc, const char* const* argv)
-
36 {
-
37  try
-
38  {
-
39  // Populate raw arguments
-
40  PopulateRawArgs(argc, argv);
-
41 
-
42  // Expand abbreviations
-
43  ExpandAbbreviations();
-
44 
-
45  executableName = std::string(rawArgs[0]);
-
46 
-
47  std::size_t i = 1;
-
48  while (i < rawArgs.size())
-
49  {
-
50  if ((rawArgs[i].length() > 2) && (rawArgs[i].substr(0, 2) == "--"))
-
51  {
-
52  Parameter* param = nullptr;
-
53  i = ParseNextParameter(i, param);
-
54 
-
55  parameters.insert(std::pair<std::string, Parameter*>(param->Key(), param));
-
56  }
-
57  else
-
58  i++;
-
59  }
-
60 
-
61  // Apply constraints such as default values, and required parameters.
-
62  // Types have already been enforced.
-
63  // Dont apply constraints when we are just printind the param docs
-
64  if ((!catchHelp) || (!HasParam("--help")))
-
65  ApplyConstraints();
-
66  }
-
67  catch (const HazelnuppConstraintTypeMissmatch& hctm)
-
68  {
-
69  if (crashOnFail)
-
70  {
-
71  std::cout << GenerateDocumentation() << std::endl;
-
72  std::cerr << "Fatal error: Command-line parameter value-type mismatch at \"" << hctm.What() << "\"!";
-
73  quick_exit(-1009);
-
74  }
-
75  else
-
76  throw hctm; // yeet
-
77  }
-
78  catch (const HazelnuppConstraintMissingValue& hctm)
-
79  {
-
80  if (crashOnFail)
-
81  {
-
82  std::cout << GenerateDocumentation() << std::endl;
-
83  std::cerr << "Fatal error: Missing required command-line parameter \"" << hctm.What() << "\"!";
-
84  quick_exit(-1010);
-
85  }
-
86  else
-
87  throw hctm; // yeet
-
88  }
-
89 
-
90  // Catch --help parameter
-
91  if ((catchHelp) && (HasParam("--help")))
-
92  {
-
93  std::cout << GenerateDocumentation() << std::endl;
-
94  quick_exit(0);
-
95  }
-
96 
-
97  return;
-
98 }
-
99 
-
100 std::size_t Hazelnupp::ParseNextParameter(const std::size_t parIndex, Parameter*& out_Par)
-
101 {
-
102  std::size_t i = parIndex;
-
103  const std::string key = rawArgs[parIndex];
-
104  std::vector<std::string> values;
-
105 
-
106  // Get values
-
107  for (i++; i < rawArgs.size(); i++)
-
108  // If not another parameter
-
109  if ((rawArgs[i].length() < 2) || (rawArgs[i].substr(0, 2) != "--"))
-
110  values.emplace_back(rawArgs[i]);
-
111  else
-
112  {
-
113  break;
-
114  }
-
115 
-
116  // Fetch constraint info
-
117  const ParamConstraint* pcn = GetConstraintForKey(key);
-
118 
-
119  Value* parsedVal = ParseValue(values, pcn);
-
120  if (parsedVal != nullptr)
-
121  {
-
122  out_Par = new Parameter(key, parsedVal);
-
123 
-
124  delete parsedVal;
-
125  parsedVal = nullptr;
-
126  }
-
127  else
-
128  throw std::runtime_error("Unable to parse parameter!");
-
129 
-
130  return i;
-
131 }
-
132 
-
133 void Hazelnupp::PopulateRawArgs(const int argc, const char* const* argv)
-
134 {
-
135  rawArgs.clear();
-
136  rawArgs.reserve(argc);
-
137 
-
138  for (int i = 0; i < argc; i++)
-
139  rawArgs.emplace_back(std::string(argv[i]));
-
140 
-
141  return;
-
142 }
-
143 
-
144 void Hazelnupp::ExpandAbbreviations()
-
145 {
-
146  // Abort if no abbreviations
-
147  if (abbreviations.size() == 0)
-
148  return;
-
149 
-
150  for (std::string& arg : rawArgs)
-
151  {
-
152  // Is arg registered as an abbreviation?
-
153  auto abbr = abbreviations.find(arg);
-
154  if (abbr != abbreviations.end())
-
155  {
-
156  // Yes: replace arg with the long form
-
157  arg = abbr->second;
-
158  }
-
159  }
-
160 
-
161  return;
-
162 }
-
163 
-
164 bool Hazelnupp::HasParam(const std::string& key) const
-
165 {
-
166  return parameters.find(key) != parameters.end();
-
167 }
-
168 
-
169 Value* Hazelnupp::ParseValue(const std::vector<std::string>& values, const ParamConstraint* constraint)
-
170 {
-
171  // Constraint values
-
172  const bool constrainType = (constraint != nullptr) && (constraint->constrainType);
-
173 
-
174  // Void-type
-
175  if (values.size() == 0)
-
176  {
-
177  // Is a list forced via a constraint? If yes, return an empty list
-
178  if ((constrainType) &&
-
179  (constraint->wantedType == DATA_TYPE::LIST))
-
180  return new ListValue();
-
181 
-
182  return new VoidValue;
-
183  }
-
184 
-
185  // Force void type by constraint
-
186  if ((constrainType) &&
-
187  (constraint->wantedType == DATA_TYPE::VOID))
-
188  {
+
8 #include "Placeholders.h"
+
9 #include "StringTools.h"
+
10 #include <iostream>
+
11 #include <cstdlib>
+
12 
+
13 using namespace Hazelnp;
+
14 
+
15 Hazelnupp::Hazelnupp()
+
16 {
+
17  return;
+
18 }
+
19 
+
20 Hazelnupp::Hazelnupp(const int argc, const char* const* argv)
+
21 {
+
22  Parse(argc, argv);
+
23  return;
+
24 }
+
25 
+
26 Hazelnupp::~Hazelnupp()
+
27 {
+
28  for (auto& it : parameters)
+
29  delete it.second;
+
30 
+
31  parameters.clear();
+
32 
+
33  return;
+
34 }
+
35 
+
36 void Hazelnupp::Parse(const int argc, const char* const* argv)
+
37 {
+
38  try
+
39  {
+
40  // Populate raw arguments
+
41  PopulateRawArgs(argc, argv);
+
42 
+
43  // Expand abbreviations
+
44  ExpandAbbreviations();
+
45 
+
46  executableName = std::string(rawArgs[0]);
+
47 
+
48  std::size_t i = 1;
+
49  while (i < rawArgs.size())
+
50  {
+
51  if ((rawArgs[i].length() > 2) && (rawArgs[i].substr(0, 2) == "--"))
+
52  {
+
53  Parameter* param = nullptr;
+
54  i = ParseNextParameter(i, param);
+
55 
+
56  parameters.insert(std::pair<std::string, Parameter*>(param->Key(), param));
+
57  }
+
58  else
+
59  i++;
+
60  }
+
61 
+
62  // Apply constraints such as default values, and required parameters.
+
63  // Types have already been enforced.
+
64  // Dont apply constraints when we are just printind the param docs
+
65  if ((!catchHelp) || (!HasParam("--help")))
+
66  ApplyConstraints();
+
67  }
+
68  catch (const HazelnuppConstraintTypeMissmatch& hctm)
+
69  {
+
70  if (crashOnFail)
+
71  {
+
72  std::cout << GenerateDocumentation() << std::endl;
+
73  std::cerr << "Fatal error: Command-line parameter value-type mismatch at \"" << hctm.What() << "\"!";
+
74  quick_exit(-1009);
+
75  }
+
76  else
+
77  throw hctm; // yeet
+
78  }
+
79  catch (const HazelnuppConstraintMissingValue& hctm)
+
80  {
+
81  if (crashOnFail)
+
82  {
+
83  std::cout << GenerateDocumentation() << std::endl;
+
84  std::cerr << "Fatal error: Missing required command-line parameter \"" << hctm.What() << "\"!";
+
85  quick_exit(-1010);
+
86  }
+
87  else
+
88  throw hctm; // yeet
+
89  }
+
90 
+
91  // Catch --help parameter
+
92  if ((catchHelp) && (HasParam("--help")))
+
93  {
+
94  std::cout << GenerateDocumentation() << std::endl;
+
95  quick_exit(0);
+
96  }
+
97 
+
98  return;
+
99 }
+
100 
+
101 std::size_t Hazelnupp::ParseNextParameter(const std::size_t parIndex, Parameter*& out_Par)
+
102 {
+
103  std::size_t i = parIndex;
+
104  const std::string key = rawArgs[parIndex];
+
105  std::vector<std::string> values;
+
106 
+
107  // Get values
+
108  for (i++; i < rawArgs.size(); i++)
+
109  // If not another parameter
+
110  if ((rawArgs[i].length() < 2) || (rawArgs[i].substr(0, 2) != "--"))
+
111  values.emplace_back(rawArgs[i]);
+
112  else
+
113  {
+
114  break;
+
115  }
+
116 
+
117  // Fetch constraint info
+
118  const ParamConstraint* pcn = GetConstraintForKey(key);
+
119 
+
120  Value* parsedVal = ParseValue(values, pcn);
+
121  if (parsedVal != nullptr)
+
122  {
+
123  out_Par = new Parameter(key, parsedVal);
+
124 
+
125  delete parsedVal;
+
126  parsedVal = nullptr;
+
127  }
+
128  else
+
129  throw std::runtime_error("Unable to parse parameter!");
+
130 
+
131  return i;
+
132 }
+
133 
+
134 void Hazelnupp::PopulateRawArgs(const int argc, const char* const* argv)
+
135 {
+
136  rawArgs.clear();
+
137  rawArgs.reserve(argc);
+
138 
+
139  for (int i = 0; i < argc; i++)
+
140  rawArgs.emplace_back(std::string(argv[i]));
+
141 
+
142  return;
+
143 }
+
144 
+
145 void Hazelnupp::ExpandAbbreviations()
+
146 {
+
147  // Abort if no abbreviations
+
148  if (parameterAbreviations.size() == 0)
+
149  return;
+
150 
+
151  for (std::string& arg : rawArgs)
+
152  {
+
153  // Is arg registered as an abbreviation?
+
154  auto abbr = parameterAbreviations.find(arg);
+
155  if (abbr != parameterAbreviations.end())
+
156  {
+
157  // Yes: replace arg with the long form
+
158  arg = abbr->second;
+
159  }
+
160  }
+
161 
+
162  return;
+
163 }
+
164 
+
165 bool Hazelnupp::HasParam(const std::string& key) const
+
166 {
+
167  return parameters.find(key) != parameters.end();
+
168 }
+
169 
+
170 Value* Hazelnupp::ParseValue(const std::vector<std::string>& values, const ParamConstraint* constraint)
+
171 {
+
172  // Constraint values
+
173  const bool constrainType = (constraint != nullptr) && (constraint->constrainType);
+
174 
+
175  // Void-type
+
176  if (values.size() == 0)
+
177  {
+
178  // Is a list forced via a constraint? If yes, return an empty list
+
179  if ((constrainType) &&
+
180  (constraint->wantedType == DATA_TYPE::LIST))
+
181  return new ListValue();
+
182 
+
183  // Is a string forced via a constraint? If yes, return an empty string
+
184  if ((constrainType) &&
+
185  (constraint->wantedType == DATA_TYPE::STRING))
+
186  return new StringValue("");
+
187 
+
188  // Else, just return the void type
189  return new VoidValue;
190  }
191 
-
192  // List-type
-
193  else if (values.size() > 1)
-
194  {
-
195  // Should the type be something other than list?
-
196  if ((constrainType) &&
-
197  (constraint->wantedType != DATA_TYPE::LIST))
-
198  {
-
199  throw HazelnuppConstraintTypeMissmatch(values[0] + " " + values[1]);
-
200  }
-
201 
-
202  ListValue* newList = new ListValue();
-
203  for (const std::string& val : values)
-
204  {
-
205  Value* tmp = ParseValue({ val });
-
206  newList->AddValue(tmp);
-
207  delete tmp;
-
208  }
-
209  return newList;
-
210  }
-
211 
-
212  // Now we're only dealing with a single value
-
213  const std::string& val = values[0];
-
214 
-
215  // String
-
216  if (!StringTools::IsNumeric(val, true))
-
217  {
-
218  // Is the type not supposed to be a string?
-
219  // void and list are already sorted out
-
220  if ((constrainType) &&
-
221  (constraint->wantedType != DATA_TYPE::STRING))
-
222  {
-
223  // We can only force a list-value from here
-
224  if (constraint->wantedType == DATA_TYPE::LIST)
-
225  {
-
226  ListValue* list = new ListValue();
-
227  Value* tmp = ParseValue({ val });
-
228  list->AddValue(tmp);
-
229  delete tmp;
-
230  tmp = nullptr;
-
231  return list;
-
232  }
-
233  // Else it not possible to convert to a numeric
-
234  else
-
235  throw HazelnuppConstraintTypeMissmatch(val);
-
236  }
-
237 
-
238  return new StringValue(val);
-
239  }
-
240 
-
241  // In this case we have a numeric value.
-
242  // We should still produce a string if requested
-
243  if ((constrainType) &&
-
244  (constraint->wantedType == DATA_TYPE::STRING))
+
192  // Force void type by constraint
+
193  if ((constrainType) &&
+
194  (constraint->wantedType == DATA_TYPE::VOID))
+
195  {
+
196  return new VoidValue;
+
197  }
+
198 
+
199  // List-type
+
200  else if (values.size() > 1)
+
201  {
+
202  // Should the type be something other than list?
+
203  if ((constrainType) &&
+
204  (constraint->wantedType != DATA_TYPE::LIST))
+
205  {
+
206  throw HazelnuppConstraintTypeMissmatch(values[0] + " " + values[1]);
+
207  }
+
208 
+
209  ListValue* newList = new ListValue();
+
210  for (const std::string& val : values)
+
211  {
+
212  Value* tmp = ParseValue({ val });
+
213  newList->AddValue(tmp);
+
214  delete tmp;
+
215  }
+
216  return newList;
+
217  }
+
218 
+
219  // Now we're only dealing with a single value
+
220  const std::string& val = values[0];
+
221 
+
222  // String
+
223  if (!StringTools::IsNumeric(val, true))
+
224  {
+
225  // Is the type not supposed to be a string?
+
226  // void and list are already sorted out
+
227  if ((constrainType) &&
+
228  (constraint->wantedType != DATA_TYPE::STRING))
+
229  {
+
230  // We can only force a list-value from here
+
231  if (constraint->wantedType == DATA_TYPE::LIST)
+
232  {
+
233  ListValue* list = new ListValue();
+
234  Value* tmp = ParseValue({ val });
+
235  list->AddValue(tmp);
+
236  delete tmp;
+
237  tmp = nullptr;
+
238  return list;
+
239  }
+
240  // Else it not possible to convert to a numeric
+
241  else
+
242  throw HazelnuppConstraintTypeMissmatch(val);
+
243  }
+
244 
245  return new StringValue(val);
-
246 
-
247  // Numeric
-
248  bool isInt;
-
249  long double num;
-
250 
-
251  if (StringTools::ParseNumber(val, isInt, num))
-
252  {
-
253  // Is the type constrained?
-
254  // (only int and float left)
-
255  if (constrainType)
-
256  {
-
257  // Must it be an integer?
-
258  if (constraint->wantedType == DATA_TYPE::INT)
-
259  return new IntValue((long long int)num);
-
260  // Must it be a floating point?
-
261  else if (constraint->wantedType == DATA_TYPE::FLOAT)
-
262  return new FloatValue(num);
-
263  // Else it must be a List
-
264  else
-
265  {
-
266  ListValue* list = new ListValue();
-
267  Value* tmp = ParseValue({ val });
-
268  list->AddValue(tmp);
-
269  delete tmp;
-
270  tmp = nullptr;
-
271  return list;
-
272  }
-
273  }
-
274  // Type is not constrained
-
275  else
-
276  {
-
277  // Integer
-
278  if (isInt)
-
279  return new IntValue((long long int)num);
-
280 
-
281  // Double
-
282  return new FloatValue(num);
-
283  }
-
284  }
-
285 
-
286  // Failed
-
287  return nullptr;
-
288 }
-
289 
-
290 bool Hazelnupp::GetCrashOnFail() const
-
291 {
-
292  return crashOnFail;
-
293 }
-
294 
-
295 void Hazelnupp::SetCatchHelp(bool catchHelp)
-
296 {
-
297  this->catchHelp = catchHelp;
-
298  return;
-
299 }
-
300 
-
301 bool Hazelnupp::GetCatchHelp() const
-
302 {
-
303  return catchHelp;
-
304 }
-
305 
-
306 void Hazelnupp::SetBriefDescription(const std::string& description)
-
307 {
-
308  briefDescription = description;
-
309  return;
-
310 }
-
311 
-
312 const std::string& Hazelnupp::GetBriefDescription()
-
313 {
-
314  return briefDescription;
-
315 }
-
316 
-
317 void Hazelnp::Hazelnupp::RegisterDescription(const std::string& parameter, const std::string& description)
-
318 {
-
319  parameterDescriptions[parameter] = description;
-
320  return;
-
321 }
-
322 
-
323 const std::string Hazelnp::Hazelnupp::GetDescription(const std::string& parameter) const
-
324 {
-
325  // Do we already have a description for this parameter?
-
326  const auto par = parameterDescriptions.find(parameter);
-
327  if (par == parameterDescriptions.end())
-
328  // No? Then return ""
-
329  return "";
-
330 
-
331  // We do? Then return it
-
332  return par->second;
-
333 }
-
334 
-
335 void Hazelnp::Hazelnupp::ClearDescription(const std::string& parameter)
-
336 {
-
337  // This will just do nothing if the entry does not exist
-
338  parameterDescriptions.erase(parameter);
-
339  return;
-
340 }
-
341 
-
342 std::string Hazelnupp::GenerateDocumentation() const
-
343 {
-
344  std::stringstream ss;
+
246  }
+
247 
+
248  // In this case we have a numeric value.
+
249  // We should still produce a string if requested
+
250  if ((constrainType) &&
+
251  (constraint->wantedType == DATA_TYPE::STRING))
+
252  return new StringValue(val);
+
253 
+
254  // Numeric
+
255  bool isInt;
+
256  long double num;
+
257 
+
258  if (StringTools::ParseNumber(val, isInt, num))
+
259  {
+
260  // Is the type constrained?
+
261  // (only int and float left)
+
262  if (constrainType)
+
263  {
+
264  // Must it be an integer?
+
265  if (constraint->wantedType == DATA_TYPE::INT)
+
266  return new IntValue((long long int)num);
+
267  // Must it be a floating point?
+
268  else if (constraint->wantedType == DATA_TYPE::FLOAT)
+
269  return new FloatValue(num);
+
270  // Else it must be a List
+
271  else
+
272  {
+
273  ListValue* list = new ListValue();
+
274  Value* tmp = ParseValue({ val });
+
275  list->AddValue(tmp);
+
276  delete tmp;
+
277  tmp = nullptr;
+
278  return list;
+
279  }
+
280  }
+
281  // Type is not constrained
+
282  else
+
283  {
+
284  // Integer
+
285  if (isInt)
+
286  return new IntValue((long long int)num);
+
287 
+
288  // Double
+
289  return new FloatValue(num);
+
290  }
+
291  }
+
292 
+
293  // Failed
+
294  return nullptr;
+
295 }
+
296 
+
297 bool Hazelnupp::GetCrashOnFail() const
+
298 {
+
299  return crashOnFail;
+
300 }
+
301 
+
302 void Hazelnupp::SetCatchHelp(bool catchHelp)
+
303 {
+
304  this->catchHelp = catchHelp;
+
305  return;
+
306 }
+
307 
+
308 bool Hazelnupp::GetCatchHelp() const
+
309 {
+
310  return catchHelp;
+
311 }
+
312 
+
313 void Hazelnupp::SetBriefDescription(const std::string& description)
+
314 {
+
315  briefDescription = description;
+
316  return;
+
317 }
+
318 
+
319 const std::string& Hazelnupp::GetBriefDescription()
+
320 {
+
321  return briefDescription;
+
322 }
+
323 
+
324 void Hazelnp::Hazelnupp::RegisterDescription(const std::string& parameter, const std::string& description)
+
325 {
+
326  parameterDescriptions[parameter] = description;
+
327  return;
+
328 }
+
329 
+
330 const std::string& Hazelnp::Hazelnupp::GetDescription(const std::string& parameter) const
+
331 {
+
332  // Do we already have a description for this parameter?
+
333  if (!HasDescription(parameter))
+
334  // No? Then return ""
+
335  return Placeholders::g_emptyString;
+
336 
+
337  // We do? Then return it
+
338  return parameterDescriptions.find(parameter)->second;
+
339 }
+
340 
+
341 bool Hazelnupp::HasDescription(const std::string& parameter) const
+
342 {
+
343  return parameterDescriptions.find(parameter) != parameterDescriptions.end();
+
344 }
345 
-
346  // Add brief, if available
-
347  if (briefDescription.length() > 0)
-
348  ss << briefDescription << std::endl;
-
349 
-
350  // Collect parameter information
-
351  struct ParamDocEntry
-
352  {
-
353  std::string abbreviation;
-
354  std::string description;
-
355  std::string type;
-
356  bool required = false;
-
357  bool typeIsForced = false;
-
358  std::string defaultVal;
-
359  };
-
360  std::unordered_map<std::string, ParamDocEntry> paramInfos;
-
361 
-
362  // Collect descriptions
-
363  for (const auto& it : parameterDescriptions)
-
364  {
-
365  // Do we already have that param in the paramInfo set?
-
366  if (paramInfos.find(it.first) == paramInfos.end())
-
367  // No? Create it.
-
368  paramInfos[it.first] = ParamDocEntry();
-
369 
-
370  paramInfos[it.first].description = it.second;
-
371  }
-
372 
-
373  // Collect abbreviations
-
374  // first value is abbreviation, second is long form
-
375  for (const auto& it : abbreviations)
-
376  {
-
377  // Do we already have that param in the paramInfo set?
-
378  if (paramInfos.find(it.second) == paramInfos.end())
-
379  // No? Create it.
-
380  paramInfos[it.second] = ParamDocEntry();
-
381 
-
382  paramInfos[it.second].abbreviation = it.first;
-
383  }
-
384 
-
385  // Collect constraints
-
386  for (const auto& it : constraints)
-
387  {
-
388  // Do we already have that param in the paramInfo set?
-
389  if (paramInfos.find(it.first) == paramInfos.end())
-
390  // No? Create it.
-
391  paramInfos[it.first] = ParamDocEntry();
-
392 
-
393  ParamDocEntry& cached = paramInfos[it.first];
-
394  cached.required = it.second.required;
-
395  cached.typeIsForced = it.second.constrainType;
-
396  cached.type = DataTypeToString(it.second.wantedType);
-
397 
-
398  std::stringstream defaultValueSs;
-
399  for (const std::string& s : it.second.defaultValue)
-
400  {
-
401  defaultValueSs << '\'' << s << '\'';
-
402 
-
403  // Add a space if we are not at the last entry
-
404  if ((void*)&s != (void*)&it.second.defaultValue.back())
-
405  defaultValueSs << " ";
-
406  }
-
407  cached.defaultVal = defaultValueSs.str();
-
408  }
+
346 void Hazelnupp::ClearDescription(const std::string& parameter)
+
347 {
+
348  // This will just do nothing if the entry does not exist
+
349  parameterDescriptions.erase(parameter);
+
350  return;
+
351 }
+
352 
+
353 void Hazelnp::Hazelnupp::ClearDescriptions()
+
354 {
+
355  parameterDescriptions.clear();
+
356  return;
+
357 }
+
358 
+
359 std::string Hazelnupp::GenerateDocumentation() const
+
360 {
+
361  std::stringstream ss;
+
362 
+
363  // Add brief, if available
+
364  if (briefDescription.length() > 0)
+
365  ss << briefDescription << std::endl;
+
366 
+
367  // Collect parameter information
+
368  struct ParamDocEntry
+
369  {
+
370  std::string abbreviation;
+
371  std::string description;
+
372  std::string type;
+
373  bool required = false;
+
374  bool typeIsForced = false;
+
375  std::string defaultVal;
+
376  };
+
377  std::unordered_map<std::string, ParamDocEntry> paramInfos;
+
378 
+
379  // Collect descriptions
+
380  for (const auto& it : parameterDescriptions)
+
381  {
+
382  // Do we already have that param in the paramInfo set?
+
383  if (paramInfos.find(it.first) == paramInfos.end())
+
384  // No? Create it.
+
385  paramInfos[it.first] = ParamDocEntry();
+
386 
+
387  paramInfos[it.first].description = it.second;
+
388  }
+
389 
+
390  // Collect abbreviations
+
391  // first value is abbreviation, second is long form
+
392  for (const auto& it : parameterAbreviations)
+
393  {
+
394  // Do we already have that param in the paramInfo set?
+
395  if (paramInfos.find(it.second) == paramInfos.end())
+
396  // No? Create it.
+
397  paramInfos[it.second] = ParamDocEntry();
+
398 
+
399  paramInfos[it.second].abbreviation = it.first;
+
400  }
+
401 
+
402  // Collect constraints
+
403  for (const auto& it : parameterConstraints)
+
404  {
+
405  // Do we already have that param in the paramInfo set?
+
406  if (paramInfos.find(it.first) == paramInfos.end())
+
407  // No? Create it.
+
408  paramInfos[it.first] = ParamDocEntry();
409 
-
410  // Now generate the documentatino body
-
411  if (paramInfos.size() > 0)
-
412  {
-
413  ss << std::endl
-
414  << "==== AVAILABLE PARAMETERS ===="
-
415  << std::endl << std::endl;
-
416 
-
417  for (const auto& it : paramInfos)
-
418  {
-
419  const ParamDocEntry& pde = it.second;
-
420 
-
421  // Put name
-
422  ss << it.first << " ";
-
423 
-
424  // Put abbreviation
-
425  if (pde.abbreviation.length() > 0)
-
426  ss << pde.abbreviation << " ";
-
427 
-
428  // Put type
-
429  if (pde.typeIsForced)
-
430  ss << pde.type << " ";
-
431 
-
432  // Put default value
-
433  if (pde.defaultVal.length() > 0)
-
434  ss << "default=[" << pde.defaultVal << "] ";
-
435 
-
436  // Put required tag, but only if no default value
-
437  if ((pde.required) && (pde.defaultVal.length() == 0))
-
438  ss << "[[REQUIRED]] ";
-
439 
-
440  // Put brief description
-
441  if (pde.description.length() > 0)
-
442  ss << pde.description;
-
443 
-
444  ss << std::endl << std::endl;
-
445  }
-
446  }
-
447 
-
448  return ss.str();
-
449 }
-
450 
-
451 void Hazelnupp::ApplyConstraints()
-
452 {
-
453  // Enforce required parameters / default values
-
454  for (const auto& pc : constraints)
-
455  // Parameter in question is not supplied
-
456  if (!HasParam(pc.second.key))
-
457  {
-
458  // Do we have a default value?
-
459  if (pc.second.defaultValue.size() > 0)
-
460  {
-
461  // Then create it now, by its default value
-
462 
-
463  Value* tmp = ParseValue(pc.second.defaultValue, &pc.second);
-
464  parameters.insert(std::pair<std::string, Parameter*>(
-
465  pc.second.key,
-
466  new Parameter(pc.second.key, tmp)
-
467  ));
-
468 
-
469  delete tmp;
-
470  tmp = nullptr;
-
471  }
-
472  // So we do not have a default value...
-
473  else
-
474  {
-
475  // Is it important to have the missing parameter?
-
476  if (pc.second.required)
-
477  // Throw an error message then
-
478  throw HazelnuppConstraintMissingValue(pc.second.key);
-
479  }
-
480  }
-
481 
-
482  return;
-
483 }
-
484 
-
485 const std::string& Hazelnupp::GetExecutableName() const
-
486 {
-
487  return executableName;
-
488 }
-
489 
-
490 const Value& Hazelnupp::operator[](const std::string& key) const
-
491 {
-
492  // Throw exception if param is unknown
-
493  if (!HasParam(key))
-
494  throw HazelnuppInvalidKeyException();
-
495 
-
496  return *parameters.find(key)->second->GetValue();
-
497 }
+
410  ParamDocEntry& cached = paramInfos[it.first];
+
411  cached.required = it.second.required;
+
412  cached.typeIsForced = it.second.constrainType;
+
413  cached.type = DataTypeToString(it.second.wantedType);
+
414 
+
415  std::stringstream defaultValueSs;
+
416  for (const std::string& s : it.second.defaultValue)
+
417  {
+
418  defaultValueSs << '\'' << s << '\'';
+
419 
+
420  // Add a space if we are not at the last entry
+
421  if ((void*)&s != (void*)&it.second.defaultValue.back())
+
422  defaultValueSs << " ";
+
423  }
+
424  cached.defaultVal = defaultValueSs.str();
+
425  }
+
426 
+
427  // Now generate the documentatino body
+
428  if (paramInfos.size() > 0)
+
429  {
+
430  ss << std::endl
+
431  << "==== AVAILABLE PARAMETERS ===="
+
432  << std::endl << std::endl;
+
433 
+
434  for (const auto& it : paramInfos)
+
435  {
+
436  const ParamDocEntry& pde = it.second;
+
437 
+
438  // Put name
+
439  ss << it.first << " ";
+
440 
+
441  // Put abbreviation
+
442  if (pde.abbreviation.length() > 0)
+
443  ss << pde.abbreviation << " ";
+
444 
+
445  // Put type
+
446  if (pde.typeIsForced)
+
447  ss << pde.type << " ";
+
448 
+
449  // Put default value
+
450  if (pde.defaultVal.length() > 0)
+
451  ss << "default=[" << pde.defaultVal << "] ";
+
452 
+
453  // Put required tag, but only if no default value
+
454  if ((pde.required) && (pde.defaultVal.length() == 0))
+
455  ss << "[[REQUIRED]] ";
+
456 
+
457  // Put brief description
+
458  if (pde.description.length() > 0)
+
459  ss << pde.description;
+
460 
+
461  ss << std::endl << std::endl;
+
462  }
+
463  }
+
464 
+
465  return ss.str();
+
466 }
+
467 
+
468 void Hazelnupp::ApplyConstraints()
+
469 {
+
470  // Enforce required parameters / default values
+
471  for (const auto& pc : parameterConstraints)
+
472  // Parameter in question is not supplied
+
473  if (!HasParam(pc.second.key))
+
474  {
+
475  // Do we have a default value?
+
476  if (pc.second.defaultValue.size() > 0)
+
477  {
+
478  // Then create it now, by its default value
+
479 
+
480  Value* tmp = ParseValue(pc.second.defaultValue, &pc.second);
+
481  parameters.insert(std::pair<std::string, Parameter*>(
+
482  pc.second.key,
+
483  new Parameter(pc.second.key, tmp)
+
484  ));
+
485 
+
486  delete tmp;
+
487  tmp = nullptr;
+
488  }
+
489  // So we do not have a default value...
+
490  else
+
491  {
+
492  // Is it important to have the missing parameter?
+
493  if (pc.second.required)
+
494  // Throw an error message then
+
495  throw HazelnuppConstraintMissingValue(pc.second.key);
+
496  }
+
497  }
498 
-
499 void Hazelnupp::RegisterAbbreviation(const std::string& abbrev, const std::string& target)
-
500 {
-
501  abbreviations.insert(std::pair<std::string, std::string>(abbrev, target));
-
502  return;
-
503 }
-
504 
-
505 const std::string& Hazelnupp::GetAbbreviation(const std::string& abbrev) const
-
506 {
-
507  return abbreviations.find(abbrev)->second;
-
508 }
-
509 
-
510 bool Hazelnupp::HasAbbreviation(const std::string& abbrev) const
-
511 {
-
512  return abbreviations.find(abbrev) != abbreviations.end();
-
513 }
-
514 
-
515 void Hazelnupp::ClearAbbreviations()
-
516 {
-
517  abbreviations.clear();
-
518  return;
-
519 }
-
520 
-
521 void Hazelnupp::RegisterConstraints(const std::vector<ParamConstraint>& constraints)
-
522 {
-
523  for (const ParamConstraint& pc : constraints)
-
524  {
-
525  // Does this constraint already exist?
-
526  const auto constraint = this->constraints.find(pc.key);
-
527  // If yes, replace it.
-
528  if (constraint != this->constraints.end())
-
529  constraint->second = pc;
-
530 
-
531  // Else, create a new pair
-
532  else
-
533  this->constraints.insert(std::pair<std::string, ParamConstraint>(
-
534  pc.key,
-
535  pc
-
536  ));
-
537  }
-
538 
-
539  return;
-
540 }
-
541 
-
542 void Hazelnupp::ClearConstraints()
-
543 {
-
544  constraints.clear();
-
545  return;
-
546 }
-
547 
-
548 void Hazelnupp::SetCrashOnFail(bool crashOnFail)
-
549 {
-
550  this->crashOnFail = crashOnFail;
-
551  return;
-
552 }
-
553 
-
554 const ParamConstraint* Hazelnupp::GetConstraintForKey(const std::string& key) const
-
555 {
-
556  const auto constraint = constraints.find(key);
+
499  return;
+
500 }
+
501 
+
502 ParamConstraint Hazelnupp::GetConstraint(const std::string& parameter) const
+
503 {
+
504  return parameterConstraints.find(parameter)->second;
+
505 }
+
506 
+
507 void Hazelnupp::ClearConstraint(const std::string& parameter)
+
508 {
+
509  parameterConstraints.erase(parameter);
+
510  return;
+
511 }
+
512 
+
513 const std::string& Hazelnupp::GetExecutableName() const
+
514 {
+
515  return executableName;
+
516 }
+
517 
+
518 const Value& Hazelnupp::operator[](const std::string& key) const
+
519 {
+
520  // Throw exception if param is unknown
+
521  if (!HasParam(key))
+
522  throw HazelnuppInvalidKeyException();
+
523 
+
524  return *parameters.find(key)->second->GetValue();
+
525 }
+
526 
+
527 void Hazelnupp::RegisterAbbreviation(const std::string& abbrev, const std::string& target)
+
528 {
+
529  parameterAbreviations.insert(std::pair<std::string, std::string>(abbrev, target));
+
530  return;
+
531 }
+
532 
+
533 const std::string& Hazelnupp::GetAbbreviation(const std::string& abbrev) const
+
534 {
+
535  if (!HasAbbreviation(abbrev))
+
536  return Placeholders::g_emptyString;
+
537 
+
538  return parameterAbreviations.find(abbrev)->second;
+
539 }
+
540 
+
541 bool Hazelnupp::HasAbbreviation(const std::string& abbrev) const
+
542 {
+
543  return parameterAbreviations.find(abbrev) != parameterAbreviations.end();
+
544 }
+
545 
+
546 void Hazelnupp::ClearAbbreviation(const std::string& abbrevation)
+
547 {
+
548  parameterAbreviations.erase(abbrevation);
+
549  return;
+
550 }
+
551 
+
552 void Hazelnupp::ClearAbbreviations()
+
553 {
+
554  parameterAbreviations.clear();
+
555  return;
+
556 }
557 
-
558  if (constraint == constraints.end())
-
559  return nullptr;
-
560 
-
561  return &constraint->second;
-
562 }
+
558 void Hazelnupp::RegisterConstraint(const std::string& key, const ParamConstraint& constraint)
+
559 {
+
560  // Magic syntax, wooo
+
561  (parameterConstraints[key] = constraint).key = key;
+
562  return;
+
563 }
+
564 
+
565 void Hazelnupp::ClearConstraints()
+
566 {
+
567  parameterConstraints.clear();
+
568  return;
+
569 }
+
570 
+
571 void Hazelnupp::SetCrashOnFail(bool crashOnFail)
+
572 {
+
573  this->crashOnFail = crashOnFail;
+
574  return;
+
575 }
+
576 
+
577 const ParamConstraint* Hazelnupp::GetConstraintForKey(const std::string& key) const
+
578 {
+
579  const auto constraint = parameterConstraints.find(key);
+
580 
+
581  if (constraint == parameterConstraints.end())
+
582  return nullptr;
+
583 
+
584  return &constraint->second;
+
585 }
HazelnuppException.h
Hazelnp
Definition: DataType.h:4
Hazelnp::IntValue
Specializations for integer values (uses long long int)
Definition: IntValue.h:8
Hazelnp::StringTools::IsNumeric
static bool IsNumeric(const std::string &str, const bool allowDecimalPoint=false)
Will return true if the given string consists only of digits (including signage)
Definition: StringTools.cpp:56
Hazelnp::StringTools::ParseNumber
static bool ParseNumber(const std::string &str, bool &out_isInt, long double &out_number)
Will convert the number in str to a number.
Definition: StringTools.cpp:82
-
Hazelnp::Hazelnupp::GetBriefDescription
const std::string & GetBriefDescription()
Returns the brief description of the application to be automatically added to the documentation.
Definition: Hazelnupp.cpp:312
-
Hazelnp::Hazelnupp::ClearConstraints
void ClearConstraints()
Will delete all constraints.
Definition: Hazelnupp.cpp:542
+
Hazelnp::Hazelnupp::GetBriefDescription
const std::string & GetBriefDescription()
Returns the brief description of the application to be automatically added to the documentation.
Definition: Hazelnupp.cpp:319
+
Hazelnp::Hazelnupp::ClearConstraints
void ClearConstraints()
Will delete all constraints.
Definition: Hazelnupp.cpp:565
Hazelnp::HazelnuppInvalidKeyException
Gets thrown when an non-existent key gets dereferenced.
Definition: HazelnuppException.h:26
-
Hazelnp::Hazelnupp::GetExecutableName
const std::string & GetExecutableName() const
Will return argv[0], the name of the executable.
Definition: Hazelnupp.cpp:485
-
Hazelnp::Hazelnupp::GenerateDocumentation
std::string GenerateDocumentation() const
Will generate a text-based documentation suited to show the user, for example on –help.
Definition: Hazelnupp.cpp:342
-
Hazelnp::Hazelnupp::~Hazelnupp
~Hazelnupp()
Definition: Hazelnupp.cpp:25
-
Hazelnp::Hazelnupp::operator[]
const Value & operator[](const std::string &key) const
Will return the value given a key.
Definition: Hazelnupp.cpp:490
+
Hazelnp::Hazelnupp::GetExecutableName
const std::string & GetExecutableName() const
Will return argv[0], the name of the executable.
Definition: Hazelnupp.cpp:513
+
Hazelnp::Hazelnupp::GenerateDocumentation
std::string GenerateDocumentation() const
Will generate a text-based documentation suited to show the user, for example on –help.
Definition: Hazelnupp.cpp:359
+
Hazelnp::Hazelnupp::GetConstraint
ParamConstraint GetConstraint(const std::string &parameter) const
Will return the constraint information for a specific parameter.
Definition: Hazelnupp.cpp:502
+
Hazelnp::Hazelnupp::~Hazelnupp
~Hazelnupp()
Definition: Hazelnupp.cpp:26
+
Hazelnp::Hazelnupp::operator[]
const Value & operator[](const std::string &key) const
Will return the value given a key.
Definition: Hazelnupp.cpp:518
StringValue.h
Hazelnp::HazelnuppException::What
const std::string & What() const
Will return an error message.
Definition: HazelnuppException.h:15
IntValue.h
-
Hazelnp::Hazelnupp::Hazelnupp
Hazelnupp()
Definition: Hazelnupp.cpp:14
-
Hazelnp::Hazelnupp::ClearAbbreviations
void ClearAbbreviations()
Will delete all abbreviations.
Definition: Hazelnupp.cpp:515
+
Hazelnp::Hazelnupp::Hazelnupp
Hazelnupp()
Definition: Hazelnupp.cpp:15
+
Placeholders.h
+
Hazelnp::Hazelnupp::ClearAbbreviations
void ClearAbbreviations()
Will delete all abbreviations.
Definition: Hazelnupp.cpp:552
Hazelnp::DATA_TYPE::VOID
@ VOID
Hazelnp::FloatValue
Specializations for floating point values (uses long double)
Definition: FloatValue.h:9
-
Hazelnp::Hazelnupp::SetBriefDescription
void SetBriefDescription(const std::string &description)
Sets a brief description of the application to be automatically added to the documentation.
Definition: Hazelnupp.cpp:306
+
Hazelnp::Hazelnupp::SetBriefDescription
void SetBriefDescription(const std::string &description)
Sets a brief description of the application to be automatically added to the documentation.
Definition: Hazelnupp.cpp:313
Hazelnp::Value
Abstract class for values.
Definition: Value.h:10
-
Hazelnp::Hazelnupp::GetCrashOnFail
bool GetCrashOnFail() const
Gets whether the application crashes on an exception whilst parsing, and prints to stderr.
Definition: Hazelnupp.cpp:290
-
Hazelnp::Hazelnupp::SetCatchHelp
void SetCatchHelp(bool catchHelp)
Sets whether the Hazelnupp should automatically catch the –help parameter, print the parameter docume...
Definition: Hazelnupp.cpp:295
-
Hazelnp::Hazelnupp::GetCatchHelp
bool GetCatchHelp() const
Retruns whether the Hazelnupp should automatically catch the –help parameter, print the parameter doc...
Definition: Hazelnupp.cpp:301
+
Hazelnp::Hazelnupp::GetCrashOnFail
bool GetCrashOnFail() const
Gets whether the application crashes on an exception whilst parsing, and prints to stderr.
Definition: Hazelnupp.cpp:297
+
Hazelnp::Hazelnupp::HasDescription
bool HasDescription(const std::string &parameter) const
Returns whether or not a given parameter has a registered description.
Definition: Hazelnupp.cpp:341
+
Hazelnp::Hazelnupp::SetCatchHelp
void SetCatchHelp(bool catchHelp)
Sets whether the Hazelnupp should automatically catch the –help parameter, print the parameter docume...
Definition: Hazelnupp.cpp:302
+
Hazelnp::Hazelnupp::GetCatchHelp
bool GetCatchHelp() const
Retruns whether the Hazelnupp should automatically catch the –help parameter, print the parameter doc...
Definition: Hazelnupp.cpp:308
Hazelnp::DATA_TYPE::LIST
@ LIST
Hazelnp::Parameter
Definition: Parameter.h:8
-
Hazelnp::ParamConstraint::wantedType
DATA_TYPE wantedType
Constrain the parameter to this value. Requires constrainType to be set to true.
Definition: ParamConstraint.h:57
+
Hazelnp::ParamConstraint::wantedType
DATA_TYPE wantedType
Constrain the parameter to this value. Requires constrainType to be set to true.
Definition: ParamConstraint.h:51
Hazelnp::ParamConstraint
Definition: ParamConstraint.h:8
-
Hazelnp::Hazelnupp::HasParam
bool HasParam(const std::string &key) const
Will check wether a parameter exists given a key, or not.
Definition: Hazelnupp.cpp:164
-
Hazelnp::Hazelnupp::Parse
void Parse(const int argc, const char *const *argv)
Will parse command line arguments.
Definition: Hazelnupp.cpp:35
+
Hazelnp::Placeholders::g_emptyString
static const std::string g_emptyString
The only purpose of this is to provide the ability to return an empty string as an error for std::str...
Definition: Placeholders.h:9
+
Hazelnp::Hazelnupp::HasParam
bool HasParam(const std::string &key) const
Will check wether a parameter exists given a key, or not.
Definition: Hazelnupp.cpp:165
+
Hazelnp::Hazelnupp::Parse
void Parse(const int argc, const char *const *argv)
Will parse command line arguments.
Definition: Hazelnupp.cpp:36
ListValue.h
-
Hazelnp::ParamConstraint::constrainType
bool constrainType
Should this parameter be forced to be of a certain type? Remember to set constrainTo to the wanted ...
Definition: ParamConstraint.h:54
+
Hazelnp::ParamConstraint::constrainType
bool constrainType
Should this parameter be forced to be of a certain type? Remember to set constrainTo to the wanted ...
Definition: ParamConstraint.h:48
+
Hazelnp::Hazelnupp::ClearDescription
void ClearDescription(const std::string &parameter)
Will delete the description of a parameter if it exists.
Definition: Hazelnupp.cpp:346
Hazelnp::Parameter::Key
const std::string & Key() const
Will return the key of this parameter.
Definition: Parameter.cpp:21
Hazelnp::HazelnuppConstraintMissingValue
Gets thrown when a parameter constrained to be required is not provided, and has no default value set...
Definition: HazelnuppException.h:62
-
Hazelnp::Hazelnupp::RegisterAbbreviation
void RegisterAbbreviation(const std::string &abbrev, const std::string &target)
Will register an abbreviation (like -f for –force)
Definition: Hazelnupp.cpp:499
+
Hazelnp::Hazelnupp::RegisterAbbreviation
void RegisterAbbreviation(const std::string &abbrev, const std::string &target)
Will register an abbreviation (like -f for –force)
Definition: Hazelnupp.cpp:527
Hazelnp::HazelnuppConstraintTypeMissmatch
Gets thrown when a parameter is of a type that does not match the required type, and is not convertib...
Definition: HazelnuppException.h:53
VoidValue.h
-
Hazelnp::Hazelnupp::RegisterConstraints
void RegisterConstraints(const std::vector< ParamConstraint > &constraints)
Will register parameter constraints.
Definition: Hazelnupp.cpp:521
-
Hazelnp::Hazelnupp::GetAbbreviation
const std::string & GetAbbreviation(const std::string &abbrev) const
Will return the long form of an abbreviation (like –force for -f)
Definition: Hazelnupp.cpp:505
+
Hazelnp::Hazelnupp::GetAbbreviation
const std::string & GetAbbreviation(const std::string &abbrev) const
Will return the long form of an abbreviation (like –force for -f) Returns "" if no match is found.
Definition: Hazelnupp.cpp:533
+
Hazelnp::Hazelnupp::ClearDescriptions
void ClearDescriptions()
Will delete all parameter descriptions.
Definition: Hazelnupp.cpp:353
Hazelnupp.h
Hazelnp::ListValue::AddValue
void AddValue(const Value *value)
Will add this value to the list.
Definition: ListValue.cpp:33
+
Hazelnp::Hazelnupp::RegisterConstraint
void RegisterConstraint(const std::string &key, const ParamConstraint &constraint)
Will register a constraint for a parameter.
Definition: Hazelnupp.cpp:558
Hazelnp::VoidValue
Specializations for void values.
Definition: VoidValue.h:8
+
Hazelnp::Hazelnupp::GetDescription
const std::string & GetDescription(const std::string &parameter) const
Will return a short description for a parameter, if it exists.
Definition: Hazelnupp.cpp:330
Hazelnp::DATA_TYPE::FLOAT
@ FLOAT
Hazelnp::DATA_TYPE::INT
@ INT
-
Hazelnp::Hazelnupp::ClearDescription
void ClearDescription(const std::string &parameter)
Will delete the description of a parameter if it exists.
Definition: Hazelnupp.cpp:335
+
Hazelnp::Hazelnupp::ClearConstraint
void ClearConstraint(const std::string &parameter)
Will the constraint of a specific parameter.
Definition: Hazelnupp.cpp:507
FloatValue.h
-
Hazelnp::Hazelnupp::HasAbbreviation
bool HasAbbreviation(const std::string &abbrev) const
Will check wether or not an abbreviation is registered.
Definition: Hazelnupp.cpp:510
+
Hazelnp::Hazelnupp::HasAbbreviation
bool HasAbbreviation(const std::string &abbrev) const
Will check wether or not an abbreviation is registered.
Definition: Hazelnupp.cpp:541
Hazelnp::DATA_TYPE::STRING
@ STRING
-
Hazelnp::Hazelnupp::SetCrashOnFail
void SetCrashOnFail(bool crashOnFail)
Sets whether to crash the application, and print to stderr, when an exception is raised whilst parsin...
Definition: Hazelnupp.cpp:548
-
Hazelnp::Hazelnupp::RegisterDescription
void RegisterDescription(const std::string &parameter, const std::string &description)
Willl register a short description for a parameter.
Definition: Hazelnupp.cpp:317
-
Hazelnp::Hazelnupp::GetDescription
const std::string GetDescription(const std::string &parameter) const
Will return a short description for a parameter, if it exists.
Definition: Hazelnupp.cpp:323
+
Hazelnp::Hazelnupp::SetCrashOnFail
void SetCrashOnFail(bool crashOnFail)
Sets whether to crash the application, and print to stderr, when an exception is raised whilst parsin...
Definition: Hazelnupp.cpp:571
+
Hazelnp::Hazelnupp::RegisterDescription
void RegisterDescription(const std::string &parameter, const std::string &description)
Willl register a short description for a parameter.
Definition: Hazelnupp.cpp:324
Hazelnp::DataTypeToString
static std::string DataTypeToString(DATA_TYPE type)
Definition: DataType.h:17
+
Hazelnp::Hazelnupp::ClearAbbreviation
void ClearAbbreviation(const std::string &abbrevation)
Will delete the abbreviation for a given parameter.
Definition: Hazelnupp.cpp:546
Hazelnp::ListValue
Specializations for list values (uses std::vector<Value*>)
Definition: ListValue.h:9
Hazelnp::StringValue
Specializations for string values (uses std::string)
Definition: StringValue.h:9
StringTools.h
diff --git a/docs/Hazelnupp_8h.html b/docs/Hazelnupp_8h.html index d3ce462..d693442 100644 --- a/docs/Hazelnupp_8h.html +++ b/docs/Hazelnupp_8h.html @@ -128,7 +128,7 @@ Namespaces diff --git a/docs/Hazelnupp_8h_source.html b/docs/Hazelnupp_8h_source.html index e2d6dad..02404b0 100644 --- a/docs/Hazelnupp_8h_source.html +++ b/docs/Hazelnupp_8h_source.html @@ -112,131 +112,156 @@ $(function() {
32  //! Will register an abbreviation (like -f for --force)
33  void RegisterAbbreviation(const std::string& abbrev, const std::string& target);
34 
-
35  //! Will return the long form of an abbreviation (like --force for -f)
-
36  const std::string& GetAbbreviation(const std::string& abbrev) const;
-
37 
-
38  //! Will check wether or not an abbreviation is registered
-
39  bool HasAbbreviation(const std::string& abbrev) const;
-
40 
-
41  //! Will delete all abbreviations
-
42  void ClearAbbreviations();
-
43 
-
44  //! Will register parameter constraints
-
45  void RegisterConstraints(const std::vector<ParamConstraint>& constraints);
-
46 
-
47  //! Will delete all constraints
-
48  void ClearConstraints();
-
49 
-
50  //! Sets whether to crash the application, and print to stderr, when an exception is
-
51  //! raised whilst parsing, or not.
-
52  void SetCrashOnFail(bool crashOnFail);
+
35  //! Will return the long form of an abbreviation (like --force for -f)
+
36  //! Returns "" if no match is found
+
37  const std::string& GetAbbreviation(const std::string& abbrev) const;
+
38 
+
39  //! Will check wether or not an abbreviation is registered
+
40  bool HasAbbreviation(const std::string& abbrev) const;
+
41 
+
42  //! Will delete the abbreviation for a given parameter.
+
43  //! IMPORTANT: This parameter is the abbreviation! Not the long form!
+
44  void ClearAbbreviation(const std::string& abbrevation);
+
45 
+
46  //! Will delete all abbreviations
+
47  void ClearAbbreviations();
+
48 
+
49  //! Will register a constraint for a parameter.
+
50  //! IMPORTANT: Any parameter can only have ONE constraint. Applying a new one will overwrite the old one!
+
51  //! Construct the ParamConstraint struct yourself to combine Require and TypeSafety! You can also use the ParamConstraint constructor!
+
52  void RegisterConstraint(const std::string& key, const ParamConstraint& constraint);
53 
-
54  //! Gets whether the application crashes on an exception whilst parsing, and prints to stderr.
-
55  bool GetCrashOnFail() const;
+
54  //! Will return the constraint information for a specific parameter
+
55  ParamConstraint GetConstraint(const std::string& parameter) const;
56 
-
57  //! Sets whether the Hazelnupp should automatically catch the --help parameter, print the parameter documentation to stdout, and exit or not.
-
58  void SetCatchHelp(bool catchHelp);
+
57  //! Will the constraint of a specific parameter
+
58  void ClearConstraint(const std::string& parameter);
59 
-
60  //! Retruns whether the Hazelnupp should automatically catch the --help parameter, print the parameter documentation to stdout, and exit or not.
-
61  bool GetCatchHelp() const;
+
60  //! Will delete all constraints
+
61  void ClearConstraints();
62 
-
63  //! Sets a brief description of the application to be automatically added to the documentation.
-
64  void SetBriefDescription(const std::string& description);
-
65 
-
66  //! Returns the brief description of the application to be automatically added to the documentation.
-
67  const std::string& GetBriefDescription();
-
68 
-
69  //! Willl register a short description for a parameter.
-
70  //! Will overwrite existing descriptions for that parameter.
-
71  void RegisterDescription(const std::string& parameter, const std::string& description);
+
63  //! Sets whether to crash the application, and print to stderr, when an exception is
+
64  //! raised whilst parsing, or not.
+
65  void SetCrashOnFail(bool crashOnFail);
+
66 
+
67  //! Gets whether the application crashes on an exception whilst parsing, and prints to stderr.
+
68  bool GetCrashOnFail() const;
+
69 
+
70  //! Sets whether the Hazelnupp should automatically catch the --help parameter, print the parameter documentation to stdout, and exit or not.
+
71  void SetCatchHelp(bool catchHelp);
72 
-
73  //! Will return a short description for a parameter, if it exists.
-
74  //! Empty string if it does not exist.
-
75  const std::string GetDescription(const std::string& parameter) const;
-
76 
-
77  //! Will delete the description of a parameter if it exists.
-
78  void ClearDescription(const std::string& parameter);
-
79 
-
80  //! Will generate a text-based documentation suited to show the user, for example on --help.
-
81  std::string GenerateDocumentation() const;
-
82 
-
83  private:
-
84  //! Will translate the c-like args to an std::vector
-
85  void PopulateRawArgs(const int argc, const char* const* argv);
-
86 
-
87  //! Will replace all args matching an abbreviation with their long form (like -f for --force)
-
88  void ExpandAbbreviations();
+
73  //! Retruns whether the Hazelnupp should automatically catch the --help parameter, print the parameter documentation to stdout, and exit or not.
+
74  bool GetCatchHelp() const;
+
75 
+
76  //! Sets a brief description of the application to be automatically added to the documentation.
+
77  void SetBriefDescription(const std::string& description);
+
78 
+
79  //! Returns the brief description of the application to be automatically added to the documentation.
+
80  const std::string& GetBriefDescription();
+
81 
+
82  //! Willl register a short description for a parameter.
+
83  //! Will overwrite existing descriptions for that parameter.
+
84  void RegisterDescription(const std::string& parameter, const std::string& description);
+
85 
+
86  //! Will return a short description for a parameter, if it exists.
+
87  //! Empty string if it does not exist.
+
88  const std::string& GetDescription(const std::string& parameter) const;
89 
-
90  //! Will parse the next parameter. Returns the index of the next parameter.
-
91  std::size_t ParseNextParameter(const std::size_t parIndex, Parameter*& out_Par);
+
90  //! Returns whether or not a given parameter has a registered description
+
91  bool HasDescription(const std::string& parameter) const;
92 
-
93  //! Will convert a vector of string-values to an actual Value
-
94  Value* ParseValue(const std::vector<std::string>& values, const ParamConstraint* constraint = nullptr);
+
93  //! Will delete the description of a parameter if it exists.
+
94  void ClearDescription(const std::string& parameter);
95 
-
96  //! Will apply the loaded constraints on the loaded values, exluding types.
-
97  void ApplyConstraints();
+
96  //! Will delete all parameter descriptions
+
97  void ClearDescriptions();
98 
-
99  //! Will return a pointer to a paramConstraint given a key. If there is no, it returns nullptr
-
100  const ParamConstraint* GetConstraintForKey(const std::string& key) const;
+
99  //! Will generate a text-based documentation suited to show the user, for example on --help.
+
100  std::string GenerateDocumentation() const;
101 
-
102  std::string executableName; //! The path of the executable. Always argv[0]
-
103  std::unordered_map<std::string, Parameter*> parameters;
-
104 
-
105  //! These are abbreviations. Like, -f for --force.
-
106  std::unordered_map<std::string, std::string> abbreviations;
-
107 
-
108  //! Parameter constraints, mapped to keys
-
109  std::unordered_map<std::string, ParamConstraint> constraints;
-
110 
-
111  //! Raw argv
-
112  std::vector<std::string> rawArgs;
-
113 
-
114  //! Short descriptions for parameters
-
115  std::unordered_map<std::string, std::string> parameterDescriptions;
-
116 
-
117  //! A brief description of the application to be added to the generated documentation. Optional.
-
118  std::string briefDescription;
-
119 
-
120  //! If set to true, Hazelnupp will automatically catch the --help parameter, print the parameter documentation to stdout and exit.
-
121  bool catchHelp = true;
-
122 
-
123  //! If set to true, Hazelnupp will crash the application with output to stderr when an exception is thrown whilst parsing.
-
124  bool crashOnFail = true;
-
125  };
-
126 }
+
102  private:
+
103  //! Will translate the c-like args to an std::vector
+
104  void PopulateRawArgs(const int argc, const char* const* argv);
+
105 
+
106  //! Will replace all args matching an abbreviation with their long form (like -f for --force)
+
107  void ExpandAbbreviations();
+
108 
+
109  //! Will parse the next parameter. Returns the index of the next parameter.
+
110  std::size_t ParseNextParameter(const std::size_t parIndex, Parameter*& out_Par);
+
111 
+
112  //! Will convert a vector of string-values to an actual Value
+
113  Value* ParseValue(const std::vector<std::string>& values, const ParamConstraint* constraint = nullptr);
+
114 
+
115  //! Will apply the loaded constraints on the loaded values, exluding types.
+
116  void ApplyConstraints();
+
117 
+
118  //! Will return a pointer to a paramConstraint given a key. If there is no, it returns nullptr
+
119  const ParamConstraint* GetConstraintForKey(const std::string& key) const;
+
120 
+
121  std::string executableName; //! The path of the executable. Always argv[0]
+
122  std::unordered_map<std::string, Parameter*> parameters;
+
123 
+
124  //! These are abbreviations. Like, -f for --force.
+
125  std::unordered_map<std::string, std::string> parameterAbreviations;
+
126 
+
127  //! Parameter constraints, mapped to keys
+
128  std::unordered_map<std::string, ParamConstraint> parameterConstraints;
+
129 
+
130  //! Raw argv
+
131  std::vector<std::string> rawArgs;
+
132 
+
133  //! Short descriptions for parameters
+
134  //! First member is the abbreviation
+
135  std::unordered_map<std::string, std::string> parameterDescriptions;
+
136 
+
137  //! A brief description of the application to be added to the generated documentation. Optional.
+
138  std::string briefDescription;
+
139 
+
140  //! If set to true, Hazelnupp will automatically catch the --help parameter, print the parameter documentation to stdout and exit.
+
141  bool catchHelp = true;
+
142 
+
143  //! If set to true, Hazelnupp will crash the application with output to stderr when an exception is thrown whilst parsing.
+
144  bool crashOnFail = true;
+
145  };
+
146 }
Hazelnp
Definition: DataType.h:4
-
Hazelnp::Hazelnupp::GetBriefDescription
const std::string & GetBriefDescription()
Returns the brief description of the application to be automatically added to the documentation.
Definition: Hazelnupp.cpp:312
-
Hazelnp::Hazelnupp::ClearConstraints
void ClearConstraints()
Will delete all constraints.
Definition: Hazelnupp.cpp:542
-
Hazelnp::Hazelnupp::GetExecutableName
const std::string & GetExecutableName() const
Will return argv[0], the name of the executable.
Definition: Hazelnupp.cpp:485
-
Hazelnp::Hazelnupp::GenerateDocumentation
std::string GenerateDocumentation() const
Will generate a text-based documentation suited to show the user, for example on –help.
Definition: Hazelnupp.cpp:342
-
Hazelnp::Hazelnupp::~Hazelnupp
~Hazelnupp()
Definition: Hazelnupp.cpp:25
-
Hazelnp::Hazelnupp::operator[]
const Value & operator[](const std::string &key) const
Will return the value given a key.
Definition: Hazelnupp.cpp:490
+
Hazelnp::Hazelnupp::GetBriefDescription
const std::string & GetBriefDescription()
Returns the brief description of the application to be automatically added to the documentation.
Definition: Hazelnupp.cpp:319
+
Hazelnp::Hazelnupp::ClearConstraints
void ClearConstraints()
Will delete all constraints.
Definition: Hazelnupp.cpp:565
+
Hazelnp::Hazelnupp::GetExecutableName
const std::string & GetExecutableName() const
Will return argv[0], the name of the executable.
Definition: Hazelnupp.cpp:513
+
Hazelnp::Hazelnupp::GenerateDocumentation
std::string GenerateDocumentation() const
Will generate a text-based documentation suited to show the user, for example on –help.
Definition: Hazelnupp.cpp:359
+
Hazelnp::Hazelnupp::GetConstraint
ParamConstraint GetConstraint(const std::string &parameter) const
Will return the constraint information for a specific parameter.
Definition: Hazelnupp.cpp:502
+
Hazelnp::Hazelnupp::~Hazelnupp
~Hazelnupp()
Definition: Hazelnupp.cpp:26
+
Hazelnp::Hazelnupp::operator[]
const Value & operator[](const std::string &key) const
Will return the value given a key.
Definition: Hazelnupp.cpp:518
Hazelnp::Hazelnupp
The main class to interface with.
Definition: Hazelnupp.h:11
-
Hazelnp::Hazelnupp::Hazelnupp
Hazelnupp()
Definition: Hazelnupp.cpp:14
-
Hazelnp::Hazelnupp::ClearAbbreviations
void ClearAbbreviations()
Will delete all abbreviations.
Definition: Hazelnupp.cpp:515
-
Hazelnp::Hazelnupp::SetBriefDescription
void SetBriefDescription(const std::string &description)
Sets a brief description of the application to be automatically added to the documentation.
Definition: Hazelnupp.cpp:306
+
Hazelnp::Hazelnupp::Hazelnupp
Hazelnupp()
Definition: Hazelnupp.cpp:15
+
Hazelnp::Hazelnupp::ClearAbbreviations
void ClearAbbreviations()
Will delete all abbreviations.
Definition: Hazelnupp.cpp:552
+
Hazelnp::Hazelnupp::SetBriefDescription
void SetBriefDescription(const std::string &description)
Sets a brief description of the application to be automatically added to the documentation.
Definition: Hazelnupp.cpp:313
Hazelnp::Value
Abstract class for values.
Definition: Value.h:10
ParamConstraint.h
-
Hazelnp::Hazelnupp::GetCrashOnFail
bool GetCrashOnFail() const
Gets whether the application crashes on an exception whilst parsing, and prints to stderr.
Definition: Hazelnupp.cpp:290
-
Hazelnp::Hazelnupp::SetCatchHelp
void SetCatchHelp(bool catchHelp)
Sets whether the Hazelnupp should automatically catch the –help parameter, print the parameter docume...
Definition: Hazelnupp.cpp:295
-
Hazelnp::Hazelnupp::GetCatchHelp
bool GetCatchHelp() const
Retruns whether the Hazelnupp should automatically catch the –help parameter, print the parameter doc...
Definition: Hazelnupp.cpp:301
+
Hazelnp::Hazelnupp::GetCrashOnFail
bool GetCrashOnFail() const
Gets whether the application crashes on an exception whilst parsing, and prints to stderr.
Definition: Hazelnupp.cpp:297
+
Hazelnp::Hazelnupp::HasDescription
bool HasDescription(const std::string &parameter) const
Returns whether or not a given parameter has a registered description.
Definition: Hazelnupp.cpp:341
+
Hazelnp::Hazelnupp::SetCatchHelp
void SetCatchHelp(bool catchHelp)
Sets whether the Hazelnupp should automatically catch the –help parameter, print the parameter docume...
Definition: Hazelnupp.cpp:302
+
Hazelnp::Hazelnupp::GetCatchHelp
bool GetCatchHelp() const
Retruns whether the Hazelnupp should automatically catch the –help parameter, print the parameter doc...
Definition: Hazelnupp.cpp:308
Hazelnp::Parameter
Definition: Parameter.h:8
Hazelnp::ParamConstraint
Definition: ParamConstraint.h:8
-
Hazelnp::Hazelnupp::HasParam
bool HasParam(const std::string &key) const
Will check wether a parameter exists given a key, or not.
Definition: Hazelnupp.cpp:164
-
Hazelnp::Hazelnupp::Parse
void Parse(const int argc, const char *const *argv)
Will parse command line arguments.
Definition: Hazelnupp.cpp:35
-
Hazelnp::Hazelnupp::RegisterAbbreviation
void RegisterAbbreviation(const std::string &abbrev, const std::string &target)
Will register an abbreviation (like -f for –force)
Definition: Hazelnupp.cpp:499
-
Hazelnp::Hazelnupp::RegisterConstraints
void RegisterConstraints(const std::vector< ParamConstraint > &constraints)
Will register parameter constraints.
Definition: Hazelnupp.cpp:521
-
Hazelnp::Hazelnupp::GetAbbreviation
const std::string & GetAbbreviation(const std::string &abbrev) const
Will return the long form of an abbreviation (like –force for -f)
Definition: Hazelnupp.cpp:505
+
Hazelnp::Hazelnupp::HasParam
bool HasParam(const std::string &key) const
Will check wether a parameter exists given a key, or not.
Definition: Hazelnupp.cpp:165
+
Hazelnp::Hazelnupp::Parse
void Parse(const int argc, const char *const *argv)
Will parse command line arguments.
Definition: Hazelnupp.cpp:36
+
Hazelnp::Hazelnupp::ClearDescription
void ClearDescription(const std::string &parameter)
Will delete the description of a parameter if it exists.
Definition: Hazelnupp.cpp:346
+
Hazelnp::Hazelnupp::RegisterAbbreviation
void RegisterAbbreviation(const std::string &abbrev, const std::string &target)
Will register an abbreviation (like -f for –force)
Definition: Hazelnupp.cpp:527
+
Hazelnp::Hazelnupp::GetAbbreviation
const std::string & GetAbbreviation(const std::string &abbrev) const
Will return the long form of an abbreviation (like –force for -f) Returns "" if no match is found.
Definition: Hazelnupp.cpp:533
+
Hazelnp::Hazelnupp::ClearDescriptions
void ClearDescriptions()
Will delete all parameter descriptions.
Definition: Hazelnupp.cpp:353
Parameter.h
-
Hazelnp::Hazelnupp::ClearDescription
void ClearDescription(const std::string &parameter)
Will delete the description of a parameter if it exists.
Definition: Hazelnupp.cpp:335
-
Hazelnp::Hazelnupp::HasAbbreviation
bool HasAbbreviation(const std::string &abbrev) const
Will check wether or not an abbreviation is registered.
Definition: Hazelnupp.cpp:510
-
Hazelnp::Hazelnupp::SetCrashOnFail
void SetCrashOnFail(bool crashOnFail)
Sets whether to crash the application, and print to stderr, when an exception is raised whilst parsin...
Definition: Hazelnupp.cpp:548
-
Hazelnp::Hazelnupp::RegisterDescription
void RegisterDescription(const std::string &parameter, const std::string &description)
Willl register a short description for a parameter.
Definition: Hazelnupp.cpp:317
-
Hazelnp::Hazelnupp::GetDescription
const std::string GetDescription(const std::string &parameter) const
Will return a short description for a parameter, if it exists.
Definition: Hazelnupp.cpp:323
+
Hazelnp::Hazelnupp::RegisterConstraint
void RegisterConstraint(const std::string &key, const ParamConstraint &constraint)
Will register a constraint for a parameter.
Definition: Hazelnupp.cpp:558
+
Hazelnp::Hazelnupp::GetDescription
const std::string & GetDescription(const std::string &parameter) const
Will return a short description for a parameter, if it exists.
Definition: Hazelnupp.cpp:330
+
Hazelnp::Hazelnupp::ClearConstraint
void ClearConstraint(const std::string &parameter)
Will the constraint of a specific parameter.
Definition: Hazelnupp.cpp:507
+
Hazelnp::Hazelnupp::HasAbbreviation
bool HasAbbreviation(const std::string &abbrev) const
Will check wether or not an abbreviation is registered.
Definition: Hazelnupp.cpp:541
+
Hazelnp::Hazelnupp::SetCrashOnFail
void SetCrashOnFail(bool crashOnFail)
Sets whether to crash the application, and print to stderr, when an exception is raised whilst parsin...
Definition: Hazelnupp.cpp:571
+
Hazelnp::Hazelnupp::RegisterDescription
void RegisterDescription(const std::string &parameter, const std::string &description)
Willl register a short description for a parameter.
Definition: Hazelnupp.cpp:324
+
Hazelnp::Hazelnupp::ClearAbbreviation
void ClearAbbreviation(const std::string &abbrevation)
Will delete the abbreviation for a given parameter.
Definition: Hazelnupp.cpp:546
diff --git a/docs/IntValue_8cpp.html b/docs/IntValue_8cpp.html index 0fa339f..314f35c 100644 --- a/docs/IntValue_8cpp.html +++ b/docs/IntValue_8cpp.html @@ -103,7 +103,7 @@ Include dependency graph for IntValue.cpp: diff --git a/docs/IntValue_8cpp_source.html b/docs/IntValue_8cpp_source.html index 6f5705b..b3e9743 100644 --- a/docs/IntValue_8cpp_source.html +++ b/docs/IntValue_8cpp_source.html @@ -173,7 +173,7 @@ $(function() {
Hazelnp::HazelnuppValueNotConvertibleException
Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not ...
Definition: HazelnuppException.h:35
diff --git a/docs/IntValue_8h.html b/docs/IntValue_8h.html index a9d4996..d90c08f 100644 --- a/docs/IntValue_8h.html +++ b/docs/IntValue_8h.html @@ -123,7 +123,7 @@ Namespaces diff --git a/docs/IntValue_8h_source.html b/docs/IntValue_8h_source.html index b857d1e..e4cbb70 100644 --- a/docs/IntValue_8h_source.html +++ b/docs/IntValue_8h_source.html @@ -142,7 +142,7 @@ $(function() {
Value.h
diff --git a/docs/ListValue_8cpp.html b/docs/ListValue_8cpp.html index 915d318..58abd54 100644 --- a/docs/ListValue_8cpp.html +++ b/docs/ListValue_8cpp.html @@ -103,7 +103,7 @@ Include dependency graph for ListValue.cpp: diff --git a/docs/ListValue_8cpp_source.html b/docs/ListValue_8cpp_source.html index f3ad09c..d8a51fc 100644 --- a/docs/ListValue_8cpp_source.html +++ b/docs/ListValue_8cpp_source.html @@ -199,7 +199,7 @@ $(function() {
Hazelnp::HazelnuppValueNotConvertibleException
Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not ...
Definition: HazelnuppException.h:35
diff --git a/docs/ListValue_8h.html b/docs/ListValue_8h.html index 0efbddc..4f1f563 100644 --- a/docs/ListValue_8h.html +++ b/docs/ListValue_8h.html @@ -123,7 +123,7 @@ Namespaces diff --git a/docs/ListValue_8h_source.html b/docs/ListValue_8h_source.html index 5873c71..27b8daa 100644 --- a/docs/ListValue_8h_source.html +++ b/docs/ListValue_8h_source.html @@ -145,7 +145,7 @@ $(function() {
Value.h
diff --git a/docs/ParamConstraint_8h.html b/docs/ParamConstraint_8h.html index f0be4e4..33068c5 100644 --- a/docs/ParamConstraint_8h.html +++ b/docs/ParamConstraint_8h.html @@ -122,7 +122,7 @@ Namespaces diff --git a/docs/ParamConstraint_8h_source.html b/docs/ParamConstraint_8h_source.html index bca5c9f..346f8e0 100644 --- a/docs/ParamConstraint_8h_source.html +++ b/docs/ParamConstraint_8h_source.html @@ -93,77 +93,78 @@ $(function() {
13 
14  //! Constructs a require constraint.
15  //! Think of the default value like of a list ofparameters. Like {"--width", "800"}
-
16  static ParamConstraint Require(const std::string& key, const std::vector<std::string>& defaultValue = {}, bool required = true)
+
16  static ParamConstraint Require(const std::vector<std::string>& defaultValue = {}, bool required = true)
17  {
18  ParamConstraint pc;
-
19  pc.key = key;
-
20  pc.defaultValue = defaultValue;
-
21  pc.required = required;
-
22 
-
23  return pc;
-
24  }
-
25 
-
26  //! Constructs a type-safety constraint
-
27  static ParamConstraint TypeSafety(const std::string& key, DATA_TYPE wantedType, bool constrainType = true)
-
28  {
-
29  ParamConstraint pc;
-
30  pc.key = key;
-
31  pc.constrainType = constrainType;
-
32  pc.wantedType = wantedType;
-
33 
-
34  return pc;
-
35  }
-
36 
-
37  //! Whole constructor
-
38  ParamConstraint(const std::string& key, bool constrainType, DATA_TYPE wantedType, const std::vector<std::string>& defaultValue, bool required)
-
39  :
-
40  key{ key },
-
41  constrainType{ constrainType },
-
42  wantedType{ wantedType },
-
43  defaultValue{ defaultValue },
-
44  required{ required }
-
45  {
-
46  return;
-
47  }
-
48 
-
49  //! The key of the parameter to constrain
-
50  std::string key;
-
51 
-
52  //! Should this parameter be forced to be of a certain type?
-
53  //! Remember to set `constrainTo` to the wanted type
-
54  bool constrainType = false;
-
55 
-
56  //! Constrain the parameter to this value. Requires `constrainType` to be set to true.
-
57  DATA_TYPE wantedType = DATA_TYPE::VOID;
-
58 
-
59  //! The default value for this parameter.
-
60  //! Gets applied if this parameter was not given.
-
61  //! Think of this like a list of parameters. Like {"--width", "800"}
-
62  std::vector<std::string> defaultValue;
-
63 
-
64  //! If set to true, and no default value set,
-
65  //! an error will be produced if this parameter is not supplied by the user.
-
66  bool required = false;
-
67  };
-
68 }
+
19  pc.defaultValue = defaultValue;
+
20  pc.required = required;
+
21 
+
22  return pc;
+
23  }
+
24 
+
25  //! Constructs a type-safety constraint
+
26  static ParamConstraint TypeSafety(DATA_TYPE wantedType, bool constrainType = true)
+
27  {
+
28  ParamConstraint pc;
+
29  pc.constrainType = constrainType;
+
30  pc.wantedType = wantedType;
+
31 
+
32  return pc;
+
33  }
+
34 
+
35  //! Whole constructor
+
36  ParamConstraint(bool constrainType, DATA_TYPE wantedType, const std::vector<std::string>& defaultValue, bool required)
+
37  :
+
38  constrainType{ constrainType },
+
39  wantedType{ wantedType },
+
40  defaultValue{ defaultValue },
+
41  required{ required }
+
42  {
+
43  return;
+
44  }
+
45 
+
46  //! Should this parameter be forced to be of a certain type?
+
47  //! Remember to set `constrainTo` to the wanted type
+
48  bool constrainType = false;
+
49 
+
50  //! Constrain the parameter to this value. Requires `constrainType` to be set to true.
+
51  DATA_TYPE wantedType = DATA_TYPE::VOID;
+
52 
+
53  //! The default value for this parameter.
+
54  //! Gets applied if this parameter was not given.
+
55  //! Think of this like a list of parameters. Like {"--width", "800"}
+
56  std::vector<std::string> defaultValue;
+
57 
+
58  //! If set to true, and no default value set,
+
59  //! an error will be produced if this parameter is not supplied by the user.
+
60  bool required = false;
+
61 
+
62  private:
+
63  //! The parameter this constraint is for.
+
64  //! This value is automatically set by Hazelnupp.
+
65  std::string key;
+
66 
+
67  friend class Hazelnupp;
+
68  };
+
69 }
Hazelnp
Definition: DataType.h:4
DataType.h
+
Hazelnp::ParamConstraint::ParamConstraint
ParamConstraint(bool constrainType, DATA_TYPE wantedType, const std::vector< std::string > &defaultValue, bool required)
Whole constructor.
Definition: ParamConstraint.h:36
+
Hazelnp::Hazelnupp
The main class to interface with.
Definition: Hazelnupp.h:11
Hazelnp::DATA_TYPE::VOID
@ VOID
-
Hazelnp::ParamConstraint::wantedType
DATA_TYPE wantedType
Constrain the parameter to this value. Requires constrainType to be set to true.
Definition: ParamConstraint.h:57
+
Hazelnp::ParamConstraint::wantedType
DATA_TYPE wantedType
Constrain the parameter to this value. Requires constrainType to be set to true.
Definition: ParamConstraint.h:51
Hazelnp::ParamConstraint
Definition: ParamConstraint.h:8
-
Hazelnp::ParamConstraint::constrainType
bool constrainType
Should this parameter be forced to be of a certain type? Remember to set constrainTo to the wanted ...
Definition: ParamConstraint.h:54
+
Hazelnp::ParamConstraint::constrainType
bool constrainType
Should this parameter be forced to be of a certain type? Remember to set constrainTo to the wanted ...
Definition: ParamConstraint.h:48
Hazelnp::ParamConstraint::ParamConstraint
ParamConstraint()=default
Empty constructor.
-
Hazelnp::ParamConstraint::key
std::string key
The key of the parameter to constrain.
Definition: ParamConstraint.h:50
-
Hazelnp::ParamConstraint::required
bool required
If set to true, and no default value set, an error will be produced if this parameter is not supplied...
Definition: ParamConstraint.h:66
-
Hazelnp::ParamConstraint::Require
static ParamConstraint Require(const std::string &key, const std::vector< std::string > &defaultValue={}, bool required=true)
Constructs a require constraint.
Definition: ParamConstraint.h:16
-
Hazelnp::ParamConstraint::ParamConstraint
ParamConstraint(const std::string &key, bool constrainType, DATA_TYPE wantedType, const std::vector< std::string > &defaultValue, bool required)
Whole constructor.
Definition: ParamConstraint.h:38
-
Hazelnp::ParamConstraint::TypeSafety
static ParamConstraint TypeSafety(const std::string &key, DATA_TYPE wantedType, bool constrainType=true)
Constructs a type-safety constraint.
Definition: ParamConstraint.h:27
+
Hazelnp::ParamConstraint::required
bool required
If set to true, and no default value set, an error will be produced if this parameter is not supplied...
Definition: ParamConstraint.h:60
Hazelnp::DATA_TYPE
DATA_TYPE
The different data types a paramater can be.
Definition: DataType.h:8
-
Hazelnp::ParamConstraint::defaultValue
std::vector< std::string > defaultValue
The default value for this parameter.
Definition: ParamConstraint.h:62
+
Hazelnp::ParamConstraint::defaultValue
std::vector< std::string > defaultValue
The default value for this parameter.
Definition: ParamConstraint.h:56
+
Hazelnp::ParamConstraint::Require
static ParamConstraint Require(const std::vector< std::string > &defaultValue={}, bool required=true)
Constructs a require constraint.
Definition: ParamConstraint.h:16
+
Hazelnp::ParamConstraint::TypeSafety
static ParamConstraint TypeSafety(DATA_TYPE wantedType, bool constrainType=true)
Constructs a type-safety constraint.
Definition: ParamConstraint.h:26
diff --git a/docs/Parameter_8cpp.html b/docs/Parameter_8cpp.html index 629124a..f04b173 100644 --- a/docs/Parameter_8cpp.html +++ b/docs/Parameter_8cpp.html @@ -98,7 +98,7 @@ Include dependency graph for Parameter.cpp: diff --git a/docs/Parameter_8cpp_source.html b/docs/Parameter_8cpp_source.html index 04e5028..dac49ab 100644 --- a/docs/Parameter_8cpp_source.html +++ b/docs/Parameter_8cpp_source.html @@ -116,7 +116,7 @@ $(function() {
Parameter.h
diff --git a/docs/Parameter_8h.html b/docs/Parameter_8h.html index 84dd6e5..42aa3e9 100644 --- a/docs/Parameter_8h.html +++ b/docs/Parameter_8h.html @@ -125,7 +125,7 @@ Namespaces diff --git a/docs/Parameter_8h_source.html b/docs/Parameter_8h_source.html index 7c45ddf..cf178ab 100644 --- a/docs/Parameter_8h_source.html +++ b/docs/Parameter_8h_source.html @@ -119,7 +119,7 @@ $(function() {
Value.h
diff --git a/docs/Placeholders_8h.html b/docs/Placeholders_8h.html new file mode 100644 index 0000000..3b85e48 --- /dev/null +++ b/docs/Placeholders_8h.html @@ -0,0 +1,127 @@ + + + + + + + +Leonetienne/Hazelnupp: Hazelnupp/Placeholders.h File Reference + + + + + + + + + + + +
+
+ + + + + + + +
+
Leonetienne/Hazelnupp +
+
Simple, easy to use, command line parameter interface
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Namespaces | +Variables
+
+
Placeholders.h File Reference
+
+
+
#include <string>
+
+Include dependency graph for Placeholders.h:
+
+
+ + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + +
+
+

Go to the source code of this file.

+ + + + + + +

+Namespaces

 Hazelnp
 
 Hazelnp::Placeholders
 
+ + + + +

+Variables

static const std::string Hazelnp::Placeholders::g_emptyString
 The only purpose of this is to provide the ability to return an empty string as an error for std::string& methods. More...
 
+
+ + + + diff --git a/docs/Placeholders_8h__dep__incl.map b/docs/Placeholders_8h__dep__incl.map new file mode 100644 index 0000000..7af3b7c --- /dev/null +++ b/docs/Placeholders_8h__dep__incl.map @@ -0,0 +1,4 @@ + + + + diff --git a/docs/Placeholders_8h__dep__incl.md5 b/docs/Placeholders_8h__dep__incl.md5 new file mode 100644 index 0000000..6a40e2f --- /dev/null +++ b/docs/Placeholders_8h__dep__incl.md5 @@ -0,0 +1 @@ +678075b6de5c70f209cd65d758fbf7ee \ No newline at end of file diff --git a/docs/Placeholders_8h__dep__incl.png b/docs/Placeholders_8h__dep__incl.png new file mode 100644 index 0000000..884bd55 Binary files /dev/null and b/docs/Placeholders_8h__dep__incl.png differ diff --git a/docs/Placeholders_8h__incl.map b/docs/Placeholders_8h__incl.map new file mode 100644 index 0000000..3e94310 --- /dev/null +++ b/docs/Placeholders_8h__incl.map @@ -0,0 +1,4 @@ + + + + diff --git a/docs/Placeholders_8h__incl.md5 b/docs/Placeholders_8h__incl.md5 new file mode 100644 index 0000000..58a6a99 --- /dev/null +++ b/docs/Placeholders_8h__incl.md5 @@ -0,0 +1 @@ +e5b4d2e9e3fff41bcea0a3f60f76dcda \ No newline at end of file diff --git a/docs/Placeholders_8h__incl.png b/docs/Placeholders_8h__incl.png new file mode 100644 index 0000000..29ee41b Binary files /dev/null and b/docs/Placeholders_8h__incl.png differ diff --git a/docs/Placeholders_8h_source.html b/docs/Placeholders_8h_source.html new file mode 100644 index 0000000..6a4c1b2 --- /dev/null +++ b/docs/Placeholders_8h_source.html @@ -0,0 +1,102 @@ + + + + + + + +Leonetienne/Hazelnupp: Hazelnupp/Placeholders.h Source File + + + + + + + + + + + +
+
+ + + + + + + +
+
Leonetienne/Hazelnupp +
+
Simple, easy to use, command line parameter interface
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Placeholders.h
+
+
+Go to the documentation of this file.
1 #pragma once
+
2 #include <string>
+
3 
+
4 namespace Hazelnp
+
5 {
+
6  namespace Placeholders
+
7  {
+
8  //! The only purpose of this is to provide the ability to return an empty string as an error for std::string& methods.
+
9  static const std::string g_emptyString;
+
10  }
+
11 }
+
+
Hazelnp
Definition: DataType.h:4
+
Hazelnp::Placeholders::g_emptyString
static const std::string g_emptyString
The only purpose of this is to provide the ability to return an empty string as an error for std::str...
Definition: Placeholders.h:9
+ + + + diff --git a/docs/Release_2Hazelnupp_8vcxproj_8FileListAbsolute_8txt.html b/docs/Release_2Hazelnupp_8vcxproj_8FileListAbsolute_8txt.html index 257421b..605b83b 100644 --- a/docs/Release_2Hazelnupp_8vcxproj_8FileListAbsolute_8txt.html +++ b/docs/Release_2Hazelnupp_8vcxproj_8FileListAbsolute_8txt.html @@ -77,7 +77,7 @@ $(function() { diff --git a/docs/StringTools_8cpp.html b/docs/StringTools_8cpp.html index 0900cdf..487b632 100644 --- a/docs/StringTools_8cpp.html +++ b/docs/StringTools_8cpp.html @@ -97,7 +97,7 @@ Include dependency graph for StringTools.cpp: diff --git a/docs/StringTools_8cpp_source.html b/docs/StringTools_8cpp_source.html index d8bc82a..382851d 100644 --- a/docs/StringTools_8cpp_source.html +++ b/docs/StringTools_8cpp_source.html @@ -275,7 +275,7 @@ $(function() {
Hazelnp::StringTools::ToLower
static std::string ToLower(const std::string &str)
Will make a string all lower-case.
Definition: StringTools.cpp:173
diff --git a/docs/StringTools_8h.html b/docs/StringTools_8h.html index c2360b1..ea1d3d5 100644 --- a/docs/StringTools_8h.html +++ b/docs/StringTools_8h.html @@ -124,7 +124,7 @@ Namespaces diff --git a/docs/StringTools_8h_source.html b/docs/StringTools_8h_source.html index 44c5819..35eefb9 100644 --- a/docs/StringTools_8h_source.html +++ b/docs/StringTools_8h_source.html @@ -129,7 +129,7 @@ $(function() {
Hazelnp::StringTools::ToLower
static std::string ToLower(const std::string &str)
Will make a string all lower-case.
Definition: StringTools.cpp:173
diff --git a/docs/StringValue_8cpp.html b/docs/StringValue_8cpp.html index f442d41..22b218f 100644 --- a/docs/StringValue_8cpp.html +++ b/docs/StringValue_8cpp.html @@ -103,7 +103,7 @@ Include dependency graph for StringValue.cpp: diff --git a/docs/StringValue_8cpp_source.html b/docs/StringValue_8cpp_source.html index f34587c..1ad6a28 100644 --- a/docs/StringValue_8cpp_source.html +++ b/docs/StringValue_8cpp_source.html @@ -165,7 +165,7 @@ $(function() {
Hazelnp::HazelnuppValueNotConvertibleException
Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not ...
Definition: HazelnuppException.h:35
diff --git a/docs/StringValue_8h.html b/docs/StringValue_8h.html index 0855911..fc39fae 100644 --- a/docs/StringValue_8h.html +++ b/docs/StringValue_8h.html @@ -123,7 +123,7 @@ Namespaces diff --git a/docs/StringValue_8h_source.html b/docs/StringValue_8h_source.html index 26f8ef5..4c06814 100644 --- a/docs/StringValue_8h_source.html +++ b/docs/StringValue_8h_source.html @@ -141,7 +141,7 @@ $(function() {
Value.h
diff --git a/docs/Value_8cpp.html b/docs/Value_8cpp.html index d9aaafb..5d2747e 100644 --- a/docs/Value_8cpp.html +++ b/docs/Value_8cpp.html @@ -97,7 +97,7 @@ Include dependency graph for Value.cpp: diff --git a/docs/Value_8cpp_source.html b/docs/Value_8cpp_source.html index 322d3f0..26a1802 100644 --- a/docs/Value_8cpp_source.html +++ b/docs/Value_8cpp_source.html @@ -102,7 +102,7 @@ $(function() {
Value.h
diff --git a/docs/Value_8h.html b/docs/Value_8h.html index 4cdd6ef..7971b8a 100644 --- a/docs/Value_8h.html +++ b/docs/Value_8h.html @@ -137,7 +137,7 @@ Namespaces diff --git a/docs/Value_8h_source.html b/docs/Value_8h_source.html index b74397a..aec4333 100644 --- a/docs/Value_8h_source.html +++ b/docs/Value_8h_source.html @@ -148,7 +148,7 @@ $(function() {
Hazelnp::Value::GetFloat64
virtual long double GetFloat64() const =0
Will attempt to return the floating-point data (long double)
diff --git a/docs/VoidValue_8cpp.html b/docs/VoidValue_8cpp.html index b12744e..64e73e1 100644 --- a/docs/VoidValue_8cpp.html +++ b/docs/VoidValue_8cpp.html @@ -101,7 +101,7 @@ Include dependency graph for VoidValue.cpp: diff --git a/docs/VoidValue_8cpp_source.html b/docs/VoidValue_8cpp_source.html index a5ce89d..3baafc5 100644 --- a/docs/VoidValue_8cpp_source.html +++ b/docs/VoidValue_8cpp_source.html @@ -124,13 +124,14 @@ $(function() {
44 
45 std::string VoidValue::GetString() const
46 {
-
47  throw HazelnuppValueNotConvertibleException();
+
47  return "";
48 }
49 
50 const std::vector<Value*>& VoidValue::GetList() const
51 {
-
52  throw HazelnuppValueNotConvertibleException();
-
53 }
+
52  static const std::vector<Value*> empty;
+
53  return empty;
+
54 }
HazelnuppException.h
Hazelnp
Definition: DataType.h:4
@@ -139,18 +140,18 @@ $(function() {
Hazelnp::DATA_TYPE::VOID
@ VOID
Hazelnp::VoidValue::GetAsOsString
std::string GetAsOsString() const override
Will return a string suitable for an std::ostream;.
Definition: VoidValue.cpp:18
Hazelnp::Value
Abstract class for values.
Definition: Value.h:10
-
Hazelnp::VoidValue::GetList
const std::vector< Value * > & GetList() const
Throws HazelnuppValueNotConvertibleException.
Definition: VoidValue.cpp:50
+
Hazelnp::VoidValue::GetList
const std::vector< Value * > & GetList() const
Returns an empty list.
Definition: VoidValue.cpp:50
Hazelnp::VoidValue::GetInt32
int GetInt32() const override
Throws HazelnuppValueNotConvertibleException.
Definition: VoidValue.cpp:30
VoidValue.h
Hazelnp::VoidValue::Deepcopy
Value * Deepcopy() const override
Will return a deeopopy of this object.
Definition: VoidValue.cpp:13
-
Hazelnp::VoidValue::GetString
std::string GetString() const override
Throws HazelnuppValueNotConvertibleException.
Definition: VoidValue.cpp:45
+
Hazelnp::VoidValue::GetString
std::string GetString() const override
Returns an empty string.
Definition: VoidValue.cpp:45
Hazelnp::DATA_TYPE
DATA_TYPE
The different data types a paramater can be.
Definition: DataType.h:8
Hazelnp::VoidValue::GetFloat32
double GetFloat32() const override
Throws HazelnuppValueNotConvertibleException.
Definition: VoidValue.cpp:40
Hazelnp::VoidValue::VoidValue
VoidValue()
Definition: VoidValue.cpp:6
Hazelnp::HazelnuppValueNotConvertibleException
Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not ...
Definition: HazelnuppException.h:35
diff --git a/docs/VoidValue_8h.html b/docs/VoidValue_8h.html index 5532ca1..e897569 100644 --- a/docs/VoidValue_8h.html +++ b/docs/VoidValue_8h.html @@ -122,7 +122,7 @@ Namespaces diff --git a/docs/VoidValue_8h_source.html b/docs/VoidValue_8h_source.html index 0a97261..0524c9f 100644 --- a/docs/VoidValue_8h_source.html +++ b/docs/VoidValue_8h_source.html @@ -107,10 +107,10 @@ $(function() {
27  //! Throws HazelnuppValueNotConvertibleException
28  double GetFloat32() const override;
29 
-
30  //! Throws HazelnuppValueNotConvertibleException
+
30  //! Returns an empty string
31  std::string GetString() const override;
32 
-
33  //! Throws HazelnuppValueNotConvertibleException
+
33  //! Returns an empty list
34  const std::vector<Value*>& GetList() const;
35  };
36 }
@@ -121,17 +121,17 @@ $(function() {
Hazelnp::VoidValue::GetFloat64
long double GetFloat64() const override
Throws HazelnuppValueNotConvertibleException.
Definition: VoidValue.cpp:35
Hazelnp::VoidValue::GetAsOsString
std::string GetAsOsString() const override
Will return a string suitable for an std::ostream;.
Definition: VoidValue.cpp:18
Hazelnp::Value
Abstract class for values.
Definition: Value.h:10
-
Hazelnp::VoidValue::GetList
const std::vector< Value * > & GetList() const
Throws HazelnuppValueNotConvertibleException.
Definition: VoidValue.cpp:50
+
Hazelnp::VoidValue::GetList
const std::vector< Value * > & GetList() const
Returns an empty list.
Definition: VoidValue.cpp:50
Hazelnp::VoidValue::GetInt32
int GetInt32() const override
Throws HazelnuppValueNotConvertibleException.
Definition: VoidValue.cpp:30
Hazelnp::VoidValue::Deepcopy
Value * Deepcopy() const override
Will return a deeopopy of this object.
Definition: VoidValue.cpp:13
Hazelnp::VoidValue
Specializations for void values.
Definition: VoidValue.h:8
-
Hazelnp::VoidValue::GetString
std::string GetString() const override
Throws HazelnuppValueNotConvertibleException.
Definition: VoidValue.cpp:45
+
Hazelnp::VoidValue::GetString
std::string GetString() const override
Returns an empty string.
Definition: VoidValue.cpp:45
Hazelnp::VoidValue::GetFloat32
double GetFloat32() const override
Throws HazelnuppValueNotConvertibleException.
Definition: VoidValue.cpp:40
Hazelnp::VoidValue::VoidValue
VoidValue()
Definition: VoidValue.cpp:6
Value.h
diff --git a/docs/annotated.html b/docs/annotated.html index eae2984..c95c390 100644 --- a/docs/annotated.html +++ b/docs/annotated.html @@ -98,7 +98,7 @@ $(function() { diff --git a/docs/classHazelnp_1_1FloatValue-members.html b/docs/classHazelnp_1_1FloatValue-members.html index 7cb7cfd..1381af9 100644 --- a/docs/classHazelnp_1_1FloatValue-members.html +++ b/docs/classHazelnp_1_1FloatValue-members.html @@ -101,7 +101,7 @@ $(function() { diff --git a/docs/classHazelnp_1_1FloatValue.html b/docs/classHazelnp_1_1FloatValue.html index 6594f0a..96e1535 100644 --- a/docs/classHazelnp_1_1FloatValue.html +++ b/docs/classHazelnp_1_1FloatValue.html @@ -574,7 +574,7 @@ Additional Inherited Members
Hazelnp::HazelnuppValueNotConvertibleException
Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not ...
Definition: HazelnuppException.h:35
diff --git a/docs/classHazelnp_1_1Hazelnupp-members.html b/docs/classHazelnp_1_1Hazelnupp-members.html index edc28ab..53ffd6b 100644 --- a/docs/classHazelnp_1_1Hazelnupp-members.html +++ b/docs/classHazelnp_1_1Hazelnupp-members.html @@ -81,33 +81,38 @@ $(function() {

This is the complete list of members for Hazelnp::Hazelnupp, including all inherited members.

- + + + - - - - - + + + + + + + - + - - - - - - - - - - - - + + + + + + + + + + + + +
ClearAbbreviations()Hazelnp::Hazelnupp
ClearAbbreviation(const std::string &abbrevation)Hazelnp::Hazelnupp
ClearAbbreviations()Hazelnp::Hazelnupp
ClearConstraint(const std::string &parameter)Hazelnp::Hazelnupp
ClearConstraints()Hazelnp::Hazelnupp
ClearDescription(const std::string &parameter)Hazelnp::Hazelnupp
GenerateDocumentation() constHazelnp::Hazelnupp
GetAbbreviation(const std::string &abbrev) constHazelnp::Hazelnupp
GetBriefDescription()Hazelnp::Hazelnupp
GetCatchHelp() constHazelnp::Hazelnupp
ClearDescription(const std::string &parameter)Hazelnp::Hazelnupp
ClearDescriptions()Hazelnp::Hazelnupp
GenerateDocumentation() constHazelnp::Hazelnupp
GetAbbreviation(const std::string &abbrev) constHazelnp::Hazelnupp
GetBriefDescription()Hazelnp::Hazelnupp
GetCatchHelp() constHazelnp::Hazelnupp
GetConstraint(const std::string &parameter) constHazelnp::Hazelnupp
GetCrashOnFail() constHazelnp::Hazelnupp
GetDescription(const std::string &parameter) constHazelnp::Hazelnupp
GetDescription(const std::string &parameter) constHazelnp::Hazelnupp
GetExecutableName() constHazelnp::Hazelnupp
HasAbbreviation(const std::string &abbrev) constHazelnp::Hazelnupp
HasParam(const std::string &key) constHazelnp::Hazelnupp
Hazelnupp()Hazelnp::Hazelnupp
Hazelnupp(const int argc, const char *const *argv)Hazelnp::Hazelnupp
operator[](const std::string &key) constHazelnp::Hazelnupp
Parse(const int argc, const char *const *argv)Hazelnp::Hazelnupp
RegisterAbbreviation(const std::string &abbrev, const std::string &target)Hazelnp::Hazelnupp
RegisterConstraints(const std::vector< ParamConstraint > &constraints)Hazelnp::Hazelnupp
RegisterDescription(const std::string &parameter, const std::string &description)Hazelnp::Hazelnupp
SetBriefDescription(const std::string &description)Hazelnp::Hazelnupp
SetCatchHelp(bool catchHelp)Hazelnp::Hazelnupp
SetCrashOnFail(bool crashOnFail)Hazelnp::Hazelnupp
~Hazelnupp()Hazelnp::Hazelnupp
HasDescription(const std::string &parameter) constHazelnp::Hazelnupp
HasParam(const std::string &key) constHazelnp::Hazelnupp
Hazelnupp()Hazelnp::Hazelnupp
Hazelnupp(const int argc, const char *const *argv)Hazelnp::Hazelnupp
operator[](const std::string &key) constHazelnp::Hazelnupp
Parse(const int argc, const char *const *argv)Hazelnp::Hazelnupp
RegisterAbbreviation(const std::string &abbrev, const std::string &target)Hazelnp::Hazelnupp
RegisterConstraint(const std::string &key, const ParamConstraint &constraint)Hazelnp::Hazelnupp
RegisterDescription(const std::string &parameter, const std::string &description)Hazelnp::Hazelnupp
SetBriefDescription(const std::string &description)Hazelnp::Hazelnupp
SetCatchHelp(bool catchHelp)Hazelnp::Hazelnupp
SetCrashOnFail(bool crashOnFail)Hazelnp::Hazelnupp
~Hazelnupp()Hazelnp::Hazelnupp
diff --git a/docs/classHazelnp_1_1Hazelnupp.html b/docs/classHazelnp_1_1Hazelnupp.html index dd0b41f..fffe5ba 100644 --- a/docs/classHazelnp_1_1Hazelnupp.html +++ b/docs/classHazelnp_1_1Hazelnupp.html @@ -111,17 +111,27 @@ Public Member Functions  Will register an abbreviation (like -f for –force) More...
  const std::string & GetAbbreviation (const std::string &abbrev) const - Will return the long form of an abbreviation (like –force for -f) More...
+ Will return the long form of an abbreviation (like –force for -f)
+ Returns "" if no match is found. More...
  bool HasAbbreviation (const std::string &abbrev) const  Will check wether or not an abbreviation is registered. More...
  +void ClearAbbreviation (const std::string &abbrevation) + Will delete the abbreviation for a given parameter. More...
+  void ClearAbbreviations ()  Will delete all abbreviations. More...
  -void RegisterConstraints (const std::vector< ParamConstraint > &constraints) - Will register parameter constraints. More...
-  +void RegisterConstraint (const std::string &key, const ParamConstraint &constraint) + Will register a constraint for a parameter. More...
+  +ParamConstraint GetConstraint (const std::string &parameter) const + Will return the constraint information for a specific parameter. More...
+  +void ClearConstraint (const std::string &parameter) + Will the constraint of a specific parameter. More...
+  void ClearConstraints ()  Will delete all constraints. More...
  @@ -146,12 +156,18 @@ Public Member Functions void RegisterDescription (const std::string &parameter, const std::string &description)  Willl register a short description for a parameter. More...
  -const std::string GetDescription (const std::string &parameter) const - Will return a short description for a parameter, if it exists. More...
-  -void ClearDescription (const std::string &parameter) - Will delete the description of a parameter if it exists. More...
-  +const std::string & GetDescription (const std::string &parameter) const + Will return a short description for a parameter, if it exists. More...
+  +bool HasDescription (const std::string &parameter) const + Returns whether or not a given parameter has a registered description. More...
+  +void ClearDescription (const std::string &parameter) + Will delete the description of a parameter if it exists. More...
+  +void ClearDescriptions () + Will delete all parameter descriptions. More...
+  std::string GenerateDocumentation () const  Will generate a text-based documentation suited to show the user, for example on –help. More...
  @@ -176,10 +192,10 @@ Public Member Functions
-

Definition at line 14 of file Hazelnupp.cpp.

-
15 {
-
16  return;
-
17 }
+

Definition at line 15 of file Hazelnupp.cpp.

+
16 {
+
17  return;
+
18 }
@@ -209,11 +225,11 @@ Public Member Functions
-

Definition at line 19 of file Hazelnupp.cpp.

-
20 {
-
21  Parse(argc, argv);
-
22  return;
-
23 }
+

Definition at line 20 of file Hazelnupp.cpp.

+
21 {
+
22  Parse(argc, argv);
+
23  return;
+
24 }
@@ -232,19 +248,47 @@ Public Member Functions
-

Definition at line 25 of file Hazelnupp.cpp.

-
26 {
-
27  for (auto& it : parameters)
-
28  delete it.second;
-
29 
-
30  parameters.clear();
-
31 
-
32  return;
-
33 }
+

Definition at line 26 of file Hazelnupp.cpp.

+
27 {
+
28  for (auto& it : parameters)
+
29  delete it.second;
+
30 
+
31  parameters.clear();
+
32 
+
33  return;
+
34 }

Member Function Documentation

+ +

◆ ClearAbbreviation()

+ +
+
+ + + + + + + + +
void Hazelnupp::ClearAbbreviation (const std::string & abbrevation)
+
+ +

Will delete the abbreviation for a given parameter.

+


+ IMPORTANT: This parameter is the abbreviation! Not the long form!

+ +

Definition at line 546 of file Hazelnupp.cpp.

+
547 {
+
548  parameterAbreviations.erase(abbrevation);
+
549  return;
+
550 }
+
+
+

◆ ClearAbbreviations()

@@ -262,11 +306,37 @@ Public Member Functions

Will delete all abbreviations.

-

Definition at line 515 of file Hazelnupp.cpp.

-
516 {
-
517  abbreviations.clear();
-
518  return;
-
519 }
+

Definition at line 552 of file Hazelnupp.cpp.

+
553 {
+
554  parameterAbreviations.clear();
+
555  return;
+
556 }
+
+
+ + +

◆ ClearConstraint()

+ +
+
+ + + + + + + + +
void Hazelnupp::ClearConstraint (const std::string & parameter)
+
+ +

Will the constraint of a specific parameter.

+ +

Definition at line 507 of file Hazelnupp.cpp.

+
508 {
+
509  parameterConstraints.erase(parameter);
+
510  return;
+
511 }
@@ -287,22 +357,22 @@ Public Member Functions

Will delete all constraints.

-

Definition at line 542 of file Hazelnupp.cpp.

-
543 {
-
544  constraints.clear();
-
545  return;
-
546 }
+

Definition at line 565 of file Hazelnupp.cpp.

+
566 {
+
567  parameterConstraints.clear();
+
568  return;
+
569 }
- -

◆ ClearDescription()

+ +

◆ ClearDescription()

- + @@ -313,12 +383,37 @@ Public Member Functions

Will delete the description of a parameter if it exists.

-

Definition at line 335 of file Hazelnupp.cpp.

-
336 {
-
337  // This will just do nothing if the entry does not exist
-
338  parameterDescriptions.erase(parameter);
-
339  return;
-
340 }
+

Definition at line 346 of file Hazelnupp.cpp.

+
347 {
+
348  // This will just do nothing if the entry does not exist
+
349  parameterDescriptions.erase(parameter);
+
350  return;
+
351 }
+
+
+ + +

◆ ClearDescriptions()

+ +
+
+
void Hazelnp::Hazelnupp::ClearDescription void Hazelnupp::ClearDescription ( const std::string &  parameter)
+ + + + + + +
void Hazelnp::Hazelnupp::ClearDescriptions ()
+
+ +

Will delete all parameter descriptions.

+ +

Definition at line 353 of file Hazelnupp.cpp.

+
354 {
+
355  parameterDescriptions.clear();
+
356  return;
+
357 }
@@ -339,114 +434,114 @@ Public Member Functions

Will generate a text-based documentation suited to show the user, for example on –help.

-

Definition at line 342 of file Hazelnupp.cpp.

-
343 {
-
344  std::stringstream ss;
-
345 
-
346  // Add brief, if available
-
347  if (briefDescription.length() > 0)
-
348  ss << briefDescription << std::endl;
-
349 
-
350  // Collect parameter information
-
351  struct ParamDocEntry
-
352  {
-
353  std::string abbreviation;
-
354  std::string description;
-
355  std::string type;
-
356  bool required = false;
-
357  bool typeIsForced = false;
-
358  std::string defaultVal;
-
359  };
-
360  std::unordered_map<std::string, ParamDocEntry> paramInfos;
-
361 
-
362  // Collect descriptions
-
363  for (const auto& it : parameterDescriptions)
-
364  {
-
365  // Do we already have that param in the paramInfo set?
-
366  if (paramInfos.find(it.first) == paramInfos.end())
-
367  // No? Create it.
-
368  paramInfos[it.first] = ParamDocEntry();
-
369 
-
370  paramInfos[it.first].description = it.second;
-
371  }
-
372 
-
373  // Collect abbreviations
-
374  // first value is abbreviation, second is long form
-
375  for (const auto& it : abbreviations)
-
376  {
-
377  // Do we already have that param in the paramInfo set?
-
378  if (paramInfos.find(it.second) == paramInfos.end())
-
379  // No? Create it.
-
380  paramInfos[it.second] = ParamDocEntry();
-
381 
-
382  paramInfos[it.second].abbreviation = it.first;
-
383  }
-
384 
-
385  // Collect constraints
-
386  for (const auto& it : constraints)
-
387  {
-
388  // Do we already have that param in the paramInfo set?
-
389  if (paramInfos.find(it.first) == paramInfos.end())
-
390  // No? Create it.
-
391  paramInfos[it.first] = ParamDocEntry();
-
392 
-
393  ParamDocEntry& cached = paramInfos[it.first];
-
394  cached.required = it.second.required;
-
395  cached.typeIsForced = it.second.constrainType;
-
396  cached.type = DataTypeToString(it.second.wantedType);
-
397 
-
398  std::stringstream defaultValueSs;
-
399  for (const std::string& s : it.second.defaultValue)
-
400  {
-
401  defaultValueSs << '\'' << s << '\'';
-
402 
-
403  // Add a space if we are not at the last entry
-
404  if ((void*)&s != (void*)&it.second.defaultValue.back())
-
405  defaultValueSs << " ";
-
406  }
-
407  cached.defaultVal = defaultValueSs.str();
-
408  }
+

Definition at line 359 of file Hazelnupp.cpp.

+
360 {
+
361  std::stringstream ss;
+
362 
+
363  // Add brief, if available
+
364  if (briefDescription.length() > 0)
+
365  ss << briefDescription << std::endl;
+
366 
+
367  // Collect parameter information
+
368  struct ParamDocEntry
+
369  {
+
370  std::string abbreviation;
+
371  std::string description;
+
372  std::string type;
+
373  bool required = false;
+
374  bool typeIsForced = false;
+
375  std::string defaultVal;
+
376  };
+
377  std::unordered_map<std::string, ParamDocEntry> paramInfos;
+
378 
+
379  // Collect descriptions
+
380  for (const auto& it : parameterDescriptions)
+
381  {
+
382  // Do we already have that param in the paramInfo set?
+
383  if (paramInfos.find(it.first) == paramInfos.end())
+
384  // No? Create it.
+
385  paramInfos[it.first] = ParamDocEntry();
+
386 
+
387  paramInfos[it.first].description = it.second;
+
388  }
+
389 
+
390  // Collect abbreviations
+
391  // first value is abbreviation, second is long form
+
392  for (const auto& it : parameterAbreviations)
+
393  {
+
394  // Do we already have that param in the paramInfo set?
+
395  if (paramInfos.find(it.second) == paramInfos.end())
+
396  // No? Create it.
+
397  paramInfos[it.second] = ParamDocEntry();
+
398 
+
399  paramInfos[it.second].abbreviation = it.first;
+
400  }
+
401 
+
402  // Collect constraints
+
403  for (const auto& it : parameterConstraints)
+
404  {
+
405  // Do we already have that param in the paramInfo set?
+
406  if (paramInfos.find(it.first) == paramInfos.end())
+
407  // No? Create it.
+
408  paramInfos[it.first] = ParamDocEntry();
409 
-
410  // Now generate the documentatino body
-
411  if (paramInfos.size() > 0)
-
412  {
-
413  ss << std::endl
-
414  << "==== AVAILABLE PARAMETERS ===="
-
415  << std::endl << std::endl;
-
416 
-
417  for (const auto& it : paramInfos)
-
418  {
-
419  const ParamDocEntry& pde = it.second;
-
420 
-
421  // Put name
-
422  ss << it.first << " ";
-
423 
-
424  // Put abbreviation
-
425  if (pde.abbreviation.length() > 0)
-
426  ss << pde.abbreviation << " ";
-
427 
-
428  // Put type
-
429  if (pde.typeIsForced)
-
430  ss << pde.type << " ";
-
431 
-
432  // Put default value
-
433  if (pde.defaultVal.length() > 0)
-
434  ss << "default=[" << pde.defaultVal << "] ";
-
435 
-
436  // Put required tag, but only if no default value
-
437  if ((pde.required) && (pde.defaultVal.length() == 0))
-
438  ss << "[[REQUIRED]] ";
-
439 
-
440  // Put brief description
-
441  if (pde.description.length() > 0)
-
442  ss << pde.description;
-
443 
-
444  ss << std::endl << std::endl;
-
445  }
-
446  }
-
447 
-
448  return ss.str();
-
449 }
+
410  ParamDocEntry& cached = paramInfos[it.first];
+
411  cached.required = it.second.required;
+
412  cached.typeIsForced = it.second.constrainType;
+
413  cached.type = DataTypeToString(it.second.wantedType);
+
414 
+
415  std::stringstream defaultValueSs;
+
416  for (const std::string& s : it.second.defaultValue)
+
417  {
+
418  defaultValueSs << '\'' << s << '\'';
+
419 
+
420  // Add a space if we are not at the last entry
+
421  if ((void*)&s != (void*)&it.second.defaultValue.back())
+
422  defaultValueSs << " ";
+
423  }
+
424  cached.defaultVal = defaultValueSs.str();
+
425  }
+
426 
+
427  // Now generate the documentatino body
+
428  if (paramInfos.size() > 0)
+
429  {
+
430  ss << std::endl
+
431  << "==== AVAILABLE PARAMETERS ===="
+
432  << std::endl << std::endl;
+
433 
+
434  for (const auto& it : paramInfos)
+
435  {
+
436  const ParamDocEntry& pde = it.second;
+
437 
+
438  // Put name
+
439  ss << it.first << " ";
+
440 
+
441  // Put abbreviation
+
442  if (pde.abbreviation.length() > 0)
+
443  ss << pde.abbreviation << " ";
+
444 
+
445  // Put type
+
446  if (pde.typeIsForced)
+
447  ss << pde.type << " ";
+
448 
+
449  // Put default value
+
450  if (pde.defaultVal.length() > 0)
+
451  ss << "default=[" << pde.defaultVal << "] ";
+
452 
+
453  // Put required tag, but only if no default value
+
454  if ((pde.required) && (pde.defaultVal.length() == 0))
+
455  ss << "[[REQUIRED]] ";
+
456 
+
457  // Put brief description
+
458  if (pde.description.length() > 0)
+
459  ss << pde.description;
+
460 
+
461  ss << std::endl << std::endl;
+
462  }
+
463  }
+
464 
+
465  return ss.str();
+
466 }
@@ -466,12 +561,16 @@ Public Member Functions
-

Will return the long form of an abbreviation (like –force for -f)

+

Will return the long form of an abbreviation (like –force for -f)
+ Returns "" if no match is found.

-

Definition at line 505 of file Hazelnupp.cpp.

-
506 {
-
507  return abbreviations.find(abbrev)->second;
-
508 }
+

Definition at line 533 of file Hazelnupp.cpp.

+
534 {
+
535  if (!HasAbbreviation(abbrev))
+ +
537 
+
538  return parameterAbreviations.find(abbrev)->second;
+
539 }
@@ -492,10 +591,10 @@ Public Member Functions

Returns the brief description of the application to be automatically added to the documentation.

-

Definition at line 312 of file Hazelnupp.cpp.

-
313 {
-
314  return briefDescription;
-
315 }
+

Definition at line 319 of file Hazelnupp.cpp.

+
320 {
+
321  return briefDescription;
+
322 }
@@ -516,10 +615,35 @@ Public Member Functions

Retruns whether the Hazelnupp should automatically catch the –help parameter, print the parameter documentation to stdout, and exit or not.

-

Definition at line 301 of file Hazelnupp.cpp.

-
302 {
-
303  return catchHelp;
-
304 }
+

Definition at line 308 of file Hazelnupp.cpp.

+
309 {
+
310  return catchHelp;
+
311 }
+
+
+ + +

◆ GetConstraint()

+ +
+
+ + + + + + + + +
ParamConstraint Hazelnupp::GetConstraint (const std::string & parameter) const
+
+ +

Will return the constraint information for a specific parameter.

+ +

Definition at line 502 of file Hazelnupp.cpp.

+
503 {
+
504  return parameterConstraints.find(parameter)->second;
+
505 }
@@ -540,21 +664,21 @@ Public Member Functions

Gets whether the application crashes on an exception whilst parsing, and prints to stderr.

-

Definition at line 290 of file Hazelnupp.cpp.

-
291 {
-
292  return crashOnFail;
-
293 }
+

Definition at line 297 of file Hazelnupp.cpp.

+
298 {
+
299  return crashOnFail;
+
300 }
- -

◆ GetDescription()

+ +

◆ GetDescription()

- + @@ -567,17 +691,16 @@ Public Member Functions


Empty string if it does not exist.

-

Definition at line 323 of file Hazelnupp.cpp.

-
324 {
-
325  // Do we already have a description for this parameter?
-
326  const auto par = parameterDescriptions.find(parameter);
-
327  if (par == parameterDescriptions.end())
-
328  // No? Then return ""
-
329  return "";
-
330 
-
331  // We do? Then return it
-
332  return par->second;
-
333 }
+

Definition at line 330 of file Hazelnupp.cpp.

+
331 {
+
332  // Do we already have a description for this parameter?
+
333  if (!HasDescription(parameter))
+
334  // No? Then return ""
+ +
336 
+
337  // We do? Then return it
+
338  return parameterDescriptions.find(parameter)->second;
+
339 }
@@ -598,10 +721,10 @@ Public Member Functions

Will return argv[0], the name of the executable.

-

Definition at line 485 of file Hazelnupp.cpp.

-
486 {
-
487  return executableName;
-
488 }
+

Definition at line 513 of file Hazelnupp.cpp.

+
514 {
+
515  return executableName;
+
516 }
@@ -623,10 +746,35 @@ Public Member Functions

Will check wether or not an abbreviation is registered.

-

Definition at line 510 of file Hazelnupp.cpp.

-
511 {
-
512  return abbreviations.find(abbrev) != abbreviations.end();
-
513 }
+

Definition at line 541 of file Hazelnupp.cpp.

+
542 {
+
543  return parameterAbreviations.find(abbrev) != parameterAbreviations.end();
+
544 }
+
+
+ + +

◆ HasDescription()

+ +
+
+
const std::string Hazelnp::Hazelnupp::GetDescription const std::string & Hazelnp::Hazelnupp::GetDescription ( const std::string &  parameter)
+ + + + + + + +
bool Hazelnupp::HasDescription (const std::string & parameter) const
+
+ +

Returns whether or not a given parameter has a registered description.

+ +

Definition at line 341 of file Hazelnupp.cpp.

+
342 {
+
343  return parameterDescriptions.find(parameter) != parameterDescriptions.end();
+
344 }
@@ -648,10 +796,10 @@ Public Member Functions

Will check wether a parameter exists given a key, or not.

-

Definition at line 164 of file Hazelnupp.cpp.

-
165 {
-
166  return parameters.find(key) != parameters.end();
-
167 }
+

Definition at line 165 of file Hazelnupp.cpp.

+
166 {
+
167  return parameters.find(key) != parameters.end();
+
168 }
@@ -673,14 +821,14 @@ Public Member Functions

Will return the value given a key.

-

Definition at line 490 of file Hazelnupp.cpp.

-
491 {
-
492  // Throw exception if param is unknown
-
493  if (!HasParam(key))
-
494  throw HazelnuppInvalidKeyException();
-
495 
-
496  return *parameters.find(key)->second->GetValue();
-
497 }
+

Definition at line 518 of file Hazelnupp.cpp.

+
519 {
+
520  // Throw exception if param is unknown
+
521  if (!HasParam(key))
+ +
523 
+
524  return *parameters.find(key)->second->GetValue();
+
525 }
@@ -712,70 +860,70 @@ Public Member Functions

Will parse command line arguments.

-

Definition at line 35 of file Hazelnupp.cpp.

-
36 {
-
37  try
-
38  {
-
39  // Populate raw arguments
-
40  PopulateRawArgs(argc, argv);
-
41 
-
42  // Expand abbreviations
-
43  ExpandAbbreviations();
-
44 
-
45  executableName = std::string(rawArgs[0]);
-
46 
-
47  std::size_t i = 1;
-
48  while (i < rawArgs.size())
-
49  {
-
50  if ((rawArgs[i].length() > 2) && (rawArgs[i].substr(0, 2) == "--"))
-
51  {
-
52  Parameter* param = nullptr;
-
53  i = ParseNextParameter(i, param);
-
54 
-
55  parameters.insert(std::pair<std::string, Parameter*>(param->Key(), param));
-
56  }
-
57  else
-
58  i++;
-
59  }
-
60 
-
61  // Apply constraints such as default values, and required parameters.
-
62  // Types have already been enforced.
-
63  // Dont apply constraints when we are just printind the param docs
-
64  if ((!catchHelp) || (!HasParam("--help")))
-
65  ApplyConstraints();
-
66  }
-
67  catch (const HazelnuppConstraintTypeMissmatch& hctm)
-
68  {
-
69  if (crashOnFail)
-
70  {
-
71  std::cout << GenerateDocumentation() << std::endl;
-
72  std::cerr << "Fatal error: Command-line parameter value-type mismatch at \"" << hctm.What() << "\"!";
-
73  quick_exit(-1009);
-
74  }
-
75  else
-
76  throw hctm; // yeet
-
77  }
-
78  catch (const HazelnuppConstraintMissingValue& hctm)
-
79  {
-
80  if (crashOnFail)
-
81  {
-
82  std::cout << GenerateDocumentation() << std::endl;
-
83  std::cerr << "Fatal error: Missing required command-line parameter \"" << hctm.What() << "\"!";
-
84  quick_exit(-1010);
-
85  }
-
86  else
-
87  throw hctm; // yeet
-
88  }
-
89 
-
90  // Catch --help parameter
-
91  if ((catchHelp) && (HasParam("--help")))
-
92  {
-
93  std::cout << GenerateDocumentation() << std::endl;
-
94  quick_exit(0);
-
95  }
-
96 
-
97  return;
-
98 }
+

Definition at line 36 of file Hazelnupp.cpp.

+
37 {
+
38  try
+
39  {
+
40  // Populate raw arguments
+
41  PopulateRawArgs(argc, argv);
+
42 
+
43  // Expand abbreviations
+
44  ExpandAbbreviations();
+
45 
+
46  executableName = std::string(rawArgs[0]);
+
47 
+
48  std::size_t i = 1;
+
49  while (i < rawArgs.size())
+
50  {
+
51  if ((rawArgs[i].length() > 2) && (rawArgs[i].substr(0, 2) == "--"))
+
52  {
+
53  Parameter* param = nullptr;
+
54  i = ParseNextParameter(i, param);
+
55 
+
56  parameters.insert(std::pair<std::string, Parameter*>(param->Key(), param));
+
57  }
+
58  else
+
59  i++;
+
60  }
+
61 
+
62  // Apply constraints such as default values, and required parameters.
+
63  // Types have already been enforced.
+
64  // Dont apply constraints when we are just printind the param docs
+
65  if ((!catchHelp) || (!HasParam("--help")))
+
66  ApplyConstraints();
+
67  }
+
68  catch (const HazelnuppConstraintTypeMissmatch& hctm)
+
69  {
+
70  if (crashOnFail)
+
71  {
+
72  std::cout << GenerateDocumentation() << std::endl;
+
73  std::cerr << "Fatal error: Command-line parameter value-type mismatch at \"" << hctm.What() << "\"!";
+
74  quick_exit(-1009);
+
75  }
+
76  else
+
77  throw hctm; // yeet
+
78  }
+
79  catch (const HazelnuppConstraintMissingValue& hctm)
+
80  {
+
81  if (crashOnFail)
+
82  {
+
83  std::cout << GenerateDocumentation() << std::endl;
+
84  std::cerr << "Fatal error: Missing required command-line parameter \"" << hctm.What() << "\"!";
+
85  quick_exit(-1010);
+
86  }
+
87  else
+
88  throw hctm; // yeet
+
89  }
+
90 
+
91  // Catch --help parameter
+
92  if ((catchHelp) && (HasParam("--help")))
+
93  {
+
94  std::cout << GenerateDocumentation() << std::endl;
+
95  quick_exit(0);
+
96  }
+
97 
+
98  return;
+
99 }
@@ -807,52 +955,49 @@ Public Member Functions

Will register an abbreviation (like -f for –force)

-

Definition at line 499 of file Hazelnupp.cpp.

-
500 {
-
501  abbreviations.insert(std::pair<std::string, std::string>(abbrev, target));
-
502  return;
-
503 }
+

Definition at line 527 of file Hazelnupp.cpp.

+
528 {
+
529  parameterAbreviations.insert(std::pair<std::string, std::string>(abbrev, target));
+
530  return;
+
531 }
- -

◆ RegisterConstraints()

+ +

◆ RegisterConstraint()

- + - - + + + + + + + + + + + +
void Hazelnupp::RegisterConstraints void Hazelnupp::RegisterConstraint (const std::vector< ParamConstraint > & constraints)const std::string & key,
const ParamConstraintconstraint 
)
-

Will register parameter constraints.

+

Will register a constraint for a parameter.

+

IMPORTANT: Any parameter can only have ONE constraint. Applying a new one will overwrite the old one! Construct the ParamConstraint struct yourself to combine Require and TypeSafety! You can also use the ParamConstraint constructor!

-

Definition at line 521 of file Hazelnupp.cpp.

-
522 {
-
523  for (const ParamConstraint& pc : constraints)
-
524  {
-
525  // Does this constraint already exist?
-
526  const auto constraint = this->constraints.find(pc.key);
-
527  // If yes, replace it.
-
528  if (constraint != this->constraints.end())
-
529  constraint->second = pc;
-
530 
-
531  // Else, create a new pair
-
532  else
-
533  this->constraints.insert(std::pair<std::string, ParamConstraint>(
-
534  pc.key,
-
535  pc
-
536  ));
-
537  }
-
538 
-
539  return;
-
540 }
+

Definition at line 558 of file Hazelnupp.cpp.

+
559 {
+
560  // Magic syntax, wooo
+
561  (parameterConstraints[key] = constraint).key = key;
+
562  return;
+
563 }
@@ -886,11 +1031,11 @@ Public Member Functions


Will overwrite existing descriptions for that parameter.

-

Definition at line 317 of file Hazelnupp.cpp.

-
318 {
-
319  parameterDescriptions[parameter] = description;
-
320  return;
-
321 }
+

Definition at line 324 of file Hazelnupp.cpp.

+
325 {
+
326  parameterDescriptions[parameter] = description;
+
327  return;
+
328 }
@@ -912,11 +1057,11 @@ Public Member Functions

Sets a brief description of the application to be automatically added to the documentation.

-

Definition at line 306 of file Hazelnupp.cpp.

-
307 {
-
308  briefDescription = description;
-
309  return;
-
310 }
+

Definition at line 313 of file Hazelnupp.cpp.

+
314 {
+
315  briefDescription = description;
+
316  return;
+
317 }
@@ -938,11 +1083,11 @@ Public Member Functions

Sets whether the Hazelnupp should automatically catch the –help parameter, print the parameter documentation to stdout, and exit or not.

-

Definition at line 295 of file Hazelnupp.cpp.

-
296 {
-
297  this->catchHelp = catchHelp;
-
298  return;
-
299 }
+

Definition at line 302 of file Hazelnupp.cpp.

+
303 {
+
304  this->catchHelp = catchHelp;
+
305  return;
+
306 }
@@ -964,11 +1109,11 @@ Public Member Functions

Sets whether to crash the application, and print to stderr, when an exception is raised whilst parsing, or not.

-

Definition at line 548 of file Hazelnupp.cpp.

-
549 {
-
550  this->crashOnFail = crashOnFail;
-
551  return;
-
552 }
+

Definition at line 571 of file Hazelnupp.cpp.

+
572 {
+
573  this->crashOnFail = crashOnFail;
+
574  return;
+
575 }
@@ -978,19 +1123,21 @@ Public Member Functions
Hazelnp::HazelnuppInvalidKeyException
Gets thrown when an non-existent key gets dereferenced.
Definition: HazelnuppException.h:26
-
Hazelnp::Hazelnupp::GenerateDocumentation
std::string GenerateDocumentation() const
Will generate a text-based documentation suited to show the user, for example on –help.
Definition: Hazelnupp.cpp:342
+
Hazelnp::Hazelnupp::GenerateDocumentation
std::string GenerateDocumentation() const
Will generate a text-based documentation suited to show the user, for example on –help.
Definition: Hazelnupp.cpp:359
Hazelnp::HazelnuppException::What
const std::string & What() const
Will return an error message.
Definition: HazelnuppException.h:15
+
Hazelnp::Hazelnupp::HasDescription
bool HasDescription(const std::string &parameter) const
Returns whether or not a given parameter has a registered description.
Definition: Hazelnupp.cpp:341
Hazelnp::Parameter
Definition: Parameter.h:8
-
Hazelnp::ParamConstraint
Definition: ParamConstraint.h:8
-
Hazelnp::Hazelnupp::HasParam
bool HasParam(const std::string &key) const
Will check wether a parameter exists given a key, or not.
Definition: Hazelnupp.cpp:164
-
Hazelnp::Hazelnupp::Parse
void Parse(const int argc, const char *const *argv)
Will parse command line arguments.
Definition: Hazelnupp.cpp:35
+
Hazelnp::Placeholders::g_emptyString
static const std::string g_emptyString
The only purpose of this is to provide the ability to return an empty string as an error for std::str...
Definition: Placeholders.h:9
+
Hazelnp::Hazelnupp::HasParam
bool HasParam(const std::string &key) const
Will check wether a parameter exists given a key, or not.
Definition: Hazelnupp.cpp:165
+
Hazelnp::Hazelnupp::Parse
void Parse(const int argc, const char *const *argv)
Will parse command line arguments.
Definition: Hazelnupp.cpp:36
Hazelnp::Parameter::Key
const std::string & Key() const
Will return the key of this parameter.
Definition: Parameter.cpp:21
Hazelnp::HazelnuppConstraintMissingValue
Gets thrown when a parameter constrained to be required is not provided, and has no default value set...
Definition: HazelnuppException.h:62
Hazelnp::HazelnuppConstraintTypeMissmatch
Gets thrown when a parameter is of a type that does not match the required type, and is not convertib...
Definition: HazelnuppException.h:53
+
Hazelnp::Hazelnupp::HasAbbreviation
bool HasAbbreviation(const std::string &abbrev) const
Will check wether or not an abbreviation is registered.
Definition: Hazelnupp.cpp:541
Hazelnp::DataTypeToString
static std::string DataTypeToString(DATA_TYPE type)
Definition: DataType.h:17
diff --git a/docs/classHazelnp_1_1HazelnuppConstraintException-members.html b/docs/classHazelnp_1_1HazelnuppConstraintException-members.html index e54a052..d1bf3fd 100644 --- a/docs/classHazelnp_1_1HazelnuppConstraintException-members.html +++ b/docs/classHazelnp_1_1HazelnuppConstraintException-members.html @@ -90,7 +90,7 @@ $(function() { diff --git a/docs/classHazelnp_1_1HazelnuppConstraintException.html b/docs/classHazelnp_1_1HazelnuppConstraintException.html index 6b6deb3..6af550f 100644 --- a/docs/classHazelnp_1_1HazelnuppConstraintException.html +++ b/docs/classHazelnp_1_1HazelnuppConstraintException.html @@ -201,7 +201,7 @@ Additional Inherited Members
Hazelnp::HazelnuppException::HazelnuppException
HazelnuppException()
Definition: HazelnuppException.h:11
diff --git a/docs/classHazelnp_1_1HazelnuppConstraintMissingValue-members.html b/docs/classHazelnp_1_1HazelnuppConstraintMissingValue-members.html index 6e54ca0..7763ade 100644 --- a/docs/classHazelnp_1_1HazelnuppConstraintMissingValue-members.html +++ b/docs/classHazelnp_1_1HazelnuppConstraintMissingValue-members.html @@ -92,7 +92,7 @@ $(function() { diff --git a/docs/classHazelnp_1_1HazelnuppConstraintMissingValue.html b/docs/classHazelnp_1_1HazelnuppConstraintMissingValue.html index e74cc68..c95d5a3 100644 --- a/docs/classHazelnp_1_1HazelnuppConstraintMissingValue.html +++ b/docs/classHazelnp_1_1HazelnuppConstraintMissingValue.html @@ -206,7 +206,7 @@ Additional Inherited Members
Hazelnp::HazelnuppConstraintException::HazelnuppConstraintException
HazelnuppConstraintException()
Definition: HazelnuppException.h:47
diff --git a/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch-members.html b/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch-members.html index 8bfecaa..ddec7ba 100644 --- a/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch-members.html +++ b/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch-members.html @@ -92,7 +92,7 @@ $(function() { diff --git a/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch.html b/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch.html index e50a21e..a316914 100644 --- a/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch.html +++ b/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch.html @@ -206,7 +206,7 @@ Additional Inherited Members
Hazelnp::HazelnuppConstraintException::HazelnuppConstraintException
HazelnuppConstraintException()
Definition: HazelnuppException.h:47
diff --git a/docs/classHazelnp_1_1HazelnuppException-members.html b/docs/classHazelnp_1_1HazelnuppException-members.html index 07caab6..271037a 100644 --- a/docs/classHazelnp_1_1HazelnuppException-members.html +++ b/docs/classHazelnp_1_1HazelnuppException-members.html @@ -88,7 +88,7 @@ $(function() { diff --git a/docs/classHazelnp_1_1HazelnuppException.html b/docs/classHazelnp_1_1HazelnuppException.html index 0f28990..7c2a367 100644 --- a/docs/classHazelnp_1_1HazelnuppException.html +++ b/docs/classHazelnp_1_1HazelnuppException.html @@ -255,7 +255,7 @@ Protected Attributes
Hazelnp::HazelnuppException::message
std::string message
Definition: HazelnuppException.h:21
diff --git a/docs/classHazelnp_1_1HazelnuppInvalidKeyException-members.html b/docs/classHazelnp_1_1HazelnuppInvalidKeyException-members.html index 247995a..7437f3a 100644 --- a/docs/classHazelnp_1_1HazelnuppInvalidKeyException-members.html +++ b/docs/classHazelnp_1_1HazelnuppInvalidKeyException-members.html @@ -90,7 +90,7 @@ $(function() { diff --git a/docs/classHazelnp_1_1HazelnuppInvalidKeyException.html b/docs/classHazelnp_1_1HazelnuppInvalidKeyException.html index 2347d7b..89d8798 100644 --- a/docs/classHazelnp_1_1HazelnuppInvalidKeyException.html +++ b/docs/classHazelnp_1_1HazelnuppInvalidKeyException.html @@ -199,7 +199,7 @@ Additional Inherited Members
Hazelnp::HazelnuppException::HazelnuppException
HazelnuppException()
Definition: HazelnuppException.h:11
diff --git a/docs/classHazelnp_1_1HazelnuppValueNotConvertibleException-members.html b/docs/classHazelnp_1_1HazelnuppValueNotConvertibleException-members.html index c3eca2f..0de3d04 100644 --- a/docs/classHazelnp_1_1HazelnuppValueNotConvertibleException-members.html +++ b/docs/classHazelnp_1_1HazelnuppValueNotConvertibleException-members.html @@ -90,7 +90,7 @@ $(function() { diff --git a/docs/classHazelnp_1_1HazelnuppValueNotConvertibleException.html b/docs/classHazelnp_1_1HazelnuppValueNotConvertibleException.html index 7e21bbc..05fafde 100644 --- a/docs/classHazelnp_1_1HazelnuppValueNotConvertibleException.html +++ b/docs/classHazelnp_1_1HazelnuppValueNotConvertibleException.html @@ -199,7 +199,7 @@ Additional Inherited Members
Hazelnp::HazelnuppException::HazelnuppException
HazelnuppException()
Definition: HazelnuppException.h:11
diff --git a/docs/classHazelnp_1_1IntValue-members.html b/docs/classHazelnp_1_1IntValue-members.html index 6a13752..b0e5b1b 100644 --- a/docs/classHazelnp_1_1IntValue-members.html +++ b/docs/classHazelnp_1_1IntValue-members.html @@ -101,7 +101,7 @@ $(function() { diff --git a/docs/classHazelnp_1_1IntValue.html b/docs/classHazelnp_1_1IntValue.html index cce11bc..d45570a 100644 --- a/docs/classHazelnp_1_1IntValue.html +++ b/docs/classHazelnp_1_1IntValue.html @@ -574,7 +574,7 @@ Additional Inherited Members
Hazelnp::HazelnuppValueNotConvertibleException
Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not ...
Definition: HazelnuppException.h:35
diff --git a/docs/classHazelnp_1_1ListValue-members.html b/docs/classHazelnp_1_1ListValue-members.html index cd3bead..6fe680e 100644 --- a/docs/classHazelnp_1_1ListValue-members.html +++ b/docs/classHazelnp_1_1ListValue-members.html @@ -101,7 +101,7 @@ $(function() { diff --git a/docs/classHazelnp_1_1ListValue.html b/docs/classHazelnp_1_1ListValue.html index 23fdb23..51f381b 100644 --- a/docs/classHazelnp_1_1ListValue.html +++ b/docs/classHazelnp_1_1ListValue.html @@ -601,7 +601,7 @@ Additional Inherited Members
Hazelnp::HazelnuppValueNotConvertibleException
Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not ...
Definition: HazelnuppException.h:35
diff --git a/docs/classHazelnp_1_1Parameter-members.html b/docs/classHazelnp_1_1Parameter-members.html index a621dba..cd05e8c 100644 --- a/docs/classHazelnp_1_1Parameter-members.html +++ b/docs/classHazelnp_1_1Parameter-members.html @@ -89,7 +89,7 @@ $(function() { diff --git a/docs/classHazelnp_1_1Parameter.html b/docs/classHazelnp_1_1Parameter.html index 1e77744..7ef6cba 100644 --- a/docs/classHazelnp_1_1Parameter.html +++ b/docs/classHazelnp_1_1Parameter.html @@ -275,7 +275,7 @@ Friends
Hazelnp::Value::Deepcopy
virtual Value * Deepcopy() const =0
Will return a deeopopy of this object.
diff --git a/docs/classHazelnp_1_1StringTools-members.html b/docs/classHazelnp_1_1StringTools-members.html index ed424a1..211ad88 100644 --- a/docs/classHazelnp_1_1StringTools-members.html +++ b/docs/classHazelnp_1_1StringTools-members.html @@ -92,7 +92,7 @@ $(function() { diff --git a/docs/classHazelnp_1_1StringTools.html b/docs/classHazelnp_1_1StringTools.html index 7a68886..da0f5f0 100644 --- a/docs/classHazelnp_1_1StringTools.html +++ b/docs/classHazelnp_1_1StringTools.html @@ -626,7 +626,7 @@ Static Public Member Functions
Hazelnp::StringTools::SplitString
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!
Definition: StringTools.cpp:125
diff --git a/docs/classHazelnp_1_1StringValue-members.html b/docs/classHazelnp_1_1StringValue-members.html index 755fd88..b109294 100644 --- a/docs/classHazelnp_1_1StringValue-members.html +++ b/docs/classHazelnp_1_1StringValue-members.html @@ -100,7 +100,7 @@ $(function() { diff --git a/docs/classHazelnp_1_1StringValue.html b/docs/classHazelnp_1_1StringValue.html index 6729cfd..6146273 100644 --- a/docs/classHazelnp_1_1StringValue.html +++ b/docs/classHazelnp_1_1StringValue.html @@ -547,7 +547,7 @@ Additional Inherited Members
Hazelnp::HazelnuppValueNotConvertibleException
Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not ...
Definition: HazelnuppException.h:35
diff --git a/docs/classHazelnp_1_1Value-members.html b/docs/classHazelnp_1_1Value-members.html index af32bb8..2c98758 100644 --- a/docs/classHazelnp_1_1Value-members.html +++ b/docs/classHazelnp_1_1Value-members.html @@ -97,7 +97,7 @@ $(function() { diff --git a/docs/classHazelnp_1_1Value.html b/docs/classHazelnp_1_1Value.html index 385924e..dded20d 100644 --- a/docs/classHazelnp_1_1Value.html +++ b/docs/classHazelnp_1_1Value.html @@ -548,7 +548,7 @@ Friends
Hazelnp::Value::type
DATA_TYPE type
Definition: Value.h:48
diff --git a/docs/classHazelnp_1_1VoidValue-members.html b/docs/classHazelnp_1_1VoidValue-members.html index 5884973..f82bafc 100644 --- a/docs/classHazelnp_1_1VoidValue-members.html +++ b/docs/classHazelnp_1_1VoidValue-members.html @@ -98,7 +98,7 @@ $(function() { diff --git a/docs/classHazelnp_1_1VoidValue.html b/docs/classHazelnp_1_1VoidValue.html index 1e28001..984c9d4 100644 --- a/docs/classHazelnp_1_1VoidValue.html +++ b/docs/classHazelnp_1_1VoidValue.html @@ -130,10 +130,10 @@ Public Member Functions  Throws HazelnuppValueNotConvertibleException. More...
  std::string GetString () const override - Throws HazelnuppValueNotConvertibleException. More...
+ Returns an empty string. More...
  const std::vector< Value * > & GetList () const - Throws HazelnuppValueNotConvertibleException. More...
+ Returns an empty list. More...
  - Public Member Functions inherited from Hazelnp::Value virtual ~Value () @@ -437,14 +437,15 @@ Additional Inherited Members
-

Throws HazelnuppValueNotConvertibleException.

+

Returns an empty list.

Implements Hazelnp::Value.

Definition at line 50 of file VoidValue.cpp.

51 {
- -
53 }
+
52  static const std::vector<Value*> empty;
+
53  return empty;
+
54 }
@@ -471,13 +472,13 @@ Additional Inherited Members
-

Throws HazelnuppValueNotConvertibleException.

+

Returns an empty string.

Implements Hazelnp::Value.

Definition at line 45 of file VoidValue.cpp.

46 {
- +
47  return "";
48 }
@@ -493,7 +494,7 @@ Additional Inherited Members
Hazelnp::HazelnuppValueNotConvertibleException
Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not ...
Definition: HazelnuppException.h:35
diff --git a/docs/classes.html b/docs/classes.html index 13ba6d2..96ec295 100644 --- a/docs/classes.html +++ b/docs/classes.html @@ -119,7 +119,7 @@ $(function() { diff --git a/docs/dir_0202e1e26df2e040f4dc3d434eecf04c.html b/docs/dir_0202e1e26df2e040f4dc3d434eecf04c.html index d3225f3..e7ddd04 100644 --- a/docs/dir_0202e1e26df2e040f4dc3d434eecf04c.html +++ b/docs/dir_0202e1e26df2e040f4dc3d434eecf04c.html @@ -116,6 +116,8 @@ Files   file  Parameter.h [code]   +file  Placeholders.h [code] +  file  StringTools.cpp [code]   file  StringTools.h [code] @@ -136,7 +138,7 @@ Files diff --git a/docs/dir_0cc5f59b28c403d42cc56800132eb975.html b/docs/dir_0cc5f59b28c403d42cc56800132eb975.html index ec16b92..194e9ed 100644 --- a/docs/dir_0cc5f59b28c403d42cc56800132eb975.html +++ b/docs/dir_0cc5f59b28c403d42cc56800132eb975.html @@ -81,7 +81,7 @@ $(function() { diff --git a/docs/dir_1148ebc2b25b55095aebf6f4cbb6efca.html b/docs/dir_1148ebc2b25b55095aebf6f4cbb6efca.html index 6e5d654..524a636 100644 --- a/docs/dir_1148ebc2b25b55095aebf6f4cbb6efca.html +++ b/docs/dir_1148ebc2b25b55095aebf6f4cbb6efca.html @@ -81,7 +81,7 @@ $(function() { diff --git a/docs/dir_a8cffda729361e9d9637effa362fcea9.html b/docs/dir_a8cffda729361e9d9637effa362fcea9.html index d93335d..50f88fe 100644 --- a/docs/dir_a8cffda729361e9d9637effa362fcea9.html +++ b/docs/dir_a8cffda729361e9d9637effa362fcea9.html @@ -81,7 +81,7 @@ $(function() { diff --git a/docs/files.html b/docs/files.html index cf3a3e9..9cc6767 100644 --- a/docs/files.html +++ b/docs/files.html @@ -94,20 +94,21 @@ $(function() {  ParamConstraint.h  Parameter.cpp  Parameter.h - StringTools.cpp - StringTools.h - StringValue.cpp - StringValue.h - Value.cpp - Value.h - VoidValue.cpp - VoidValue.h + Placeholders.h + StringTools.cpp + StringTools.h + StringValue.cpp + StringValue.h + Value.cpp + Value.h + VoidValue.cpp + VoidValue.h diff --git a/docs/functions.html b/docs/functions.html index ee24d78..2d99782 100644 --- a/docs/functions.html +++ b/docs/functions.html @@ -80,14 +80,23 @@ $(function() {

- c -

@@ -395,7 +410,7 @@ $(function() { diff --git a/docs/functions_rela.html b/docs/functions_rela.html index dc7c638..db9aeeb 100644 --- a/docs/functions_rela.html +++ b/docs/functions_rela.html @@ -71,6 +71,9 @@ $(function() {
 
diff --git a/docs/functions_vars.html b/docs/functions_vars.html index b3af741..220bf37 100644 --- a/docs/functions_vars.html +++ b/docs/functions_vars.html @@ -77,9 +77,6 @@ $(function() {
  • defaultValue : Hazelnp::ParamConstraint
  • -
  • key -: Hazelnp::ParamConstraint -
  • message : Hazelnp::HazelnuppException
  • @@ -96,7 +93,7 @@ $(function() { diff --git a/docs/globals.html b/docs/globals.html index 68cb048..90f4501 100644 --- a/docs/globals.html +++ b/docs/globals.html @@ -78,7 +78,7 @@ $(function() { diff --git a/docs/globals_func.html b/docs/globals_func.html index d4bada6..f6eaa80 100644 --- a/docs/globals_func.html +++ b/docs/globals_func.html @@ -78,7 +78,7 @@ $(function() { diff --git a/docs/graph_legend.html b/docs/graph_legend.html index d8c8b79..67b257a 100644 --- a/docs/graph_legend.html +++ b/docs/graph_legend.html @@ -137,7 +137,7 @@ A yellow dashed arrow denotes a relation between a template instance and the tem diff --git a/docs/hierarchy.html b/docs/hierarchy.html index 7c49994..187d41e 100644 --- a/docs/hierarchy.html +++ b/docs/hierarchy.html @@ -100,7 +100,7 @@ This inheritance list is sorted roughly, but not completely, alphabetically: diff --git a/docs/index.html b/docs/index.html index af05d04..51b4312 100644 --- a/docs/index.html +++ b/docs/index.html @@ -131,7 +131,7 @@ What's the concept?
    # String
    $ a.out --foo peter
    -
    # List (any type above works)
    +
    # List (any type above works, except void)
    $ a.out --foo peter jake jeff billy
    # List, mixed types
    @@ -237,10 +237,8 @@ Requiring data
    Hazelnupp args;
    // Register constraints
    -
    args.RegisterConstraints({
    -
    ParamConstraint::Require("--this-is-required"), // This missing throws an exception
    -
    ParamConstraint::Require("--also-required-but-defaulted", {"122"}), // This will default to 122
    -
    });
    +
    args.RegisterConstraint("--this-is-required", ParamConstraint::Require()); // This missing throws an exception
    +
    args.RegisterConstraint("--also-required-but-defaulted", ParamConstraint::Require({"122"})); // This will default to 122
    // Parse
    args.Parse(argc, argv);
    @@ -258,10 +256,11 @@ Type safety
  • float ->[int, string, list, void]
  • string -> [list, void]
  • list -> [void]
  • -
  • void -> [list]
  • +
  • void -> [list, string]
  • The conversions *->list just create a list with a single entry (except for void->list which produces an empty list).
    - The *->void conversions just drop their value.

    + The *->void conversions just drop their value.
    + void->string just produces an empty string.

    Minimal working example:

    #include "Hazelnupp.h"
    using namespace Hazelnp;
    @@ -270,9 +269,7 @@ Type safety
    Hazelnupp args;
    // Register constraints
    -
    args.RegisterConstraints({
    -
    ParamConstraint::TypeSafety("--this-must-be-int", DATA_TYPE::INT)
    -
    });
    +
    args.RegisterConstraint("--this-must-be-int", ParamConstraint::TypeSafety(DATA_TYPE::INT));
    // Parse
    args.Parse(argc, argv);
    @@ -282,13 +279,12 @@ Type safety

    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:

    ParamConstraint pc;
    -
    pc.key = "--my-key";
    pc.constrainType = true;
    pc.wantedType = DATA_TYPE::STRING;
    pc.defaultValue = {}; // no default value
    pc.required = true;
    -
    args.RegisterConstraints({pc});
    +
    args.RegisterConstraints("--my-key", pc);

    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.

    @@ -381,18 +377,18 @@ LICENSE

    Hazelnp::HazelnuppInvalidKeyException
    Gets thrown when an non-existent key gets dereferenced.
    Definition: HazelnuppException.h:26
    Hazelnp::Hazelnupp
    The main class to interface with.
    Definition: Hazelnupp.h:11
    main
    int main(int argc, char **argv)
    Definition: main.cpp:7
    -
    Hazelnp::Hazelnupp::SetCatchHelp
    void SetCatchHelp(bool catchHelp)
    Sets whether the Hazelnupp should automatically catch the –help parameter, print the parameter docume...
    Definition: Hazelnupp.cpp:295
    -
    Hazelnp::Hazelnupp::HasParam
    bool HasParam(const std::string &key) const
    Will check wether a parameter exists given a key, or not.
    Definition: Hazelnupp.cpp:164
    -
    Hazelnp::Hazelnupp::Parse
    void Parse(const int argc, const char *const *argv)
    Will parse command line arguments.
    Definition: Hazelnupp.cpp:35
    -
    Hazelnp::Hazelnupp::RegisterAbbreviation
    void RegisterAbbreviation(const std::string &abbrev, const std::string &target)
    Will register an abbreviation (like -f for –force)
    Definition: Hazelnupp.cpp:499
    -
    Hazelnp::Hazelnupp::RegisterConstraints
    void RegisterConstraints(const std::vector< ParamConstraint > &constraints)
    Will register parameter constraints.
    Definition: Hazelnupp.cpp:521
    +
    Hazelnp::Hazelnupp::SetCatchHelp
    void SetCatchHelp(bool catchHelp)
    Sets whether the Hazelnupp should automatically catch the –help parameter, print the parameter docume...
    Definition: Hazelnupp.cpp:302
    +
    Hazelnp::Hazelnupp::HasParam
    bool HasParam(const std::string &key) const
    Will check wether a parameter exists given a key, or not.
    Definition: Hazelnupp.cpp:165
    +
    Hazelnp::Hazelnupp::Parse
    void Parse(const int argc, const char *const *argv)
    Will parse command line arguments.
    Definition: Hazelnupp.cpp:36
    +
    Hazelnp::Hazelnupp::RegisterAbbreviation
    void RegisterAbbreviation(const std::string &abbrev, const std::string &target)
    Will register an abbreviation (like -f for –force)
    Definition: Hazelnupp.cpp:527
    Hazelnupp.h
    -
    Hazelnp::ParamConstraint::Require
    static ParamConstraint Require(const std::string &key, const std::vector< std::string > &defaultValue={}, bool required=true)
    Constructs a require constraint.
    Definition: ParamConstraint.h:16
    +
    Hazelnp::Hazelnupp::RegisterConstraint
    void RegisterConstraint(const std::string &key, const ParamConstraint &constraint)
    Will register a constraint for a parameter.
    Definition: Hazelnupp.cpp:558
    Hazelnp::DATA_TYPE::INT
    @ INT
    -
    Hazelnp::ParamConstraint::TypeSafety
    static ParamConstraint TypeSafety(const std::string &key, DATA_TYPE wantedType, bool constrainType=true)
    Constructs a type-safety constraint.
    Definition: ParamConstraint.h:27
    +
    Hazelnp::ParamConstraint::Require
    static ParamConstraint Require(const std::vector< std::string > &defaultValue={}, bool required=true)
    Constructs a require constraint.
    Definition: ParamConstraint.h:16
    +
    Hazelnp::ParamConstraint::TypeSafety
    static ParamConstraint TypeSafety(DATA_TYPE wantedType, bool constrainType=true)
    Constructs a type-safety constraint.
    Definition: ParamConstraint.h:26
    diff --git a/docs/index_8md.html b/docs/index_8md.html index 01dffaf..97d0816 100644 --- a/docs/index_8md.html +++ b/docs/index_8md.html @@ -77,7 +77,7 @@ $(function() { diff --git a/docs/inherits.html b/docs/inherits.html index 0101145..252d712 100644 --- a/docs/inherits.html +++ b/docs/inherits.html @@ -122,7 +122,7 @@ $(function() { diff --git a/docs/main_8cpp.html b/docs/main_8cpp.html index 6e3af50..5dc698d 100644 --- a/docs/main_8cpp.html +++ b/docs/main_8cpp.html @@ -153,30 +153,28 @@ Functions
    20  nupp.RegisterAbbreviation("-w", "--width");
    21  nupp.RegisterAbbreviation("-h", "--height");
    22 
    -
    23  nupp.RegisterConstraints({
    -
    24  ParamConstraint::TypeSafety("--width", DATA_TYPE::FLOAT),
    -
    25  ParamConstraint("--name", true, DATA_TYPE::LIST, {"peter", "hannes"}, true),
    -
    26  ParamConstraint("--fruit", true, DATA_TYPE::STRING, {}, true)
    -
    27  });
    +
    23  nupp.RegisterConstraint("--width", ParamConstraint::TypeSafety(DATA_TYPE::FLOAT));
    +
    24  nupp.RegisterConstraint("--name", ParamConstraint(true, DATA_TYPE::LIST, {"peter", "hannes"}, true));
    +
    25  nupp.RegisterConstraint("--fruit", ParamConstraint(true, DATA_TYPE::STRING, {}, true));
    +
    26 
    +
    27  nupp.Parse(argc, argv);
    28 
    -
    29  nupp.Parse(argc, argv);
    -
    30 
    -
    31  return 0;
    -
    32 }
    +
    29  return 0;
    +
    30 }
    Hazelnp::Hazelnupp
    The main class to interface with.
    Definition: Hazelnupp.h:11
    -
    Hazelnp::Hazelnupp::SetBriefDescription
    void SetBriefDescription(const std::string &description)
    Sets a brief description of the application to be automatically added to the documentation.
    Definition: Hazelnupp.cpp:306
    +
    Hazelnp::Hazelnupp::SetBriefDescription
    void SetBriefDescription(const std::string &description)
    Sets a brief description of the application to be automatically added to the documentation.
    Definition: Hazelnupp.cpp:313
    Hazelnp::ParamConstraint
    Definition: ParamConstraint.h:8
    -
    Hazelnp::Hazelnupp::Parse
    void Parse(const int argc, const char *const *argv)
    Will parse command line arguments.
    Definition: Hazelnupp.cpp:35
    -
    Hazelnp::Hazelnupp::RegisterAbbreviation
    void RegisterAbbreviation(const std::string &abbrev, const std::string &target)
    Will register an abbreviation (like -f for –force)
    Definition: Hazelnupp.cpp:499
    -
    Hazelnp::Hazelnupp::RegisterConstraints
    void RegisterConstraints(const std::vector< ParamConstraint > &constraints)
    Will register parameter constraints.
    Definition: Hazelnupp.cpp:521
    -
    Hazelnp::Hazelnupp::RegisterDescription
    void RegisterDescription(const std::string &parameter, const std::string &description)
    Willl register a short description for a parameter.
    Definition: Hazelnupp.cpp:317
    +
    Hazelnp::Hazelnupp::Parse
    void Parse(const int argc, const char *const *argv)
    Will parse command line arguments.
    Definition: Hazelnupp.cpp:36
    +
    Hazelnp::Hazelnupp::RegisterAbbreviation
    void RegisterAbbreviation(const std::string &abbrev, const std::string &target)
    Will register an abbreviation (like -f for –force)
    Definition: Hazelnupp.cpp:527
    +
    Hazelnp::Hazelnupp::RegisterConstraint
    void RegisterConstraint(const std::string &key, const ParamConstraint &constraint)
    Will register a constraint for a parameter.
    Definition: Hazelnupp.cpp:558
    +
    Hazelnp::Hazelnupp::RegisterDescription
    void RegisterDescription(const std::string &parameter, const std::string &description)
    Willl register a short description for a parameter.
    Definition: Hazelnupp.cpp:324
    diff --git a/docs/main_8cpp_source.html b/docs/main_8cpp_source.html index efe1e06..aaddd68 100644 --- a/docs/main_8cpp_source.html +++ b/docs/main_8cpp_source.html @@ -100,35 +100,33 @@ $(function() {
    20  nupp.RegisterAbbreviation("-w", "--width");
    21  nupp.RegisterAbbreviation("-h", "--height");
    22 
    -
    23  nupp.RegisterConstraints({
    -
    24  ParamConstraint::TypeSafety("--width", DATA_TYPE::FLOAT),
    -
    25  ParamConstraint("--name", true, DATA_TYPE::LIST, {"peter", "hannes"}, true),
    -
    26  ParamConstraint("--fruit", true, DATA_TYPE::STRING, {}, true)
    -
    27  });
    +
    23  nupp.RegisterConstraint("--width", ParamConstraint::TypeSafety(DATA_TYPE::FLOAT));
    +
    24  nupp.RegisterConstraint("--name", ParamConstraint(true, DATA_TYPE::LIST, {"peter", "hannes"}, true));
    +
    25  nupp.RegisterConstraint("--fruit", ParamConstraint(true, DATA_TYPE::STRING, {}, true));
    +
    26 
    +
    27  nupp.Parse(argc, argv);
    28 
    -
    29  nupp.Parse(argc, argv);
    -
    30 
    -
    31  return 0;
    -
    32 }
    +
    29  return 0;
    +
    30 }
    Hazelnp
    Definition: DataType.h:4
    Hazelnp::Hazelnupp
    The main class to interface with.
    Definition: Hazelnupp.h:11
    IntValue.h
    main
    int main(int argc, char **argv)
    Definition: main.cpp:7
    -
    Hazelnp::Hazelnupp::SetBriefDescription
    void SetBriefDescription(const std::string &description)
    Sets a brief description of the application to be automatically added to the documentation.
    Definition: Hazelnupp.cpp:306
    +
    Hazelnp::Hazelnupp::SetBriefDescription
    void SetBriefDescription(const std::string &description)
    Sets a brief description of the application to be automatically added to the documentation.
    Definition: Hazelnupp.cpp:313
    Hazelnp::DATA_TYPE::LIST
    @ LIST
    Hazelnp::ParamConstraint
    Definition: ParamConstraint.h:8
    -
    Hazelnp::Hazelnupp::Parse
    void Parse(const int argc, const char *const *argv)
    Will parse command line arguments.
    Definition: Hazelnupp.cpp:35
    -
    Hazelnp::Hazelnupp::RegisterAbbreviation
    void RegisterAbbreviation(const std::string &abbrev, const std::string &target)
    Will register an abbreviation (like -f for –force)
    Definition: Hazelnupp.cpp:499
    -
    Hazelnp::Hazelnupp::RegisterConstraints
    void RegisterConstraints(const std::vector< ParamConstraint > &constraints)
    Will register parameter constraints.
    Definition: Hazelnupp.cpp:521
    +
    Hazelnp::Hazelnupp::Parse
    void Parse(const int argc, const char *const *argv)
    Will parse command line arguments.
    Definition: Hazelnupp.cpp:36
    +
    Hazelnp::Hazelnupp::RegisterAbbreviation
    void RegisterAbbreviation(const std::string &abbrev, const std::string &target)
    Will register an abbreviation (like -f for –force)
    Definition: Hazelnupp.cpp:527
    Hazelnupp.h
    +
    Hazelnp::Hazelnupp::RegisterConstraint
    void RegisterConstraint(const std::string &key, const ParamConstraint &constraint)
    Will register a constraint for a parameter.
    Definition: Hazelnupp.cpp:558
    Hazelnp::DATA_TYPE::FLOAT
    @ FLOAT
    -
    Hazelnp::ParamConstraint::TypeSafety
    static ParamConstraint TypeSafety(const std::string &key, DATA_TYPE wantedType, bool constrainType=true)
    Constructs a type-safety constraint.
    Definition: ParamConstraint.h:27
    Hazelnp::DATA_TYPE::STRING
    @ STRING
    -
    Hazelnp::Hazelnupp::RegisterDescription
    void RegisterDescription(const std::string &parameter, const std::string &description)
    Willl register a short description for a parameter.
    Definition: Hazelnupp.cpp:317
    +
    Hazelnp::Hazelnupp::RegisterDescription
    void RegisterDescription(const std::string &parameter, const std::string &description)
    Willl register a short description for a parameter.
    Definition: Hazelnupp.cpp:324
    +
    Hazelnp::ParamConstraint::TypeSafety
    static ParamConstraint TypeSafety(DATA_TYPE wantedType, bool constrainType=true)
    Constructs a type-safety constraint.
    Definition: ParamConstraint.h:26
    diff --git a/docs/menudata.js b/docs/menudata.js index 6a8cdda..ada9f43 100644 --- a/docs/menudata.js +++ b/docs/menudata.js @@ -27,6 +27,7 @@ var menudata={children:[ {text:"Namespace Members",url:"namespacemembers.html",children:[ {text:"All",url:"namespacemembers.html"}, {text:"Functions",url:"namespacemembers_func.html"}, +{text:"Variables",url:"namespacemembers_vars.html"}, {text:"Enumerations",url:"namespacemembers_enum.html"}]}]}, {text:"Classes",url:"annotated.html",children:[ {text:"Class List",url:"annotated.html"}, diff --git a/docs/namespaceHazelnp.html b/docs/namespaceHazelnp.html index 22bce8d..79e52f1 100644 --- a/docs/namespaceHazelnp.html +++ b/docs/namespaceHazelnp.html @@ -71,6 +71,7 @@ $(function() {
    +Namespaces | Classes | Enumerations | Functions
    @@ -79,6 +80,11 @@ $(function() {
    + + + +

    +Namespaces

     Placeholders
     
    @@ -246,7 +252,7 @@ Functions
    @ STRING
    diff --git a/docs/namespaceHazelnp_1_1Placeholders.html b/docs/namespaceHazelnp_1_1Placeholders.html new file mode 100644 index 0000000..e7841e5 --- /dev/null +++ b/docs/namespaceHazelnp_1_1Placeholders.html @@ -0,0 +1,125 @@ + + + + + + + +Leonetienne/Hazelnupp: Hazelnp::Placeholders Namespace Reference + + + + + + + + + + + +
    +
    +

    Classes

    class  FloatValue
    + + + + + + +
    +
    Leonetienne/Hazelnupp +
    +
    Simple, easy to use, command line parameter interface
    +
    +
    + + + + + + + + +
    +
    + + +
    + +
    + + + +
    +
    +Variables
    +
    +
    Hazelnp::Placeholders Namespace Reference
    +
    +
    + + + + + +

    +Variables

    static const std::string g_emptyString
     The only purpose of this is to provide the ability to return an empty string as an error for std::string& methods. More...
     
    +

    Variable Documentation

    + +

    ◆ g_emptyString

    + +
    +
    + + + + + +
    + + + + +
    const std::string Hazelnp::Placeholders::g_emptyString
    +
    +static
    +
    + +

    The only purpose of this is to provide the ability to return an empty string as an error for std::string& methods.

    + +

    Definition at line 9 of file Placeholders.h.

    + +
    +
    +
    + + + + diff --git a/docs/namespacemembers.html b/docs/namespacemembers.html index 58df336..be756d2 100644 --- a/docs/namespacemembers.html +++ b/docs/namespacemembers.html @@ -77,11 +77,14 @@ $(function() {
  • DataTypeToString() : Hazelnp
  • +
  • g_emptyString +: Hazelnp::Placeholders +
  • diff --git a/docs/namespacemembers_enum.html b/docs/namespacemembers_enum.html index 1e9bdee..1787215 100644 --- a/docs/namespacemembers_enum.html +++ b/docs/namespacemembers_enum.html @@ -78,7 +78,7 @@ $(function() { diff --git a/docs/namespacemembers_func.html b/docs/namespacemembers_func.html index 706380f..8a98dd2 100644 --- a/docs/namespacemembers_func.html +++ b/docs/namespacemembers_func.html @@ -78,7 +78,7 @@ $(function() { diff --git a/docs/namespacemembers_vars.html b/docs/namespacemembers_vars.html new file mode 100644 index 0000000..611336e --- /dev/null +++ b/docs/namespacemembers_vars.html @@ -0,0 +1,86 @@ + + + + + + + +Leonetienne/Hazelnupp: Namespace Members + + + + + + + + + + + +
    +
    + + + + + + + +
    +
    Leonetienne/Hazelnupp +
    +
    Simple, easy to use, command line parameter interface
    +
    +
    + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +
    + + + + diff --git a/docs/namespaces.html b/docs/namespaces.html index 1cbfb5a..ace137b 100644 --- a/docs/namespaces.html +++ b/docs/namespaces.html @@ -75,14 +75,15 @@ $(function() {
    Here is a list of all namespaces with brief descriptions:
    - - +
    [detail level 12]
     NHazelnp
    + +
     NHazelnp
     NPlaceholders
    diff --git a/docs/search/all_1.js b/docs/search/all_1.js index d260778..89a686d 100644 --- a/docs/search/all_1.js +++ b/docs/search/all_1.js @@ -1,8 +1,11 @@ var searchData= [ - ['clearabbreviations_1',['ClearAbbreviations',['../classHazelnp_1_1Hazelnupp.html#a5175869b025468324cefad487081e91d',1,'Hazelnp::Hazelnupp']]], - ['clearconstraints_2',['ClearConstraints',['../classHazelnp_1_1Hazelnupp.html#a3970b74583def49c6632fe08a4499809',1,'Hazelnp::Hazelnupp']]], - ['cleardescription_3',['ClearDescription',['../classHazelnp_1_1Hazelnupp.html#a8490e0b10feee0b815c043e7cad454cb',1,'Hazelnp::Hazelnupp']]], - ['constraintype_4',['constrainType',['../structHazelnp_1_1ParamConstraint.html#a88a4a4c215723259c71853992d09acac',1,'Hazelnp::ParamConstraint']]], - ['contains_5',['Contains',['../classHazelnp_1_1StringTools.html#aec1abd8b22146c7a9ebeb6a94d6af5ee',1,'Hazelnp::StringTools']]] + ['clearabbreviation_1',['ClearAbbreviation',['../classHazelnp_1_1Hazelnupp.html#a05d1decbb08d1f9368bc9a0d3dfd6398',1,'Hazelnp::Hazelnupp']]], + ['clearabbreviations_2',['ClearAbbreviations',['../classHazelnp_1_1Hazelnupp.html#a5175869b025468324cefad487081e91d',1,'Hazelnp::Hazelnupp']]], + ['clearconstraint_3',['ClearConstraint',['../classHazelnp_1_1Hazelnupp.html#a63d6bdfc0d6255b5d663f3a786077eb4',1,'Hazelnp::Hazelnupp']]], + ['clearconstraints_4',['ClearConstraints',['../classHazelnp_1_1Hazelnupp.html#a3970b74583def49c6632fe08a4499809',1,'Hazelnp::Hazelnupp']]], + ['cleardescription_5',['ClearDescription',['../classHazelnp_1_1Hazelnupp.html#a26eaac65949072b659531444d32c4cbf',1,'Hazelnp::Hazelnupp']]], + ['cleardescriptions_6',['ClearDescriptions',['../classHazelnp_1_1Hazelnupp.html#ae266cfb3526b9223fc05beb01646fb42',1,'Hazelnp::Hazelnupp']]], + ['constraintype_7',['constrainType',['../structHazelnp_1_1ParamConstraint.html#a88a4a4c215723259c71853992d09acac',1,'Hazelnp::ParamConstraint']]], + ['contains_8',['Contains',['../classHazelnp_1_1StringTools.html#aec1abd8b22146c7a9ebeb6a94d6af5ee',1,'Hazelnp::StringTools']]] ]; diff --git a/docs/search/all_10.js b/docs/search/all_10.js index cd9b2ad..537d221 100644 --- a/docs/search/all_10.js +++ b/docs/search/all_10.js @@ -1,5 +1,5 @@ var searchData= [ - ['wantedtype_102',['wantedType',['../structHazelnp_1_1ParamConstraint.html#ac07a0c0555431d4b1e0bc6afdba41329',1,'Hazelnp::ParamConstraint']]], - ['what_103',['What',['../classHazelnp_1_1HazelnuppException.html#aa86c415a0f2b4ea5f11892145d1ea83e',1,'Hazelnp::HazelnuppException']]] + ['wantedtype_110',['wantedType',['../structHazelnp_1_1ParamConstraint.html#ac07a0c0555431d4b1e0bc6afdba41329',1,'Hazelnp::ParamConstraint']]], + ['what_111',['What',['../classHazelnp_1_1HazelnuppException.html#aa86c415a0f2b4ea5f11892145d1ea83e',1,'Hazelnp::HazelnuppException']]] ]; diff --git a/docs/search/all_11.js b/docs/search/all_11.js index 8116c4f..4d2a55c 100644 --- a/docs/search/all_11.js +++ b/docs/search/all_11.js @@ -1,11 +1,11 @@ var searchData= [ - ['_7efloatvalue_104',['~FloatValue',['../classHazelnp_1_1FloatValue.html#a02e61e453c3e8e32d4d527799c11fd4a',1,'Hazelnp::FloatValue']]], - ['_7ehazelnupp_105',['~Hazelnupp',['../classHazelnp_1_1Hazelnupp.html#a25f8810d24d647b6a57e2dd00ead42be',1,'Hazelnp::Hazelnupp']]], - ['_7eintvalue_106',['~IntValue',['../classHazelnp_1_1IntValue.html#af69f25847b0666f9d6c1bb1fed18d917',1,'Hazelnp::IntValue']]], - ['_7elistvalue_107',['~ListValue',['../classHazelnp_1_1ListValue.html#a91f1450f299d46b3301774a6b4eb6c18',1,'Hazelnp::ListValue']]], - ['_7eparameter_108',['~Parameter',['../classHazelnp_1_1Parameter.html#a6e2ade42a712f1d3675653329266e42d',1,'Hazelnp::Parameter']]], - ['_7estringvalue_109',['~StringValue',['../classHazelnp_1_1StringValue.html#a5176062e2110d121466a6855fdc65d6d',1,'Hazelnp::StringValue']]], - ['_7evalue_110',['~Value',['../classHazelnp_1_1Value.html#a977dea61ee5b00b6c6d77ad6ad2c8d4c',1,'Hazelnp::Value']]], - ['_7evoidvalue_111',['~VoidValue',['../classHazelnp_1_1VoidValue.html#a6024b40919c3a6acea92be0439be2db0',1,'Hazelnp::VoidValue']]] + ['_7efloatvalue_112',['~FloatValue',['../classHazelnp_1_1FloatValue.html#a02e61e453c3e8e32d4d527799c11fd4a',1,'Hazelnp::FloatValue']]], + ['_7ehazelnupp_113',['~Hazelnupp',['../classHazelnp_1_1Hazelnupp.html#a25f8810d24d647b6a57e2dd00ead42be',1,'Hazelnp::Hazelnupp']]], + ['_7eintvalue_114',['~IntValue',['../classHazelnp_1_1IntValue.html#af69f25847b0666f9d6c1bb1fed18d917',1,'Hazelnp::IntValue']]], + ['_7elistvalue_115',['~ListValue',['../classHazelnp_1_1ListValue.html#a91f1450f299d46b3301774a6b4eb6c18',1,'Hazelnp::ListValue']]], + ['_7eparameter_116',['~Parameter',['../classHazelnp_1_1Parameter.html#a6e2ade42a712f1d3675653329266e42d',1,'Hazelnp::Parameter']]], + ['_7estringvalue_117',['~StringValue',['../classHazelnp_1_1StringValue.html#a5176062e2110d121466a6855fdc65d6d',1,'Hazelnp::StringValue']]], + ['_7evalue_118',['~Value',['../classHazelnp_1_1Value.html#a977dea61ee5b00b6c6d77ad6ad2c8d4c',1,'Hazelnp::Value']]], + ['_7evoidvalue_119',['~VoidValue',['../classHazelnp_1_1VoidValue.html#a6024b40919c3a6acea92be0439be2db0',1,'Hazelnp::VoidValue']]] ]; diff --git a/docs/search/all_2.js b/docs/search/all_2.js index a76e9da..aedf262 100644 --- a/docs/search/all_2.js +++ b/docs/search/all_2.js @@ -1,8 +1,8 @@ var searchData= [ - ['data_5ftype_6',['DATA_TYPE',['../namespaceHazelnp.html#a07b61ac22ce9cd97eceebdf9487f803f',1,'Hazelnp']]], - ['datatype_2eh_7',['DataType.h',['../DataType_8h.html',1,'']]], - ['datatypetostring_8',['DataTypeToString',['../namespaceHazelnp.html#a7fb1e5ad9e2ecb6c0025beb19f11621b',1,'Hazelnp']]], - ['deepcopy_9',['Deepcopy',['../classHazelnp_1_1FloatValue.html#ab071916339a0d5a266d821ebbc8f12b0',1,'Hazelnp::FloatValue::Deepcopy()'],['../classHazelnp_1_1IntValue.html#aa599004242b27f8f3e246b88742b034e',1,'Hazelnp::IntValue::Deepcopy()'],['../classHazelnp_1_1ListValue.html#a51c89ff315026b03d908345c6f58169d',1,'Hazelnp::ListValue::Deepcopy()'],['../classHazelnp_1_1StringValue.html#a1952487a786fb53cb0b9aefdb3367268',1,'Hazelnp::StringValue::Deepcopy()'],['../classHazelnp_1_1Value.html#aec9bc16f1630734c79bc69e916622dc6',1,'Hazelnp::Value::Deepcopy()'],['../classHazelnp_1_1VoidValue.html#ac36e85add840057659ec24484548165f',1,'Hazelnp::VoidValue::Deepcopy()']]], - ['defaultvalue_10',['defaultValue',['../structHazelnp_1_1ParamConstraint.html#a1d3a627b3a23fe0db3a368e51dbcd5a7',1,'Hazelnp::ParamConstraint']]] + ['data_5ftype_9',['DATA_TYPE',['../namespaceHazelnp.html#a07b61ac22ce9cd97eceebdf9487f803f',1,'Hazelnp']]], + ['datatype_2eh_10',['DataType.h',['../DataType_8h.html',1,'']]], + ['datatypetostring_11',['DataTypeToString',['../namespaceHazelnp.html#a7fb1e5ad9e2ecb6c0025beb19f11621b',1,'Hazelnp']]], + ['deepcopy_12',['Deepcopy',['../classHazelnp_1_1FloatValue.html#ab071916339a0d5a266d821ebbc8f12b0',1,'Hazelnp::FloatValue::Deepcopy()'],['../classHazelnp_1_1IntValue.html#aa599004242b27f8f3e246b88742b034e',1,'Hazelnp::IntValue::Deepcopy()'],['../classHazelnp_1_1ListValue.html#a51c89ff315026b03d908345c6f58169d',1,'Hazelnp::ListValue::Deepcopy()'],['../classHazelnp_1_1StringValue.html#a1952487a786fb53cb0b9aefdb3367268',1,'Hazelnp::StringValue::Deepcopy()'],['../classHazelnp_1_1Value.html#aec9bc16f1630734c79bc69e916622dc6',1,'Hazelnp::Value::Deepcopy()'],['../classHazelnp_1_1VoidValue.html#ac36e85add840057659ec24484548165f',1,'Hazelnp::VoidValue::Deepcopy()']]], + ['defaultvalue_13',['defaultValue',['../structHazelnp_1_1ParamConstraint.html#a1d3a627b3a23fe0db3a368e51dbcd5a7',1,'Hazelnp::ParamConstraint']]] ]; diff --git a/docs/search/all_3.js b/docs/search/all_3.js index 34c5e25..a137006 100644 --- a/docs/search/all_3.js +++ b/docs/search/all_3.js @@ -1,7 +1,7 @@ var searchData= [ - ['float_11',['FLOAT',['../namespaceHazelnp.html#a07b61ac22ce9cd97eceebdf9487f803fae738c26bf4ce1037fa81b039a915cbf6',1,'Hazelnp']]], - ['floatvalue_12',['FloatValue',['../classHazelnp_1_1FloatValue.html',1,'Hazelnp::FloatValue'],['../classHazelnp_1_1FloatValue.html#a6bb35564e3331a3feb57b08caad0df44',1,'Hazelnp::FloatValue::FloatValue()']]], - ['floatvalue_2ecpp_13',['FloatValue.cpp',['../FloatValue_8cpp.html',1,'']]], - ['floatvalue_2eh_14',['FloatValue.h',['../FloatValue_8h.html',1,'']]] + ['float_14',['FLOAT',['../namespaceHazelnp.html#a07b61ac22ce9cd97eceebdf9487f803fae738c26bf4ce1037fa81b039a915cbf6',1,'Hazelnp']]], + ['floatvalue_15',['FloatValue',['../classHazelnp_1_1FloatValue.html',1,'Hazelnp::FloatValue'],['../classHazelnp_1_1FloatValue.html#a6bb35564e3331a3feb57b08caad0df44',1,'Hazelnp::FloatValue::FloatValue()']]], + ['floatvalue_2ecpp_16',['FloatValue.cpp',['../FloatValue_8cpp.html',1,'']]], + ['floatvalue_2eh_17',['FloatValue.h',['../FloatValue_8h.html',1,'']]] ]; diff --git a/docs/search/all_4.js b/docs/search/all_4.js index ed270ed..5ffab74 100644 --- a/docs/search/all_4.js +++ b/docs/search/all_4.js @@ -1,19 +1,21 @@ var searchData= [ - ['generatedocumentation_15',['GenerateDocumentation',['../classHazelnp_1_1Hazelnupp.html#a7b1bf5e700d8a0d8e90c5750e54749de',1,'Hazelnp::Hazelnupp']]], - ['getabbreviation_16',['GetAbbreviation',['../classHazelnp_1_1Hazelnupp.html#a579e78129f19cb9f17a6075366ababe5',1,'Hazelnp::Hazelnupp']]], - ['getasosstring_17',['GetAsOsString',['../classHazelnp_1_1FloatValue.html#a6c9a4b70a7618252f56d9062c483531c',1,'Hazelnp::FloatValue::GetAsOsString()'],['../classHazelnp_1_1IntValue.html#a7d7dbda9a051084600d3eabdac96ee45',1,'Hazelnp::IntValue::GetAsOsString()'],['../classHazelnp_1_1ListValue.html#a5b1f8af329e48c5469fee16634b7889c',1,'Hazelnp::ListValue::GetAsOsString()'],['../classHazelnp_1_1StringValue.html#a71869ee46b88a3cbb9571f481f0c216d',1,'Hazelnp::StringValue::GetAsOsString()'],['../classHazelnp_1_1Value.html#ae1fdc694ed1c2b3080ad3929efda0a0e',1,'Hazelnp::Value::GetAsOsString()'],['../classHazelnp_1_1VoidValue.html#a44b1917d9ba41ee91e2131432e01ec90',1,'Hazelnp::VoidValue::GetAsOsString()']]], - ['getbriefdescription_18',['GetBriefDescription',['../classHazelnp_1_1Hazelnupp.html#a1d32c3047a8c58650476d1ae7e9fb582',1,'Hazelnp::Hazelnupp']]], - ['getcatchhelp_19',['GetCatchHelp',['../classHazelnp_1_1Hazelnupp.html#a05a3d112bcc00cdeade76f3643ba9e94',1,'Hazelnp::Hazelnupp']]], - ['getcrashonfail_20',['GetCrashOnFail',['../classHazelnp_1_1Hazelnupp.html#a1b810cc7db2cf64aecaa70c686b14bb7',1,'Hazelnp::Hazelnupp']]], - ['getdatatype_21',['GetDataType',['../classHazelnp_1_1Value.html#adbb80bf6d455a316e6e5103353429993',1,'Hazelnp::Value']]], - ['getdescription_22',['GetDescription',['../classHazelnp_1_1Hazelnupp.html#a6637dc4b78871d7ecba1f2e1c8c28fb0',1,'Hazelnp::Hazelnupp']]], - ['getexecutablename_23',['GetExecutableName',['../classHazelnp_1_1Hazelnupp.html#af6bb41fb079131f8b91fe981f63f7469',1,'Hazelnp::Hazelnupp']]], - ['getfloat32_24',['GetFloat32',['../classHazelnp_1_1FloatValue.html#a1653ab3f4fa1700cf1b618ac6552ea81',1,'Hazelnp::FloatValue::GetFloat32()'],['../classHazelnp_1_1IntValue.html#ad0734e4cf67bac0bcc58251a4b3e56c4',1,'Hazelnp::IntValue::GetFloat32()'],['../classHazelnp_1_1ListValue.html#a637fec02ed7f7325554e494fc7cd4e86',1,'Hazelnp::ListValue::GetFloat32()'],['../classHazelnp_1_1StringValue.html#a31fc4d2517a7454c1e9f329df2f14be7',1,'Hazelnp::StringValue::GetFloat32()'],['../classHazelnp_1_1Value.html#a64eeb2943ccea6e16ce4e6f53a6e9b6d',1,'Hazelnp::Value::GetFloat32()'],['../classHazelnp_1_1VoidValue.html#a6d39d2983e54e1a407c66e303273aa48',1,'Hazelnp::VoidValue::GetFloat32()']]], - ['getfloat64_25',['GetFloat64',['../classHazelnp_1_1FloatValue.html#add33b370ef691ccb2f0957d0fe4ef6f9',1,'Hazelnp::FloatValue::GetFloat64()'],['../classHazelnp_1_1IntValue.html#a5ceb2030e8a2a665953fdd4f1715e6a5',1,'Hazelnp::IntValue::GetFloat64()'],['../classHazelnp_1_1ListValue.html#a571178db1c9d23f6c685ea8898dbb60e',1,'Hazelnp::ListValue::GetFloat64()'],['../classHazelnp_1_1StringValue.html#a74bedb828c901a4895062f62303b9653',1,'Hazelnp::StringValue::GetFloat64()'],['../classHazelnp_1_1Value.html#af645b9d78970d102360be37fc18e9e8a',1,'Hazelnp::Value::GetFloat64()'],['../classHazelnp_1_1VoidValue.html#a18b6f0d697c5f9286372a05927e4759c',1,'Hazelnp::VoidValue::GetFloat64()']]], - ['getint32_26',['GetInt32',['../classHazelnp_1_1FloatValue.html#a565741e80cd99a4d2af861ddc3c2dc99',1,'Hazelnp::FloatValue::GetInt32()'],['../classHazelnp_1_1IntValue.html#a163f21536fa49491aa0ae03c8091344a',1,'Hazelnp::IntValue::GetInt32()'],['../classHazelnp_1_1ListValue.html#a565c2b86fcfb3a13de29e59d95a358e7',1,'Hazelnp::ListValue::GetInt32()'],['../classHazelnp_1_1StringValue.html#ac8b53a7792ff1ed048722e2e404f3e6b',1,'Hazelnp::StringValue::GetInt32()'],['../classHazelnp_1_1Value.html#a2cb73333bdeca657dfbf6c8b2e50a5ef',1,'Hazelnp::Value::GetInt32()'],['../classHazelnp_1_1VoidValue.html#a5b7f50c390ef8f3636ba211a72a78065',1,'Hazelnp::VoidValue::GetInt32()']]], - ['getint64_27',['GetInt64',['../classHazelnp_1_1FloatValue.html#a762520d504d4564c48cf3bbefbb0f183',1,'Hazelnp::FloatValue::GetInt64()'],['../classHazelnp_1_1IntValue.html#ae0643023dfd56eafe2e3da5a4ba13080',1,'Hazelnp::IntValue::GetInt64()'],['../classHazelnp_1_1ListValue.html#a9a7a1161ddeb3e56eaafee5f10f75995',1,'Hazelnp::ListValue::GetInt64()'],['../classHazelnp_1_1StringValue.html#aabdc7d681945403d24df6a8fe27948af',1,'Hazelnp::StringValue::GetInt64()'],['../classHazelnp_1_1Value.html#a92d75905211e964cb900bdc868ed12a7',1,'Hazelnp::Value::GetInt64()'],['../classHazelnp_1_1VoidValue.html#a3806945596866f3630dc5426a6b55e58',1,'Hazelnp::VoidValue::GetInt64()']]], - ['getlist_28',['GetList',['../classHazelnp_1_1FloatValue.html#a60b2698f28f1aacac0b67b6453c89fd1',1,'Hazelnp::FloatValue::GetList()'],['../classHazelnp_1_1IntValue.html#acc74ba6070a516a4bcad10bb113d6fa2',1,'Hazelnp::IntValue::GetList()'],['../classHazelnp_1_1ListValue.html#ad578d9088c0375cd9b9c6658e5d9ba1f',1,'Hazelnp::ListValue::GetList()'],['../classHazelnp_1_1StringValue.html#a2b2810350b5eb7e58062ad095320aa69',1,'Hazelnp::StringValue::GetList()'],['../classHazelnp_1_1Value.html#a358092f951e817cd2a878225b5b1c869',1,'Hazelnp::Value::GetList()'],['../classHazelnp_1_1VoidValue.html#aba53ae37d415959b583f33f3e381be16',1,'Hazelnp::VoidValue::GetList()']]], - ['getstring_29',['GetString',['../classHazelnp_1_1FloatValue.html#afd5d078683f410cb9d450c61f12f250d',1,'Hazelnp::FloatValue::GetString()'],['../classHazelnp_1_1IntValue.html#a3631e3b16f010889e942c0c0f72d403c',1,'Hazelnp::IntValue::GetString()'],['../classHazelnp_1_1ListValue.html#aeaf80c07236045a77d72349ebcfc3b89',1,'Hazelnp::ListValue::GetString()'],['../classHazelnp_1_1StringValue.html#a7ed55493cfd25274f8571c1ea45f93e5',1,'Hazelnp::StringValue::GetString()'],['../classHazelnp_1_1Value.html#a1446705c062026f03866d0f452c39501',1,'Hazelnp::Value::GetString()'],['../classHazelnp_1_1VoidValue.html#a5af0c47a873b84226df47a90e63b2acd',1,'Hazelnp::VoidValue::GetString()']]], - ['getvalue_30',['GetValue',['../classHazelnp_1_1FloatValue.html#a2ad79d8bfe75e45120d1fce132a89b8f',1,'Hazelnp::FloatValue::GetValue()'],['../classHazelnp_1_1IntValue.html#a89967cafbdeb21362336067b772808c7',1,'Hazelnp::IntValue::GetValue()'],['../classHazelnp_1_1ListValue.html#a7907ae7433e4011157f1b31dd5339702',1,'Hazelnp::ListValue::GetValue()'],['../classHazelnp_1_1Parameter.html#a4ab8ba022bde4a0175e5ceb8e3a598af',1,'Hazelnp::Parameter::GetValue()'],['../classHazelnp_1_1StringValue.html#a521a573887a3f31718f74e71ff01e86e',1,'Hazelnp::StringValue::GetValue()']]] + ['g_5femptystring_18',['g_emptyString',['../namespaceHazelnp_1_1Placeholders.html#a90536f0cd5261b18da736e954c6b8b79',1,'Hazelnp::Placeholders']]], + ['generatedocumentation_19',['GenerateDocumentation',['../classHazelnp_1_1Hazelnupp.html#a7b1bf5e700d8a0d8e90c5750e54749de',1,'Hazelnp::Hazelnupp']]], + ['getabbreviation_20',['GetAbbreviation',['../classHazelnp_1_1Hazelnupp.html#a579e78129f19cb9f17a6075366ababe5',1,'Hazelnp::Hazelnupp']]], + ['getasosstring_21',['GetAsOsString',['../classHazelnp_1_1FloatValue.html#a6c9a4b70a7618252f56d9062c483531c',1,'Hazelnp::FloatValue::GetAsOsString()'],['../classHazelnp_1_1IntValue.html#a7d7dbda9a051084600d3eabdac96ee45',1,'Hazelnp::IntValue::GetAsOsString()'],['../classHazelnp_1_1ListValue.html#a5b1f8af329e48c5469fee16634b7889c',1,'Hazelnp::ListValue::GetAsOsString()'],['../classHazelnp_1_1StringValue.html#a71869ee46b88a3cbb9571f481f0c216d',1,'Hazelnp::StringValue::GetAsOsString()'],['../classHazelnp_1_1Value.html#ae1fdc694ed1c2b3080ad3929efda0a0e',1,'Hazelnp::Value::GetAsOsString()'],['../classHazelnp_1_1VoidValue.html#a44b1917d9ba41ee91e2131432e01ec90',1,'Hazelnp::VoidValue::GetAsOsString()']]], + ['getbriefdescription_22',['GetBriefDescription',['../classHazelnp_1_1Hazelnupp.html#a1d32c3047a8c58650476d1ae7e9fb582',1,'Hazelnp::Hazelnupp']]], + ['getcatchhelp_23',['GetCatchHelp',['../classHazelnp_1_1Hazelnupp.html#a05a3d112bcc00cdeade76f3643ba9e94',1,'Hazelnp::Hazelnupp']]], + ['getconstraint_24',['GetConstraint',['../classHazelnp_1_1Hazelnupp.html#acaec2780d800113ffc2d72a6b865955c',1,'Hazelnp::Hazelnupp']]], + ['getcrashonfail_25',['GetCrashOnFail',['../classHazelnp_1_1Hazelnupp.html#a1b810cc7db2cf64aecaa70c686b14bb7',1,'Hazelnp::Hazelnupp']]], + ['getdatatype_26',['GetDataType',['../classHazelnp_1_1Value.html#adbb80bf6d455a316e6e5103353429993',1,'Hazelnp::Value']]], + ['getdescription_27',['GetDescription',['../classHazelnp_1_1Hazelnupp.html#a300e55438cb0983b02347fdc3653e32c',1,'Hazelnp::Hazelnupp']]], + ['getexecutablename_28',['GetExecutableName',['../classHazelnp_1_1Hazelnupp.html#af6bb41fb079131f8b91fe981f63f7469',1,'Hazelnp::Hazelnupp']]], + ['getfloat32_29',['GetFloat32',['../classHazelnp_1_1FloatValue.html#a1653ab3f4fa1700cf1b618ac6552ea81',1,'Hazelnp::FloatValue::GetFloat32()'],['../classHazelnp_1_1IntValue.html#ad0734e4cf67bac0bcc58251a4b3e56c4',1,'Hazelnp::IntValue::GetFloat32()'],['../classHazelnp_1_1ListValue.html#a637fec02ed7f7325554e494fc7cd4e86',1,'Hazelnp::ListValue::GetFloat32()'],['../classHazelnp_1_1StringValue.html#a31fc4d2517a7454c1e9f329df2f14be7',1,'Hazelnp::StringValue::GetFloat32()'],['../classHazelnp_1_1Value.html#a64eeb2943ccea6e16ce4e6f53a6e9b6d',1,'Hazelnp::Value::GetFloat32()'],['../classHazelnp_1_1VoidValue.html#a6d39d2983e54e1a407c66e303273aa48',1,'Hazelnp::VoidValue::GetFloat32()']]], + ['getfloat64_30',['GetFloat64',['../classHazelnp_1_1FloatValue.html#add33b370ef691ccb2f0957d0fe4ef6f9',1,'Hazelnp::FloatValue::GetFloat64()'],['../classHazelnp_1_1IntValue.html#a5ceb2030e8a2a665953fdd4f1715e6a5',1,'Hazelnp::IntValue::GetFloat64()'],['../classHazelnp_1_1ListValue.html#a571178db1c9d23f6c685ea8898dbb60e',1,'Hazelnp::ListValue::GetFloat64()'],['../classHazelnp_1_1StringValue.html#a74bedb828c901a4895062f62303b9653',1,'Hazelnp::StringValue::GetFloat64()'],['../classHazelnp_1_1Value.html#af645b9d78970d102360be37fc18e9e8a',1,'Hazelnp::Value::GetFloat64()'],['../classHazelnp_1_1VoidValue.html#a18b6f0d697c5f9286372a05927e4759c',1,'Hazelnp::VoidValue::GetFloat64()']]], + ['getint32_31',['GetInt32',['../classHazelnp_1_1FloatValue.html#a565741e80cd99a4d2af861ddc3c2dc99',1,'Hazelnp::FloatValue::GetInt32()'],['../classHazelnp_1_1IntValue.html#a163f21536fa49491aa0ae03c8091344a',1,'Hazelnp::IntValue::GetInt32()'],['../classHazelnp_1_1ListValue.html#a565c2b86fcfb3a13de29e59d95a358e7',1,'Hazelnp::ListValue::GetInt32()'],['../classHazelnp_1_1StringValue.html#ac8b53a7792ff1ed048722e2e404f3e6b',1,'Hazelnp::StringValue::GetInt32()'],['../classHazelnp_1_1Value.html#a2cb73333bdeca657dfbf6c8b2e50a5ef',1,'Hazelnp::Value::GetInt32()'],['../classHazelnp_1_1VoidValue.html#a5b7f50c390ef8f3636ba211a72a78065',1,'Hazelnp::VoidValue::GetInt32()']]], + ['getint64_32',['GetInt64',['../classHazelnp_1_1FloatValue.html#a762520d504d4564c48cf3bbefbb0f183',1,'Hazelnp::FloatValue::GetInt64()'],['../classHazelnp_1_1IntValue.html#ae0643023dfd56eafe2e3da5a4ba13080',1,'Hazelnp::IntValue::GetInt64()'],['../classHazelnp_1_1ListValue.html#a9a7a1161ddeb3e56eaafee5f10f75995',1,'Hazelnp::ListValue::GetInt64()'],['../classHazelnp_1_1StringValue.html#aabdc7d681945403d24df6a8fe27948af',1,'Hazelnp::StringValue::GetInt64()'],['../classHazelnp_1_1Value.html#a92d75905211e964cb900bdc868ed12a7',1,'Hazelnp::Value::GetInt64()'],['../classHazelnp_1_1VoidValue.html#a3806945596866f3630dc5426a6b55e58',1,'Hazelnp::VoidValue::GetInt64()']]], + ['getlist_33',['GetList',['../classHazelnp_1_1FloatValue.html#a60b2698f28f1aacac0b67b6453c89fd1',1,'Hazelnp::FloatValue::GetList()'],['../classHazelnp_1_1IntValue.html#acc74ba6070a516a4bcad10bb113d6fa2',1,'Hazelnp::IntValue::GetList()'],['../classHazelnp_1_1ListValue.html#ad578d9088c0375cd9b9c6658e5d9ba1f',1,'Hazelnp::ListValue::GetList()'],['../classHazelnp_1_1StringValue.html#a2b2810350b5eb7e58062ad095320aa69',1,'Hazelnp::StringValue::GetList()'],['../classHazelnp_1_1Value.html#a358092f951e817cd2a878225b5b1c869',1,'Hazelnp::Value::GetList()'],['../classHazelnp_1_1VoidValue.html#aba53ae37d415959b583f33f3e381be16',1,'Hazelnp::VoidValue::GetList()']]], + ['getstring_34',['GetString',['../classHazelnp_1_1FloatValue.html#afd5d078683f410cb9d450c61f12f250d',1,'Hazelnp::FloatValue::GetString()'],['../classHazelnp_1_1IntValue.html#a3631e3b16f010889e942c0c0f72d403c',1,'Hazelnp::IntValue::GetString()'],['../classHazelnp_1_1ListValue.html#aeaf80c07236045a77d72349ebcfc3b89',1,'Hazelnp::ListValue::GetString()'],['../classHazelnp_1_1StringValue.html#a7ed55493cfd25274f8571c1ea45f93e5',1,'Hazelnp::StringValue::GetString()'],['../classHazelnp_1_1Value.html#a1446705c062026f03866d0f452c39501',1,'Hazelnp::Value::GetString()'],['../classHazelnp_1_1VoidValue.html#a5af0c47a873b84226df47a90e63b2acd',1,'Hazelnp::VoidValue::GetString()']]], + ['getvalue_35',['GetValue',['../classHazelnp_1_1FloatValue.html#a2ad79d8bfe75e45120d1fce132a89b8f',1,'Hazelnp::FloatValue::GetValue()'],['../classHazelnp_1_1IntValue.html#a89967cafbdeb21362336067b772808c7',1,'Hazelnp::IntValue::GetValue()'],['../classHazelnp_1_1ListValue.html#a7907ae7433e4011157f1b31dd5339702',1,'Hazelnp::ListValue::GetValue()'],['../classHazelnp_1_1Parameter.html#a4ab8ba022bde4a0175e5ceb8e3a598af',1,'Hazelnp::Parameter::GetValue()'],['../classHazelnp_1_1StringValue.html#a521a573887a3f31718f74e71ff01e86e',1,'Hazelnp::StringValue::GetValue()']]] ]; diff --git a/docs/search/all_5.js b/docs/search/all_5.js index b10b99f..6eac203 100644 --- a/docs/search/all_5.js +++ b/docs/search/all_5.js @@ -1,18 +1,20 @@ var searchData= [ - ['hasabbreviation_31',['HasAbbreviation',['../classHazelnp_1_1Hazelnupp.html#a46df7d396fb56e30351c9a7308792200',1,'Hazelnp::Hazelnupp']]], - ['hasparam_32',['HasParam',['../classHazelnp_1_1Hazelnupp.html#a8b79a79d40420ae748c108c691111040',1,'Hazelnp::Hazelnupp']]], - ['hazelnp_33',['Hazelnp',['../namespaceHazelnp.html',1,'']]], - ['hazelnupp_34',['Hazelnupp',['../classHazelnp_1_1Hazelnupp.html',1,'Hazelnp::Hazelnupp'],['../classHazelnp_1_1Hazelnupp.html#a20ac0ebcfd4df7f320a7bbcaeed6e54d',1,'Hazelnp::Hazelnupp::Hazelnupp()'],['../classHazelnp_1_1Hazelnupp.html#a6d14c60f03b571f5f794c3549e75e435',1,'Hazelnp::Hazelnupp::Hazelnupp(const int argc, const char *const *argv)']]], - ['hazelnupp_2ecpp_35',['Hazelnupp.cpp',['../Hazelnupp_8cpp.html',1,'']]], - ['hazelnupp_2eh_36',['Hazelnupp.h',['../Hazelnupp_8h.html',1,'']]], - ['hazelnupp_2evcxproj_2efilelistabsolute_2etxt_37',['Hazelnupp.vcxproj.FileListAbsolute.txt',['../Debug_2Hazelnupp_8vcxproj_8FileListAbsolute_8txt.html',1,'(Global Namespace)'],['../Release_2Hazelnupp_8vcxproj_8FileListAbsolute_8txt.html',1,'(Global Namespace)']]], - ['hazelnuppconstraintexception_38',['HazelnuppConstraintException',['../classHazelnp_1_1HazelnuppConstraintException.html',1,'Hazelnp::HazelnuppConstraintException'],['../classHazelnp_1_1HazelnuppConstraintException.html#a4d08002a96bf9b3da3c6e931a51960e9',1,'Hazelnp::HazelnuppConstraintException::HazelnuppConstraintException()'],['../classHazelnp_1_1HazelnuppConstraintException.html#a944f0e6a384e032a762c5892964e1cc0',1,'Hazelnp::HazelnuppConstraintException::HazelnuppConstraintException(const std::string &msg)']]], - ['hazelnuppconstraintmissingvalue_39',['HazelnuppConstraintMissingValue',['../classHazelnp_1_1HazelnuppConstraintMissingValue.html',1,'Hazelnp::HazelnuppConstraintMissingValue'],['../classHazelnp_1_1HazelnuppConstraintMissingValue.html#aad4a7b5573790ddfbe1a453aef71eb10',1,'Hazelnp::HazelnuppConstraintMissingValue::HazelnuppConstraintMissingValue()'],['../classHazelnp_1_1HazelnuppConstraintMissingValue.html#a20563650ba1ee63f23ddb973677dbdda',1,'Hazelnp::HazelnuppConstraintMissingValue::HazelnuppConstraintMissingValue(const std::string &msg)']]], - ['hazelnuppconstrainttypemissmatch_40',['HazelnuppConstraintTypeMissmatch',['../classHazelnp_1_1HazelnuppConstraintTypeMissmatch.html',1,'Hazelnp::HazelnuppConstraintTypeMissmatch'],['../classHazelnp_1_1HazelnuppConstraintTypeMissmatch.html#ab7c9e9afd9d3286e563a7656785242e8',1,'Hazelnp::HazelnuppConstraintTypeMissmatch::HazelnuppConstraintTypeMissmatch()'],['../classHazelnp_1_1HazelnuppConstraintTypeMissmatch.html#a603d91c9af39e53b54e5aa288266cfe4',1,'Hazelnp::HazelnuppConstraintTypeMissmatch::HazelnuppConstraintTypeMissmatch(const std::string &msg)']]], - ['hazelnuppexception_41',['HazelnuppException',['../classHazelnp_1_1HazelnuppException.html',1,'Hazelnp::HazelnuppException'],['../classHazelnp_1_1HazelnuppException.html#a0b21fd5d4f22e5e677b74eb0acd7c6ff',1,'Hazelnp::HazelnuppException::HazelnuppException()'],['../classHazelnp_1_1HazelnuppException.html#a816f823fe2ebd35076049e33b9f3c05c',1,'Hazelnp::HazelnuppException::HazelnuppException(const std::string &msg)']]], - ['hazelnuppexception_2eh_42',['HazelnuppException.h',['../HazelnuppException_8h.html',1,'']]], - ['hazelnuppinvalidkeyexception_43',['HazelnuppInvalidKeyException',['../classHazelnp_1_1HazelnuppInvalidKeyException.html',1,'Hazelnp::HazelnuppInvalidKeyException'],['../classHazelnp_1_1HazelnuppInvalidKeyException.html#ab23be8f7cb84129fa85ed1e7a0b280a0',1,'Hazelnp::HazelnuppInvalidKeyException::HazelnuppInvalidKeyException()'],['../classHazelnp_1_1HazelnuppInvalidKeyException.html#a18a08dc4efe80a378216460db5769891',1,'Hazelnp::HazelnuppInvalidKeyException::HazelnuppInvalidKeyException(const std::string &msg)']]], - ['hazelnuppvaluenotconvertibleexception_44',['HazelnuppValueNotConvertibleException',['../classHazelnp_1_1HazelnuppValueNotConvertibleException.html',1,'Hazelnp::HazelnuppValueNotConvertibleException'],['../classHazelnp_1_1HazelnuppValueNotConvertibleException.html#a0babee1bb5cec9fdd4abfd86995561f4',1,'Hazelnp::HazelnuppValueNotConvertibleException::HazelnuppValueNotConvertibleException()'],['../classHazelnp_1_1HazelnuppValueNotConvertibleException.html#a7ba376cd7fc7edcb934ee0257d4867f2',1,'Hazelnp::HazelnuppValueNotConvertibleException::HazelnuppValueNotConvertibleException(const std::string &msg)']]], - ['hazelnupp_45',['Hazelnupp',['../index.html',1,'']]] + ['hasabbreviation_36',['HasAbbreviation',['../classHazelnp_1_1Hazelnupp.html#a46df7d396fb56e30351c9a7308792200',1,'Hazelnp::Hazelnupp']]], + ['hasdescription_37',['HasDescription',['../classHazelnp_1_1Hazelnupp.html#aabab94412ff5eecf95b97a4e21eb9cf6',1,'Hazelnp::Hazelnupp']]], + ['hasparam_38',['HasParam',['../classHazelnp_1_1Hazelnupp.html#a8b79a79d40420ae748c108c691111040',1,'Hazelnp::Hazelnupp']]], + ['hazelnp_39',['Hazelnp',['../namespaceHazelnp.html',1,'']]], + ['hazelnupp_40',['Hazelnupp',['../classHazelnp_1_1Hazelnupp.html',1,'Hazelnp::Hazelnupp'],['../structHazelnp_1_1ParamConstraint.html#a0356cbb5056c61cac4a065a59002cb76',1,'Hazelnp::ParamConstraint::Hazelnupp()'],['../classHazelnp_1_1Hazelnupp.html#a20ac0ebcfd4df7f320a7bbcaeed6e54d',1,'Hazelnp::Hazelnupp::Hazelnupp()'],['../classHazelnp_1_1Hazelnupp.html#a6d14c60f03b571f5f794c3549e75e435',1,'Hazelnp::Hazelnupp::Hazelnupp(const int argc, const char *const *argv)']]], + ['hazelnupp_2ecpp_41',['Hazelnupp.cpp',['../Hazelnupp_8cpp.html',1,'']]], + ['hazelnupp_2eh_42',['Hazelnupp.h',['../Hazelnupp_8h.html',1,'']]], + ['hazelnupp_2evcxproj_2efilelistabsolute_2etxt_43',['Hazelnupp.vcxproj.FileListAbsolute.txt',['../Debug_2Hazelnupp_8vcxproj_8FileListAbsolute_8txt.html',1,'(Global Namespace)'],['../Release_2Hazelnupp_8vcxproj_8FileListAbsolute_8txt.html',1,'(Global Namespace)']]], + ['hazelnuppconstraintexception_44',['HazelnuppConstraintException',['../classHazelnp_1_1HazelnuppConstraintException.html',1,'Hazelnp::HazelnuppConstraintException'],['../classHazelnp_1_1HazelnuppConstraintException.html#a4d08002a96bf9b3da3c6e931a51960e9',1,'Hazelnp::HazelnuppConstraintException::HazelnuppConstraintException()'],['../classHazelnp_1_1HazelnuppConstraintException.html#a944f0e6a384e032a762c5892964e1cc0',1,'Hazelnp::HazelnuppConstraintException::HazelnuppConstraintException(const std::string &msg)']]], + ['hazelnuppconstraintmissingvalue_45',['HazelnuppConstraintMissingValue',['../classHazelnp_1_1HazelnuppConstraintMissingValue.html',1,'Hazelnp::HazelnuppConstraintMissingValue'],['../classHazelnp_1_1HazelnuppConstraintMissingValue.html#aad4a7b5573790ddfbe1a453aef71eb10',1,'Hazelnp::HazelnuppConstraintMissingValue::HazelnuppConstraintMissingValue()'],['../classHazelnp_1_1HazelnuppConstraintMissingValue.html#a20563650ba1ee63f23ddb973677dbdda',1,'Hazelnp::HazelnuppConstraintMissingValue::HazelnuppConstraintMissingValue(const std::string &msg)']]], + ['hazelnuppconstrainttypemissmatch_46',['HazelnuppConstraintTypeMissmatch',['../classHazelnp_1_1HazelnuppConstraintTypeMissmatch.html',1,'Hazelnp::HazelnuppConstraintTypeMissmatch'],['../classHazelnp_1_1HazelnuppConstraintTypeMissmatch.html#ab7c9e9afd9d3286e563a7656785242e8',1,'Hazelnp::HazelnuppConstraintTypeMissmatch::HazelnuppConstraintTypeMissmatch()'],['../classHazelnp_1_1HazelnuppConstraintTypeMissmatch.html#a603d91c9af39e53b54e5aa288266cfe4',1,'Hazelnp::HazelnuppConstraintTypeMissmatch::HazelnuppConstraintTypeMissmatch(const std::string &msg)']]], + ['hazelnuppexception_47',['HazelnuppException',['../classHazelnp_1_1HazelnuppException.html',1,'Hazelnp::HazelnuppException'],['../classHazelnp_1_1HazelnuppException.html#a0b21fd5d4f22e5e677b74eb0acd7c6ff',1,'Hazelnp::HazelnuppException::HazelnuppException()'],['../classHazelnp_1_1HazelnuppException.html#a816f823fe2ebd35076049e33b9f3c05c',1,'Hazelnp::HazelnuppException::HazelnuppException(const std::string &msg)']]], + ['hazelnuppexception_2eh_48',['HazelnuppException.h',['../HazelnuppException_8h.html',1,'']]], + ['hazelnuppinvalidkeyexception_49',['HazelnuppInvalidKeyException',['../classHazelnp_1_1HazelnuppInvalidKeyException.html',1,'Hazelnp::HazelnuppInvalidKeyException'],['../classHazelnp_1_1HazelnuppInvalidKeyException.html#ab23be8f7cb84129fa85ed1e7a0b280a0',1,'Hazelnp::HazelnuppInvalidKeyException::HazelnuppInvalidKeyException()'],['../classHazelnp_1_1HazelnuppInvalidKeyException.html#a18a08dc4efe80a378216460db5769891',1,'Hazelnp::HazelnuppInvalidKeyException::HazelnuppInvalidKeyException(const std::string &msg)']]], + ['hazelnuppvaluenotconvertibleexception_50',['HazelnuppValueNotConvertibleException',['../classHazelnp_1_1HazelnuppValueNotConvertibleException.html',1,'Hazelnp::HazelnuppValueNotConvertibleException'],['../classHazelnp_1_1HazelnuppValueNotConvertibleException.html#a0babee1bb5cec9fdd4abfd86995561f4',1,'Hazelnp::HazelnuppValueNotConvertibleException::HazelnuppValueNotConvertibleException()'],['../classHazelnp_1_1HazelnuppValueNotConvertibleException.html#a7ba376cd7fc7edcb934ee0257d4867f2',1,'Hazelnp::HazelnuppValueNotConvertibleException::HazelnuppValueNotConvertibleException(const std::string &msg)']]], + ['hazelnupp_51',['Hazelnupp',['../index.html',1,'']]], + ['placeholders_52',['Placeholders',['../namespaceHazelnp_1_1Placeholders.html',1,'Hazelnp']]] ]; diff --git a/docs/search/all_6.js b/docs/search/all_6.js index 989f9a8..bfad21f 100644 --- a/docs/search/all_6.js +++ b/docs/search/all_6.js @@ -1,9 +1,9 @@ var searchData= [ - ['index_2emd_46',['index.md',['../index_8md.html',1,'']]], - ['int_47',['INT',['../namespaceHazelnp.html#a07b61ac22ce9cd97eceebdf9487f803fa53f93baa3057821107c750323892fa92',1,'Hazelnp']]], - ['intvalue_48',['IntValue',['../classHazelnp_1_1IntValue.html',1,'Hazelnp::IntValue'],['../classHazelnp_1_1IntValue.html#ac1174f807ce2c085f5a24baed4e3c1ba',1,'Hazelnp::IntValue::IntValue()']]], - ['intvalue_2ecpp_49',['IntValue.cpp',['../IntValue_8cpp.html',1,'']]], - ['intvalue_2eh_50',['IntValue.h',['../IntValue_8h.html',1,'']]], - ['isnumeric_51',['IsNumeric',['../classHazelnp_1_1StringTools.html#a6cd093feaca2d978c23774cf87d86e68',1,'Hazelnp::StringTools']]] + ['index_2emd_53',['index.md',['../index_8md.html',1,'']]], + ['int_54',['INT',['../namespaceHazelnp.html#a07b61ac22ce9cd97eceebdf9487f803fa53f93baa3057821107c750323892fa92',1,'Hazelnp']]], + ['intvalue_55',['IntValue',['../classHazelnp_1_1IntValue.html',1,'Hazelnp::IntValue'],['../classHazelnp_1_1IntValue.html#ac1174f807ce2c085f5a24baed4e3c1ba',1,'Hazelnp::IntValue::IntValue()']]], + ['intvalue_2ecpp_56',['IntValue.cpp',['../IntValue_8cpp.html',1,'']]], + ['intvalue_2eh_57',['IntValue.h',['../IntValue_8h.html',1,'']]], + ['isnumeric_58',['IsNumeric',['../classHazelnp_1_1StringTools.html#a6cd093feaca2d978c23774cf87d86e68',1,'Hazelnp::StringTools']]] ]; diff --git a/docs/search/all_7.js b/docs/search/all_7.js index a753f3f..4c642df 100644 --- a/docs/search/all_7.js +++ b/docs/search/all_7.js @@ -1,4 +1,4 @@ var searchData= [ - ['key_52',['Key',['../classHazelnp_1_1Parameter.html#a7acd68ce06eec06ab286b1a062f9c8d6',1,'Hazelnp::Parameter::Key()'],['../structHazelnp_1_1ParamConstraint.html#aac148076c5e0ab91c666f3343c30bd15',1,'Hazelnp::ParamConstraint::key()']]] + ['key_59',['Key',['../classHazelnp_1_1Parameter.html#a7acd68ce06eec06ab286b1a062f9c8d6',1,'Hazelnp::Parameter']]] ]; diff --git a/docs/search/all_8.js b/docs/search/all_8.js index 892e1b1..83b938e 100644 --- a/docs/search/all_8.js +++ b/docs/search/all_8.js @@ -1,7 +1,7 @@ var searchData= [ - ['list_53',['LIST',['../namespaceHazelnp.html#a07b61ac22ce9cd97eceebdf9487f803fa298cb25408234de02baf2085803a464a',1,'Hazelnp']]], - ['listvalue_54',['ListValue',['../classHazelnp_1_1ListValue.html',1,'Hazelnp::ListValue'],['../classHazelnp_1_1ListValue.html#a6082aaa506b31496720a168da8ab2708',1,'Hazelnp::ListValue::ListValue()']]], - ['listvalue_2ecpp_55',['ListValue.cpp',['../ListValue_8cpp.html',1,'']]], - ['listvalue_2eh_56',['ListValue.h',['../ListValue_8h.html',1,'']]] + ['list_60',['LIST',['../namespaceHazelnp.html#a07b61ac22ce9cd97eceebdf9487f803fa298cb25408234de02baf2085803a464a',1,'Hazelnp']]], + ['listvalue_61',['ListValue',['../classHazelnp_1_1ListValue.html',1,'Hazelnp::ListValue'],['../classHazelnp_1_1ListValue.html#a6082aaa506b31496720a168da8ab2708',1,'Hazelnp::ListValue::ListValue()']]], + ['listvalue_2ecpp_62',['ListValue.cpp',['../ListValue_8cpp.html',1,'']]], + ['listvalue_2eh_63',['ListValue.h',['../ListValue_8h.html',1,'']]] ]; diff --git a/docs/search/all_9.js b/docs/search/all_9.js index 9bc30d9..1076d2c 100644 --- a/docs/search/all_9.js +++ b/docs/search/all_9.js @@ -1,6 +1,6 @@ var searchData= [ - ['main_57',['main',['../main_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627',1,'main.cpp']]], - ['main_2ecpp_58',['main.cpp',['../main_8cpp.html',1,'']]], - ['message_59',['message',['../classHazelnp_1_1HazelnuppException.html#aa905cabcd12f542dfc67638732737e88',1,'Hazelnp::HazelnuppException']]] + ['main_64',['main',['../main_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627',1,'main.cpp']]], + ['main_2ecpp_65',['main.cpp',['../main_8cpp.html',1,'']]], + ['message_66',['message',['../classHazelnp_1_1HazelnuppException.html#aa905cabcd12f542dfc67638732737e88',1,'Hazelnp::HazelnuppException']]] ]; diff --git a/docs/search/all_a.js b/docs/search/all_a.js index 4418db1..641856e 100644 --- a/docs/search/all_a.js +++ b/docs/search/all_a.js @@ -1,11 +1,11 @@ var searchData= [ - ['operator_20double_60',['operator double',['../classHazelnp_1_1FloatValue.html#ae02de376bbb2b76e0f9d16b1fc4de06d',1,'Hazelnp::FloatValue']]], - ['operator_20int_61',['operator int',['../classHazelnp_1_1IntValue.html#ab30a38c8f58cefd7cbf365c4aeae79bd',1,'Hazelnp::IntValue']]], - ['operator_20long_20double_62',['operator long double',['../classHazelnp_1_1FloatValue.html#ad0d4c589190fbab7e6c4d8fcc130ac1b',1,'Hazelnp::FloatValue']]], - ['operator_20long_20long_20int_63',['operator long long int',['../classHazelnp_1_1IntValue.html#a45b283dae9904ad0643035d3ee5883eb',1,'Hazelnp::IntValue']]], - ['operator_3c_3c_64',['operator<<',['../classHazelnp_1_1Parameter.html#a11b3529badcbf99b46262772472495c7',1,'Hazelnp::Parameter::operator<<()'],['../classHazelnp_1_1Value.html#ad29db86c4a2dec5bc8d0006031b07211',1,'Hazelnp::Value::operator<<()']]], - ['operator_5b_5d_65',['operator[]',['../classHazelnp_1_1Hazelnupp.html#a419ccdc6bad00b0fc3e17ed9b41f5dc5',1,'Hazelnp::Hazelnupp']]], - ['string_66',['string',['../classHazelnp_1_1StringValue.html#a23449775f14f828d29b115de040a696b',1,'Hazelnp::StringValue']]], - ['vector_3c_20value_20_2a_20_3e_67',['vector< Value * >',['../classHazelnp_1_1ListValue.html#a5d92ff2b9a1fa92fbc303ac4d07765d0',1,'Hazelnp::ListValue']]] + ['operator_20double_67',['operator double',['../classHazelnp_1_1FloatValue.html#ae02de376bbb2b76e0f9d16b1fc4de06d',1,'Hazelnp::FloatValue']]], + ['operator_20int_68',['operator int',['../classHazelnp_1_1IntValue.html#ab30a38c8f58cefd7cbf365c4aeae79bd',1,'Hazelnp::IntValue']]], + ['operator_20long_20double_69',['operator long double',['../classHazelnp_1_1FloatValue.html#ad0d4c589190fbab7e6c4d8fcc130ac1b',1,'Hazelnp::FloatValue']]], + ['operator_20long_20long_20int_70',['operator long long int',['../classHazelnp_1_1IntValue.html#a45b283dae9904ad0643035d3ee5883eb',1,'Hazelnp::IntValue']]], + ['operator_3c_3c_71',['operator<<',['../classHazelnp_1_1Parameter.html#a11b3529badcbf99b46262772472495c7',1,'Hazelnp::Parameter::operator<<()'],['../classHazelnp_1_1Value.html#ad29db86c4a2dec5bc8d0006031b07211',1,'Hazelnp::Value::operator<<()']]], + ['operator_5b_5d_72',['operator[]',['../classHazelnp_1_1Hazelnupp.html#a419ccdc6bad00b0fc3e17ed9b41f5dc5',1,'Hazelnp::Hazelnupp']]], + ['string_73',['string',['../classHazelnp_1_1StringValue.html#a23449775f14f828d29b115de040a696b',1,'Hazelnp::StringValue']]], + ['vector_3c_20value_20_2a_20_3e_74',['vector< Value * >',['../classHazelnp_1_1ListValue.html#a5d92ff2b9a1fa92fbc303ac4d07765d0',1,'Hazelnp::ListValue']]] ]; diff --git a/docs/search/all_b.js b/docs/search/all_b.js index eeaa01a..a7a0687 100644 --- a/docs/search/all_b.js +++ b/docs/search/all_b.js @@ -1,10 +1,11 @@ var searchData= [ - ['paramconstraint_68',['ParamConstraint',['../structHazelnp_1_1ParamConstraint.html',1,'Hazelnp::ParamConstraint'],['../structHazelnp_1_1ParamConstraint.html#afa9e1b4378c9fa1b4a7b5b792c062cbe',1,'Hazelnp::ParamConstraint::ParamConstraint()=default'],['../structHazelnp_1_1ParamConstraint.html#ab2a897c3044ae2d1a05952a804a3675b',1,'Hazelnp::ParamConstraint::ParamConstraint(const std::string &key, bool constrainType, DATA_TYPE wantedType, const std::vector< std::string > &defaultValue, bool required)']]], - ['paramconstraint_2eh_69',['ParamConstraint.h',['../ParamConstraint_8h.html',1,'']]], - ['parameter_70',['Parameter',['../classHazelnp_1_1Parameter.html',1,'Hazelnp::Parameter'],['../classHazelnp_1_1Parameter.html#a0c9faefc26cc9d8c886ef71e39e2f90c',1,'Hazelnp::Parameter::Parameter()']]], - ['parameter_2ecpp_71',['Parameter.cpp',['../Parameter_8cpp.html',1,'']]], - ['parameter_2eh_72',['Parameter.h',['../Parameter_8h.html',1,'']]], - ['parse_73',['Parse',['../classHazelnp_1_1Hazelnupp.html#a1ccb88faca1a8deb77161888479c300b',1,'Hazelnp::Hazelnupp']]], - ['parsenumber_74',['ParseNumber',['../classHazelnp_1_1StringTools.html#ab661223da5bbbb75039e168409466c82',1,'Hazelnp::StringTools']]] + ['paramconstraint_75',['ParamConstraint',['../structHazelnp_1_1ParamConstraint.html',1,'Hazelnp::ParamConstraint'],['../structHazelnp_1_1ParamConstraint.html#afa9e1b4378c9fa1b4a7b5b792c062cbe',1,'Hazelnp::ParamConstraint::ParamConstraint()=default'],['../structHazelnp_1_1ParamConstraint.html#aed7cb14a27277bf57b7f2d53065a2406',1,'Hazelnp::ParamConstraint::ParamConstraint(bool constrainType, DATA_TYPE wantedType, const std::vector< std::string > &defaultValue, bool required)']]], + ['paramconstraint_2eh_76',['ParamConstraint.h',['../ParamConstraint_8h.html',1,'']]], + ['parameter_77',['Parameter',['../classHazelnp_1_1Parameter.html',1,'Hazelnp::Parameter'],['../classHazelnp_1_1Parameter.html#a0c9faefc26cc9d8c886ef71e39e2f90c',1,'Hazelnp::Parameter::Parameter()']]], + ['parameter_2ecpp_78',['Parameter.cpp',['../Parameter_8cpp.html',1,'']]], + ['parameter_2eh_79',['Parameter.h',['../Parameter_8h.html',1,'']]], + ['parse_80',['Parse',['../classHazelnp_1_1Hazelnupp.html#a1ccb88faca1a8deb77161888479c300b',1,'Hazelnp::Hazelnupp']]], + ['parsenumber_81',['ParseNumber',['../classHazelnp_1_1StringTools.html#ab661223da5bbbb75039e168409466c82',1,'Hazelnp::StringTools']]], + ['placeholders_2eh_82',['Placeholders.h',['../Placeholders_8h.html',1,'']]] ]; diff --git a/docs/search/all_c.js b/docs/search/all_c.js index ddcce2a..e4b9363 100644 --- a/docs/search/all_c.js +++ b/docs/search/all_c.js @@ -1,9 +1,9 @@ var searchData= [ - ['registerabbreviation_75',['RegisterAbbreviation',['../classHazelnp_1_1Hazelnupp.html#abf1e0ebf0207ca2327fcde81f7372124',1,'Hazelnp::Hazelnupp']]], - ['registerconstraints_76',['RegisterConstraints',['../classHazelnp_1_1Hazelnupp.html#a8a3331836b9ea1f920e77f6d332019d5',1,'Hazelnp::Hazelnupp']]], - ['registerdescription_77',['RegisterDescription',['../classHazelnp_1_1Hazelnupp.html#a17883db87e97caad4a0f114f9f850f5e',1,'Hazelnp::Hazelnupp']]], - ['replace_78',['Replace',['../classHazelnp_1_1StringTools.html#a0ca14c1d67833a61955a693f3e40d8b5',1,'Hazelnp::StringTools::Replace(const std::string &str, const char find, const std::string &subst)'],['../classHazelnp_1_1StringTools.html#a1658832ddf1611f83c5848e391d32806',1,'Hazelnp::StringTools::Replace(const std::string &str, const std::string &find, const std::string &subst)']]], - ['require_79',['Require',['../structHazelnp_1_1ParamConstraint.html#afbcc75c428381ab3a292d3f55945eb32',1,'Hazelnp::ParamConstraint']]], - ['required_80',['required',['../structHazelnp_1_1ParamConstraint.html#a8ccf3ebecc2d9d0105e181814af2943c',1,'Hazelnp::ParamConstraint']]] + ['registerabbreviation_83',['RegisterAbbreviation',['../classHazelnp_1_1Hazelnupp.html#abf1e0ebf0207ca2327fcde81f7372124',1,'Hazelnp::Hazelnupp']]], + ['registerconstraint_84',['RegisterConstraint',['../classHazelnp_1_1Hazelnupp.html#add731b65fb0741e4fb0b8fc8a601a11d',1,'Hazelnp::Hazelnupp']]], + ['registerdescription_85',['RegisterDescription',['../classHazelnp_1_1Hazelnupp.html#a17883db87e97caad4a0f114f9f850f5e',1,'Hazelnp::Hazelnupp']]], + ['replace_86',['Replace',['../classHazelnp_1_1StringTools.html#a0ca14c1d67833a61955a693f3e40d8b5',1,'Hazelnp::StringTools::Replace(const std::string &str, const char find, const std::string &subst)'],['../classHazelnp_1_1StringTools.html#a1658832ddf1611f83c5848e391d32806',1,'Hazelnp::StringTools::Replace(const std::string &str, const std::string &find, const std::string &subst)']]], + ['require_87',['Require',['../structHazelnp_1_1ParamConstraint.html#a926e12fcb2fd0d031452c4bcc950bd6c',1,'Hazelnp::ParamConstraint']]], + ['required_88',['required',['../structHazelnp_1_1ParamConstraint.html#a8ccf3ebecc2d9d0105e181814af2943c',1,'Hazelnp::ParamConstraint']]] ]; diff --git a/docs/search/all_d.js b/docs/search/all_d.js index 0f083eb..21d22db 100644 --- a/docs/search/all_d.js +++ b/docs/search/all_d.js @@ -1,14 +1,14 @@ var searchData= [ - ['setbriefdescription_81',['SetBriefDescription',['../classHazelnp_1_1Hazelnupp.html#a037f84b32c7a2420c387dd46445291ac',1,'Hazelnp::Hazelnupp']]], - ['setcatchhelp_82',['SetCatchHelp',['../classHazelnp_1_1Hazelnupp.html#a60e0a51cd92014a87e44322158e45872',1,'Hazelnp::Hazelnupp']]], - ['setcrashonfail_83',['SetCrashOnFail',['../classHazelnp_1_1Hazelnupp.html#a17845623ca686caa51f3c8254e85551e',1,'Hazelnp::Hazelnupp']]], - ['splitstring_84',['SplitString',['../classHazelnp_1_1StringTools.html#a7cd6606ef06170fab363024e457f1f16',1,'Hazelnp::StringTools::SplitString(const std::string &str, const char delimiter)'],['../classHazelnp_1_1StringTools.html#afe626a56fa486afcb0e4c01d3c1ccb35',1,'Hazelnp::StringTools::SplitString(const std::string &str, const std::string &delimiter)']]], - ['string_85',['STRING',['../namespaceHazelnp.html#a07b61ac22ce9cd97eceebdf9487f803fa63b588d5559f64f89a416e656880b949',1,'Hazelnp']]], - ['stringtools_86',['StringTools',['../classHazelnp_1_1StringTools.html',1,'Hazelnp']]], - ['stringtools_2ecpp_87',['StringTools.cpp',['../StringTools_8cpp.html',1,'']]], - ['stringtools_2eh_88',['StringTools.h',['../StringTools_8h.html',1,'']]], - ['stringvalue_89',['StringValue',['../classHazelnp_1_1StringValue.html',1,'Hazelnp::StringValue'],['../classHazelnp_1_1StringValue.html#a24dad2deec92b51bf60a11400cc8c204',1,'Hazelnp::StringValue::StringValue()']]], - ['stringvalue_2ecpp_90',['StringValue.cpp',['../StringValue_8cpp.html',1,'']]], - ['stringvalue_2eh_91',['StringValue.h',['../StringValue_8h.html',1,'']]] + ['setbriefdescription_89',['SetBriefDescription',['../classHazelnp_1_1Hazelnupp.html#a037f84b32c7a2420c387dd46445291ac',1,'Hazelnp::Hazelnupp']]], + ['setcatchhelp_90',['SetCatchHelp',['../classHazelnp_1_1Hazelnupp.html#a60e0a51cd92014a87e44322158e45872',1,'Hazelnp::Hazelnupp']]], + ['setcrashonfail_91',['SetCrashOnFail',['../classHazelnp_1_1Hazelnupp.html#a17845623ca686caa51f3c8254e85551e',1,'Hazelnp::Hazelnupp']]], + ['splitstring_92',['SplitString',['../classHazelnp_1_1StringTools.html#a7cd6606ef06170fab363024e457f1f16',1,'Hazelnp::StringTools::SplitString(const std::string &str, const char delimiter)'],['../classHazelnp_1_1StringTools.html#afe626a56fa486afcb0e4c01d3c1ccb35',1,'Hazelnp::StringTools::SplitString(const std::string &str, const std::string &delimiter)']]], + ['string_93',['STRING',['../namespaceHazelnp.html#a07b61ac22ce9cd97eceebdf9487f803fa63b588d5559f64f89a416e656880b949',1,'Hazelnp']]], + ['stringtools_94',['StringTools',['../classHazelnp_1_1StringTools.html',1,'Hazelnp']]], + ['stringtools_2ecpp_95',['StringTools.cpp',['../StringTools_8cpp.html',1,'']]], + ['stringtools_2eh_96',['StringTools.h',['../StringTools_8h.html',1,'']]], + ['stringvalue_97',['StringValue',['../classHazelnp_1_1StringValue.html',1,'Hazelnp::StringValue'],['../classHazelnp_1_1StringValue.html#a24dad2deec92b51bf60a11400cc8c204',1,'Hazelnp::StringValue::StringValue()']]], + ['stringvalue_2ecpp_98',['StringValue.cpp',['../StringValue_8cpp.html',1,'']]], + ['stringvalue_2eh_99',['StringValue.h',['../StringValue_8h.html',1,'']]] ]; diff --git a/docs/search/all_e.js b/docs/search/all_e.js index d9fe519..244d5d3 100644 --- a/docs/search/all_e.js +++ b/docs/search/all_e.js @@ -1,6 +1,6 @@ var searchData= [ - ['tolower_92',['ToLower',['../classHazelnp_1_1StringTools.html#a67edf755685f59b51f7416d9e4f6e2bd',1,'Hazelnp::StringTools']]], - ['type_93',['type',['../classHazelnp_1_1Value.html#ae5760a30c237095db595c466372e3c23',1,'Hazelnp::Value']]], - ['typesafety_94',['TypeSafety',['../structHazelnp_1_1ParamConstraint.html#ab85210bb37bbace962ff08fcccdafaf2',1,'Hazelnp::ParamConstraint']]] + ['tolower_100',['ToLower',['../classHazelnp_1_1StringTools.html#a67edf755685f59b51f7416d9e4f6e2bd',1,'Hazelnp::StringTools']]], + ['type_101',['type',['../classHazelnp_1_1Value.html#ae5760a30c237095db595c466372e3c23',1,'Hazelnp::Value']]], + ['typesafety_102',['TypeSafety',['../structHazelnp_1_1ParamConstraint.html#a15a860c63388ea3164e3d7b35b352e9a',1,'Hazelnp::ParamConstraint']]] ]; diff --git a/docs/search/all_f.js b/docs/search/all_f.js index 8233a3c..5977308 100644 --- a/docs/search/all_f.js +++ b/docs/search/all_f.js @@ -1,10 +1,10 @@ var searchData= [ - ['value_95',['Value',['../classHazelnp_1_1Value.html',1,'Hazelnp::Value'],['../classHazelnp_1_1Value.html#a8455d65bb2d939e850d6772dfbf8bfec',1,'Hazelnp::Value::Value()']]], - ['value_2ecpp_96',['Value.cpp',['../Value_8cpp.html',1,'']]], - ['value_2eh_97',['Value.h',['../Value_8h.html',1,'']]], - ['void_98',['VOID',['../namespaceHazelnp.html#a07b61ac22ce9cd97eceebdf9487f803fa6d0c9fc747131795e6e5d0c5119f12cb',1,'Hazelnp']]], - ['voidvalue_99',['VoidValue',['../classHazelnp_1_1VoidValue.html',1,'Hazelnp::VoidValue'],['../classHazelnp_1_1VoidValue.html#a75abf334b7f55cd149d2bb1962f2d8f1',1,'Hazelnp::VoidValue::VoidValue()']]], - ['voidvalue_2ecpp_100',['VoidValue.cpp',['../VoidValue_8cpp.html',1,'']]], - ['voidvalue_2eh_101',['VoidValue.h',['../VoidValue_8h.html',1,'']]] + ['value_103',['Value',['../classHazelnp_1_1Value.html',1,'Hazelnp::Value'],['../classHazelnp_1_1Value.html#a8455d65bb2d939e850d6772dfbf8bfec',1,'Hazelnp::Value::Value()']]], + ['value_2ecpp_104',['Value.cpp',['../Value_8cpp.html',1,'']]], + ['value_2eh_105',['Value.h',['../Value_8h.html',1,'']]], + ['void_106',['VOID',['../namespaceHazelnp.html#a07b61ac22ce9cd97eceebdf9487f803fa6d0c9fc747131795e6e5d0c5119f12cb',1,'Hazelnp']]], + ['voidvalue_107',['VoidValue',['../classHazelnp_1_1VoidValue.html',1,'Hazelnp::VoidValue'],['../classHazelnp_1_1VoidValue.html#a75abf334b7f55cd149d2bb1962f2d8f1',1,'Hazelnp::VoidValue::VoidValue()']]], + ['voidvalue_2ecpp_108',['VoidValue.cpp',['../VoidValue_8cpp.html',1,'']]], + ['voidvalue_2eh_109',['VoidValue.h',['../VoidValue_8h.html',1,'']]] ]; diff --git a/docs/search/classes_0.js b/docs/search/classes_0.js index 473bf09..37a7664 100644 --- a/docs/search/classes_0.js +++ b/docs/search/classes_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['floatvalue_112',['FloatValue',['../classHazelnp_1_1FloatValue.html',1,'Hazelnp']]] + ['floatvalue_120',['FloatValue',['../classHazelnp_1_1FloatValue.html',1,'Hazelnp']]] ]; diff --git a/docs/search/classes_1.js b/docs/search/classes_1.js index 442954b..1f46043 100644 --- a/docs/search/classes_1.js +++ b/docs/search/classes_1.js @@ -1,10 +1,10 @@ var searchData= [ - ['hazelnupp_113',['Hazelnupp',['../classHazelnp_1_1Hazelnupp.html',1,'Hazelnp']]], - ['hazelnuppconstraintexception_114',['HazelnuppConstraintException',['../classHazelnp_1_1HazelnuppConstraintException.html',1,'Hazelnp']]], - ['hazelnuppconstraintmissingvalue_115',['HazelnuppConstraintMissingValue',['../classHazelnp_1_1HazelnuppConstraintMissingValue.html',1,'Hazelnp']]], - ['hazelnuppconstrainttypemissmatch_116',['HazelnuppConstraintTypeMissmatch',['../classHazelnp_1_1HazelnuppConstraintTypeMissmatch.html',1,'Hazelnp']]], - ['hazelnuppexception_117',['HazelnuppException',['../classHazelnp_1_1HazelnuppException.html',1,'Hazelnp']]], - ['hazelnuppinvalidkeyexception_118',['HazelnuppInvalidKeyException',['../classHazelnp_1_1HazelnuppInvalidKeyException.html',1,'Hazelnp']]], - ['hazelnuppvaluenotconvertibleexception_119',['HazelnuppValueNotConvertibleException',['../classHazelnp_1_1HazelnuppValueNotConvertibleException.html',1,'Hazelnp']]] + ['hazelnupp_121',['Hazelnupp',['../classHazelnp_1_1Hazelnupp.html',1,'Hazelnp']]], + ['hazelnuppconstraintexception_122',['HazelnuppConstraintException',['../classHazelnp_1_1HazelnuppConstraintException.html',1,'Hazelnp']]], + ['hazelnuppconstraintmissingvalue_123',['HazelnuppConstraintMissingValue',['../classHazelnp_1_1HazelnuppConstraintMissingValue.html',1,'Hazelnp']]], + ['hazelnuppconstrainttypemissmatch_124',['HazelnuppConstraintTypeMissmatch',['../classHazelnp_1_1HazelnuppConstraintTypeMissmatch.html',1,'Hazelnp']]], + ['hazelnuppexception_125',['HazelnuppException',['../classHazelnp_1_1HazelnuppException.html',1,'Hazelnp']]], + ['hazelnuppinvalidkeyexception_126',['HazelnuppInvalidKeyException',['../classHazelnp_1_1HazelnuppInvalidKeyException.html',1,'Hazelnp']]], + ['hazelnuppvaluenotconvertibleexception_127',['HazelnuppValueNotConvertibleException',['../classHazelnp_1_1HazelnuppValueNotConvertibleException.html',1,'Hazelnp']]] ]; diff --git a/docs/search/classes_2.js b/docs/search/classes_2.js index 953171f..87f0550 100644 --- a/docs/search/classes_2.js +++ b/docs/search/classes_2.js @@ -1,4 +1,4 @@ var searchData= [ - ['intvalue_120',['IntValue',['../classHazelnp_1_1IntValue.html',1,'Hazelnp']]] + ['intvalue_128',['IntValue',['../classHazelnp_1_1IntValue.html',1,'Hazelnp']]] ]; diff --git a/docs/search/classes_3.js b/docs/search/classes_3.js index 2ba2b6f..55f65e6 100644 --- a/docs/search/classes_3.js +++ b/docs/search/classes_3.js @@ -1,4 +1,4 @@ var searchData= [ - ['listvalue_121',['ListValue',['../classHazelnp_1_1ListValue.html',1,'Hazelnp']]] + ['listvalue_129',['ListValue',['../classHazelnp_1_1ListValue.html',1,'Hazelnp']]] ]; diff --git a/docs/search/classes_4.js b/docs/search/classes_4.js index 11bc47c..3925399 100644 --- a/docs/search/classes_4.js +++ b/docs/search/classes_4.js @@ -1,5 +1,5 @@ var searchData= [ - ['paramconstraint_122',['ParamConstraint',['../structHazelnp_1_1ParamConstraint.html',1,'Hazelnp']]], - ['parameter_123',['Parameter',['../classHazelnp_1_1Parameter.html',1,'Hazelnp']]] + ['paramconstraint_130',['ParamConstraint',['../structHazelnp_1_1ParamConstraint.html',1,'Hazelnp']]], + ['parameter_131',['Parameter',['../classHazelnp_1_1Parameter.html',1,'Hazelnp']]] ]; diff --git a/docs/search/classes_5.js b/docs/search/classes_5.js index 5a5cb24..6cd311e 100644 --- a/docs/search/classes_5.js +++ b/docs/search/classes_5.js @@ -1,5 +1,5 @@ var searchData= [ - ['stringtools_124',['StringTools',['../classHazelnp_1_1StringTools.html',1,'Hazelnp']]], - ['stringvalue_125',['StringValue',['../classHazelnp_1_1StringValue.html',1,'Hazelnp']]] + ['stringtools_132',['StringTools',['../classHazelnp_1_1StringTools.html',1,'Hazelnp']]], + ['stringvalue_133',['StringValue',['../classHazelnp_1_1StringValue.html',1,'Hazelnp']]] ]; diff --git a/docs/search/classes_6.js b/docs/search/classes_6.js index b263242..8822def 100644 --- a/docs/search/classes_6.js +++ b/docs/search/classes_6.js @@ -1,5 +1,5 @@ var searchData= [ - ['value_126',['Value',['../classHazelnp_1_1Value.html',1,'Hazelnp']]], - ['voidvalue_127',['VoidValue',['../classHazelnp_1_1VoidValue.html',1,'Hazelnp']]] + ['value_134',['Value',['../classHazelnp_1_1Value.html',1,'Hazelnp']]], + ['voidvalue_135',['VoidValue',['../classHazelnp_1_1VoidValue.html',1,'Hazelnp']]] ]; diff --git a/docs/search/enums_0.js b/docs/search/enums_0.js index 11faafd..e3f90f8 100644 --- a/docs/search/enums_0.js +++ b/docs/search/enums_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['data_5ftype_232',['DATA_TYPE',['../namespaceHazelnp.html#a07b61ac22ce9cd97eceebdf9487f803f',1,'Hazelnp']]] + ['data_5ftype_247',['DATA_TYPE',['../namespaceHazelnp.html#a07b61ac22ce9cd97eceebdf9487f803f',1,'Hazelnp']]] ]; diff --git a/docs/search/enumvalues_0.js b/docs/search/enumvalues_0.js index 6f3a295..e6820a0 100644 --- a/docs/search/enumvalues_0.js +++ b/docs/search/enumvalues_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['float_233',['FLOAT',['../namespaceHazelnp.html#a07b61ac22ce9cd97eceebdf9487f803fae738c26bf4ce1037fa81b039a915cbf6',1,'Hazelnp']]] + ['float_248',['FLOAT',['../namespaceHazelnp.html#a07b61ac22ce9cd97eceebdf9487f803fae738c26bf4ce1037fa81b039a915cbf6',1,'Hazelnp']]] ]; diff --git a/docs/search/enumvalues_1.js b/docs/search/enumvalues_1.js index b78572e..15ba4d6 100644 --- a/docs/search/enumvalues_1.js +++ b/docs/search/enumvalues_1.js @@ -1,4 +1,4 @@ var searchData= [ - ['int_234',['INT',['../namespaceHazelnp.html#a07b61ac22ce9cd97eceebdf9487f803fa53f93baa3057821107c750323892fa92',1,'Hazelnp']]] + ['int_249',['INT',['../namespaceHazelnp.html#a07b61ac22ce9cd97eceebdf9487f803fa53f93baa3057821107c750323892fa92',1,'Hazelnp']]] ]; diff --git a/docs/search/enumvalues_2.js b/docs/search/enumvalues_2.js index 476318b..23107b6 100644 --- a/docs/search/enumvalues_2.js +++ b/docs/search/enumvalues_2.js @@ -1,4 +1,4 @@ var searchData= [ - ['list_235',['LIST',['../namespaceHazelnp.html#a07b61ac22ce9cd97eceebdf9487f803fa298cb25408234de02baf2085803a464a',1,'Hazelnp']]] + ['list_250',['LIST',['../namespaceHazelnp.html#a07b61ac22ce9cd97eceebdf9487f803fa298cb25408234de02baf2085803a464a',1,'Hazelnp']]] ]; diff --git a/docs/search/enumvalues_3.js b/docs/search/enumvalues_3.js index 36d50c8..633f62a 100644 --- a/docs/search/enumvalues_3.js +++ b/docs/search/enumvalues_3.js @@ -1,4 +1,4 @@ var searchData= [ - ['string_236',['STRING',['../namespaceHazelnp.html#a07b61ac22ce9cd97eceebdf9487f803fa63b588d5559f64f89a416e656880b949',1,'Hazelnp']]] + ['string_251',['STRING',['../namespaceHazelnp.html#a07b61ac22ce9cd97eceebdf9487f803fa63b588d5559f64f89a416e656880b949',1,'Hazelnp']]] ]; diff --git a/docs/search/enumvalues_4.js b/docs/search/enumvalues_4.js index 2c69384..02400b8 100644 --- a/docs/search/enumvalues_4.js +++ b/docs/search/enumvalues_4.js @@ -1,4 +1,4 @@ var searchData= [ - ['void_237',['VOID',['../namespaceHazelnp.html#a07b61ac22ce9cd97eceebdf9487f803fa6d0c9fc747131795e6e5d0c5119f12cb',1,'Hazelnp']]] + ['void_252',['VOID',['../namespaceHazelnp.html#a07b61ac22ce9cd97eceebdf9487f803fa6d0c9fc747131795e6e5d0c5119f12cb',1,'Hazelnp']]] ]; diff --git a/docs/search/files_0.js b/docs/search/files_0.js index 96447d3..c762755 100644 --- a/docs/search/files_0.js +++ b/docs/search/files_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['datatype_2eh_129',['DataType.h',['../DataType_8h.html',1,'']]] + ['datatype_2eh_138',['DataType.h',['../DataType_8h.html',1,'']]] ]; diff --git a/docs/search/files_1.js b/docs/search/files_1.js index 7235f2f..2c4871f 100644 --- a/docs/search/files_1.js +++ b/docs/search/files_1.js @@ -1,5 +1,5 @@ var searchData= [ - ['floatvalue_2ecpp_130',['FloatValue.cpp',['../FloatValue_8cpp.html',1,'']]], - ['floatvalue_2eh_131',['FloatValue.h',['../FloatValue_8h.html',1,'']]] + ['floatvalue_2ecpp_139',['FloatValue.cpp',['../FloatValue_8cpp.html',1,'']]], + ['floatvalue_2eh_140',['FloatValue.h',['../FloatValue_8h.html',1,'']]] ]; diff --git a/docs/search/files_2.js b/docs/search/files_2.js index 5f612a9..2f6e29a 100644 --- a/docs/search/files_2.js +++ b/docs/search/files_2.js @@ -1,7 +1,7 @@ var searchData= [ - ['hazelnupp_2ecpp_132',['Hazelnupp.cpp',['../Hazelnupp_8cpp.html',1,'']]], - ['hazelnupp_2eh_133',['Hazelnupp.h',['../Hazelnupp_8h.html',1,'']]], - ['hazelnupp_2evcxproj_2efilelistabsolute_2etxt_134',['Hazelnupp.vcxproj.FileListAbsolute.txt',['../Debug_2Hazelnupp_8vcxproj_8FileListAbsolute_8txt.html',1,'(Global Namespace)'],['../Release_2Hazelnupp_8vcxproj_8FileListAbsolute_8txt.html',1,'(Global Namespace)']]], - ['hazelnuppexception_2eh_135',['HazelnuppException.h',['../HazelnuppException_8h.html',1,'']]] + ['hazelnupp_2ecpp_141',['Hazelnupp.cpp',['../Hazelnupp_8cpp.html',1,'']]], + ['hazelnupp_2eh_142',['Hazelnupp.h',['../Hazelnupp_8h.html',1,'']]], + ['hazelnupp_2evcxproj_2efilelistabsolute_2etxt_143',['Hazelnupp.vcxproj.FileListAbsolute.txt',['../Debug_2Hazelnupp_8vcxproj_8FileListAbsolute_8txt.html',1,'(Global Namespace)'],['../Release_2Hazelnupp_8vcxproj_8FileListAbsolute_8txt.html',1,'(Global Namespace)']]], + ['hazelnuppexception_2eh_144',['HazelnuppException.h',['../HazelnuppException_8h.html',1,'']]] ]; diff --git a/docs/search/files_3.js b/docs/search/files_3.js index be20f98..bfd6c4c 100644 --- a/docs/search/files_3.js +++ b/docs/search/files_3.js @@ -1,6 +1,6 @@ var searchData= [ - ['index_2emd_136',['index.md',['../index_8md.html',1,'']]], - ['intvalue_2ecpp_137',['IntValue.cpp',['../IntValue_8cpp.html',1,'']]], - ['intvalue_2eh_138',['IntValue.h',['../IntValue_8h.html',1,'']]] + ['index_2emd_145',['index.md',['../index_8md.html',1,'']]], + ['intvalue_2ecpp_146',['IntValue.cpp',['../IntValue_8cpp.html',1,'']]], + ['intvalue_2eh_147',['IntValue.h',['../IntValue_8h.html',1,'']]] ]; diff --git a/docs/search/files_4.js b/docs/search/files_4.js index 943dd96..4e124a5 100644 --- a/docs/search/files_4.js +++ b/docs/search/files_4.js @@ -1,5 +1,5 @@ var searchData= [ - ['listvalue_2ecpp_139',['ListValue.cpp',['../ListValue_8cpp.html',1,'']]], - ['listvalue_2eh_140',['ListValue.h',['../ListValue_8h.html',1,'']]] + ['listvalue_2ecpp_148',['ListValue.cpp',['../ListValue_8cpp.html',1,'']]], + ['listvalue_2eh_149',['ListValue.h',['../ListValue_8h.html',1,'']]] ]; diff --git a/docs/search/files_5.js b/docs/search/files_5.js index 1fcb5fe..08d0d37 100644 --- a/docs/search/files_5.js +++ b/docs/search/files_5.js @@ -1,4 +1,4 @@ var searchData= [ - ['main_2ecpp_141',['main.cpp',['../main_8cpp.html',1,'']]] + ['main_2ecpp_150',['main.cpp',['../main_8cpp.html',1,'']]] ]; diff --git a/docs/search/files_6.js b/docs/search/files_6.js index d041cb9..1224dfd 100644 --- a/docs/search/files_6.js +++ b/docs/search/files_6.js @@ -1,6 +1,7 @@ var searchData= [ - ['paramconstraint_2eh_142',['ParamConstraint.h',['../ParamConstraint_8h.html',1,'']]], - ['parameter_2ecpp_143',['Parameter.cpp',['../Parameter_8cpp.html',1,'']]], - ['parameter_2eh_144',['Parameter.h',['../Parameter_8h.html',1,'']]] + ['paramconstraint_2eh_151',['ParamConstraint.h',['../ParamConstraint_8h.html',1,'']]], + ['parameter_2ecpp_152',['Parameter.cpp',['../Parameter_8cpp.html',1,'']]], + ['parameter_2eh_153',['Parameter.h',['../Parameter_8h.html',1,'']]], + ['placeholders_2eh_154',['Placeholders.h',['../Placeholders_8h.html',1,'']]] ]; diff --git a/docs/search/files_7.js b/docs/search/files_7.js index 13f983e..4629d05 100644 --- a/docs/search/files_7.js +++ b/docs/search/files_7.js @@ -1,7 +1,7 @@ var searchData= [ - ['stringtools_2ecpp_145',['StringTools.cpp',['../StringTools_8cpp.html',1,'']]], - ['stringtools_2eh_146',['StringTools.h',['../StringTools_8h.html',1,'']]], - ['stringvalue_2ecpp_147',['StringValue.cpp',['../StringValue_8cpp.html',1,'']]], - ['stringvalue_2eh_148',['StringValue.h',['../StringValue_8h.html',1,'']]] + ['stringtools_2ecpp_155',['StringTools.cpp',['../StringTools_8cpp.html',1,'']]], + ['stringtools_2eh_156',['StringTools.h',['../StringTools_8h.html',1,'']]], + ['stringvalue_2ecpp_157',['StringValue.cpp',['../StringValue_8cpp.html',1,'']]], + ['stringvalue_2eh_158',['StringValue.h',['../StringValue_8h.html',1,'']]] ]; diff --git a/docs/search/files_8.js b/docs/search/files_8.js index a839339..13f5587 100644 --- a/docs/search/files_8.js +++ b/docs/search/files_8.js @@ -1,7 +1,7 @@ var searchData= [ - ['value_2ecpp_149',['Value.cpp',['../Value_8cpp.html',1,'']]], - ['value_2eh_150',['Value.h',['../Value_8h.html',1,'']]], - ['voidvalue_2ecpp_151',['VoidValue.cpp',['../VoidValue_8cpp.html',1,'']]], - ['voidvalue_2eh_152',['VoidValue.h',['../VoidValue_8h.html',1,'']]] + ['value_2ecpp_159',['Value.cpp',['../Value_8cpp.html',1,'']]], + ['value_2eh_160',['Value.h',['../Value_8h.html',1,'']]], + ['voidvalue_2ecpp_161',['VoidValue.cpp',['../VoidValue_8cpp.html',1,'']]], + ['voidvalue_2eh_162',['VoidValue.h',['../VoidValue_8h.html',1,'']]] ]; diff --git a/docs/search/functions_0.js b/docs/search/functions_0.js index 2c77d26..c3f0370 100644 --- a/docs/search/functions_0.js +++ b/docs/search/functions_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['addvalue_153',['AddValue',['../classHazelnp_1_1ListValue.html#af8787d266aa353d3f96e2c76cce76c41',1,'Hazelnp::ListValue']]] + ['addvalue_163',['AddValue',['../classHazelnp_1_1ListValue.html#af8787d266aa353d3f96e2c76cce76c41',1,'Hazelnp::ListValue']]] ]; diff --git a/docs/search/functions_1.js b/docs/search/functions_1.js index 31ada86..26a2a00 100644 --- a/docs/search/functions_1.js +++ b/docs/search/functions_1.js @@ -1,7 +1,10 @@ var searchData= [ - ['clearabbreviations_154',['ClearAbbreviations',['../classHazelnp_1_1Hazelnupp.html#a5175869b025468324cefad487081e91d',1,'Hazelnp::Hazelnupp']]], - ['clearconstraints_155',['ClearConstraints',['../classHazelnp_1_1Hazelnupp.html#a3970b74583def49c6632fe08a4499809',1,'Hazelnp::Hazelnupp']]], - ['cleardescription_156',['ClearDescription',['../classHazelnp_1_1Hazelnupp.html#a8490e0b10feee0b815c043e7cad454cb',1,'Hazelnp::Hazelnupp']]], - ['contains_157',['Contains',['../classHazelnp_1_1StringTools.html#aec1abd8b22146c7a9ebeb6a94d6af5ee',1,'Hazelnp::StringTools']]] + ['clearabbreviation_164',['ClearAbbreviation',['../classHazelnp_1_1Hazelnupp.html#a05d1decbb08d1f9368bc9a0d3dfd6398',1,'Hazelnp::Hazelnupp']]], + ['clearabbreviations_165',['ClearAbbreviations',['../classHazelnp_1_1Hazelnupp.html#a5175869b025468324cefad487081e91d',1,'Hazelnp::Hazelnupp']]], + ['clearconstraint_166',['ClearConstraint',['../classHazelnp_1_1Hazelnupp.html#a63d6bdfc0d6255b5d663f3a786077eb4',1,'Hazelnp::Hazelnupp']]], + ['clearconstraints_167',['ClearConstraints',['../classHazelnp_1_1Hazelnupp.html#a3970b74583def49c6632fe08a4499809',1,'Hazelnp::Hazelnupp']]], + ['cleardescription_168',['ClearDescription',['../classHazelnp_1_1Hazelnupp.html#a26eaac65949072b659531444d32c4cbf',1,'Hazelnp::Hazelnupp']]], + ['cleardescriptions_169',['ClearDescriptions',['../classHazelnp_1_1Hazelnupp.html#ae266cfb3526b9223fc05beb01646fb42',1,'Hazelnp::Hazelnupp']]], + ['contains_170',['Contains',['../classHazelnp_1_1StringTools.html#aec1abd8b22146c7a9ebeb6a94d6af5ee',1,'Hazelnp::StringTools']]] ]; diff --git a/docs/search/functions_10.js b/docs/search/functions_10.js index 18c24a1..7442b57 100644 --- a/docs/search/functions_10.js +++ b/docs/search/functions_10.js @@ -1,4 +1,4 @@ var searchData= [ - ['what_216',['What',['../classHazelnp_1_1HazelnuppException.html#aa86c415a0f2b4ea5f11892145d1ea83e',1,'Hazelnp::HazelnuppException']]] + ['what_231',['What',['../classHazelnp_1_1HazelnuppException.html#aa86c415a0f2b4ea5f11892145d1ea83e',1,'Hazelnp::HazelnuppException']]] ]; diff --git a/docs/search/functions_11.js b/docs/search/functions_11.js index 001a12e..3e0f3c3 100644 --- a/docs/search/functions_11.js +++ b/docs/search/functions_11.js @@ -1,11 +1,11 @@ var searchData= [ - ['_7efloatvalue_217',['~FloatValue',['../classHazelnp_1_1FloatValue.html#a02e61e453c3e8e32d4d527799c11fd4a',1,'Hazelnp::FloatValue']]], - ['_7ehazelnupp_218',['~Hazelnupp',['../classHazelnp_1_1Hazelnupp.html#a25f8810d24d647b6a57e2dd00ead42be',1,'Hazelnp::Hazelnupp']]], - ['_7eintvalue_219',['~IntValue',['../classHazelnp_1_1IntValue.html#af69f25847b0666f9d6c1bb1fed18d917',1,'Hazelnp::IntValue']]], - ['_7elistvalue_220',['~ListValue',['../classHazelnp_1_1ListValue.html#a91f1450f299d46b3301774a6b4eb6c18',1,'Hazelnp::ListValue']]], - ['_7eparameter_221',['~Parameter',['../classHazelnp_1_1Parameter.html#a6e2ade42a712f1d3675653329266e42d',1,'Hazelnp::Parameter']]], - ['_7estringvalue_222',['~StringValue',['../classHazelnp_1_1StringValue.html#a5176062e2110d121466a6855fdc65d6d',1,'Hazelnp::StringValue']]], - ['_7evalue_223',['~Value',['../classHazelnp_1_1Value.html#a977dea61ee5b00b6c6d77ad6ad2c8d4c',1,'Hazelnp::Value']]], - ['_7evoidvalue_224',['~VoidValue',['../classHazelnp_1_1VoidValue.html#a6024b40919c3a6acea92be0439be2db0',1,'Hazelnp::VoidValue']]] + ['_7efloatvalue_232',['~FloatValue',['../classHazelnp_1_1FloatValue.html#a02e61e453c3e8e32d4d527799c11fd4a',1,'Hazelnp::FloatValue']]], + ['_7ehazelnupp_233',['~Hazelnupp',['../classHazelnp_1_1Hazelnupp.html#a25f8810d24d647b6a57e2dd00ead42be',1,'Hazelnp::Hazelnupp']]], + ['_7eintvalue_234',['~IntValue',['../classHazelnp_1_1IntValue.html#af69f25847b0666f9d6c1bb1fed18d917',1,'Hazelnp::IntValue']]], + ['_7elistvalue_235',['~ListValue',['../classHazelnp_1_1ListValue.html#a91f1450f299d46b3301774a6b4eb6c18',1,'Hazelnp::ListValue']]], + ['_7eparameter_236',['~Parameter',['../classHazelnp_1_1Parameter.html#a6e2ade42a712f1d3675653329266e42d',1,'Hazelnp::Parameter']]], + ['_7estringvalue_237',['~StringValue',['../classHazelnp_1_1StringValue.html#a5176062e2110d121466a6855fdc65d6d',1,'Hazelnp::StringValue']]], + ['_7evalue_238',['~Value',['../classHazelnp_1_1Value.html#a977dea61ee5b00b6c6d77ad6ad2c8d4c',1,'Hazelnp::Value']]], + ['_7evoidvalue_239',['~VoidValue',['../classHazelnp_1_1VoidValue.html#a6024b40919c3a6acea92be0439be2db0',1,'Hazelnp::VoidValue']]] ]; diff --git a/docs/search/functions_2.js b/docs/search/functions_2.js index 050bbda..abf5c3a 100644 --- a/docs/search/functions_2.js +++ b/docs/search/functions_2.js @@ -1,5 +1,5 @@ var searchData= [ - ['datatypetostring_158',['DataTypeToString',['../namespaceHazelnp.html#a7fb1e5ad9e2ecb6c0025beb19f11621b',1,'Hazelnp']]], - ['deepcopy_159',['Deepcopy',['../classHazelnp_1_1FloatValue.html#ab071916339a0d5a266d821ebbc8f12b0',1,'Hazelnp::FloatValue::Deepcopy()'],['../classHazelnp_1_1IntValue.html#aa599004242b27f8f3e246b88742b034e',1,'Hazelnp::IntValue::Deepcopy()'],['../classHazelnp_1_1ListValue.html#a51c89ff315026b03d908345c6f58169d',1,'Hazelnp::ListValue::Deepcopy()'],['../classHazelnp_1_1StringValue.html#a1952487a786fb53cb0b9aefdb3367268',1,'Hazelnp::StringValue::Deepcopy()'],['../classHazelnp_1_1Value.html#aec9bc16f1630734c79bc69e916622dc6',1,'Hazelnp::Value::Deepcopy()'],['../classHazelnp_1_1VoidValue.html#ac36e85add840057659ec24484548165f',1,'Hazelnp::VoidValue::Deepcopy()']]] + ['datatypetostring_171',['DataTypeToString',['../namespaceHazelnp.html#a7fb1e5ad9e2ecb6c0025beb19f11621b',1,'Hazelnp']]], + ['deepcopy_172',['Deepcopy',['../classHazelnp_1_1FloatValue.html#ab071916339a0d5a266d821ebbc8f12b0',1,'Hazelnp::FloatValue::Deepcopy()'],['../classHazelnp_1_1IntValue.html#aa599004242b27f8f3e246b88742b034e',1,'Hazelnp::IntValue::Deepcopy()'],['../classHazelnp_1_1ListValue.html#a51c89ff315026b03d908345c6f58169d',1,'Hazelnp::ListValue::Deepcopy()'],['../classHazelnp_1_1StringValue.html#a1952487a786fb53cb0b9aefdb3367268',1,'Hazelnp::StringValue::Deepcopy()'],['../classHazelnp_1_1Value.html#aec9bc16f1630734c79bc69e916622dc6',1,'Hazelnp::Value::Deepcopy()'],['../classHazelnp_1_1VoidValue.html#ac36e85add840057659ec24484548165f',1,'Hazelnp::VoidValue::Deepcopy()']]] ]; diff --git a/docs/search/functions_3.js b/docs/search/functions_3.js index 1c752d8..a9c1686 100644 --- a/docs/search/functions_3.js +++ b/docs/search/functions_3.js @@ -1,4 +1,4 @@ var searchData= [ - ['floatvalue_160',['FloatValue',['../classHazelnp_1_1FloatValue.html#a6bb35564e3331a3feb57b08caad0df44',1,'Hazelnp::FloatValue']]] + ['floatvalue_173',['FloatValue',['../classHazelnp_1_1FloatValue.html#a6bb35564e3331a3feb57b08caad0df44',1,'Hazelnp::FloatValue']]] ]; diff --git a/docs/search/functions_4.js b/docs/search/functions_4.js index f9448a7..faf0450 100644 --- a/docs/search/functions_4.js +++ b/docs/search/functions_4.js @@ -1,19 +1,20 @@ var searchData= [ - ['generatedocumentation_161',['GenerateDocumentation',['../classHazelnp_1_1Hazelnupp.html#a7b1bf5e700d8a0d8e90c5750e54749de',1,'Hazelnp::Hazelnupp']]], - ['getabbreviation_162',['GetAbbreviation',['../classHazelnp_1_1Hazelnupp.html#a579e78129f19cb9f17a6075366ababe5',1,'Hazelnp::Hazelnupp']]], - ['getasosstring_163',['GetAsOsString',['../classHazelnp_1_1FloatValue.html#a6c9a4b70a7618252f56d9062c483531c',1,'Hazelnp::FloatValue::GetAsOsString()'],['../classHazelnp_1_1IntValue.html#a7d7dbda9a051084600d3eabdac96ee45',1,'Hazelnp::IntValue::GetAsOsString()'],['../classHazelnp_1_1ListValue.html#a5b1f8af329e48c5469fee16634b7889c',1,'Hazelnp::ListValue::GetAsOsString()'],['../classHazelnp_1_1StringValue.html#a71869ee46b88a3cbb9571f481f0c216d',1,'Hazelnp::StringValue::GetAsOsString()'],['../classHazelnp_1_1Value.html#ae1fdc694ed1c2b3080ad3929efda0a0e',1,'Hazelnp::Value::GetAsOsString()'],['../classHazelnp_1_1VoidValue.html#a44b1917d9ba41ee91e2131432e01ec90',1,'Hazelnp::VoidValue::GetAsOsString()']]], - ['getbriefdescription_164',['GetBriefDescription',['../classHazelnp_1_1Hazelnupp.html#a1d32c3047a8c58650476d1ae7e9fb582',1,'Hazelnp::Hazelnupp']]], - ['getcatchhelp_165',['GetCatchHelp',['../classHazelnp_1_1Hazelnupp.html#a05a3d112bcc00cdeade76f3643ba9e94',1,'Hazelnp::Hazelnupp']]], - ['getcrashonfail_166',['GetCrashOnFail',['../classHazelnp_1_1Hazelnupp.html#a1b810cc7db2cf64aecaa70c686b14bb7',1,'Hazelnp::Hazelnupp']]], - ['getdatatype_167',['GetDataType',['../classHazelnp_1_1Value.html#adbb80bf6d455a316e6e5103353429993',1,'Hazelnp::Value']]], - ['getdescription_168',['GetDescription',['../classHazelnp_1_1Hazelnupp.html#a6637dc4b78871d7ecba1f2e1c8c28fb0',1,'Hazelnp::Hazelnupp']]], - ['getexecutablename_169',['GetExecutableName',['../classHazelnp_1_1Hazelnupp.html#af6bb41fb079131f8b91fe981f63f7469',1,'Hazelnp::Hazelnupp']]], - ['getfloat32_170',['GetFloat32',['../classHazelnp_1_1FloatValue.html#a1653ab3f4fa1700cf1b618ac6552ea81',1,'Hazelnp::FloatValue::GetFloat32()'],['../classHazelnp_1_1IntValue.html#ad0734e4cf67bac0bcc58251a4b3e56c4',1,'Hazelnp::IntValue::GetFloat32()'],['../classHazelnp_1_1ListValue.html#a637fec02ed7f7325554e494fc7cd4e86',1,'Hazelnp::ListValue::GetFloat32()'],['../classHazelnp_1_1StringValue.html#a31fc4d2517a7454c1e9f329df2f14be7',1,'Hazelnp::StringValue::GetFloat32()'],['../classHazelnp_1_1Value.html#a64eeb2943ccea6e16ce4e6f53a6e9b6d',1,'Hazelnp::Value::GetFloat32()'],['../classHazelnp_1_1VoidValue.html#a6d39d2983e54e1a407c66e303273aa48',1,'Hazelnp::VoidValue::GetFloat32()']]], - ['getfloat64_171',['GetFloat64',['../classHazelnp_1_1FloatValue.html#add33b370ef691ccb2f0957d0fe4ef6f9',1,'Hazelnp::FloatValue::GetFloat64()'],['../classHazelnp_1_1IntValue.html#a5ceb2030e8a2a665953fdd4f1715e6a5',1,'Hazelnp::IntValue::GetFloat64()'],['../classHazelnp_1_1ListValue.html#a571178db1c9d23f6c685ea8898dbb60e',1,'Hazelnp::ListValue::GetFloat64()'],['../classHazelnp_1_1StringValue.html#a74bedb828c901a4895062f62303b9653',1,'Hazelnp::StringValue::GetFloat64()'],['../classHazelnp_1_1Value.html#af645b9d78970d102360be37fc18e9e8a',1,'Hazelnp::Value::GetFloat64()'],['../classHazelnp_1_1VoidValue.html#a18b6f0d697c5f9286372a05927e4759c',1,'Hazelnp::VoidValue::GetFloat64()']]], - ['getint32_172',['GetInt32',['../classHazelnp_1_1FloatValue.html#a565741e80cd99a4d2af861ddc3c2dc99',1,'Hazelnp::FloatValue::GetInt32()'],['../classHazelnp_1_1IntValue.html#a163f21536fa49491aa0ae03c8091344a',1,'Hazelnp::IntValue::GetInt32()'],['../classHazelnp_1_1ListValue.html#a565c2b86fcfb3a13de29e59d95a358e7',1,'Hazelnp::ListValue::GetInt32()'],['../classHazelnp_1_1StringValue.html#ac8b53a7792ff1ed048722e2e404f3e6b',1,'Hazelnp::StringValue::GetInt32()'],['../classHazelnp_1_1Value.html#a2cb73333bdeca657dfbf6c8b2e50a5ef',1,'Hazelnp::Value::GetInt32()'],['../classHazelnp_1_1VoidValue.html#a5b7f50c390ef8f3636ba211a72a78065',1,'Hazelnp::VoidValue::GetInt32()']]], - ['getint64_173',['GetInt64',['../classHazelnp_1_1FloatValue.html#a762520d504d4564c48cf3bbefbb0f183',1,'Hazelnp::FloatValue::GetInt64()'],['../classHazelnp_1_1IntValue.html#ae0643023dfd56eafe2e3da5a4ba13080',1,'Hazelnp::IntValue::GetInt64()'],['../classHazelnp_1_1ListValue.html#a9a7a1161ddeb3e56eaafee5f10f75995',1,'Hazelnp::ListValue::GetInt64()'],['../classHazelnp_1_1StringValue.html#aabdc7d681945403d24df6a8fe27948af',1,'Hazelnp::StringValue::GetInt64()'],['../classHazelnp_1_1Value.html#a92d75905211e964cb900bdc868ed12a7',1,'Hazelnp::Value::GetInt64()'],['../classHazelnp_1_1VoidValue.html#a3806945596866f3630dc5426a6b55e58',1,'Hazelnp::VoidValue::GetInt64()']]], - ['getlist_174',['GetList',['../classHazelnp_1_1FloatValue.html#a60b2698f28f1aacac0b67b6453c89fd1',1,'Hazelnp::FloatValue::GetList()'],['../classHazelnp_1_1IntValue.html#acc74ba6070a516a4bcad10bb113d6fa2',1,'Hazelnp::IntValue::GetList()'],['../classHazelnp_1_1ListValue.html#ad578d9088c0375cd9b9c6658e5d9ba1f',1,'Hazelnp::ListValue::GetList()'],['../classHazelnp_1_1StringValue.html#a2b2810350b5eb7e58062ad095320aa69',1,'Hazelnp::StringValue::GetList()'],['../classHazelnp_1_1Value.html#a358092f951e817cd2a878225b5b1c869',1,'Hazelnp::Value::GetList()'],['../classHazelnp_1_1VoidValue.html#aba53ae37d415959b583f33f3e381be16',1,'Hazelnp::VoidValue::GetList()']]], - ['getstring_175',['GetString',['../classHazelnp_1_1FloatValue.html#afd5d078683f410cb9d450c61f12f250d',1,'Hazelnp::FloatValue::GetString()'],['../classHazelnp_1_1IntValue.html#a3631e3b16f010889e942c0c0f72d403c',1,'Hazelnp::IntValue::GetString()'],['../classHazelnp_1_1ListValue.html#aeaf80c07236045a77d72349ebcfc3b89',1,'Hazelnp::ListValue::GetString()'],['../classHazelnp_1_1StringValue.html#a7ed55493cfd25274f8571c1ea45f93e5',1,'Hazelnp::StringValue::GetString()'],['../classHazelnp_1_1Value.html#a1446705c062026f03866d0f452c39501',1,'Hazelnp::Value::GetString()'],['../classHazelnp_1_1VoidValue.html#a5af0c47a873b84226df47a90e63b2acd',1,'Hazelnp::VoidValue::GetString()']]], - ['getvalue_176',['GetValue',['../classHazelnp_1_1FloatValue.html#a2ad79d8bfe75e45120d1fce132a89b8f',1,'Hazelnp::FloatValue::GetValue()'],['../classHazelnp_1_1IntValue.html#a89967cafbdeb21362336067b772808c7',1,'Hazelnp::IntValue::GetValue()'],['../classHazelnp_1_1ListValue.html#a7907ae7433e4011157f1b31dd5339702',1,'Hazelnp::ListValue::GetValue()'],['../classHazelnp_1_1Parameter.html#a4ab8ba022bde4a0175e5ceb8e3a598af',1,'Hazelnp::Parameter::GetValue()'],['../classHazelnp_1_1StringValue.html#a521a573887a3f31718f74e71ff01e86e',1,'Hazelnp::StringValue::GetValue()']]] + ['generatedocumentation_174',['GenerateDocumentation',['../classHazelnp_1_1Hazelnupp.html#a7b1bf5e700d8a0d8e90c5750e54749de',1,'Hazelnp::Hazelnupp']]], + ['getabbreviation_175',['GetAbbreviation',['../classHazelnp_1_1Hazelnupp.html#a579e78129f19cb9f17a6075366ababe5',1,'Hazelnp::Hazelnupp']]], + ['getasosstring_176',['GetAsOsString',['../classHazelnp_1_1FloatValue.html#a6c9a4b70a7618252f56d9062c483531c',1,'Hazelnp::FloatValue::GetAsOsString()'],['../classHazelnp_1_1IntValue.html#a7d7dbda9a051084600d3eabdac96ee45',1,'Hazelnp::IntValue::GetAsOsString()'],['../classHazelnp_1_1ListValue.html#a5b1f8af329e48c5469fee16634b7889c',1,'Hazelnp::ListValue::GetAsOsString()'],['../classHazelnp_1_1StringValue.html#a71869ee46b88a3cbb9571f481f0c216d',1,'Hazelnp::StringValue::GetAsOsString()'],['../classHazelnp_1_1Value.html#ae1fdc694ed1c2b3080ad3929efda0a0e',1,'Hazelnp::Value::GetAsOsString()'],['../classHazelnp_1_1VoidValue.html#a44b1917d9ba41ee91e2131432e01ec90',1,'Hazelnp::VoidValue::GetAsOsString()']]], + ['getbriefdescription_177',['GetBriefDescription',['../classHazelnp_1_1Hazelnupp.html#a1d32c3047a8c58650476d1ae7e9fb582',1,'Hazelnp::Hazelnupp']]], + ['getcatchhelp_178',['GetCatchHelp',['../classHazelnp_1_1Hazelnupp.html#a05a3d112bcc00cdeade76f3643ba9e94',1,'Hazelnp::Hazelnupp']]], + ['getconstraint_179',['GetConstraint',['../classHazelnp_1_1Hazelnupp.html#acaec2780d800113ffc2d72a6b865955c',1,'Hazelnp::Hazelnupp']]], + ['getcrashonfail_180',['GetCrashOnFail',['../classHazelnp_1_1Hazelnupp.html#a1b810cc7db2cf64aecaa70c686b14bb7',1,'Hazelnp::Hazelnupp']]], + ['getdatatype_181',['GetDataType',['../classHazelnp_1_1Value.html#adbb80bf6d455a316e6e5103353429993',1,'Hazelnp::Value']]], + ['getdescription_182',['GetDescription',['../classHazelnp_1_1Hazelnupp.html#a300e55438cb0983b02347fdc3653e32c',1,'Hazelnp::Hazelnupp']]], + ['getexecutablename_183',['GetExecutableName',['../classHazelnp_1_1Hazelnupp.html#af6bb41fb079131f8b91fe981f63f7469',1,'Hazelnp::Hazelnupp']]], + ['getfloat32_184',['GetFloat32',['../classHazelnp_1_1FloatValue.html#a1653ab3f4fa1700cf1b618ac6552ea81',1,'Hazelnp::FloatValue::GetFloat32()'],['../classHazelnp_1_1IntValue.html#ad0734e4cf67bac0bcc58251a4b3e56c4',1,'Hazelnp::IntValue::GetFloat32()'],['../classHazelnp_1_1ListValue.html#a637fec02ed7f7325554e494fc7cd4e86',1,'Hazelnp::ListValue::GetFloat32()'],['../classHazelnp_1_1StringValue.html#a31fc4d2517a7454c1e9f329df2f14be7',1,'Hazelnp::StringValue::GetFloat32()'],['../classHazelnp_1_1Value.html#a64eeb2943ccea6e16ce4e6f53a6e9b6d',1,'Hazelnp::Value::GetFloat32()'],['../classHazelnp_1_1VoidValue.html#a6d39d2983e54e1a407c66e303273aa48',1,'Hazelnp::VoidValue::GetFloat32()']]], + ['getfloat64_185',['GetFloat64',['../classHazelnp_1_1FloatValue.html#add33b370ef691ccb2f0957d0fe4ef6f9',1,'Hazelnp::FloatValue::GetFloat64()'],['../classHazelnp_1_1IntValue.html#a5ceb2030e8a2a665953fdd4f1715e6a5',1,'Hazelnp::IntValue::GetFloat64()'],['../classHazelnp_1_1ListValue.html#a571178db1c9d23f6c685ea8898dbb60e',1,'Hazelnp::ListValue::GetFloat64()'],['../classHazelnp_1_1StringValue.html#a74bedb828c901a4895062f62303b9653',1,'Hazelnp::StringValue::GetFloat64()'],['../classHazelnp_1_1Value.html#af645b9d78970d102360be37fc18e9e8a',1,'Hazelnp::Value::GetFloat64()'],['../classHazelnp_1_1VoidValue.html#a18b6f0d697c5f9286372a05927e4759c',1,'Hazelnp::VoidValue::GetFloat64()']]], + ['getint32_186',['GetInt32',['../classHazelnp_1_1FloatValue.html#a565741e80cd99a4d2af861ddc3c2dc99',1,'Hazelnp::FloatValue::GetInt32()'],['../classHazelnp_1_1IntValue.html#a163f21536fa49491aa0ae03c8091344a',1,'Hazelnp::IntValue::GetInt32()'],['../classHazelnp_1_1ListValue.html#a565c2b86fcfb3a13de29e59d95a358e7',1,'Hazelnp::ListValue::GetInt32()'],['../classHazelnp_1_1StringValue.html#ac8b53a7792ff1ed048722e2e404f3e6b',1,'Hazelnp::StringValue::GetInt32()'],['../classHazelnp_1_1Value.html#a2cb73333bdeca657dfbf6c8b2e50a5ef',1,'Hazelnp::Value::GetInt32()'],['../classHazelnp_1_1VoidValue.html#a5b7f50c390ef8f3636ba211a72a78065',1,'Hazelnp::VoidValue::GetInt32()']]], + ['getint64_187',['GetInt64',['../classHazelnp_1_1FloatValue.html#a762520d504d4564c48cf3bbefbb0f183',1,'Hazelnp::FloatValue::GetInt64()'],['../classHazelnp_1_1IntValue.html#ae0643023dfd56eafe2e3da5a4ba13080',1,'Hazelnp::IntValue::GetInt64()'],['../classHazelnp_1_1ListValue.html#a9a7a1161ddeb3e56eaafee5f10f75995',1,'Hazelnp::ListValue::GetInt64()'],['../classHazelnp_1_1StringValue.html#aabdc7d681945403d24df6a8fe27948af',1,'Hazelnp::StringValue::GetInt64()'],['../classHazelnp_1_1Value.html#a92d75905211e964cb900bdc868ed12a7',1,'Hazelnp::Value::GetInt64()'],['../classHazelnp_1_1VoidValue.html#a3806945596866f3630dc5426a6b55e58',1,'Hazelnp::VoidValue::GetInt64()']]], + ['getlist_188',['GetList',['../classHazelnp_1_1FloatValue.html#a60b2698f28f1aacac0b67b6453c89fd1',1,'Hazelnp::FloatValue::GetList()'],['../classHazelnp_1_1IntValue.html#acc74ba6070a516a4bcad10bb113d6fa2',1,'Hazelnp::IntValue::GetList()'],['../classHazelnp_1_1ListValue.html#ad578d9088c0375cd9b9c6658e5d9ba1f',1,'Hazelnp::ListValue::GetList()'],['../classHazelnp_1_1StringValue.html#a2b2810350b5eb7e58062ad095320aa69',1,'Hazelnp::StringValue::GetList()'],['../classHazelnp_1_1Value.html#a358092f951e817cd2a878225b5b1c869',1,'Hazelnp::Value::GetList()'],['../classHazelnp_1_1VoidValue.html#aba53ae37d415959b583f33f3e381be16',1,'Hazelnp::VoidValue::GetList()']]], + ['getstring_189',['GetString',['../classHazelnp_1_1FloatValue.html#afd5d078683f410cb9d450c61f12f250d',1,'Hazelnp::FloatValue::GetString()'],['../classHazelnp_1_1IntValue.html#a3631e3b16f010889e942c0c0f72d403c',1,'Hazelnp::IntValue::GetString()'],['../classHazelnp_1_1ListValue.html#aeaf80c07236045a77d72349ebcfc3b89',1,'Hazelnp::ListValue::GetString()'],['../classHazelnp_1_1StringValue.html#a7ed55493cfd25274f8571c1ea45f93e5',1,'Hazelnp::StringValue::GetString()'],['../classHazelnp_1_1Value.html#a1446705c062026f03866d0f452c39501',1,'Hazelnp::Value::GetString()'],['../classHazelnp_1_1VoidValue.html#a5af0c47a873b84226df47a90e63b2acd',1,'Hazelnp::VoidValue::GetString()']]], + ['getvalue_190',['GetValue',['../classHazelnp_1_1FloatValue.html#a2ad79d8bfe75e45120d1fce132a89b8f',1,'Hazelnp::FloatValue::GetValue()'],['../classHazelnp_1_1IntValue.html#a89967cafbdeb21362336067b772808c7',1,'Hazelnp::IntValue::GetValue()'],['../classHazelnp_1_1ListValue.html#a7907ae7433e4011157f1b31dd5339702',1,'Hazelnp::ListValue::GetValue()'],['../classHazelnp_1_1Parameter.html#a4ab8ba022bde4a0175e5ceb8e3a598af',1,'Hazelnp::Parameter::GetValue()'],['../classHazelnp_1_1StringValue.html#a521a573887a3f31718f74e71ff01e86e',1,'Hazelnp::StringValue::GetValue()']]] ]; diff --git a/docs/search/functions_5.js b/docs/search/functions_5.js index 4353f93..313817c 100644 --- a/docs/search/functions_5.js +++ b/docs/search/functions_5.js @@ -1,12 +1,13 @@ var searchData= [ - ['hasabbreviation_177',['HasAbbreviation',['../classHazelnp_1_1Hazelnupp.html#a46df7d396fb56e30351c9a7308792200',1,'Hazelnp::Hazelnupp']]], - ['hasparam_178',['HasParam',['../classHazelnp_1_1Hazelnupp.html#a8b79a79d40420ae748c108c691111040',1,'Hazelnp::Hazelnupp']]], - ['hazelnupp_179',['Hazelnupp',['../classHazelnp_1_1Hazelnupp.html#a20ac0ebcfd4df7f320a7bbcaeed6e54d',1,'Hazelnp::Hazelnupp::Hazelnupp()'],['../classHazelnp_1_1Hazelnupp.html#a6d14c60f03b571f5f794c3549e75e435',1,'Hazelnp::Hazelnupp::Hazelnupp(const int argc, const char *const *argv)']]], - ['hazelnuppconstraintexception_180',['HazelnuppConstraintException',['../classHazelnp_1_1HazelnuppConstraintException.html#a4d08002a96bf9b3da3c6e931a51960e9',1,'Hazelnp::HazelnuppConstraintException::HazelnuppConstraintException()'],['../classHazelnp_1_1HazelnuppConstraintException.html#a944f0e6a384e032a762c5892964e1cc0',1,'Hazelnp::HazelnuppConstraintException::HazelnuppConstraintException(const std::string &msg)']]], - ['hazelnuppconstraintmissingvalue_181',['HazelnuppConstraintMissingValue',['../classHazelnp_1_1HazelnuppConstraintMissingValue.html#aad4a7b5573790ddfbe1a453aef71eb10',1,'Hazelnp::HazelnuppConstraintMissingValue::HazelnuppConstraintMissingValue()'],['../classHazelnp_1_1HazelnuppConstraintMissingValue.html#a20563650ba1ee63f23ddb973677dbdda',1,'Hazelnp::HazelnuppConstraintMissingValue::HazelnuppConstraintMissingValue(const std::string &msg)']]], - ['hazelnuppconstrainttypemissmatch_182',['HazelnuppConstraintTypeMissmatch',['../classHazelnp_1_1HazelnuppConstraintTypeMissmatch.html#ab7c9e9afd9d3286e563a7656785242e8',1,'Hazelnp::HazelnuppConstraintTypeMissmatch::HazelnuppConstraintTypeMissmatch()'],['../classHazelnp_1_1HazelnuppConstraintTypeMissmatch.html#a603d91c9af39e53b54e5aa288266cfe4',1,'Hazelnp::HazelnuppConstraintTypeMissmatch::HazelnuppConstraintTypeMissmatch(const std::string &msg)']]], - ['hazelnuppexception_183',['HazelnuppException',['../classHazelnp_1_1HazelnuppException.html#a0b21fd5d4f22e5e677b74eb0acd7c6ff',1,'Hazelnp::HazelnuppException::HazelnuppException()'],['../classHazelnp_1_1HazelnuppException.html#a816f823fe2ebd35076049e33b9f3c05c',1,'Hazelnp::HazelnuppException::HazelnuppException(const std::string &msg)']]], - ['hazelnuppinvalidkeyexception_184',['HazelnuppInvalidKeyException',['../classHazelnp_1_1HazelnuppInvalidKeyException.html#ab23be8f7cb84129fa85ed1e7a0b280a0',1,'Hazelnp::HazelnuppInvalidKeyException::HazelnuppInvalidKeyException()'],['../classHazelnp_1_1HazelnuppInvalidKeyException.html#a18a08dc4efe80a378216460db5769891',1,'Hazelnp::HazelnuppInvalidKeyException::HazelnuppInvalidKeyException(const std::string &msg)']]], - ['hazelnuppvaluenotconvertibleexception_185',['HazelnuppValueNotConvertibleException',['../classHazelnp_1_1HazelnuppValueNotConvertibleException.html#a0babee1bb5cec9fdd4abfd86995561f4',1,'Hazelnp::HazelnuppValueNotConvertibleException::HazelnuppValueNotConvertibleException()'],['../classHazelnp_1_1HazelnuppValueNotConvertibleException.html#a7ba376cd7fc7edcb934ee0257d4867f2',1,'Hazelnp::HazelnuppValueNotConvertibleException::HazelnuppValueNotConvertibleException(const std::string &msg)']]] + ['hasabbreviation_191',['HasAbbreviation',['../classHazelnp_1_1Hazelnupp.html#a46df7d396fb56e30351c9a7308792200',1,'Hazelnp::Hazelnupp']]], + ['hasdescription_192',['HasDescription',['../classHazelnp_1_1Hazelnupp.html#aabab94412ff5eecf95b97a4e21eb9cf6',1,'Hazelnp::Hazelnupp']]], + ['hasparam_193',['HasParam',['../classHazelnp_1_1Hazelnupp.html#a8b79a79d40420ae748c108c691111040',1,'Hazelnp::Hazelnupp']]], + ['hazelnupp_194',['Hazelnupp',['../classHazelnp_1_1Hazelnupp.html#a20ac0ebcfd4df7f320a7bbcaeed6e54d',1,'Hazelnp::Hazelnupp::Hazelnupp()'],['../classHazelnp_1_1Hazelnupp.html#a6d14c60f03b571f5f794c3549e75e435',1,'Hazelnp::Hazelnupp::Hazelnupp(const int argc, const char *const *argv)']]], + ['hazelnuppconstraintexception_195',['HazelnuppConstraintException',['../classHazelnp_1_1HazelnuppConstraintException.html#a4d08002a96bf9b3da3c6e931a51960e9',1,'Hazelnp::HazelnuppConstraintException::HazelnuppConstraintException()'],['../classHazelnp_1_1HazelnuppConstraintException.html#a944f0e6a384e032a762c5892964e1cc0',1,'Hazelnp::HazelnuppConstraintException::HazelnuppConstraintException(const std::string &msg)']]], + ['hazelnuppconstraintmissingvalue_196',['HazelnuppConstraintMissingValue',['../classHazelnp_1_1HazelnuppConstraintMissingValue.html#aad4a7b5573790ddfbe1a453aef71eb10',1,'Hazelnp::HazelnuppConstraintMissingValue::HazelnuppConstraintMissingValue()'],['../classHazelnp_1_1HazelnuppConstraintMissingValue.html#a20563650ba1ee63f23ddb973677dbdda',1,'Hazelnp::HazelnuppConstraintMissingValue::HazelnuppConstraintMissingValue(const std::string &msg)']]], + ['hazelnuppconstrainttypemissmatch_197',['HazelnuppConstraintTypeMissmatch',['../classHazelnp_1_1HazelnuppConstraintTypeMissmatch.html#ab7c9e9afd9d3286e563a7656785242e8',1,'Hazelnp::HazelnuppConstraintTypeMissmatch::HazelnuppConstraintTypeMissmatch()'],['../classHazelnp_1_1HazelnuppConstraintTypeMissmatch.html#a603d91c9af39e53b54e5aa288266cfe4',1,'Hazelnp::HazelnuppConstraintTypeMissmatch::HazelnuppConstraintTypeMissmatch(const std::string &msg)']]], + ['hazelnuppexception_198',['HazelnuppException',['../classHazelnp_1_1HazelnuppException.html#a0b21fd5d4f22e5e677b74eb0acd7c6ff',1,'Hazelnp::HazelnuppException::HazelnuppException()'],['../classHazelnp_1_1HazelnuppException.html#a816f823fe2ebd35076049e33b9f3c05c',1,'Hazelnp::HazelnuppException::HazelnuppException(const std::string &msg)']]], + ['hazelnuppinvalidkeyexception_199',['HazelnuppInvalidKeyException',['../classHazelnp_1_1HazelnuppInvalidKeyException.html#ab23be8f7cb84129fa85ed1e7a0b280a0',1,'Hazelnp::HazelnuppInvalidKeyException::HazelnuppInvalidKeyException()'],['../classHazelnp_1_1HazelnuppInvalidKeyException.html#a18a08dc4efe80a378216460db5769891',1,'Hazelnp::HazelnuppInvalidKeyException::HazelnuppInvalidKeyException(const std::string &msg)']]], + ['hazelnuppvaluenotconvertibleexception_200',['HazelnuppValueNotConvertibleException',['../classHazelnp_1_1HazelnuppValueNotConvertibleException.html#a0babee1bb5cec9fdd4abfd86995561f4',1,'Hazelnp::HazelnuppValueNotConvertibleException::HazelnuppValueNotConvertibleException()'],['../classHazelnp_1_1HazelnuppValueNotConvertibleException.html#a7ba376cd7fc7edcb934ee0257d4867f2',1,'Hazelnp::HazelnuppValueNotConvertibleException::HazelnuppValueNotConvertibleException(const std::string &msg)']]] ]; diff --git a/docs/search/functions_6.js b/docs/search/functions_6.js index 9cabdf7..6144912 100644 --- a/docs/search/functions_6.js +++ b/docs/search/functions_6.js @@ -1,5 +1,5 @@ var searchData= [ - ['intvalue_186',['IntValue',['../classHazelnp_1_1IntValue.html#ac1174f807ce2c085f5a24baed4e3c1ba',1,'Hazelnp::IntValue']]], - ['isnumeric_187',['IsNumeric',['../classHazelnp_1_1StringTools.html#a6cd093feaca2d978c23774cf87d86e68',1,'Hazelnp::StringTools']]] + ['intvalue_201',['IntValue',['../classHazelnp_1_1IntValue.html#ac1174f807ce2c085f5a24baed4e3c1ba',1,'Hazelnp::IntValue']]], + ['isnumeric_202',['IsNumeric',['../classHazelnp_1_1StringTools.html#a6cd093feaca2d978c23774cf87d86e68',1,'Hazelnp::StringTools']]] ]; diff --git a/docs/search/functions_7.js b/docs/search/functions_7.js index a67d86e..85602d0 100644 --- a/docs/search/functions_7.js +++ b/docs/search/functions_7.js @@ -1,4 +1,4 @@ var searchData= [ - ['key_188',['Key',['../classHazelnp_1_1Parameter.html#a7acd68ce06eec06ab286b1a062f9c8d6',1,'Hazelnp::Parameter']]] + ['key_203',['Key',['../classHazelnp_1_1Parameter.html#a7acd68ce06eec06ab286b1a062f9c8d6',1,'Hazelnp::Parameter']]] ]; diff --git a/docs/search/functions_8.js b/docs/search/functions_8.js index 72a58c5..e13ee1f 100644 --- a/docs/search/functions_8.js +++ b/docs/search/functions_8.js @@ -1,4 +1,4 @@ var searchData= [ - ['listvalue_189',['ListValue',['../classHazelnp_1_1ListValue.html#a6082aaa506b31496720a168da8ab2708',1,'Hazelnp::ListValue']]] + ['listvalue_204',['ListValue',['../classHazelnp_1_1ListValue.html#a6082aaa506b31496720a168da8ab2708',1,'Hazelnp::ListValue']]] ]; diff --git a/docs/search/functions_9.js b/docs/search/functions_9.js index e8aed3e..6aa0dc4 100644 --- a/docs/search/functions_9.js +++ b/docs/search/functions_9.js @@ -1,4 +1,4 @@ var searchData= [ - ['main_190',['main',['../main_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627',1,'main.cpp']]] + ['main_205',['main',['../main_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627',1,'main.cpp']]] ]; diff --git a/docs/search/functions_a.js b/docs/search/functions_a.js index 6718e6e..61a6ef3 100644 --- a/docs/search/functions_a.js +++ b/docs/search/functions_a.js @@ -1,10 +1,10 @@ var searchData= [ - ['operator_20double_191',['operator double',['../classHazelnp_1_1FloatValue.html#ae02de376bbb2b76e0f9d16b1fc4de06d',1,'Hazelnp::FloatValue']]], - ['operator_20int_192',['operator int',['../classHazelnp_1_1IntValue.html#ab30a38c8f58cefd7cbf365c4aeae79bd',1,'Hazelnp::IntValue']]], - ['operator_20long_20double_193',['operator long double',['../classHazelnp_1_1FloatValue.html#ad0d4c589190fbab7e6c4d8fcc130ac1b',1,'Hazelnp::FloatValue']]], - ['operator_20long_20long_20int_194',['operator long long int',['../classHazelnp_1_1IntValue.html#a45b283dae9904ad0643035d3ee5883eb',1,'Hazelnp::IntValue']]], - ['operator_5b_5d_195',['operator[]',['../classHazelnp_1_1Hazelnupp.html#a419ccdc6bad00b0fc3e17ed9b41f5dc5',1,'Hazelnp::Hazelnupp']]], - ['string_196',['string',['../classHazelnp_1_1StringValue.html#a23449775f14f828d29b115de040a696b',1,'Hazelnp::StringValue']]], - ['vector_3c_20value_20_2a_20_3e_197',['vector< Value * >',['../classHazelnp_1_1ListValue.html#a5d92ff2b9a1fa92fbc303ac4d07765d0',1,'Hazelnp::ListValue']]] + ['operator_20double_206',['operator double',['../classHazelnp_1_1FloatValue.html#ae02de376bbb2b76e0f9d16b1fc4de06d',1,'Hazelnp::FloatValue']]], + ['operator_20int_207',['operator int',['../classHazelnp_1_1IntValue.html#ab30a38c8f58cefd7cbf365c4aeae79bd',1,'Hazelnp::IntValue']]], + ['operator_20long_20double_208',['operator long double',['../classHazelnp_1_1FloatValue.html#ad0d4c589190fbab7e6c4d8fcc130ac1b',1,'Hazelnp::FloatValue']]], + ['operator_20long_20long_20int_209',['operator long long int',['../classHazelnp_1_1IntValue.html#a45b283dae9904ad0643035d3ee5883eb',1,'Hazelnp::IntValue']]], + ['operator_5b_5d_210',['operator[]',['../classHazelnp_1_1Hazelnupp.html#a419ccdc6bad00b0fc3e17ed9b41f5dc5',1,'Hazelnp::Hazelnupp']]], + ['string_211',['string',['../classHazelnp_1_1StringValue.html#a23449775f14f828d29b115de040a696b',1,'Hazelnp::StringValue']]], + ['vector_3c_20value_20_2a_20_3e_212',['vector< Value * >',['../classHazelnp_1_1ListValue.html#a5d92ff2b9a1fa92fbc303ac4d07765d0',1,'Hazelnp::ListValue']]] ]; diff --git a/docs/search/functions_b.js b/docs/search/functions_b.js index fe6899a..801143d 100644 --- a/docs/search/functions_b.js +++ b/docs/search/functions_b.js @@ -1,7 +1,7 @@ var searchData= [ - ['paramconstraint_198',['ParamConstraint',['../structHazelnp_1_1ParamConstraint.html#afa9e1b4378c9fa1b4a7b5b792c062cbe',1,'Hazelnp::ParamConstraint::ParamConstraint()=default'],['../structHazelnp_1_1ParamConstraint.html#ab2a897c3044ae2d1a05952a804a3675b',1,'Hazelnp::ParamConstraint::ParamConstraint(const std::string &key, bool constrainType, DATA_TYPE wantedType, const std::vector< std::string > &defaultValue, bool required)']]], - ['parameter_199',['Parameter',['../classHazelnp_1_1Parameter.html#a0c9faefc26cc9d8c886ef71e39e2f90c',1,'Hazelnp::Parameter']]], - ['parse_200',['Parse',['../classHazelnp_1_1Hazelnupp.html#a1ccb88faca1a8deb77161888479c300b',1,'Hazelnp::Hazelnupp']]], - ['parsenumber_201',['ParseNumber',['../classHazelnp_1_1StringTools.html#ab661223da5bbbb75039e168409466c82',1,'Hazelnp::StringTools']]] + ['paramconstraint_213',['ParamConstraint',['../structHazelnp_1_1ParamConstraint.html#afa9e1b4378c9fa1b4a7b5b792c062cbe',1,'Hazelnp::ParamConstraint::ParamConstraint()=default'],['../structHazelnp_1_1ParamConstraint.html#aed7cb14a27277bf57b7f2d53065a2406',1,'Hazelnp::ParamConstraint::ParamConstraint(bool constrainType, DATA_TYPE wantedType, const std::vector< std::string > &defaultValue, bool required)']]], + ['parameter_214',['Parameter',['../classHazelnp_1_1Parameter.html#a0c9faefc26cc9d8c886ef71e39e2f90c',1,'Hazelnp::Parameter']]], + ['parse_215',['Parse',['../classHazelnp_1_1Hazelnupp.html#a1ccb88faca1a8deb77161888479c300b',1,'Hazelnp::Hazelnupp']]], + ['parsenumber_216',['ParseNumber',['../classHazelnp_1_1StringTools.html#ab661223da5bbbb75039e168409466c82',1,'Hazelnp::StringTools']]] ]; diff --git a/docs/search/functions_c.js b/docs/search/functions_c.js index e42d11c..7b12d3a 100644 --- a/docs/search/functions_c.js +++ b/docs/search/functions_c.js @@ -1,8 +1,8 @@ var searchData= [ - ['registerabbreviation_202',['RegisterAbbreviation',['../classHazelnp_1_1Hazelnupp.html#abf1e0ebf0207ca2327fcde81f7372124',1,'Hazelnp::Hazelnupp']]], - ['registerconstraints_203',['RegisterConstraints',['../classHazelnp_1_1Hazelnupp.html#a8a3331836b9ea1f920e77f6d332019d5',1,'Hazelnp::Hazelnupp']]], - ['registerdescription_204',['RegisterDescription',['../classHazelnp_1_1Hazelnupp.html#a17883db87e97caad4a0f114f9f850f5e',1,'Hazelnp::Hazelnupp']]], - ['replace_205',['Replace',['../classHazelnp_1_1StringTools.html#a0ca14c1d67833a61955a693f3e40d8b5',1,'Hazelnp::StringTools::Replace(const std::string &str, const char find, const std::string &subst)'],['../classHazelnp_1_1StringTools.html#a1658832ddf1611f83c5848e391d32806',1,'Hazelnp::StringTools::Replace(const std::string &str, const std::string &find, const std::string &subst)']]], - ['require_206',['Require',['../structHazelnp_1_1ParamConstraint.html#afbcc75c428381ab3a292d3f55945eb32',1,'Hazelnp::ParamConstraint']]] + ['registerabbreviation_217',['RegisterAbbreviation',['../classHazelnp_1_1Hazelnupp.html#abf1e0ebf0207ca2327fcde81f7372124',1,'Hazelnp::Hazelnupp']]], + ['registerconstraint_218',['RegisterConstraint',['../classHazelnp_1_1Hazelnupp.html#add731b65fb0741e4fb0b8fc8a601a11d',1,'Hazelnp::Hazelnupp']]], + ['registerdescription_219',['RegisterDescription',['../classHazelnp_1_1Hazelnupp.html#a17883db87e97caad4a0f114f9f850f5e',1,'Hazelnp::Hazelnupp']]], + ['replace_220',['Replace',['../classHazelnp_1_1StringTools.html#a0ca14c1d67833a61955a693f3e40d8b5',1,'Hazelnp::StringTools::Replace(const std::string &str, const char find, const std::string &subst)'],['../classHazelnp_1_1StringTools.html#a1658832ddf1611f83c5848e391d32806',1,'Hazelnp::StringTools::Replace(const std::string &str, const std::string &find, const std::string &subst)']]], + ['require_221',['Require',['../structHazelnp_1_1ParamConstraint.html#a926e12fcb2fd0d031452c4bcc950bd6c',1,'Hazelnp::ParamConstraint']]] ]; diff --git a/docs/search/functions_d.js b/docs/search/functions_d.js index 6467208..f70257c 100644 --- a/docs/search/functions_d.js +++ b/docs/search/functions_d.js @@ -1,8 +1,8 @@ var searchData= [ - ['setbriefdescription_207',['SetBriefDescription',['../classHazelnp_1_1Hazelnupp.html#a037f84b32c7a2420c387dd46445291ac',1,'Hazelnp::Hazelnupp']]], - ['setcatchhelp_208',['SetCatchHelp',['../classHazelnp_1_1Hazelnupp.html#a60e0a51cd92014a87e44322158e45872',1,'Hazelnp::Hazelnupp']]], - ['setcrashonfail_209',['SetCrashOnFail',['../classHazelnp_1_1Hazelnupp.html#a17845623ca686caa51f3c8254e85551e',1,'Hazelnp::Hazelnupp']]], - ['splitstring_210',['SplitString',['../classHazelnp_1_1StringTools.html#a7cd6606ef06170fab363024e457f1f16',1,'Hazelnp::StringTools::SplitString(const std::string &str, const char delimiter)'],['../classHazelnp_1_1StringTools.html#afe626a56fa486afcb0e4c01d3c1ccb35',1,'Hazelnp::StringTools::SplitString(const std::string &str, const std::string &delimiter)']]], - ['stringvalue_211',['StringValue',['../classHazelnp_1_1StringValue.html#a24dad2deec92b51bf60a11400cc8c204',1,'Hazelnp::StringValue']]] + ['setbriefdescription_222',['SetBriefDescription',['../classHazelnp_1_1Hazelnupp.html#a037f84b32c7a2420c387dd46445291ac',1,'Hazelnp::Hazelnupp']]], + ['setcatchhelp_223',['SetCatchHelp',['../classHazelnp_1_1Hazelnupp.html#a60e0a51cd92014a87e44322158e45872',1,'Hazelnp::Hazelnupp']]], + ['setcrashonfail_224',['SetCrashOnFail',['../classHazelnp_1_1Hazelnupp.html#a17845623ca686caa51f3c8254e85551e',1,'Hazelnp::Hazelnupp']]], + ['splitstring_225',['SplitString',['../classHazelnp_1_1StringTools.html#a7cd6606ef06170fab363024e457f1f16',1,'Hazelnp::StringTools::SplitString(const std::string &str, const char delimiter)'],['../classHazelnp_1_1StringTools.html#afe626a56fa486afcb0e4c01d3c1ccb35',1,'Hazelnp::StringTools::SplitString(const std::string &str, const std::string &delimiter)']]], + ['stringvalue_226',['StringValue',['../classHazelnp_1_1StringValue.html#a24dad2deec92b51bf60a11400cc8c204',1,'Hazelnp::StringValue']]] ]; diff --git a/docs/search/functions_e.js b/docs/search/functions_e.js index a550002..5cadd76 100644 --- a/docs/search/functions_e.js +++ b/docs/search/functions_e.js @@ -1,5 +1,5 @@ var searchData= [ - ['tolower_212',['ToLower',['../classHazelnp_1_1StringTools.html#a67edf755685f59b51f7416d9e4f6e2bd',1,'Hazelnp::StringTools']]], - ['typesafety_213',['TypeSafety',['../structHazelnp_1_1ParamConstraint.html#ab85210bb37bbace962ff08fcccdafaf2',1,'Hazelnp::ParamConstraint']]] + ['tolower_227',['ToLower',['../classHazelnp_1_1StringTools.html#a67edf755685f59b51f7416d9e4f6e2bd',1,'Hazelnp::StringTools']]], + ['typesafety_228',['TypeSafety',['../structHazelnp_1_1ParamConstraint.html#a15a860c63388ea3164e3d7b35b352e9a',1,'Hazelnp::ParamConstraint']]] ]; diff --git a/docs/search/functions_f.js b/docs/search/functions_f.js index 76e8f5d..9ccadd6 100644 --- a/docs/search/functions_f.js +++ b/docs/search/functions_f.js @@ -1,5 +1,5 @@ var searchData= [ - ['value_214',['Value',['../classHazelnp_1_1Value.html#a8455d65bb2d939e850d6772dfbf8bfec',1,'Hazelnp::Value']]], - ['voidvalue_215',['VoidValue',['../classHazelnp_1_1VoidValue.html#a75abf334b7f55cd149d2bb1962f2d8f1',1,'Hazelnp::VoidValue']]] + ['value_229',['Value',['../classHazelnp_1_1Value.html#a8455d65bb2d939e850d6772dfbf8bfec',1,'Hazelnp::Value']]], + ['voidvalue_230',['VoidValue',['../classHazelnp_1_1VoidValue.html#a75abf334b7f55cd149d2bb1962f2d8f1',1,'Hazelnp::VoidValue']]] ]; diff --git a/docs/search/namespaces_0.js b/docs/search/namespaces_0.js index 8c63bed..627e204 100644 --- a/docs/search/namespaces_0.js +++ b/docs/search/namespaces_0.js @@ -1,4 +1,5 @@ var searchData= [ - ['hazelnp_128',['Hazelnp',['../namespaceHazelnp.html',1,'']]] + ['hazelnp_136',['Hazelnp',['../namespaceHazelnp.html',1,'']]], + ['placeholders_137',['Placeholders',['../namespaceHazelnp_1_1Placeholders.html',1,'Hazelnp']]] ]; diff --git a/docs/search/pages_0.js b/docs/search/pages_0.js index 3ac254d..f64124d 100644 --- a/docs/search/pages_0.js +++ b/docs/search/pages_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['hazelnupp_239',['Hazelnupp',['../index.html',1,'']]] + ['hazelnupp_255',['Hazelnupp',['../index.html',1,'']]] ]; diff --git a/docs/search/related_0.js b/docs/search/related_0.js index ff71cf8..5c1b6bb 100644 --- a/docs/search/related_0.js +++ b/docs/search/related_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['operator_3c_3c_238',['operator<<',['../classHazelnp_1_1Parameter.html#a11b3529badcbf99b46262772472495c7',1,'Hazelnp::Parameter::operator<<()'],['../classHazelnp_1_1Value.html#ad29db86c4a2dec5bc8d0006031b07211',1,'Hazelnp::Value::operator<<()']]] + ['hazelnupp_253',['Hazelnupp',['../structHazelnp_1_1ParamConstraint.html#a0356cbb5056c61cac4a065a59002cb76',1,'Hazelnp::ParamConstraint']]] ]; diff --git a/docs/search/related_1.html b/docs/search/related_1.html new file mode 100644 index 0000000..024707b --- /dev/null +++ b/docs/search/related_1.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/search/related_1.js b/docs/search/related_1.js new file mode 100644 index 0000000..f2e54e2 --- /dev/null +++ b/docs/search/related_1.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['operator_3c_3c_254',['operator<<',['../classHazelnp_1_1Parameter.html#a11b3529badcbf99b46262772472495c7',1,'Hazelnp::Parameter::operator<<()'],['../classHazelnp_1_1Value.html#ad29db86c4a2dec5bc8d0006031b07211',1,'Hazelnp::Value::operator<<()']]] +]; diff --git a/docs/search/searchdata.js b/docs/search/searchdata.js index ec500cc..ecfbb18 100644 --- a/docs/search/searchdata.js +++ b/docs/search/searchdata.js @@ -5,10 +5,10 @@ var indexSectionsWithContent = 2: "h", 3: "dfhilmpsv", 4: "acdfghiklmoprstvw~", - 5: "cdkmrtw", + 5: "cdgmrtw", 6: "d", 7: "filsv", - 8: "o", + 8: "ho", 9: "h" }; diff --git a/docs/search/variables_0.js b/docs/search/variables_0.js index 3bf7406..2e56d90 100644 --- a/docs/search/variables_0.js +++ b/docs/search/variables_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['constraintype_225',['constrainType',['../structHazelnp_1_1ParamConstraint.html#a88a4a4c215723259c71853992d09acac',1,'Hazelnp::ParamConstraint']]] + ['constraintype_240',['constrainType',['../structHazelnp_1_1ParamConstraint.html#a88a4a4c215723259c71853992d09acac',1,'Hazelnp::ParamConstraint']]] ]; diff --git a/docs/search/variables_1.js b/docs/search/variables_1.js index 23f9a70..6c4335f 100644 --- a/docs/search/variables_1.js +++ b/docs/search/variables_1.js @@ -1,4 +1,4 @@ var searchData= [ - ['defaultvalue_226',['defaultValue',['../structHazelnp_1_1ParamConstraint.html#a1d3a627b3a23fe0db3a368e51dbcd5a7',1,'Hazelnp::ParamConstraint']]] + ['defaultvalue_241',['defaultValue',['../structHazelnp_1_1ParamConstraint.html#a1d3a627b3a23fe0db3a368e51dbcd5a7',1,'Hazelnp::ParamConstraint']]] ]; diff --git a/docs/search/variables_2.js b/docs/search/variables_2.js index 69c2d3e..249e109 100644 --- a/docs/search/variables_2.js +++ b/docs/search/variables_2.js @@ -1,4 +1,4 @@ var searchData= [ - ['key_227',['key',['../structHazelnp_1_1ParamConstraint.html#aac148076c5e0ab91c666f3343c30bd15',1,'Hazelnp::ParamConstraint']]] + ['g_5femptystring_242',['g_emptyString',['../namespaceHazelnp_1_1Placeholders.html#a90536f0cd5261b18da736e954c6b8b79',1,'Hazelnp::Placeholders']]] ]; diff --git a/docs/search/variables_3.js b/docs/search/variables_3.js index 708f5a9..ccafb54 100644 --- a/docs/search/variables_3.js +++ b/docs/search/variables_3.js @@ -1,4 +1,4 @@ var searchData= [ - ['message_228',['message',['../classHazelnp_1_1HazelnuppException.html#aa905cabcd12f542dfc67638732737e88',1,'Hazelnp::HazelnuppException']]] + ['message_243',['message',['../classHazelnp_1_1HazelnuppException.html#aa905cabcd12f542dfc67638732737e88',1,'Hazelnp::HazelnuppException']]] ]; diff --git a/docs/search/variables_4.js b/docs/search/variables_4.js index f4e7a60..ba73dec 100644 --- a/docs/search/variables_4.js +++ b/docs/search/variables_4.js @@ -1,4 +1,4 @@ var searchData= [ - ['required_229',['required',['../structHazelnp_1_1ParamConstraint.html#a8ccf3ebecc2d9d0105e181814af2943c',1,'Hazelnp::ParamConstraint']]] + ['required_244',['required',['../structHazelnp_1_1ParamConstraint.html#a8ccf3ebecc2d9d0105e181814af2943c',1,'Hazelnp::ParamConstraint']]] ]; diff --git a/docs/search/variables_5.js b/docs/search/variables_5.js index a474125..2b0b4e5 100644 --- a/docs/search/variables_5.js +++ b/docs/search/variables_5.js @@ -1,4 +1,4 @@ var searchData= [ - ['type_230',['type',['../classHazelnp_1_1Value.html#ae5760a30c237095db595c466372e3c23',1,'Hazelnp::Value']]] + ['type_245',['type',['../classHazelnp_1_1Value.html#ae5760a30c237095db595c466372e3c23',1,'Hazelnp::Value']]] ]; diff --git a/docs/search/variables_6.js b/docs/search/variables_6.js index ee87f1e..0446eee 100644 --- a/docs/search/variables_6.js +++ b/docs/search/variables_6.js @@ -1,4 +1,4 @@ var searchData= [ - ['wantedtype_231',['wantedType',['../structHazelnp_1_1ParamConstraint.html#ac07a0c0555431d4b1e0bc6afdba41329',1,'Hazelnp::ParamConstraint']]] + ['wantedtype_246',['wantedType',['../structHazelnp_1_1ParamConstraint.html#ac07a0c0555431d4b1e0bc6afdba41329',1,'Hazelnp::ParamConstraint']]] ]; diff --git a/docs/structHazelnp_1_1ParamConstraint-members.html b/docs/structHazelnp_1_1ParamConstraint-members.html index 3d8cdc0..2ab2a66 100644 --- a/docs/structHazelnp_1_1ParamConstraint-members.html +++ b/docs/structHazelnp_1_1ParamConstraint-members.html @@ -83,17 +83,17 @@ $(function() { - + - - + + - +
    constrainTypeHazelnp::ParamConstraint
    defaultValueHazelnp::ParamConstraint
    keyHazelnp::ParamConstraint
    Hazelnupp classHazelnp::ParamConstraintfriend
    ParamConstraint()=defaultHazelnp::ParamConstraint
    ParamConstraint(const std::string &key, bool constrainType, DATA_TYPE wantedType, const std::vector< std::string > &defaultValue, bool required)Hazelnp::ParamConstraintinline
    Require(const std::string &key, const std::vector< std::string > &defaultValue={}, bool required=true)Hazelnp::ParamConstraintinlinestatic
    ParamConstraint(bool constrainType, DATA_TYPE wantedType, const std::vector< std::string > &defaultValue, bool required)Hazelnp::ParamConstraintinline
    Require(const std::vector< std::string > &defaultValue={}, bool required=true)Hazelnp::ParamConstraintinlinestatic
    requiredHazelnp::ParamConstraint
    TypeSafety(const std::string &key, DATA_TYPE wantedType, bool constrainType=true)Hazelnp::ParamConstraintinlinestatic
    TypeSafety(DATA_TYPE wantedType, bool constrainType=true)Hazelnp::ParamConstraintinlinestatic
    wantedTypeHazelnp::ParamConstraint
    diff --git a/docs/structHazelnp_1_1ParamConstraint.html b/docs/structHazelnp_1_1ParamConstraint.html index b30dd0f..b233932 100644 --- a/docs/structHazelnp_1_1ParamConstraint.html +++ b/docs/structHazelnp_1_1ParamConstraint.html @@ -78,6 +78,7 @@ $(function() { Public Member Functions | Static Public Member Functions | Public Attributes | +Friends | List of all members
    Hazelnp::ParamConstraint Struct Reference
    @@ -91,8 +92,8 @@ Collaboration diagram for Hazelnp::ParamConstraint:
    Collaboration graph
    + -
    [legend]
    @@ -102,24 +103,21 @@ Public Member Functions  ParamConstraint ()=default  Empty constructor. More...
      - ParamConstraint (const std::string &key, bool constrainType, DATA_TYPE wantedType, const std::vector< std::string > &defaultValue, bool required) - Whole constructor. More...
    -  + ParamConstraint (bool constrainType, DATA_TYPE wantedType, const std::vector< std::string > &defaultValue, bool required) + Whole constructor. More...
    +  - - - - - - + + + + + +

    Static Public Member Functions

    static ParamConstraint Require (const std::string &key, const std::vector< std::string > &defaultValue={}, bool required=true)
     Constructs a require constraint. More...
     
    static ParamConstraint TypeSafety (const std::string &key, DATA_TYPE wantedType, bool constrainType=true)
     Constructs a type-safety constraint. More...
     
    static ParamConstraint Require (const std::vector< std::string > &defaultValue={}, bool required=true)
     Constructs a require constraint. More...
     
    static ParamConstraint TypeSafety (DATA_TYPE wantedType, bool constrainType=true)
     Constructs a type-safety constraint. More...
     
    - - - @@ -133,6 +131,11 @@ Public Attributes +

    Public Attributes

    std::string key
     The key of the parameter to constrain. More...
     
    bool constrainType = false
     Should this parameter be forced to be of a certain type?
    Remember to set constrainTo to the wanted type. More...
    bool required = false
     If set to true, and no default value set, an error will be produced if this parameter is not supplied by the user. More...
     
    + + +

    +Friends

    class Hazelnupp
     

    Detailed Description

    @@ -165,8 +168,8 @@ Public Attributes
    - -

    ◆ ParamConstraint() [2/2]

    + +

    ◆ ParamConstraint() [2/2]

    @@ -177,12 +180,6 @@ Public Attributes Hazelnp::ParamConstraint::ParamConstraint ( - const std::string &  - key, - - - - bool  constrainType, @@ -219,22 +216,21 @@ Public Attributes

    Whole constructor.

    -

    Definition at line 38 of file ParamConstraint.h.

    -
    39  :
    -
    40  key{ key },
    - - - - -
    45  {
    -
    46  return;
    -
    47  }
    +

    Definition at line 36 of file ParamConstraint.h.

    +
    37  :
    + + + + +
    42  {
    +
    43  return;
    +
    44  }

    Member Function Documentation

    - -

    ◆ Require()

    + +

    ◆ Require()

    @@ -245,12 +241,6 @@ Public Attributes static ParamConstraint Hazelnp::ParamConstraint::Require ( - const std::string &  - key, - - - - const std::vector< std::string > &  defaultValue = {}, @@ -278,20 +268,19 @@ Public Attributes Think of the default value like of a list ofparameters. Like {"--width", "800"}

    Definition at line 16 of file ParamConstraint.h.

    -
    16  {}, bool required = true)
    +
    16  {}, bool required = true)
    17  {
    18  ParamConstraint pc;
    -
    19  pc.key = key;
    -
    20  pc.defaultValue = defaultValue;
    -
    21  pc.required = required;
    -
    22 
    -
    23  return pc;
    -
    24  }
    +
    19  pc.defaultValue = defaultValue;
    +
    20  pc.required = required;
    +
    21 
    +
    22  return pc;
    +
    23  }
    - -

    ◆ TypeSafety()

    + +

    ◆ TypeSafety()

    @@ -302,12 +291,6 @@ Public Attributes static ParamConstraint Hazelnp::ParamConstraint::TypeSafety ( - const std::string &  - key, - - - - DATA_TYPE  wantedType, @@ -332,16 +315,40 @@ Public Attributes

    Constructs a type-safety constraint.

    -

    Definition at line 27 of file ParamConstraint.h.

    -
    28  {
    -
    29  ParamConstraint pc;
    -
    30  pc.key = key;
    -
    31  pc.constrainType = constrainType;
    -
    32  pc.wantedType = wantedType;
    -
    33 
    -
    34  return pc;
    -
    35  }
    +

    Definition at line 26 of file ParamConstraint.h.

    +
    27  {
    +
    28  ParamConstraint pc;
    +
    29  pc.constrainType = constrainType;
    +
    30  pc.wantedType = wantedType;
    +
    31 
    +
    32  return pc;
    +
    33  }
    +
    +
    +

    Friends And Related Function Documentation

    + +

    ◆ Hazelnupp

    + +
    +
    + + + + + +
    + + + + +
    friend class Hazelnupp
    +
    +friend
    +
    + +

    Definition at line 67 of file ParamConstraint.h.

    +

    Member Data Documentation

    @@ -360,7 +367,7 @@ Public Attributes

    Should this parameter be forced to be of a certain type?
    Remember to set constrainTo to the wanted type.

    -

    Definition at line 54 of file ParamConstraint.h.

    +

    Definition at line 48 of file ParamConstraint.h.

    @@ -381,25 +388,7 @@ Public Attributes Gets applied if this parameter was not given.
    Think of this like a list of parameters. Like {"--width", "800"}

    -

    Definition at line 62 of file ParamConstraint.h.

    - -
    - - -

    ◆ key

    - -
    -
    - - - - -
    std::string Hazelnp::ParamConstraint::key
    -
    - -

    The key of the parameter to constrain.

    - -

    Definition at line 50 of file ParamConstraint.h.

    +

    Definition at line 56 of file ParamConstraint.h.

    @@ -417,7 +406,7 @@ Public Attributes

    If set to true, and no default value set, an error will be produced if this parameter is not supplied by the user.

    -

    Definition at line 66 of file ParamConstraint.h.

    +

    Definition at line 60 of file ParamConstraint.h.

    @@ -435,7 +424,7 @@ Public Attributes

    Constrain the parameter to this value. Requires constrainType to be set to true.

    -

    Definition at line 57 of file ParamConstraint.h.

    +

    Definition at line 51 of file ParamConstraint.h.

    @@ -443,15 +432,14 @@ Public Attributes
  • Hazelnupp/ParamConstraint.h
  • -
    Hazelnp::ParamConstraint::wantedType
    DATA_TYPE wantedType
    Constrain the parameter to this value. Requires constrainType to be set to true.
    Definition: ParamConstraint.h:57
    -
    Hazelnp::ParamConstraint::constrainType
    bool constrainType
    Should this parameter be forced to be of a certain type? Remember to set constrainTo to the wanted ...
    Definition: ParamConstraint.h:54
    +
    Hazelnp::ParamConstraint::wantedType
    DATA_TYPE wantedType
    Constrain the parameter to this value. Requires constrainType to be set to true.
    Definition: ParamConstraint.h:51
    +
    Hazelnp::ParamConstraint::constrainType
    bool constrainType
    Should this parameter be forced to be of a certain type? Remember to set constrainTo to the wanted ...
    Definition: ParamConstraint.h:48
    Hazelnp::ParamConstraint::ParamConstraint
    ParamConstraint()=default
    Empty constructor.
    -
    Hazelnp::ParamConstraint::key
    std::string key
    The key of the parameter to constrain.
    Definition: ParamConstraint.h:50
    -
    Hazelnp::ParamConstraint::required
    bool required
    If set to true, and no default value set, an error will be produced if this parameter is not supplied...
    Definition: ParamConstraint.h:66
    -
    Hazelnp::ParamConstraint::defaultValue
    std::vector< std::string > defaultValue
    The default value for this parameter.
    Definition: ParamConstraint.h:62
    +
    Hazelnp::ParamConstraint::required
    bool required
    If set to true, and no default value set, an error will be produced if this parameter is not supplied...
    Definition: ParamConstraint.h:60
    +
    Hazelnp::ParamConstraint::defaultValue
    std::vector< std::string > defaultValue
    The default value for this parameter.
    Definition: ParamConstraint.h:56
    diff --git a/docs/structHazelnp_1_1ParamConstraint__coll__graph.map b/docs/structHazelnp_1_1ParamConstraint__coll__graph.map index 6241153..a80797d 100644 --- a/docs/structHazelnp_1_1ParamConstraint__coll__graph.map +++ b/docs/structHazelnp_1_1ParamConstraint__coll__graph.map @@ -1,6 +1,6 @@ - - - + + + diff --git a/docs/structHazelnp_1_1ParamConstraint__coll__graph.md5 b/docs/structHazelnp_1_1ParamConstraint__coll__graph.md5 index 3a48dee..68bbe9f 100644 --- a/docs/structHazelnp_1_1ParamConstraint__coll__graph.md5 +++ b/docs/structHazelnp_1_1ParamConstraint__coll__graph.md5 @@ -1 +1 @@ -a2a1e59b85b4bb3c2fb535eaca80bfec \ No newline at end of file +f955d2f831670f6c2a655e2a102ff0d6 \ No newline at end of file diff --git a/docs/structHazelnp_1_1ParamConstraint__coll__graph.png b/docs/structHazelnp_1_1ParamConstraint__coll__graph.png index f4b7873..a6fdeb9 100644 Binary files a/docs/structHazelnp_1_1ParamConstraint__coll__graph.png and b/docs/structHazelnp_1_1ParamConstraint__coll__graph.png differ