diff --git a/docs/DataType_8h.html b/docs/DataType_8h.html index 50e8603..1ac9461 100644 --- a/docs/DataType_8h.html +++ b/docs/DataType_8h.html @@ -97,25 +97,25 @@ This graph shows which files directly or indirectly include this file:
- - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + +
@@ -148,7 +148,7 @@ Functions diff --git a/docs/DataType_8h__dep__incl.map b/docs/DataType_8h__dep__incl.map index c561cca..5836b23 100644 --- a/docs/DataType_8h__dep__incl.map +++ b/docs/DataType_8h__dep__incl.map @@ -1,21 +1,21 @@ - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + diff --git a/docs/DataType_8h__dep__incl.md5 b/docs/DataType_8h__dep__incl.md5 index 3db0014..0de97b6 100644 --- a/docs/DataType_8h__dep__incl.md5 +++ b/docs/DataType_8h__dep__incl.md5 @@ -1 +1 @@ -53cc32d8b6240e57e0be50e31234d161 \ No newline at end of file +842c0bb6a806d34881da78d3443ca4f4 \ No newline at end of file diff --git a/docs/DataType_8h__dep__incl.png b/docs/DataType_8h__dep__incl.png index 83c9a7b..a3906b3 100644 Binary files a/docs/DataType_8h__dep__incl.png and b/docs/DataType_8h__dep__incl.png differ diff --git a/docs/DataType_8h_source.html b/docs/DataType_8h_source.html index 23f683e..a95d82f 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 b9698de..28ed9bc 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 62aa079..f71b641 100644 --- a/docs/FloatValue_8cpp.html +++ b/docs/FloatValue_8cpp.html @@ -86,16 +86,16 @@ Include dependency graph for FloatValue.cpp:
- - - - - - - - - - + + + + + + + + + +
@@ -103,7 +103,7 @@ Include dependency graph for FloatValue.cpp: diff --git a/docs/FloatValue_8cpp__incl.map b/docs/FloatValue_8cpp__incl.map index b367697..2e98ba0 100644 --- a/docs/FloatValue_8cpp__incl.map +++ b/docs/FloatValue_8cpp__incl.map @@ -1,12 +1,12 @@ - - - - - - - - - - + + + + + + + + + + diff --git a/docs/FloatValue_8cpp__incl.md5 b/docs/FloatValue_8cpp__incl.md5 index 265d55c..e07c855 100644 --- a/docs/FloatValue_8cpp__incl.md5 +++ b/docs/FloatValue_8cpp__incl.md5 @@ -1 +1 @@ -cf9c25b2b25e65f5d489ec898ffdb7b1 \ No newline at end of file +f5a895813c4221d24468ffc9cb70662d \ No newline at end of file diff --git a/docs/FloatValue_8cpp__incl.png b/docs/FloatValue_8cpp__incl.png index 692b3af..4aa9be0 100644 Binary files a/docs/FloatValue_8cpp__incl.png and b/docs/FloatValue_8cpp__incl.png differ diff --git a/docs/FloatValue_8cpp_source.html b/docs/FloatValue_8cpp_source.html index bdcd0f4..540249f 100644 --- a/docs/FloatValue_8cpp_source.html +++ b/docs/FloatValue_8cpp_source.html @@ -169,11 +169,11 @@ $(function() {
FloatValue.h
Hazelnp::DATA_TYPE
DATA_TYPE
The different data types a paramater can be.
Definition: DataType.h:8
Hazelnp::FloatValue::FloatValue
FloatValue(const long double &value)
Definition: FloatValue.cpp:7
-
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
+
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:38
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 0fcd7df..f45333b 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 064c70d..0f2e212 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 7eccce3..b283880 100644 --- a/docs/HazelnuppException_8h.html +++ b/docs/HazelnuppException_8h.html @@ -82,13 +82,19 @@ $(function() {
#include <stdexcept>
+#include <string>
+#include <sstream>
+#include "DataType.h"
Include dependency graph for HazelnuppException.h:
- - + + + + +
@@ -137,7 +143,7 @@ Namespaces
diff --git a/docs/HazelnuppException_8h__incl.map b/docs/HazelnuppException_8h__incl.map index 37033b5..abb40ee 100644 --- a/docs/HazelnuppException_8h__incl.map +++ b/docs/HazelnuppException_8h__incl.map @@ -1,4 +1,7 @@ - - + + + + + diff --git a/docs/HazelnuppException_8h__incl.md5 b/docs/HazelnuppException_8h__incl.md5 index 1b8bb07..a3e64cd 100644 --- a/docs/HazelnuppException_8h__incl.md5 +++ b/docs/HazelnuppException_8h__incl.md5 @@ -1 +1 @@ -7497987f6e78b96fc05595540da5a488 \ No newline at end of file +7da910c60f774be0fed8735daa712376 \ No newline at end of file diff --git a/docs/HazelnuppException_8h__incl.png b/docs/HazelnuppException_8h__incl.png index 910c941..dfcdf55 100644 Binary files a/docs/HazelnuppException_8h__incl.png and b/docs/HazelnuppException_8h__incl.png differ diff --git a/docs/HazelnuppException_8h_source.html b/docs/HazelnuppException_8h_source.html index 04cfe17..dbf4c26 100644 --- a/docs/HazelnuppException_8h_source.html +++ b/docs/HazelnuppException_8h_source.html @@ -80,97 +80,131 @@ $(function() {
Go to the documentation of this file.
1 #pragma once
2 #include <stdexcept>
-
3 
-
4 namespace Hazelnp
-
5 {
-
6  /** Generic hazelnupp exception
-
7  */
-
8  class HazelnuppException : public std::exception
-
9  {
-
10  public:
- -
12  HazelnuppException(const std::string& msg) : message{ msg } {};
-
13 
-
14  //! Will return an error message
-
15  const std::string& What() const
-
16  {
-
17  return message;
-
18  }
-
19 
-
20  protected:
-
21  std::string message;
-
22  };
-
23 
-
24  /** Gets thrown when an non-existent key gets dereferenced
-
25  */
- -
27  {
-
28  public:
- -
30  HazelnuppInvalidKeyException(const std::string& msg) : HazelnuppException(msg) {};
-
31  };
-
32 
-
33  /** Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not convertible
-
34  */
- -
36  {
-
37  public:
- -
39  HazelnuppValueNotConvertibleException(const std::string& msg) : HazelnuppException(msg) {};
-
40  };
-
41 
-
42  /** Gets thrown something bad happens because of parameter constraints
-
43  */
- -
45  {
-
46  public:
- -
48  HazelnuppConstraintException(const std::string& msg) : HazelnuppException(msg) {};
-
49  };
-
50 
-
51  /** Gets thrown when a parameter is of a type that does not match the required type, and is not convertible to it
-
52  */
- -
54  {
-
55  public:
- - -
58  };
-
59 
-
60  /** Gets thrown when a parameter constrained to be required is not provided, and has no default value set
-
61  */
- -
63  {
-
64  public:
- - -
67  };
-
68 }
+
3 #include <string>
+
4 #include <sstream>
+
5 #include "DataType.h"
+
6 
+
7 namespace Hazelnp
+
8 {
+
9  /** Generic hazelnupp exception
+
10  */
+
11  class HazelnuppException : public std::exception
+
12  {
+
13  public:
+ +
15  HazelnuppException(const std::string& msg) : message{ msg } {};
+
16 
+
17  //! Will return an error message
+
18  const std::string& What() const
+
19  {
+
20  return message;
+
21  }
+
22 
+
23  protected:
+
24  std::string message;
+
25  };
+
26 
+
27  /** Gets thrown when an non-existent key gets dereferenced
+
28  */
+ +
30  {
+
31  public:
+ +
33  HazelnuppInvalidKeyException(const std::string& msg) : HazelnuppException(msg) {};
+
34  };
+
35 
+
36  /** Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not convertible
+
37  */
+ +
39  {
+
40  public:
+ +
42  HazelnuppValueNotConvertibleException(const std::string& msg) : HazelnuppException(msg) {};
+
43  };
+
44 
+
45  /** Gets thrown something bad happens because of parameter constraints
+
46  */
+ +
48  {
+
49  public:
+ +
51  HazelnuppConstraintException(const std::string& msg) : HazelnuppException(msg) {};
+
52  };
+
53 
+
54  /** Gets thrown when a parameter is of a type that does not match the required type, and is not convertible to it
+
55  */
+ +
57  {
+
58  public:
+ + +
61 
+
62  HazelnuppConstraintTypeMissmatch(const std::string& key, const DATA_TYPE requiredType, const DATA_TYPE actualType, const std::string& paramDescription = "")
+
63  {
+
64  // Generate descriptive error message
+
65  std::stringstream ss;
+
66  ss << "Cannot convert parameter " << key << " to type " << DataTypeToString(requiredType)
+
67  << ". You supplied type: " << DataTypeToString(actualType) << ".";
+
68 
+
69  // Add the parameter description, if provided
+
70  if (paramDescription.length() > 0)
+
71  ss << std::endl << key << " => " << paramDescription;
+
72 
+
73  message = ss.str();
+
74  return;
+
75  };
+
76  };
+
77 
+
78  /** Gets thrown when a parameter constrained to be required is not provided, and has no default value set
+
79  */
+ +
81  {
+
82  public:
+ +
84  HazelnuppConstraintMissingValue(const std::string& key, const std::string& paramDescription = "")
+
85  {
+
86  // Generate descriptive error message
+
87  std::stringstream ss;
+
88  ss << "Missing required parameter " << key << ".";
+
89 
+
90  // Add the parameter description, if provided
+
91  if (paramDescription.length() > 0)
+
92  ss << std::endl << key << " => " << paramDescription;
+
93 
+
94  message = ss.str();
+
95  return;
+
96  };
+
97  };
+
98 }
-
HazelnuppInvalidKeyException(const std::string &msg)
- -
Gets thrown when an non-existent key gets dereferenced.
-
HazelnuppConstraintException(const std::string &msg)
-
HazelnuppException(const std::string &msg)
-
const std::string & What() const
Will return an error message.
- - -
Gets thrown something bad happens because of parameter constraints.
-
HazelnuppConstraintMissingValue(const std::string &msg)
-
Generic hazelnupp exception.
-
Gets thrown when a parameter constrained to be required is not provided, and has no default value set...
-
Gets thrown when a parameter is of a type that does not match the required type, and is not convertib...
- - -
HazelnuppValueNotConvertibleException(const std::string &msg)
-
HazelnuppConstraintTypeMissmatch(const std::string &msg)
-
Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not ...
- - + +
HazelnuppInvalidKeyException(const std::string &msg)
+ +
Gets thrown when an non-existent key gets dereferenced.
+
HazelnuppConstraintException(const std::string &msg)
+
HazelnuppException(const std::string &msg)
+
const std::string & What() const
Will return an error message.
+ + +
Gets thrown something bad happens because of parameter constraints.
+
Generic hazelnupp exception.
+
Gets thrown when a parameter constrained to be required is not provided, and has no default value set...
+
Gets thrown when a parameter is of a type that does not match the required type, and is not convertib...
+ + +
HazelnuppValueNotConvertibleException(const std::string &msg)
+
DATA_TYPE
The different data types a paramater can be.
Definition: DataType.h:8
+
HazelnuppConstraintMissingValue(const std::string &key, const std::string &paramDescription="")
+
HazelnuppConstraintTypeMissmatch(const std::string &key, const DATA_TYPE requiredType, const DATA_TYPE actualType, const std::string &paramDescription="")
+
static std::string DataTypeToString(DATA_TYPE type)
Definition: DataType.h:17
+
HazelnuppConstraintTypeMissmatch(const std::string &msg)
+
Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not ...
+ + diff --git a/docs/Hazelnupp_8cpp.html b/docs/Hazelnupp_8cpp.html index d5c9e71..6ecce2d 100644 --- a/docs/Hazelnupp_8cpp.html +++ b/docs/Hazelnupp_8cpp.html @@ -94,29 +94,29 @@ Include dependency graph for Hazelnupp.cpp:
- - - - - - - - + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + +
@@ -124,7 +124,7 @@ Include dependency graph for Hazelnupp.cpp: diff --git a/docs/Hazelnupp_8cpp__incl.map b/docs/Hazelnupp_8cpp__incl.map index a20df59..f1f6081 100644 --- a/docs/Hazelnupp_8cpp__incl.map +++ b/docs/Hazelnupp_8cpp__incl.map @@ -1,25 +1,25 @@ - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/Hazelnupp_8cpp__incl.md5 b/docs/Hazelnupp_8cpp__incl.md5 index 69ae8ae..3ab96cd 100644 --- a/docs/Hazelnupp_8cpp__incl.md5 +++ b/docs/Hazelnupp_8cpp__incl.md5 @@ -1 +1 @@ -2a942c4e9db5d3068ee66edfb624813a \ No newline at end of file +16baf48028636080ba03165a663b1fef \ No newline at end of file diff --git a/docs/Hazelnupp_8cpp__incl.png b/docs/Hazelnupp_8cpp__incl.png index a7d1cee..b7094a8 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 e70db42..d812e48 100644 --- a/docs/Hazelnupp_8cpp_source.html +++ b/docs/Hazelnupp_8cpp_source.html @@ -145,27 +145,27 @@ $(function() {
65  if ((!catchHelp) || (!HasParam("--help")))
66  ApplyConstraints();
67  }
-
68  catch (const HazelnuppConstraintTypeMissmatch& hctm)
+
68  catch (const HazelnuppConstraintTypeMissmatch& exc)
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() << "\"!";
+
72  std::cout << GenerateDocumentation() << std::endl << std::endl;
+
73  std::cerr << "Parameter error: " << exc.What() << std::endl;
74  quick_exit(-1009);
75  }
76  else
-
77  throw hctm; // yeet
+
77  throw exc; // yeet
78  }
-
79  catch (const HazelnuppConstraintMissingValue& hctm)
+
79  catch (const HazelnuppConstraintMissingValue& exc)
80  {
81  if (crashOnFail)
82  {
-
83  std::cout << GenerateDocumentation() << std::endl;
-
84  std::cerr << "Fatal error: Missing required command-line parameter \"" << hctm.What() << "\"!";
+
83  std::cout << GenerateDocumentation() << std::endl << std::endl;
+
84  std::cerr << "Parameter error: " << exc.What() << std::endl;
85  quick_exit(-1010);
86  }
87  else
-
88  throw hctm; // yeet
+
88  throw exc; // yeet
89  }
90 
91  // Catch --help parameter
@@ -249,486 +249,527 @@ $(function() {
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);
+
172  // This is the raw (unconverted) data type the user provided
+
173  DATA_TYPE rawInputType;
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();
+
175  // Constraint values
+
176  const bool constrainType = (constraint != nullptr) && (constraint->constrainType);
+
177 
+
178  // Void-type
+
179  if (values.size() == 0)
+
180  {
+
181  rawInputType = DATA_TYPE::VOID;
182 
-
183  // Is a string forced via a constraint? If yes, return an empty string
+
183  // Is a list forced via a constraint? If yes, return an empty list
184  if ((constrainType) &&
-
185  (constraint->wantedType == DATA_TYPE::STRING))
-
186  return new StringValue("");
+
185  (constraint->requiredType == DATA_TYPE::LIST))
+
186  return new ListValue();
187 
-
188  // Else, just return the void type
-
189  return new VoidValue;
-
190  }
-
191 
-
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 
-
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 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();
+
188  // Is a string forced via a constraint? If yes, return an empty string
+
189  else if ((constrainType) &&
+
190  (constraint->requiredType == DATA_TYPE::STRING))
+
191  return new StringValue("");
+
192 
+
193  // Is an int or float forced via constraint? If yes, throw an exception
+
194  else if ((constrainType) &&
+
195  ((constraint->requiredType == DATA_TYPE::INT) ||
+
196  (constraint->requiredType == DATA_TYPE::FLOAT)))
+
197  throw HazelnuppConstraintTypeMissmatch(
+
198  constraint->key,
+
199  constraint->requiredType,
+
200  rawInputType,
+
201  GetDescription(constraint->key)
+
202  );
+
203 
+
204  // Else, just return the void type
+
205  return new VoidValue;
+
206  }
+
207 
+
208  // Force void type by constraint
+
209  else if ((constrainType) &&
+
210  (constraint->requiredType == DATA_TYPE::VOID))
+
211  {
+
212  return new VoidValue;
+
213  }
+
214 
+
215  // List-type
+
216  else if (values.size() > 1)
+
217  {
+
218  rawInputType = DATA_TYPE::LIST;
+
219 
+
220  // Should the type be something other than list?
+
221  if ((constrainType) &&
+
222  (constraint->requiredType != DATA_TYPE::LIST))
+
223  {
+
224  throw HazelnuppConstraintTypeMissmatch(
+
225  constraint->key,
+
226  constraint->requiredType,
+
227  rawInputType,
+
228  GetDescription(constraint->key)
+
229  );
+
230  }
+
231 
+
232  ListValue* newList = new ListValue();
+
233  for (const std::string& val : values)
+
234  {
+
235  Value* tmp = ParseValue({ val });
+
236  newList->AddValue(tmp);
+
237  delete tmp;
+
238  }
+
239  return newList;
+
240  }
+
241 
+
242  // Now we're only dealing with a single value
+
243  const std::string& val = values[0];
+
244 
+
245  // String
+
246  if (!StringTools::IsNumeric(val, true))
+
247  {
+
248  rawInputType = DATA_TYPE::STRING;
+
249 
+
250  // Is the type not supposed to be a string?
+
251  // void and list are already sorted out
+
252  if ((constrainType) &&
+
253  (constraint->requiredType != DATA_TYPE::STRING))
+
254  {
+
255  // We can only force a list-value from here
+
256  if (constraint->requiredType == DATA_TYPE::LIST)
+
257  {
+
258  ListValue* list = new ListValue();
+
259  Value* tmp = ParseValue({ val });
+
260  list->AddValue(tmp);
+
261  delete tmp;
+
262  tmp = nullptr;
+
263  return list;
+
264  }
+
265  // Else it is not possible to convert to a numeric
+
266  else
+
267  throw HazelnuppConstraintTypeMissmatch(
+
268  constraint->key,
+
269  constraint->requiredType,
+
270  rawInputType,
+
271  GetDescription(constraint->key)
+
272  );
+
273  }
+
274 
+
275  return new StringValue(val);
+
276  }
+
277 
+
278  // In this case we have a numeric value.
+
279  // We should still produce a string if requested
+
280  if ((constrainType) &&
+
281  (constraint->requiredType == DATA_TYPE::STRING))
+
282  return new StringValue(val);
+
283 
+
284  // Numeric
+
285  bool isInt;
+
286  long double num;
+
287 
+
288  if (StringTools::ParseNumber(val, isInt, num))
+
289  {
+
290  rawInputType = isInt ? DATA_TYPE::INT : DATA_TYPE::FLOAT;
+
291 
+
292  // Is the type constrained?
+
293  // (only int and float left)
+
294  if (constrainType)
+
295  {
+
296  // Must it be an integer?
+
297  if (constraint->requiredType == DATA_TYPE::INT)
+
298  return new IntValue((long long int)num);
+
299  // Must it be a floating point?
+
300  else if (constraint->requiredType == DATA_TYPE::FLOAT)
+
301  return new FloatValue(num);
+
302  // Else it must be a List
+
303  else
+
304  {
+
305  ListValue* list = new ListValue();
+
306  Value* tmp = ParseValue({ val });
+
307  list->AddValue(tmp);
+
308  delete tmp;
+
309  tmp = nullptr;
+
310  return list;
+
311  }
+
312  }
+
313  // Type is not constrained
+
314  else
+
315  {
+
316  // Integer
+
317  if (isInt)
+
318  return new IntValue((long long int)num);
+
319 
+
320  // Double
+
321  return new FloatValue(num);
+
322  }
+
323  }
+
324 
+
325  // Failed
+
326  return nullptr;
+
327 }
+
328 
+
329 bool Hazelnupp::GetCrashOnFail() const
+
330 {
+
331  return crashOnFail;
+
332 }
+
333 
+
334 void Hazelnupp::SetCatchHelp(bool catchHelp)
+
335 {
+
336  this->catchHelp = catchHelp;
+
337  return;
+
338 }
+
339 
+
340 bool Hazelnupp::GetCatchHelp() const
+
341 {
+
342  return catchHelp;
+
343 }
+
344 
+
345 void Hazelnupp::SetBriefDescription(const std::string& description)
+
346 {
+
347  briefDescription = description;
+
348  return;
+
349 }
+
350 
+
351 const std::string& Hazelnupp::GetBriefDescription()
+
352 {
+
353  return briefDescription;
+
354 }
+
355 
+
356 void Hazelnp::Hazelnupp::RegisterDescription(const std::string& parameter, const std::string& description)
+
357 {
+
358  parameterDescriptions[parameter] = description;
+
359  return;
+
360 }
+
361 
+
362 const std::string& Hazelnp::Hazelnupp::GetDescription(const std::string& parameter) const
+
363 {
+
364  // Do we already have a description for this parameter?
+
365  if (!HasDescription(parameter))
+
366  // No? Then return ""
+
367  return Placeholders::g_emptyString;
+
368 
+
369  // We do? Then return it
+
370  return parameterDescriptions.find(parameter)->second;
+
371 }
+
372 
+
373 bool Hazelnupp::HasDescription(const std::string& parameter) const
+
374 {
+
375  return parameterDescriptions.find(parameter) != parameterDescriptions.end();
+
376 }
+
377 
+
378 void Hazelnupp::ClearDescription(const std::string& parameter)
+
379 {
+
380  // This will just do nothing if the entry does not exist
+
381  parameterDescriptions.erase(parameter);
+
382  return;
+
383 }
+
384 
+
385 void Hazelnp::Hazelnupp::ClearDescriptions()
+
386 {
+
387  parameterDescriptions.clear();
+
388  return;
+
389 }
+
390 
+
391 std::string Hazelnupp::GenerateDocumentation() const
+
392 {
+
393  std::stringstream ss;
+
394 
+
395  // Add brief, if available
+
396  if (briefDescription.length() > 0)
+
397  ss << briefDescription << std::endl;
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  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;
+
399  // Collect parameter information
+
400  struct ParamDocEntry
+
401  {
+
402  std::string abbreviation;
+
403  std::string description;
+
404  std::string type;
+
405  bool required = false;
+
406  bool typeIsForced = false;
+
407  std::string defaultVal;
+
408  };
+
409  std::unordered_map<std::string, ParamDocEntry> paramInfos;
+
410 
+
411  // Collect descriptions
+
412  for (const auto& it : parameterDescriptions)
+
413  {
+
414  // Do we already have that param in the paramInfo set?
+
415  if (paramInfos.find(it.first) == paramInfos.end())
+
416  // No? Create it.
+
417  paramInfos[it.first] = ParamDocEntry();
+
418 
+
419  paramInfos[it.first].description = it.second;
+
420  }
+
421 
+
422  // Collect abbreviations
+
423  // first value is abbreviation, second is long form
+
424  for (const auto& it : parameterAbreviations)
+
425  {
+
426  // Do we already have that param in the paramInfo set?
+
427  if (paramInfos.find(it.second) == paramInfos.end())
+
428  // No? Create it.
+
429  paramInfos[it.second] = ParamDocEntry();
+
430 
+
431  paramInfos[it.second].abbreviation = it.first;
+
432  }
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  ));
+
434  // Collect constraints
+
435  for (const auto& it : parameterConstraints)
+
436  {
+
437  // Do we already have that param in the paramInfo set?
+
438  if (paramInfos.find(it.first) == paramInfos.end())
+
439  // No? Create it.
+
440  paramInfos[it.first] = ParamDocEntry();
+
441 
+
442  ParamDocEntry& cached = paramInfos[it.first];
+
443  cached.required = it.second.required;
+
444  cached.typeIsForced = it.second.constrainType;
+
445  cached.type = DataTypeToString(it.second.requiredType);
+
446 
+
447  std::stringstream defaultValueSs;
+
448  for (const std::string& s : it.second.defaultValue)
+
449  {
+
450  defaultValueSs << '\'' << s << '\'';
+
451 
+
452  // Add a space if we are not at the last entry
+
453  if ((void*)&s != (void*)&it.second.defaultValue.back())
+
454  defaultValueSs << " ";
+
455  }
+
456  cached.defaultVal = defaultValueSs.str();
+
457  }
+
458 
+
459  // Now generate the documentatino body
+
460  if (paramInfos.size() > 0)
+
461  {
+
462  ss << std::endl
+
463  << "==== AVAILABLE PARAMETERS ===="
+
464  << std::endl << std::endl;
+
465 
+
466  std::size_t counter = 0;
+
467  for (const auto& it : paramInfos)
+
468  {
+
469  const ParamDocEntry& pde = it.second;
+
470 
+
471  // Put name
+
472  ss << it.first << " ";
+
473 
+
474  // Put abbreviation
+
475  if (pde.abbreviation.length() > 0)
+
476  ss << pde.abbreviation << " ";
+
477 
+
478  // Put type
+
479  if (pde.typeIsForced)
+
480  ss << pde.type << " ";
+
481 
+
482  // Put default value
+
483  if (pde.defaultVal.length() > 0)
+
484  ss << "default=[" << pde.defaultVal << "] ";
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  return;
-
500 }
+
486  // Put required tag, but only if no default value
+
487  if ((pde.required) && (pde.defaultVal.length() == 0))
+
488  ss << "[[REQUIRED]] ";
+
489 
+
490  // Put brief description
+
491  if (pde.description.length() > 0)
+
492  ss << pde.description;
+
493 
+
494  // Omit linebreaks when we're on the last element
+
495  if (counter < paramInfos.size()-1)
+
496  ss << std::endl << std::endl;
+
497 
+
498  counter++;
+
499  }
+
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;
+
502  return ss.str();
+
503 }
+
504 
+
505 void Hazelnupp::ApplyConstraints()
+
506 {
+
507  // Enforce required parameters / default values
+
508  for (const auto& pc : parameterConstraints)
+
509  // Parameter in question is not supplied
+
510  if (!HasParam(pc.second.key))
+
511  {
+
512  // Do we have a default value?
+
513  if (pc.second.defaultValue.size() > 0)
+
514  {
+
515  // Then create it now, by its default value
+
516 
+
517  Value* tmp = ParseValue(pc.second.defaultValue, &pc.second);
+
518  parameters.insert(std::pair<std::string, Parameter*>(
+
519  pc.second.key,
+
520  new Parameter(pc.second.key, tmp)
+
521  ));
+
522 
+
523  delete tmp;
+
524  tmp = nullptr;
+
525  }
+
526  // So we do not have a default value...
+
527  else
+
528  {
+
529  // Is it important to have the missing parameter?
+
530  if (pc.second.required)
+
531  // Throw an error message then
+
532  throw HazelnuppConstraintMissingValue(
+
533  pc.second.key,
+
534  GetDescription(pc.second.key)
+
535  );
+
536  }
+
537  }
+
538 
+
539  return;
+
540 }
+
541 
+
542 ParamConstraint Hazelnupp::GetConstraint(const std::string& parameter) const
+
543 {
+
544  return parameterConstraints.find(parameter)->second;
+
545 }
+
546 
+
547 void Hazelnupp::ClearConstraint(const std::string& parameter)
+
548 {
+
549  parameterConstraints.erase(parameter);
+
550  return;
+
551 }
+
552 
+
553 const std::string& Hazelnupp::GetExecutableName() const
+
554 {
+
555  return executableName;
556 }
557 
-
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);
+
558 const Value& Hazelnupp::operator[](const std::string& key) const
+
559 {
+
560  // Throw exception if param is unknown
+
561  if (!HasParam(key))
+
562  throw HazelnuppInvalidKeyException();
+
563 
+
564  return *parameters.find(key)->second->GetValue();
+
565 }
+
566 
+
567 void Hazelnupp::RegisterAbbreviation(const std::string& abbrev, const std::string& target)
+
568 {
+
569  parameterAbreviations.insert(std::pair<std::string, std::string>(abbrev, target));
+
570  return;
+
571 }
+
572 
+
573 const std::string& Hazelnupp::GetAbbreviation(const std::string& abbrev) const
+
574 {
+
575  if (!HasAbbreviation(abbrev))
+
576  return Placeholders::g_emptyString;
+
577 
+
578  return parameterAbreviations.find(abbrev)->second;
+
579 }
580 
-
581  if (constraint == parameterConstraints.end())
-
582  return nullptr;
-
583 
-
584  return &constraint->second;
-
585 }
+
581 bool Hazelnupp::HasAbbreviation(const std::string& abbrev) const
+
582 {
+
583  return parameterAbreviations.find(abbrev) != parameterAbreviations.end();
+
584 }
+
585 
+
586 void Hazelnupp::ClearAbbreviation(const std::string& abbrevation)
+
587 {
+
588  parameterAbreviations.erase(abbrevation);
+
589  return;
+
590 }
+
591 
+
592 void Hazelnupp::ClearAbbreviations()
+
593 {
+
594  parameterAbreviations.clear();
+
595  return;
+
596 }
+
597 
+
598 void Hazelnupp::RegisterConstraint(const std::string& key, const ParamConstraint& constraint)
+
599 {
+
600  // Magic syntax, wooo
+
601  (parameterConstraints[key] = constraint).key = key;
+
602  return;
+
603 }
+
604 
+
605 void Hazelnupp::ClearConstraints()
+
606 {
+
607  parameterConstraints.clear();
+
608  return;
+
609 }
+
610 
+
611 void Hazelnupp::SetCrashOnFail(bool crashOnFail)
+
612 {
+
613  this->crashOnFail = crashOnFail;
+
614  return;
+
615 }
+
616 
+
617 const ParamConstraint* Hazelnupp::GetConstraintForKey(const std::string& key) const
+
618 {
+
619  const auto constraint = parameterConstraints.find(key);
+
620 
+
621  if (constraint == parameterConstraints.end())
+
622  return nullptr;
+
623 
+
624  return &constraint->second;
+
625 }
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: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: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::GetBriefDescription
const std::string & GetBriefDescription()
Returns the brief description of the application to be automatically added to the documentation.
Definition: Hazelnupp.cpp:351
+
Hazelnp::Hazelnupp::ClearConstraints
void ClearConstraints()
Will delete all constraints.
Definition: Hazelnupp.cpp:605
+
Hazelnp::HazelnuppInvalidKeyException
Gets thrown when an non-existent key gets dereferenced.
Definition: HazelnuppException.h:29
+
Hazelnp::Hazelnupp::GetExecutableName
const std::string & GetExecutableName() const
Will return argv[0], the name of the executable.
Definition: Hazelnupp.cpp:553
+
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:391
+
Hazelnp::Hazelnupp::GetConstraint
ParamConstraint GetConstraint(const std::string &parameter) const
Will return the constraint information for a specific parameter.
Definition: Hazelnupp.cpp:542
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::operator[]
const Value & operator[](const std::string &key) const
Will return the value given a key.
Definition: Hazelnupp.cpp:558
StringValue.h
-
Hazelnp::HazelnuppException::What
const std::string & What() const
Will return an error message.
Definition: HazelnuppException.h:15
+
Hazelnp::HazelnuppException::What
const std::string & What() const
Will return an error message.
Definition: HazelnuppException.h:18
IntValue.h
Hazelnp::Hazelnupp::Hazelnupp
Hazelnupp()
Definition: Hazelnupp.cpp:15
Placeholders.h
-
Hazelnp::Hazelnupp::ClearAbbreviations
void ClearAbbreviations()
Will delete all abbreviations.
Definition: Hazelnupp.cpp:552
+
Hazelnp::Hazelnupp::ClearAbbreviations
void ClearAbbreviations()
Will delete all abbreviations.
Definition: Hazelnupp.cpp:592
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:313
+
Hazelnp::ParamConstraint::requiredType
DATA_TYPE requiredType
Constrain the parameter to this value. Requires constrainType to be set to true.
Definition: ParamConstraint.h:51
+
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:345
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: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::Hazelnupp::GetCrashOnFail
bool GetCrashOnFail() const
Gets whether the application crashes on an exception whilst parsing, and prints to stderr.
Definition: Hazelnupp.cpp:329
+
Hazelnp::Hazelnupp::HasDescription
bool HasDescription(const std::string &parameter) const
Returns whether or not a given parameter has a registered description.
Definition: Hazelnupp.cpp:373
+
Hazelnp::Hazelnupp::SetCatchHelp
void SetCatchHelp(bool catchHelp)
Sets whether the Hazelnupp should automatically catch the –help parameter, print the parameter docume...
Definition: Hazelnupp.cpp:334
+
Hazelnp::Hazelnupp::GetCatchHelp
bool GetCatchHelp() const
Retruns whether the Hazelnupp should automatically catch the –help parameter, print the parameter doc...
Definition: Hazelnupp.cpp:340
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:51
Hazelnp::ParamConstraint
Definition: ParamConstraint.h:8
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: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::Hazelnupp::ClearDescription
void ClearDescription(const std::string &parameter)
Will delete the description of a parameter if it exists.
Definition: Hazelnupp.cpp:378
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: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
+
Hazelnp::HazelnuppConstraintMissingValue
Gets thrown when a parameter constrained to be required is not provided, and has no default value set...
Definition: HazelnuppException.h:80
+
Hazelnp::Hazelnupp::RegisterAbbreviation
void RegisterAbbreviation(const std::string &abbrev, const std::string &target)
Will register an abbreviation (like -f for –force)
Definition: Hazelnupp.cpp:567
+
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:56
VoidValue.h
-
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
+
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:573
+
Hazelnp::Hazelnupp::ClearDescriptions
void ClearDescriptions()
Will delete all parameter descriptions.
Definition: Hazelnupp.cpp:385
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::Hazelnupp::RegisterConstraint
void RegisterConstraint(const std::string &key, const ParamConstraint &constraint)
Will register a constraint for a parameter.
Definition: Hazelnupp.cpp:598
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::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:362
Hazelnp::DATA_TYPE::FLOAT
@ FLOAT
Hazelnp::DATA_TYPE::INT
@ INT
-
Hazelnp::Hazelnupp::ClearConstraint
void ClearConstraint(const std::string &parameter)
Will the constraint of a specific parameter.
Definition: Hazelnupp.cpp:507
+
Hazelnp::Hazelnupp::ClearConstraint
void ClearConstraint(const std::string &parameter)
Will the constraint of a specific parameter.
Definition: Hazelnupp.cpp:547
FloatValue.h
-
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
DATA_TYPE
The different data types a paramater can be.
Definition: DataType.h:8
+
Hazelnp::Hazelnupp::HasAbbreviation
bool HasAbbreviation(const std::string &abbrev) const
Will check wether or not an abbreviation is registered.
Definition: Hazelnupp.cpp:581
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: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::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:611
+
Hazelnp::Hazelnupp::RegisterDescription
void RegisterDescription(const std::string &parameter, const std::string &description)
Willl register a short description for a parameter.
Definition: Hazelnupp.cpp:356
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::Hazelnupp::ClearAbbreviation
void ClearAbbreviation(const std::string &abbrevation)
Will delete the abbreviation for a given parameter.
Definition: Hazelnupp.cpp:586
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 d693442..1009273 100644 --- a/docs/Hazelnupp_8h.html +++ b/docs/Hazelnupp_8h.html @@ -106,9 +106,8 @@ This graph shows which files directly or indirectly include this file:
- + -
@@ -128,7 +127,7 @@ Namespaces diff --git a/docs/Hazelnupp_8h__dep__incl.map b/docs/Hazelnupp_8h__dep__incl.map index ffdcea6..d3276c4 100644 --- a/docs/Hazelnupp_8h__dep__incl.map +++ b/docs/Hazelnupp_8h__dep__incl.map @@ -1,5 +1,4 @@ - + - diff --git a/docs/Hazelnupp_8h__dep__incl.md5 b/docs/Hazelnupp_8h__dep__incl.md5 index a7ffd77..7c4195d 100644 --- a/docs/Hazelnupp_8h__dep__incl.md5 +++ b/docs/Hazelnupp_8h__dep__incl.md5 @@ -1 +1 @@ -5d6fe09e5292b77269845d454a648df4 \ No newline at end of file +9ea9d229b244e88be56b9485081ca20a \ No newline at end of file diff --git a/docs/Hazelnupp_8h__dep__incl.png b/docs/Hazelnupp_8h__dep__incl.png index f3ec43e..f371103 100644 Binary files a/docs/Hazelnupp_8h__dep__incl.png and b/docs/Hazelnupp_8h__dep__incl.png differ diff --git a/docs/Hazelnupp_8h_source.html b/docs/Hazelnupp_8h_source.html index 02404b0..79ffef0 100644 --- a/docs/Hazelnupp_8h_source.html +++ b/docs/Hazelnupp_8h_source.html @@ -226,42 +226,42 @@ $(function() {
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: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::GetBriefDescription
const std::string & GetBriefDescription()
Returns the brief description of the application to be automatically added to the documentation.
Definition: Hazelnupp.cpp:351
+
Hazelnp::Hazelnupp::ClearConstraints
void ClearConstraints()
Will delete all constraints.
Definition: Hazelnupp.cpp:605
+
Hazelnp::Hazelnupp::GetExecutableName
const std::string & GetExecutableName() const
Will return argv[0], the name of the executable.
Definition: Hazelnupp.cpp:553
+
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:391
+
Hazelnp::Hazelnupp::GetConstraint
ParamConstraint GetConstraint(const std::string &parameter) const
Will return the constraint information for a specific parameter.
Definition: Hazelnupp.cpp:542
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::operator[]
const Value & operator[](const std::string &key) const
Will return the value given a key.
Definition: Hazelnupp.cpp:558
Hazelnp::Hazelnupp
The main class to interface with.
Definition: Hazelnupp.h:11
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::Hazelnupp::ClearAbbreviations
void ClearAbbreviations()
Will delete all abbreviations.
Definition: Hazelnupp.cpp:592
+
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:345
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: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::Hazelnupp::GetCrashOnFail
bool GetCrashOnFail() const
Gets whether the application crashes on an exception whilst parsing, and prints to stderr.
Definition: Hazelnupp.cpp:329
+
Hazelnp::Hazelnupp::HasDescription
bool HasDescription(const std::string &parameter) const
Returns whether or not a given parameter has a registered description.
Definition: Hazelnupp.cpp:373
+
Hazelnp::Hazelnupp::SetCatchHelp
void SetCatchHelp(bool catchHelp)
Sets whether the Hazelnupp should automatically catch the –help parameter, print the parameter docume...
Definition: Hazelnupp.cpp:334
+
Hazelnp::Hazelnupp::GetCatchHelp
bool GetCatchHelp() const
Retruns whether the Hazelnupp should automatically catch the –help parameter, print the parameter doc...
Definition: Hazelnupp.cpp:340
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: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
+
Hazelnp::Hazelnupp::ClearDescription
void ClearDescription(const std::string &parameter)
Will delete the description of a parameter if it exists.
Definition: Hazelnupp.cpp:378
+
Hazelnp::Hazelnupp::RegisterAbbreviation
void RegisterAbbreviation(const std::string &abbrev, const std::string &target)
Will register an abbreviation (like -f for –force)
Definition: Hazelnupp.cpp:567
+
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:573
+
Hazelnp::Hazelnupp::ClearDescriptions
void ClearDescriptions()
Will delete all parameter descriptions.
Definition: Hazelnupp.cpp:385
Parameter.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::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
+
Hazelnp::Hazelnupp::RegisterConstraint
void RegisterConstraint(const std::string &key, const ParamConstraint &constraint)
Will register a constraint for a parameter.
Definition: Hazelnupp.cpp:598
+
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:362
+
Hazelnp::Hazelnupp::ClearConstraint
void ClearConstraint(const std::string &parameter)
Will the constraint of a specific parameter.
Definition: Hazelnupp.cpp:547
+
Hazelnp::Hazelnupp::HasAbbreviation
bool HasAbbreviation(const std::string &abbrev) const
Will check wether or not an abbreviation is registered.
Definition: Hazelnupp.cpp:581
+
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:611
+
Hazelnp::Hazelnupp::RegisterDescription
void RegisterDescription(const std::string &parameter, const std::string &description)
Willl register a short description for a parameter.
Definition: Hazelnupp.cpp:356
+
Hazelnp::Hazelnupp::ClearAbbreviation
void ClearAbbreviation(const std::string &abbrevation)
Will delete the abbreviation for a given parameter.
Definition: Hazelnupp.cpp:586
diff --git a/docs/IntValue_8cpp.html b/docs/IntValue_8cpp.html index 314f35c..159c83c 100644 --- a/docs/IntValue_8cpp.html +++ b/docs/IntValue_8cpp.html @@ -86,16 +86,16 @@ Include dependency graph for IntValue.cpp:
- - - - - - - - - - + + + + + + + + + +
@@ -103,7 +103,7 @@ Include dependency graph for IntValue.cpp: diff --git a/docs/IntValue_8cpp__incl.map b/docs/IntValue_8cpp__incl.map index 361a645..c0e2a4e 100644 --- a/docs/IntValue_8cpp__incl.map +++ b/docs/IntValue_8cpp__incl.map @@ -1,12 +1,12 @@ - - - - - - - - - - + + + + + + + + + + diff --git a/docs/IntValue_8cpp__incl.md5 b/docs/IntValue_8cpp__incl.md5 index 4549b7e..22b5944 100644 --- a/docs/IntValue_8cpp__incl.md5 +++ b/docs/IntValue_8cpp__incl.md5 @@ -1 +1 @@ -46b201dfccb538f85488eed18fcb495b \ No newline at end of file +a735acab82e17102515add4f64c52e50 \ No newline at end of file diff --git a/docs/IntValue_8cpp__incl.png b/docs/IntValue_8cpp__incl.png index 5ee0247..0f1f9f3 100644 Binary files a/docs/IntValue_8cpp__incl.png and b/docs/IntValue_8cpp__incl.png differ diff --git a/docs/IntValue_8cpp_source.html b/docs/IntValue_8cpp_source.html index b3e9743..7d00333 100644 --- a/docs/IntValue_8cpp_source.html +++ b/docs/IntValue_8cpp_source.html @@ -170,10 +170,10 @@ $(function() {
Hazelnp::IntValue::Deepcopy
Value * Deepcopy() const override
Will return a deeopopy of this object.
Definition: IntValue.cpp:15
Hazelnp::DATA_TYPE::INT
@ INT
Hazelnp::DATA_TYPE
DATA_TYPE
The different data types a paramater can be.
Definition: DataType.h:8
-
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
+
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:38
diff --git a/docs/IntValue_8h.html b/docs/IntValue_8h.html index d90c08f..9f4d645 100644 --- a/docs/IntValue_8h.html +++ b/docs/IntValue_8h.html @@ -100,10 +100,9 @@ This graph shows which files directly or indirectly include this file:
- + -
@@ -123,7 +122,7 @@ Namespaces diff --git a/docs/IntValue_8h__dep__incl.map b/docs/IntValue_8h__dep__incl.map index 017ecc5..6a5154d 100644 --- a/docs/IntValue_8h__dep__incl.map +++ b/docs/IntValue_8h__dep__incl.map @@ -1,6 +1,5 @@ - + - diff --git a/docs/IntValue_8h__dep__incl.md5 b/docs/IntValue_8h__dep__incl.md5 index d25bda3..9d4d64a 100644 --- a/docs/IntValue_8h__dep__incl.md5 +++ b/docs/IntValue_8h__dep__incl.md5 @@ -1 +1 @@ -5a4141368586afbf5f14dba7b0235510 \ No newline at end of file +767ed23ff3d1ead5789ef936df4875ca \ No newline at end of file diff --git a/docs/IntValue_8h__dep__incl.png b/docs/IntValue_8h__dep__incl.png index bae9cf2..a907f03 100644 Binary files a/docs/IntValue_8h__dep__incl.png and b/docs/IntValue_8h__dep__incl.png differ diff --git a/docs/IntValue_8h_source.html b/docs/IntValue_8h_source.html index e4cbb70..6fcab14 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 58abd54..be7f43b 100644 --- a/docs/ListValue_8cpp.html +++ b/docs/ListValue_8cpp.html @@ -86,16 +86,16 @@ Include dependency graph for ListValue.cpp:
- - - - - - - - - - + + + + + + + + + +
@@ -103,7 +103,7 @@ Include dependency graph for ListValue.cpp: diff --git a/docs/ListValue_8cpp__incl.map b/docs/ListValue_8cpp__incl.map index b4fb33b..b61c796 100644 --- a/docs/ListValue_8cpp__incl.map +++ b/docs/ListValue_8cpp__incl.map @@ -1,12 +1,12 @@ - - - - - - - - - - + + + + + + + + + + diff --git a/docs/ListValue_8cpp__incl.md5 b/docs/ListValue_8cpp__incl.md5 index 06a7458..fdbd642 100644 --- a/docs/ListValue_8cpp__incl.md5 +++ b/docs/ListValue_8cpp__incl.md5 @@ -1 +1 @@ -a0b55bdc8f1790e8ef890579e14f3ea9 \ No newline at end of file +0799ff068d78d8da242bc5bfd0ee52d6 \ No newline at end of file diff --git a/docs/ListValue_8cpp__incl.png b/docs/ListValue_8cpp__incl.png index 90240b4..7e1de27 100644 Binary files a/docs/ListValue_8cpp__incl.png and b/docs/ListValue_8cpp__incl.png differ diff --git a/docs/ListValue_8cpp_source.html b/docs/ListValue_8cpp_source.html index d8a51fc..0bec9b0 100644 --- a/docs/ListValue_8cpp_source.html +++ b/docs/ListValue_8cpp_source.html @@ -196,10 +196,10 @@ $(function() {
Hazelnp::Value::Deepcopy
virtual Value * Deepcopy() const =0
Will return a deeopopy of this object.
Hazelnp::ListValue::GetFloat64
long double GetFloat64() const override
Throws HazelnuppValueNotConvertibleException.
Definition: ListValue.cpp:79
Hazelnp::ListValue
Specializations for list values (uses std::vector<Value*>)
Definition: ListValue.h:9
-
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
+
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:38
diff --git a/docs/ListValue_8h.html b/docs/ListValue_8h.html index 4f1f563..552f281 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 27b8daa..ee1d8c1 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 33068c5..e3343a0 100644 --- a/docs/ParamConstraint_8h.html +++ b/docs/ParamConstraint_8h.html @@ -100,10 +100,9 @@ This graph shows which files directly or indirectly include this file:
- - - - + + +
@@ -122,7 +121,7 @@ Namespaces diff --git a/docs/ParamConstraint_8h__dep__incl.map b/docs/ParamConstraint_8h__dep__incl.map index 8501976..7e6be59 100644 --- a/docs/ParamConstraint_8h__dep__incl.map +++ b/docs/ParamConstraint_8h__dep__incl.map @@ -1,6 +1,5 @@ - - - - + + + diff --git a/docs/ParamConstraint_8h__dep__incl.md5 b/docs/ParamConstraint_8h__dep__incl.md5 index 3833a5c..69b13b3 100644 --- a/docs/ParamConstraint_8h__dep__incl.md5 +++ b/docs/ParamConstraint_8h__dep__incl.md5 @@ -1 +1 @@ -8f1eb59f86ed8a0013eb1f57ade7c0a6 \ No newline at end of file +2595090d381da33109fb209c9d0c2dd7 \ No newline at end of file diff --git a/docs/ParamConstraint_8h__dep__incl.png b/docs/ParamConstraint_8h__dep__incl.png index 164ba47..7c8b90d 100644 Binary files a/docs/ParamConstraint_8h__dep__incl.png and b/docs/ParamConstraint_8h__dep__incl.png differ diff --git a/docs/ParamConstraint_8h_source.html b/docs/ParamConstraint_8h_source.html index 346f8e0..ca4fd69 100644 --- a/docs/ParamConstraint_8h_source.html +++ b/docs/ParamConstraint_8h_source.html @@ -103,20 +103,20 @@ $(function() {
23  }
24 
25  //! Constructs a type-safety constraint
-
26  static ParamConstraint TypeSafety(DATA_TYPE wantedType, bool constrainType = true)
+
26  static ParamConstraint TypeSafety(DATA_TYPE requiredType, bool constrainType = true)
27  {
28  ParamConstraint pc;
29  pc.constrainType = constrainType;
-
30  pc.wantedType = wantedType;
+
30  pc.requiredType = requiredType;
31 
32  return pc;
33  }
34 
35  //! Whole constructor
-
36  ParamConstraint(bool constrainType, DATA_TYPE wantedType, const std::vector<std::string>& defaultValue, bool required)
+
36  ParamConstraint(bool constrainType, DATA_TYPE requiredType, const std::vector<std::string>& defaultValue, bool required)
37  :
38  constrainType{ constrainType },
-
39  wantedType{ wantedType },
+
39  requiredType{ requiredType },
40  defaultValue{ defaultValue },
41  required{ required }
42  {
@@ -128,7 +128,7 @@ $(function() {
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;
+
51  DATA_TYPE requiredType = DATA_TYPE::VOID;
52 
53  //! The default value for this parameter.
54  //! Gets applied if this parameter was not given.
@@ -150,21 +150,21 @@ $(function() {
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:51
+
Hazelnp::ParamConstraint::requiredType
DATA_TYPE requiredType
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:48
Hazelnp::ParamConstraint::ParamConstraint
ParamConstraint()=default
Empty constructor.
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::TypeSafety
static ParamConstraint TypeSafety(DATA_TYPE requiredType, bool constrainType=true)
Constructs a type-safety constraint.
Definition: ParamConstraint.h:26
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: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
+
Hazelnp::ParamConstraint::ParamConstraint
ParamConstraint(bool constrainType, DATA_TYPE requiredType, const std::vector< std::string > &defaultValue, bool required)
Whole constructor.
Definition: ParamConstraint.h:36
diff --git a/docs/Parameter_8cpp.html b/docs/Parameter_8cpp.html index f04b173..cf0d732 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 dac49ab..d3369f4 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 42aa3e9..3c50e02 100644 --- a/docs/Parameter_8h.html +++ b/docs/Parameter_8h.html @@ -102,11 +102,10 @@ This graph shows which files directly or indirectly include this file:
- - - + + + -
@@ -125,7 +124,7 @@ Namespaces diff --git a/docs/Parameter_8h__dep__incl.map b/docs/Parameter_8h__dep__incl.map index 9780187..9e06a1d 100644 --- a/docs/Parameter_8h__dep__incl.map +++ b/docs/Parameter_8h__dep__incl.map @@ -1,7 +1,6 @@ - - - + + + - diff --git a/docs/Parameter_8h__dep__incl.md5 b/docs/Parameter_8h__dep__incl.md5 index a83b01b..92b92be 100644 --- a/docs/Parameter_8h__dep__incl.md5 +++ b/docs/Parameter_8h__dep__incl.md5 @@ -1 +1 @@ -0792589fb3c9949d71f6142d7142a87c \ No newline at end of file +f7abe1e068b5734e7b479b9e1b32e10c \ No newline at end of file diff --git a/docs/Parameter_8h__dep__incl.png b/docs/Parameter_8h__dep__incl.png index 67dc051..b0c0607 100644 Binary files a/docs/Parameter_8h__dep__incl.png and b/docs/Parameter_8h__dep__incl.png differ diff --git a/docs/Parameter_8h_source.html b/docs/Parameter_8h_source.html index cf178ab..a3eda65 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 index 3b85e48..0fad879 100644 --- a/docs/Placeholders_8h.html +++ b/docs/Placeholders_8h.html @@ -119,7 +119,7 @@ Variables diff --git a/docs/Placeholders_8h_source.html b/docs/Placeholders_8h_source.html index 6a4c1b2..142b0d6 100644 --- a/docs/Placeholders_8h_source.html +++ b/docs/Placeholders_8h_source.html @@ -94,7 +94,7 @@ $(function() {
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 605b83b..50ee25b 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 487b632..a833abf 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 382851d..7feb986 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 ea1d3d5..18c50eb 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 35eefb9..130dfd0 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 22b218f..e957e36 100644 --- a/docs/StringValue_8cpp.html +++ b/docs/StringValue_8cpp.html @@ -86,16 +86,16 @@ Include dependency graph for StringValue.cpp:
- - - - - - - - - - + + + + + + + + + +
@@ -103,7 +103,7 @@ Include dependency graph for StringValue.cpp: diff --git a/docs/StringValue_8cpp__incl.map b/docs/StringValue_8cpp__incl.map index 824f3db..7a62a3c 100644 --- a/docs/StringValue_8cpp__incl.map +++ b/docs/StringValue_8cpp__incl.map @@ -1,12 +1,12 @@ - - - - - - - - - - + + + + + + + + + + diff --git a/docs/StringValue_8cpp__incl.md5 b/docs/StringValue_8cpp__incl.md5 index 0c3e1fc..e67ac23 100644 --- a/docs/StringValue_8cpp__incl.md5 +++ b/docs/StringValue_8cpp__incl.md5 @@ -1 +1 @@ -e3cce6d82cdc470c304a4c2f3aad7a1b \ No newline at end of file +edbcbad437362bfcea36ede007a980df \ No newline at end of file diff --git a/docs/StringValue_8cpp__incl.png b/docs/StringValue_8cpp__incl.png index 5e8fa6e..2299566 100644 Binary files a/docs/StringValue_8cpp__incl.png and b/docs/StringValue_8cpp__incl.png differ diff --git a/docs/StringValue_8cpp_source.html b/docs/StringValue_8cpp_source.html index 1ad6a28..db2cfda 100644 --- a/docs/StringValue_8cpp_source.html +++ b/docs/StringValue_8cpp_source.html @@ -162,10 +162,10 @@ $(function() {
Hazelnp::StringValue::GetFloat64
long double GetFloat64() const override
Throws HazelnuppValueNotConvertibleException.
Definition: StringValue.cpp:49
Hazelnp::StringValue::GetList
const std::vector< Value * > & GetList() const override
Throws HazelnuppValueNotConvertibleException.
Definition: StringValue.cpp:64
Hazelnp::StringValue::GetValue
const std::string & GetValue() const
Will return the raw value.
Definition: StringValue.cpp:27
-
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
+
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:38
diff --git a/docs/StringValue_8h.html b/docs/StringValue_8h.html index fc39fae..bedb037 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 4c06814..feb6dfa 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 5d2747e..d82aafd 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 26a1802..547dfe5 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 7971b8a..b826788 100644 --- a/docs/Value_8h.html +++ b/docs/Value_8h.html @@ -101,23 +101,22 @@ This graph shows which files directly or indirectly include this file:
- - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + +
@@ -137,7 +136,7 @@ Namespaces diff --git a/docs/Value_8h__dep__incl.map b/docs/Value_8h__dep__incl.map index 4a9cf6b..1652418 100644 --- a/docs/Value_8h__dep__incl.map +++ b/docs/Value_8h__dep__incl.map @@ -1,19 +1,18 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + diff --git a/docs/Value_8h__dep__incl.md5 b/docs/Value_8h__dep__incl.md5 index 2639777..1595bfa 100644 --- a/docs/Value_8h__dep__incl.md5 +++ b/docs/Value_8h__dep__incl.md5 @@ -1 +1 @@ -a89dc6216fd07fdfdd4f79f41556b577 \ No newline at end of file +a9d46db7b6073c73abbdf2b13e5c3217 \ No newline at end of file diff --git a/docs/Value_8h__dep__incl.png b/docs/Value_8h__dep__incl.png index 66e21f7..da98859 100644 Binary files a/docs/Value_8h__dep__incl.png and b/docs/Value_8h__dep__incl.png differ diff --git a/docs/Value_8h_source.html b/docs/Value_8h_source.html index aec4333..2075829 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 64e73e1..b548fb9 100644 --- a/docs/VoidValue_8cpp.html +++ b/docs/VoidValue_8cpp.html @@ -85,15 +85,16 @@ Include dependency graph for VoidValue.cpp:
- - - - - - - - - + + + + + + + + + +
@@ -101,7 +102,7 @@ Include dependency graph for VoidValue.cpp: diff --git a/docs/VoidValue_8cpp__incl.map b/docs/VoidValue_8cpp__incl.map index 19cc824..bf2e24d 100644 --- a/docs/VoidValue_8cpp__incl.map +++ b/docs/VoidValue_8cpp__incl.map @@ -1,11 +1,12 @@ - - - - - - - - - + + + + + + + + + + diff --git a/docs/VoidValue_8cpp__incl.md5 b/docs/VoidValue_8cpp__incl.md5 index 2591bc5..1f8476e 100644 --- a/docs/VoidValue_8cpp__incl.md5 +++ b/docs/VoidValue_8cpp__incl.md5 @@ -1 +1 @@ -2fec468eae574bfc8c7374516d9bed26 \ No newline at end of file +8d346c10bcdef3b6c864189574d98cf6 \ No newline at end of file diff --git a/docs/VoidValue_8cpp__incl.png b/docs/VoidValue_8cpp__incl.png index 6869425..3a77333 100644 Binary files a/docs/VoidValue_8cpp__incl.png and b/docs/VoidValue_8cpp__incl.png differ diff --git a/docs/VoidValue_8cpp_source.html b/docs/VoidValue_8cpp_source.html index 3baafc5..36d3c67 100644 --- a/docs/VoidValue_8cpp_source.html +++ b/docs/VoidValue_8cpp_source.html @@ -148,10 +148,10 @@ $(function() {
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
+
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:38
diff --git a/docs/VoidValue_8h.html b/docs/VoidValue_8h.html index e897569..473ca86 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 0524c9f..9679c0b 100644 --- a/docs/VoidValue_8h_source.html +++ b/docs/VoidValue_8h_source.html @@ -131,7 +131,7 @@ $(function() {
Value.h
diff --git a/docs/annotated.html b/docs/annotated.html index c95c390..aebbdc3 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 1381af9..9e19cbf 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 96e1535..4a81911 100644 --- a/docs/classHazelnp_1_1FloatValue.html +++ b/docs/classHazelnp_1_1FloatValue.html @@ -571,10 +571,10 @@ Additional Inherited Members
Hazelnp::Value::Value
Value(DATA_TYPE type)
Definition: Value.cpp:5
Hazelnp::DATA_TYPE::FLOAT
@ FLOAT
Hazelnp::FloatValue::FloatValue
FloatValue(const long double &value)
Definition: FloatValue.cpp:7
-
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
+
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:38
diff --git a/docs/classHazelnp_1_1Hazelnupp-members.html b/docs/classHazelnp_1_1Hazelnupp-members.html index 53ffd6b..1745ba8 100644 --- a/docs/classHazelnp_1_1Hazelnupp-members.html +++ b/docs/classHazelnp_1_1Hazelnupp-members.html @@ -112,7 +112,7 @@ $(function() { diff --git a/docs/classHazelnp_1_1Hazelnupp.html b/docs/classHazelnp_1_1Hazelnupp.html index fffe5ba..52ee004 100644 --- a/docs/classHazelnp_1_1Hazelnupp.html +++ b/docs/classHazelnp_1_1Hazelnupp.html @@ -281,11 +281,11 @@ Public Member Functions


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 }
+

Definition at line 586 of file Hazelnupp.cpp.

+
587 {
+
588  parameterAbreviations.erase(abbrevation);
+
589  return;
+
590 }
@@ -306,11 +306,11 @@ Public Member Functions

Will delete all abbreviations.

-

Definition at line 552 of file Hazelnupp.cpp.

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

Definition at line 592 of file Hazelnupp.cpp.

+
593 {
+
594  parameterAbreviations.clear();
+
595  return;
+
596 }
@@ -332,11 +332,11 @@ Public Member Functions

Will the constraint of a specific parameter.

-

Definition at line 507 of file Hazelnupp.cpp.

-
508 {
-
509  parameterConstraints.erase(parameter);
-
510  return;
-
511 }
+

Definition at line 547 of file Hazelnupp.cpp.

+
548 {
+
549  parameterConstraints.erase(parameter);
+
550  return;
+
551 }
@@ -357,11 +357,11 @@ Public Member Functions

Will delete all constraints.

-

Definition at line 565 of file Hazelnupp.cpp.

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

Definition at line 605 of file Hazelnupp.cpp.

+
606 {
+
607  parameterConstraints.clear();
+
608  return;
+
609 }
@@ -383,12 +383,12 @@ Public Member Functions

Will delete the description of a parameter if it exists.

-

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 }
+

Definition at line 378 of file Hazelnupp.cpp.

+
379 {
+
380  // This will just do nothing if the entry does not exist
+
381  parameterDescriptions.erase(parameter);
+
382  return;
+
383 }
@@ -409,11 +409,11 @@ Public Member Functions

Will delete all parameter descriptions.

-

Definition at line 353 of file Hazelnupp.cpp.

-
354 {
-
355  parameterDescriptions.clear();
-
356  return;
-
357 }
+

Definition at line 385 of file Hazelnupp.cpp.

+
386 {
+
387  parameterDescriptions.clear();
+
388  return;
+
389 }
@@ -434,114 +434,119 @@ Public Member Functions

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

-

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();
+

Definition at line 391 of file Hazelnupp.cpp.

+
392 {
+
393  std::stringstream ss;
+
394 
+
395  // Add brief, if available
+
396  if (briefDescription.length() > 0)
+
397  ss << briefDescription << std::endl;
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  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;
+
399  // Collect parameter information
+
400  struct ParamDocEntry
+
401  {
+
402  std::string abbreviation;
+
403  std::string description;
+
404  std::string type;
+
405  bool required = false;
+
406  bool typeIsForced = false;
+
407  std::string defaultVal;
+
408  };
+
409  std::unordered_map<std::string, ParamDocEntry> paramInfos;
+
410 
+
411  // Collect descriptions
+
412  for (const auto& it : parameterDescriptions)
+
413  {
+
414  // Do we already have that param in the paramInfo set?
+
415  if (paramInfos.find(it.first) == paramInfos.end())
+
416  // No? Create it.
+
417  paramInfos[it.first] = ParamDocEntry();
+
418 
+
419  paramInfos[it.first].description = it.second;
+
420  }
+
421 
+
422  // Collect abbreviations
+
423  // first value is abbreviation, second is long form
+
424  for (const auto& it : parameterAbreviations)
+
425  {
+
426  // Do we already have that param in the paramInfo set?
+
427  if (paramInfos.find(it.second) == paramInfos.end())
+
428  // No? Create it.
+
429  paramInfos[it.second] = ParamDocEntry();
+
430 
+
431  paramInfos[it.second].abbreviation = it.first;
+
432  }
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 }
+
434  // Collect constraints
+
435  for (const auto& it : parameterConstraints)
+
436  {
+
437  // Do we already have that param in the paramInfo set?
+
438  if (paramInfos.find(it.first) == paramInfos.end())
+
439  // No? Create it.
+
440  paramInfos[it.first] = ParamDocEntry();
+
441 
+
442  ParamDocEntry& cached = paramInfos[it.first];
+
443  cached.required = it.second.required;
+
444  cached.typeIsForced = it.second.constrainType;
+
445  cached.type = DataTypeToString(it.second.requiredType);
+
446 
+
447  std::stringstream defaultValueSs;
+
448  for (const std::string& s : it.second.defaultValue)
+
449  {
+
450  defaultValueSs << '\'' << s << '\'';
+
451 
+
452  // Add a space if we are not at the last entry
+
453  if ((void*)&s != (void*)&it.second.defaultValue.back())
+
454  defaultValueSs << " ";
+
455  }
+
456  cached.defaultVal = defaultValueSs.str();
+
457  }
+
458 
+
459  // Now generate the documentatino body
+
460  if (paramInfos.size() > 0)
+
461  {
+
462  ss << std::endl
+
463  << "==== AVAILABLE PARAMETERS ===="
+
464  << std::endl << std::endl;
+
465 
+
466  std::size_t counter = 0;
+
467  for (const auto& it : paramInfos)
+
468  {
+
469  const ParamDocEntry& pde = it.second;
+
470 
+
471  // Put name
+
472  ss << it.first << " ";
+
473 
+
474  // Put abbreviation
+
475  if (pde.abbreviation.length() > 0)
+
476  ss << pde.abbreviation << " ";
+
477 
+
478  // Put type
+
479  if (pde.typeIsForced)
+
480  ss << pde.type << " ";
+
481 
+
482  // Put default value
+
483  if (pde.defaultVal.length() > 0)
+
484  ss << "default=[" << pde.defaultVal << "] ";
+
485 
+
486  // Put required tag, but only if no default value
+
487  if ((pde.required) && (pde.defaultVal.length() == 0))
+
488  ss << "[[REQUIRED]] ";
+
489 
+
490  // Put brief description
+
491  if (pde.description.length() > 0)
+
492  ss << pde.description;
+
493 
+
494  // Omit linebreaks when we're on the last element
+
495  if (counter < paramInfos.size()-1)
+
496  ss << std::endl << std::endl;
+
497 
+
498  counter++;
+
499  }
+
500  }
+
501 
+
502  return ss.str();
+
503 }
@@ -564,13 +569,13 @@ Public Member Functions

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

-

Definition at line 533 of file Hazelnupp.cpp.

-
534 {
-
535  if (!HasAbbreviation(abbrev))
-
536  return Placeholders::g_emptyString;
-
537 
-
538  return parameterAbreviations.find(abbrev)->second;
-
539 }
+

Definition at line 573 of file Hazelnupp.cpp.

+
574 {
+
575  if (!HasAbbreviation(abbrev))
+ +
577 
+
578  return parameterAbreviations.find(abbrev)->second;
+
579 }
@@ -591,10 +596,10 @@ Public Member Functions

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

-

Definition at line 319 of file Hazelnupp.cpp.

-
320 {
-
321  return briefDescription;
-
322 }
+

Definition at line 351 of file Hazelnupp.cpp.

+
352 {
+
353  return briefDescription;
+
354 }
@@ -615,10 +620,10 @@ 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 308 of file Hazelnupp.cpp.

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

Definition at line 340 of file Hazelnupp.cpp.

+
341 {
+
342  return catchHelp;
+
343 }
@@ -640,10 +645,10 @@ Public Member Functions

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 }
+

Definition at line 542 of file Hazelnupp.cpp.

+
543 {
+
544  return parameterConstraints.find(parameter)->second;
+
545 }
@@ -664,10 +669,10 @@ Public Member Functions

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

-

Definition at line 297 of file Hazelnupp.cpp.

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

Definition at line 329 of file Hazelnupp.cpp.

+
330 {
+
331  return crashOnFail;
+
332 }
@@ -691,16 +696,16 @@ Public Member Functions


Empty string if it does not exist.

-

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 ""
-
335  return Placeholders::g_emptyString;
-
336 
-
337  // We do? Then return it
-
338  return parameterDescriptions.find(parameter)->second;
-
339 }
+

Definition at line 362 of file Hazelnupp.cpp.

+
363 {
+
364  // Do we already have a description for this parameter?
+
365  if (!HasDescription(parameter))
+
366  // No? Then return ""
+ +
368 
+
369  // We do? Then return it
+
370  return parameterDescriptions.find(parameter)->second;
+
371 }
@@ -721,10 +726,10 @@ Public Member Functions

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

-

Definition at line 513 of file Hazelnupp.cpp.

-
514 {
-
515  return executableName;
-
516 }
+

Definition at line 553 of file Hazelnupp.cpp.

+
554 {
+
555  return executableName;
+
556 }
@@ -746,10 +751,10 @@ Public Member Functions

Will check wether or not an abbreviation is registered.

-

Definition at line 541 of file Hazelnupp.cpp.

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

Definition at line 581 of file Hazelnupp.cpp.

+
582 {
+
583  return parameterAbreviations.find(abbrev) != parameterAbreviations.end();
+
584 }
@@ -771,10 +776,10 @@ Public Member Functions

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 }
+

Definition at line 373 of file Hazelnupp.cpp.

+
374 {
+
375  return parameterDescriptions.find(parameter) != parameterDescriptions.end();
+
376 }
@@ -821,14 +826,14 @@ Public Member Functions

Will return the value given a key.

-

Definition at line 518 of file Hazelnupp.cpp.

-
519 {
-
520  // Throw exception if param is unknown
-
521  if (!HasParam(key))
-
522  throw HazelnuppInvalidKeyException();
-
523 
-
524  return *parameters.find(key)->second->GetValue();
-
525 }
+

Definition at line 558 of file Hazelnupp.cpp.

+
559 {
+
560  // Throw exception if param is unknown
+
561  if (!HasParam(key))
+ +
563 
+
564  return *parameters.find(key)->second->GetValue();
+
565 }
@@ -892,27 +897,27 @@ Public Member Functions
65  if ((!catchHelp) || (!HasParam("--help")))
66  ApplyConstraints();
67  }
-
68  catch (const HazelnuppConstraintTypeMissmatch& hctm)
+
68  catch (const HazelnuppConstraintTypeMissmatch& exc)
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() << "\"!";
+
72  std::cout << GenerateDocumentation() << std::endl << std::endl;
+
73  std::cerr << "Parameter error: " << exc.What() << std::endl;
74  quick_exit(-1009);
75  }
76  else
-
77  throw hctm; // yeet
+
77  throw exc; // yeet
78  }
-
79  catch (const HazelnuppConstraintMissingValue& hctm)
+
79  catch (const HazelnuppConstraintMissingValue& exc)
80  {
81  if (crashOnFail)
82  {
-
83  std::cout << GenerateDocumentation() << std::endl;
-
84  std::cerr << "Fatal error: Missing required command-line parameter \"" << hctm.What() << "\"!";
+
83  std::cout << GenerateDocumentation() << std::endl << std::endl;
+
84  std::cerr << "Parameter error: " << exc.What() << std::endl;
85  quick_exit(-1010);
86  }
87  else
-
88  throw hctm; // yeet
+
88  throw exc; // yeet
89  }
90 
91  // Catch --help parameter
@@ -955,11 +960,11 @@ Public Member Functions

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

-

Definition at line 527 of file Hazelnupp.cpp.

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

Definition at line 567 of file Hazelnupp.cpp.

+
568 {
+
569  parameterAbreviations.insert(std::pair<std::string, std::string>(abbrev, target));
+
570  return;
+
571 }
@@ -992,12 +997,12 @@ Public Member Functions

Will register a constraint for a parameter.

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

-

Definition at line 558 of file Hazelnupp.cpp.

-
559 {
-
560  // Magic syntax, wooo
-
561  (parameterConstraints[key] = constraint).key = key;
-
562  return;
-
563 }
+

Definition at line 598 of file Hazelnupp.cpp.

+
599 {
+
600  // Magic syntax, wooo
+
601  (parameterConstraints[key] = constraint).key = key;
+
602  return;
+
603 }
@@ -1031,11 +1036,11 @@ Public Member Functions


Will overwrite existing descriptions for that parameter.

-

Definition at line 324 of file Hazelnupp.cpp.

-
325 {
-
326  parameterDescriptions[parameter] = description;
-
327  return;
-
328 }
+

Definition at line 356 of file Hazelnupp.cpp.

+
357 {
+
358  parameterDescriptions[parameter] = description;
+
359  return;
+
360 }
@@ -1057,11 +1062,11 @@ Public Member Functions

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

-

Definition at line 313 of file Hazelnupp.cpp.

-
314 {
-
315  briefDescription = description;
-
316  return;
-
317 }
+

Definition at line 345 of file Hazelnupp.cpp.

+
346 {
+
347  briefDescription = description;
+
348  return;
+
349 }
@@ -1083,11 +1088,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 302 of file Hazelnupp.cpp.

-
303 {
-
304  this->catchHelp = catchHelp;
-
305  return;
-
306 }
+

Definition at line 334 of file Hazelnupp.cpp.

+
335 {
+
336  this->catchHelp = catchHelp;
+
337  return;
+
338 }
@@ -1109,11 +1114,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 571 of file Hazelnupp.cpp.

-
572 {
-
573  this->crashOnFail = crashOnFail;
-
574  return;
-
575 }
+

Definition at line 611 of file Hazelnupp.cpp.

+
612 {
+
613  this->crashOnFail = crashOnFail;
+
614  return;
+
615 }
@@ -1122,22 +1127,22 @@ Public Member Functions
  • Hazelnupp/Hazelnupp.cpp
  • -
    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: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::HazelnuppInvalidKeyException
    Gets thrown when an non-existent key gets dereferenced.
    Definition: HazelnuppException.h:29
    +
    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:391
    +
    Hazelnp::HazelnuppException::What
    const std::string & What() const
    Will return an error message.
    Definition: HazelnuppException.h:18
    +
    Hazelnp::Hazelnupp::HasDescription
    bool HasDescription(const std::string &parameter) const
    Returns whether or not a given parameter has a registered description.
    Definition: Hazelnupp.cpp:373
    Hazelnp::Parameter
    Definition: Parameter.h:8
    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::HazelnuppConstraintMissingValue
    Gets thrown when a parameter constrained to be required is not provided, and has no default value set...
    Definition: HazelnuppException.h:80
    +
    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:56
    +
    Hazelnp::Hazelnupp::HasAbbreviation
    bool HasAbbreviation(const std::string &abbrev) const
    Will check wether or not an abbreviation is registered.
    Definition: Hazelnupp.cpp:581
    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 d1bf3fd..a8806f2 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 6af550f..ef59a7b 100644 --- a/docs/classHazelnp_1_1HazelnuppConstraintException.html +++ b/docs/classHazelnp_1_1HazelnuppConstraintException.html @@ -135,7 +135,7 @@ Additional Inherited Members

    Detailed Description

    Gets thrown something bad happens because of parameter constraints.

    -

    Definition at line 44 of file HazelnuppException.h.

    +

    Definition at line 47 of file HazelnuppException.h.

    Constructor & Destructor Documentation

    ◆ HazelnuppConstraintException() [1/2]

    @@ -160,8 +160,8 @@ Additional Inherited Members
    -

    Definition at line 47 of file HazelnuppException.h.

    -
    47 : HazelnuppException() {};
    +

    Definition at line 50 of file HazelnuppException.h.

    +
    50 : HazelnuppException() {};
    @@ -189,8 +189,8 @@ Additional Inherited Members
    -

    Definition at line 48 of file HazelnuppException.h.

    -
    48 : HazelnuppException(msg) {};
    +

    Definition at line 51 of file HazelnuppException.h.

    +
    51 : HazelnuppException(msg) {};
    @@ -198,10 +198,10 @@ Additional Inherited Members
  • Hazelnupp/HazelnuppException.h
  • -
    Hazelnp::HazelnuppException::HazelnuppException
    HazelnuppException()
    Definition: HazelnuppException.h:11
    +
    Hazelnp::HazelnuppException::HazelnuppException
    HazelnuppException()
    Definition: HazelnuppException.h:14
    diff --git a/docs/classHazelnp_1_1HazelnuppConstraintMissingValue-members.html b/docs/classHazelnp_1_1HazelnuppConstraintMissingValue-members.html index 7763ade..2390a7e 100644 --- a/docs/classHazelnp_1_1HazelnuppConstraintMissingValue-members.html +++ b/docs/classHazelnp_1_1HazelnuppConstraintMissingValue-members.html @@ -84,7 +84,7 @@ $(function() { HazelnuppConstraintException()Hazelnp::HazelnuppConstraintExceptioninline HazelnuppConstraintException(const std::string &msg)Hazelnp::HazelnuppConstraintExceptioninline HazelnuppConstraintMissingValue()Hazelnp::HazelnuppConstraintMissingValueinline - HazelnuppConstraintMissingValue(const std::string &msg)Hazelnp::HazelnuppConstraintMissingValueinline + HazelnuppConstraintMissingValue(const std::string &key, const std::string &paramDescription="")Hazelnp::HazelnuppConstraintMissingValueinline HazelnuppException()Hazelnp::HazelnuppExceptioninline HazelnuppException(const std::string &msg)Hazelnp::HazelnuppExceptioninline messageHazelnp::HazelnuppExceptionprotected @@ -92,7 +92,7 @@ $(function() { diff --git a/docs/classHazelnp_1_1HazelnuppConstraintMissingValue.html b/docs/classHazelnp_1_1HazelnuppConstraintMissingValue.html index c95d5a3..832d48e 100644 --- a/docs/classHazelnp_1_1HazelnuppConstraintMissingValue.html +++ b/docs/classHazelnp_1_1HazelnuppConstraintMissingValue.html @@ -115,8 +115,8 @@ Collaboration diagram for Hazelnp::HazelnuppConstraintMissingValue: Public Member Functions  HazelnuppConstraintMissingValue ()   - HazelnuppConstraintMissingValue (const std::string &msg) -  + HazelnuppConstraintMissingValue (const std::string &key, const std::string &paramDescription="") +  - Public Member Functions inherited from Hazelnp::HazelnuppConstraintException  HazelnuppConstraintException ()   @@ -140,7 +140,7 @@ Additional Inherited Members

    Detailed Description

    Gets thrown when a parameter constrained to be required is not provided, and has no default value set.

    -

    Definition at line 62 of file HazelnuppException.h.

    +

    Definition at line 80 of file HazelnuppException.h.

    Constructor & Destructor Documentation

    ◆ HazelnuppConstraintMissingValue() [1/2]

    @@ -165,13 +165,13 @@ Additional Inherited Members
    -

    Definition at line 65 of file HazelnuppException.h.

    -
    +

    Definition at line 83 of file HazelnuppException.h.

    +
    - -

    ◆ HazelnuppConstraintMissingValue() [2/2]

    + +

    ◆ HazelnuppConstraintMissingValue() [2/2]

    @@ -183,8 +183,18 @@ Additional Inherited Members Hazelnp::HazelnuppConstraintMissingValue::HazelnuppConstraintMissingValue ( const std::string &  - msg) + key, + + + + const std::string &  + paramDescription = ""  + + + + ) + @@ -194,8 +204,19 @@ Additional Inherited Members
    -

    Definition at line 66 of file HazelnuppException.h.

    -
    +

    Definition at line 84 of file HazelnuppException.h.

    +
    85  {
    +
    86  // Generate descriptive error message
    +
    87  std::stringstream ss;
    +
    88  ss << "Missing required parameter " << key << ".";
    +
    89 
    +
    90  // Add the parameter description, if provided
    +
    91  if (paramDescription.length() > 0)
    +
    92  ss << std::endl << key << " => " << paramDescription;
    +
    93 
    +
    94  message = ss.str();
    +
    95  return;
    +
    96  };
    @@ -203,10 +224,11 @@ Additional Inherited Members
  • Hazelnupp/HazelnuppException.h
  • -
    Hazelnp::HazelnuppConstraintException::HazelnuppConstraintException
    HazelnuppConstraintException()
    Definition: HazelnuppException.h:47
    +
    Hazelnp::HazelnuppConstraintException::HazelnuppConstraintException
    HazelnuppConstraintException()
    Definition: HazelnuppException.h:50
    +
    Hazelnp::HazelnuppException::message
    std::string message
    Definition: HazelnuppException.h:24
    diff --git a/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch-members.html b/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch-members.html index ddec7ba..c6eda24 100644 --- a/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch-members.html +++ b/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch-members.html @@ -85,14 +85,15 @@ $(function() { HazelnuppConstraintException(const std::string &msg)Hazelnp::HazelnuppConstraintExceptioninline HazelnuppConstraintTypeMissmatch()Hazelnp::HazelnuppConstraintTypeMissmatchinline HazelnuppConstraintTypeMissmatch(const std::string &msg)Hazelnp::HazelnuppConstraintTypeMissmatchinline - HazelnuppException()Hazelnp::HazelnuppExceptioninline - HazelnuppException(const std::string &msg)Hazelnp::HazelnuppExceptioninline - messageHazelnp::HazelnuppExceptionprotected - What() constHazelnp::HazelnuppExceptioninline + HazelnuppConstraintTypeMissmatch(const std::string &key, const DATA_TYPE requiredType, const DATA_TYPE actualType, const std::string &paramDescription="")Hazelnp::HazelnuppConstraintTypeMissmatchinline + HazelnuppException()Hazelnp::HazelnuppExceptioninline + HazelnuppException(const std::string &msg)Hazelnp::HazelnuppExceptioninline + messageHazelnp::HazelnuppExceptionprotected + What() constHazelnp::HazelnuppExceptioninline diff --git a/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch.html b/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch.html index a316914..0dcaec8 100644 --- a/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch.html +++ b/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch.html @@ -117,6 +117,8 @@ Public Member Functions    HazelnuppConstraintTypeMissmatch (const std::string &msg)   + HazelnuppConstraintTypeMissmatch (const std::string &key, const DATA_TYPE requiredType, const DATA_TYPE actualType, const std::string &paramDescription="") +  - Public Member Functions inherited from Hazelnp::HazelnuppConstraintException  HazelnuppConstraintException ()   @@ -140,10 +142,10 @@ Additional Inherited Members

    Detailed Description

    Gets thrown when a parameter is of a type that does not match the required type, and is not convertible to it.

    -

    Definition at line 53 of file HazelnuppException.h.

    +

    Definition at line 56 of file HazelnuppException.h.

    Constructor & Destructor Documentation

    -

    ◆ HazelnuppConstraintTypeMissmatch() [1/2]

    +

    ◆ HazelnuppConstraintTypeMissmatch() [1/3]

    @@ -165,13 +167,13 @@ Additional Inherited Members
    -

    Definition at line 56 of file HazelnuppException.h.

    -
    +

    Definition at line 59 of file HazelnuppException.h.

    +
    -

    ◆ HazelnuppConstraintTypeMissmatch() [2/2]

    +

    ◆ HazelnuppConstraintTypeMissmatch() [2/3]

    @@ -194,8 +196,71 @@ Additional Inherited Members
    -

    Definition at line 57 of file HazelnuppException.h.

    -
    +

    Definition at line 60 of file HazelnuppException.h.

    + +
    +
    + +

    ◆ HazelnuppConstraintTypeMissmatch() [3/3]

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Hazelnp::HazelnuppConstraintTypeMissmatch::HazelnuppConstraintTypeMissmatch (const std::string & key,
    const DATA_TYPE requiredType,
    const DATA_TYPE actualType,
    const std::string & paramDescription = "" 
    )
    +
    +inline
    +
    + +

    Definition at line 62 of file HazelnuppException.h.

    +
    63  {
    +
    64  // Generate descriptive error message
    +
    65  std::stringstream ss;
    +
    66  ss << "Cannot convert parameter " << key << " to type " << DataTypeToString(requiredType)
    +
    67  << ". You supplied type: " << DataTypeToString(actualType) << ".";
    +
    68 
    +
    69  // Add the parameter description, if provided
    +
    70  if (paramDescription.length() > 0)
    +
    71  ss << std::endl << key << " => " << paramDescription;
    +
    72 
    +
    73  message = ss.str();
    +
    74  return;
    +
    75  };
    @@ -203,10 +268,12 @@ Additional Inherited Members
  • Hazelnupp/HazelnuppException.h
  • -
    HazelnuppConstraintException()
    +
    HazelnuppConstraintException()
    +
    std::string message
    +
    static std::string DataTypeToString(DATA_TYPE type)
    Definition: DataType.h:17
    diff --git a/docs/classHazelnp_1_1HazelnuppException-members.html b/docs/classHazelnp_1_1HazelnuppException-members.html index 271037a..a231240 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 7c2a367..210a920 100644 --- a/docs/classHazelnp_1_1HazelnuppException.html +++ b/docs/classHazelnp_1_1HazelnuppException.html @@ -131,7 +131,7 @@ Protected Attributes

    Detailed Description

    Generic hazelnupp exception.

    -

    Definition at line 8 of file HazelnuppException.h.

    +

    Definition at line 11 of file HazelnuppException.h.

    Constructor & Destructor Documentation

    ◆ HazelnuppException() [1/2]

    @@ -156,8 +156,8 @@ Protected Attributes
    -

    Definition at line 11 of file HazelnuppException.h.

    -
    11 {};
    +

    Definition at line 14 of file HazelnuppException.h.

    +
    14 {};
    @@ -185,8 +185,8 @@ Protected Attributes
    -

    Definition at line 12 of file HazelnuppException.h.

    -
    12 : message{ msg } {};
    +

    Definition at line 15 of file HazelnuppException.h.

    +
    15 : message{ msg } {};
    @@ -216,10 +216,10 @@ Protected Attributes

    Will return an error message.

    -

    Definition at line 15 of file HazelnuppException.h.

    -
    16  {
    -
    17  return message;
    -
    18  }
    +

    Definition at line 18 of file HazelnuppException.h.

    +
    19  {
    +
    20  return message;
    +
    21  }
    @@ -244,7 +244,7 @@ Protected Attributes
    -

    Definition at line 21 of file HazelnuppException.h.

    +

    Definition at line 24 of file HazelnuppException.h.

    @@ -252,10 +252,10 @@ Protected Attributes
  • Hazelnupp/HazelnuppException.h
  • -
    Hazelnp::HazelnuppException::message
    std::string message
    Definition: HazelnuppException.h:21
    +
    Hazelnp::HazelnuppException::message
    std::string message
    Definition: HazelnuppException.h:24
    diff --git a/docs/classHazelnp_1_1HazelnuppInvalidKeyException-members.html b/docs/classHazelnp_1_1HazelnuppInvalidKeyException-members.html index 7437f3a..2fda151 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 89d8798..7a84630 100644 --- a/docs/classHazelnp_1_1HazelnuppInvalidKeyException.html +++ b/docs/classHazelnp_1_1HazelnuppInvalidKeyException.html @@ -133,7 +133,7 @@ Additional Inherited Members

    Detailed Description

    Gets thrown when an non-existent key gets dereferenced.

    -

    Definition at line 26 of file HazelnuppException.h.

    +

    Definition at line 29 of file HazelnuppException.h.

    Constructor & Destructor Documentation

    ◆ HazelnuppInvalidKeyException() [1/2]

    @@ -158,8 +158,8 @@ Additional Inherited Members
    -

    Definition at line 29 of file HazelnuppException.h.

    -
    29 : HazelnuppException() {};
    +

    Definition at line 32 of file HazelnuppException.h.

    +
    32 : HazelnuppException() {};
    @@ -187,8 +187,8 @@ Additional Inherited Members
    -

    Definition at line 30 of file HazelnuppException.h.

    -
    30 : HazelnuppException(msg) {};
    +

    Definition at line 33 of file HazelnuppException.h.

    +
    33 : HazelnuppException(msg) {};
    @@ -196,10 +196,10 @@ Additional Inherited Members
  • Hazelnupp/HazelnuppException.h
  • -
    Hazelnp::HazelnuppException::HazelnuppException
    HazelnuppException()
    Definition: HazelnuppException.h:11
    +
    Hazelnp::HazelnuppException::HazelnuppException
    HazelnuppException()
    Definition: HazelnuppException.h:14
    diff --git a/docs/classHazelnp_1_1HazelnuppValueNotConvertibleException-members.html b/docs/classHazelnp_1_1HazelnuppValueNotConvertibleException-members.html index 0de3d04..d887fce 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 05fafde..e4ccc83 100644 --- a/docs/classHazelnp_1_1HazelnuppValueNotConvertibleException.html +++ b/docs/classHazelnp_1_1HazelnuppValueNotConvertibleException.html @@ -133,7 +133,7 @@ Additional Inherited Members

    Detailed Description

    Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not convertible.

    -

    Definition at line 35 of file HazelnuppException.h.

    +

    Definition at line 38 of file HazelnuppException.h.

    Constructor & Destructor Documentation

    ◆ HazelnuppValueNotConvertibleException() [1/2]

    @@ -158,8 +158,8 @@ Additional Inherited Members
    -

    Definition at line 38 of file HazelnuppException.h.

    -
    38 : HazelnuppException() {};
    +

    Definition at line 41 of file HazelnuppException.h.

    +
    41 : HazelnuppException() {};
    @@ -187,8 +187,8 @@ Additional Inherited Members
    -

    Definition at line 39 of file HazelnuppException.h.

    -
    39 : HazelnuppException(msg) {};
    +

    Definition at line 42 of file HazelnuppException.h.

    +
    42 : HazelnuppException(msg) {};
    @@ -196,10 +196,10 @@ Additional Inherited Members
  • Hazelnupp/HazelnuppException.h
  • -
    Hazelnp::HazelnuppException::HazelnuppException
    HazelnuppException()
    Definition: HazelnuppException.h:11
    +
    Hazelnp::HazelnuppException::HazelnuppException
    HazelnuppException()
    Definition: HazelnuppException.h:14
    diff --git a/docs/classHazelnp_1_1IntValue-members.html b/docs/classHazelnp_1_1IntValue-members.html index b0e5b1b..2f08f99 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 d45570a..a9142d3 100644 --- a/docs/classHazelnp_1_1IntValue.html +++ b/docs/classHazelnp_1_1IntValue.html @@ -571,10 +571,10 @@ Additional Inherited Members
    Hazelnp::IntValue::IntValue
    IntValue(const long long int &value)
    Definition: IntValue.cpp:7
    Hazelnp::Value::Value
    Value(DATA_TYPE type)
    Definition: Value.cpp:5
    Hazelnp::DATA_TYPE::INT
    @ INT
    -
    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
    +
    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:38
    diff --git a/docs/classHazelnp_1_1ListValue-members.html b/docs/classHazelnp_1_1ListValue-members.html index 6fe680e..2882daa 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 51f381b..6c4cd77 100644 --- a/docs/classHazelnp_1_1ListValue.html +++ b/docs/classHazelnp_1_1ListValue.html @@ -598,10 +598,10 @@ Additional Inherited Members
    Hazelnp::ListValue::ListValue
    ListValue()
    Definition: ListValue.cpp:7
    Hazelnp::Value::Deepcopy
    virtual Value * Deepcopy() const =0
    Will return a deeopopy of this object.
    Hazelnp::ListValue
    Specializations for list values (uses std::vector<Value*>)
    Definition: ListValue.h:9
    -
    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
    +
    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:38
    diff --git a/docs/classHazelnp_1_1Parameter-members.html b/docs/classHazelnp_1_1Parameter-members.html index cd05e8c..468e84a 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 7ef6cba..704f2aa 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 211ad88..0874527 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 da0f5f0..0b57db8 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 b109294..16974a3 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 6146273..985ba74 100644 --- a/docs/classHazelnp_1_1StringValue.html +++ b/docs/classHazelnp_1_1StringValue.html @@ -544,10 +544,10 @@ Additional Inherited Members
    Hazelnp::StringValue::StringValue
    StringValue(const std::string &value)
    Definition: StringValue.cpp:7
    Hazelnp::Value::Value
    Value(DATA_TYPE type)
    Definition: Value.cpp:5
    Hazelnp::DATA_TYPE::STRING
    @ STRING
    -
    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
    +
    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:38
    diff --git a/docs/classHazelnp_1_1Value-members.html b/docs/classHazelnp_1_1Value-members.html index 2c98758..f307154 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 dded20d..32b4f90 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 f82bafc..a3c5474 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 984c9d4..c56696d 100644 --- a/docs/classHazelnp_1_1VoidValue.html +++ b/docs/classHazelnp_1_1VoidValue.html @@ -491,10 +491,10 @@ Additional Inherited Members
    Hazelnp::DATA_TYPE::VOID
    @ VOID
    Hazelnp::Value::Value
    Value(DATA_TYPE type)
    Definition: Value.cpp:5
    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
    +
    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:38
    diff --git a/docs/classes.html b/docs/classes.html index 96ec295..e1ee45f 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 e7ddd04..4bbb236 100644 --- a/docs/dir_0202e1e26df2e040f4dc3d434eecf04c.html +++ b/docs/dir_0202e1e26df2e040f4dc3d434eecf04c.html @@ -108,8 +108,6 @@ Files   file  ListValue.h [code]   -file  main.cpp [code] -  file  ParamConstraint.h [code]   file  Parameter.cpp [code] @@ -138,7 +136,7 @@ Files diff --git a/docs/dir_0cc5f59b28c403d42cc56800132eb975.html b/docs/dir_0cc5f59b28c403d42cc56800132eb975.html index 194e9ed..e798996 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 524a636..27357dc 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 50f88fe..a7d4324 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 9cc6767..e0fef4c 100644 --- a/docs/files.html +++ b/docs/files.html @@ -90,25 +90,24 @@ $(function() {  IntValue.h  ListValue.cpp  ListValue.h - main.cpp - ParamConstraint.h - Parameter.cpp - Parameter.h - Placeholders.h - StringTools.cpp - StringTools.h - StringValue.cpp - StringValue.h - Value.cpp - Value.h - VoidValue.cpp - VoidValue.h + ParamConstraint.h + Parameter.cpp + Parameter.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 2d99782..8699099 100644 --- a/docs/functions.html +++ b/docs/functions.html @@ -247,7 +247,7 @@ $(function() { : Hazelnp::HazelnuppConstraintTypeMissmatch
  • HazelnuppException() -: Hazelnp::HazelnuppException +: Hazelnp::HazelnuppException
  • HazelnuppInvalidKeyException() : Hazelnp::HazelnuppInvalidKeyException @@ -353,6 +353,9 @@ $(function() {
  • required : Hazelnp::ParamConstraint
  • +
  • requiredType +: Hazelnp::ParamConstraint +
  • @@ -383,7 +386,7 @@ $(function() { : Hazelnp::Value
  • TypeSafety() -: Hazelnp::ParamConstraint +: Hazelnp::ParamConstraint
  • @@ -399,9 +402,6 @@ $(function() {

    - w -

    @@ -410,7 +410,7 @@ $(function() { diff --git a/docs/functions_rela.html b/docs/functions_rela.html index db9aeeb..1fb43f8 100644 --- a/docs/functions_rela.html +++ b/docs/functions_rela.html @@ -82,7 +82,7 @@ $(function() { diff --git a/docs/functions_vars.html b/docs/functions_vars.html index 220bf37..767e07d 100644 --- a/docs/functions_vars.html +++ b/docs/functions_vars.html @@ -83,17 +83,17 @@ $(function() {
  • required : Hazelnp::ParamConstraint
  • +
  • requiredType +: Hazelnp::ParamConstraint +
  • type : Hazelnp::Value
  • -
  • wantedType -: Hazelnp::ParamConstraint -
  • diff --git a/docs/graph_legend.html b/docs/graph_legend.html index 67b257a..bb7df39 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 187d41e..351ff35 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 51b4312..b22091b 100644 --- a/docs/index.html +++ b/docs/index.html @@ -96,6 +96,7 @@ Index
  • Abbreviations
  • Constraints
  • Automatic parameter documentation
  • +
  • Descriptive error messages
  • More examples?
  • What is not supported?
  • Further notes
  • @@ -143,7 +144,7 @@ Minimal working example

    So what's the simplest way to use Hazelnupp to work with command-line parameters? See:

    #include "Hazelnupp.h"
    using namespace Hazelnp;
    -
    int main(int argc, char** argv)
    +
    int main(int argc, char** argv)
    {
    Hazelnupp args(argc, argv);
    @@ -157,7 +158,7 @@ Minimal working example

    Looks super easy! But what about actual values?

    #include "Hazelnupp.h"
    using namespace Hazelnp;
    -
    int main(int argc, char** argv)
    +
    int main(int argc, char** argv)
    {
    Hazelnupp args(argc, argv);
    @@ -178,7 +179,7 @@ Minimal working example

    What about lists?

    #include "Hazelnupp.h"
    using namespace Hazelnp;
    -
    int main(int argc, char** argv)
    +
    int main(int argc, char** argv)
    {
    Hazelnupp args(argc, argv);
    @@ -198,7 +199,7 @@ Abbreviations

    Abbreviations are a very important part of command line arguments. Like, typing -f instead of --force. Here's how to use them in Hazelnupp:

    #include "Hazelnupp.h"
    using namespace Hazelnp;
    -
    int main(int argc, char** argv)
    +
    int main(int argc, char** argv)
    {
    Hazelnupp args;
    @@ -232,7 +233,7 @@ Requiring data

    Minimal working example:

    #include "Hazelnupp.h"
    using namespace Hazelnp;
    -
    int main(int argc, char** argv)
    +
    int main(int argc, char** argv)
    {
    Hazelnupp args;
    @@ -264,12 +265,12 @@ Type safety

    Minimal working example:

    #include "Hazelnupp.h"
    using namespace Hazelnp;
    -
    int main(int argc, char** argv)
    +
    int main(int argc, char** argv)
    {
    Hazelnupp args;
    // Register constraints
    - +
    // Parse
    args.Parse(argc, argv);
    @@ -280,12 +281,12 @@ Type safety

    Note that you can also combine these two constraint-types by populating the struct yourself:

    ParamConstraint pc;
    pc.constrainType = true;
    -
    pc.wantedType = DATA_TYPE::STRING;
    +
    pc.requiredType = DATA_TYPE::STRING;
    pc.defaultValue = {}; // no default value
    pc.required = true;
    -
    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.

    +
    args.RegisterConstraint("--my-key", pc);
    +

    What doesn't work is inserting multiple constraints for one key. It will just discard the older one. But that's okay because one can describe all possible constraints for a single key in one struct.

    Automatic parameter documentation

    @@ -315,13 +316,29 @@ Automatic parameter documentation

    Additionally you can provide a brief description of your application to be added right above the parameter list.

    Hazelnupp args;
    args.SetBriefDescription("This is the testing application for Hazelnupp.");

    If you want to display this information somewhere else, you can always access it as a string via args.GenerateDocumentation().

    -

    +

    +Descriptive error messages

    +

    Given that you did not disable crash-on-error, Hazelnupps default behaviour on user error is to terminate the process with a descriptive error message to stderr.

    +

    Here's how they look like:

    +

    Type mismatch:

    $ a.out --width "about 3 meters"
    +
    << --help page gets printed here aswell >>
    +
    +
    Parameter error: Cannot convert parameter --width to type FLOAT. You supplied type: VOID.
    +
    --width => The width of something...
    +

    Missing required parameter:

    $ a.out"
    +
    << --help page gets printed here aswell >>
    +
    +
    Parameter error: Missing required parameter --width.
    +
    --width => The width of something...
    +

    This assumes that you've set a description for, in this example, --width. If a description is not set, the last line will simply be omitted.

    +

    +

    More examples?

    Check out the tests! They may help you out!
    Also make sure to check out the doxygen docs!

    -

    +

    What is not supported?

    Chaining abbreviated parameters, like this:

    # This is not supported. It would think -ltr is one parameter.
    $ a.out -ltr
    @@ -335,17 +352,17 @@ What is not supported?
    # Instead do this
    $ a.out -i hello.txt shoe.txt somsang.txt

    -

    +

    Further notes

    This is still in alpha! There is no guarantee at all that this actually works.
    - Whilst i did my best do make sure it does, i bet there are still a few flaws i've overlooked.
    + Whilst i did my best to make sure it does, i bet there are still a few flaws i've overlooked.
    Please know that i am not obliged to work on fixes. I do have other stuff to do. This does not mean that i won't, but i'm not sure when.
    Feel free to submit a PR if you think you improved it in any way :)

    -

    +

    Contributing

    If you want to contribute, feel free to fork the repository, and submit a pull request.
    - Bugfixes and tests are almost certain to be accepted, features should agreed upon and come with tests.
    + Bugfixes and tests are almost certain to be accepted, features should be agreed upon and come with tests.
    Just create an issue with the tag feature request. Don't forget to update the UML (Hazelnupp.vpp)! The (free) modelling software used is Visual Paradigm.

    Any code added must match the existing style!

    -

    +

    LICENSE

    Copyright (c) 2021, Leon Etienne
    @@ -374,21 +391,20 @@ LICENSE
    Hazelnp
    Definition: DataType.h:4
    -
    Hazelnp::HazelnuppInvalidKeyException
    Gets thrown when an non-existent key gets dereferenced.
    Definition: HazelnuppException.h:26
    +
    Hazelnp::HazelnuppInvalidKeyException
    Gets thrown when an non-existent key gets dereferenced.
    Definition: HazelnuppException.h:29
    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:302
    +
    Hazelnp::Hazelnupp::SetCatchHelp
    void SetCatchHelp(bool catchHelp)
    Sets whether the Hazelnupp should automatically catch the –help parameter, print the parameter docume...
    Definition: Hazelnupp.cpp:334
    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
    +
    Hazelnp::Hazelnupp::RegisterAbbreviation
    void RegisterAbbreviation(const std::string &abbrev, const std::string &target)
    Will register an abbreviation (like -f for –force)
    Definition: Hazelnupp.cpp:567
    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::Hazelnupp::RegisterConstraint
    void RegisterConstraint(const std::string &key, const ParamConstraint &constraint)
    Will register a constraint for a parameter.
    Definition: Hazelnupp.cpp:598
    +
    Hazelnp::ParamConstraint::TypeSafety
    static ParamConstraint TypeSafety(DATA_TYPE requiredType, bool constrainType=true)
    Constructs a type-safety constraint.
    Definition: ParamConstraint.h:26
    Hazelnp::DATA_TYPE::INT
    @ INT
    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 97d0816..76e832d 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 252d712..0421e48 100644 --- a/docs/inherits.html +++ b/docs/inherits.html @@ -122,7 +122,7 @@ $(function() { diff --git a/docs/menudata.js b/docs/menudata.js index ada9f43..bb6a937 100644 --- a/docs/menudata.js +++ b/docs/menudata.js @@ -74,7 +74,4 @@ var menudata={children:[ {text:"Variables",url:"functions_vars.html"}, {text:"Related Functions",url:"functions_rela.html"}]}]}, {text:"Files",url:"files.html",children:[ -{text:"File List",url:"files.html"}, -{text:"File Members",url:"globals.html",children:[ -{text:"All",url:"globals.html"}, -{text:"Functions",url:"globals_func.html"}]}]}]} +{text:"File List",url:"files.html"}]}]} diff --git a/docs/namespaceHazelnp.html b/docs/namespaceHazelnp.html index 79e52f1..2300f63 100644 --- a/docs/namespaceHazelnp.html +++ b/docs/namespaceHazelnp.html @@ -252,7 +252,7 @@ Functions
    Hazelnp::DATA_TYPE::STRING
    @ STRING
    diff --git a/docs/namespaceHazelnp_1_1Placeholders.html b/docs/namespaceHazelnp_1_1Placeholders.html index e7841e5..7fb122d 100644 --- a/docs/namespaceHazelnp_1_1Placeholders.html +++ b/docs/namespaceHazelnp_1_1Placeholders.html @@ -117,7 +117,7 @@ Variables diff --git a/docs/namespacemembers.html b/docs/namespacemembers.html index be756d2..2851a02 100644 --- a/docs/namespacemembers.html +++ b/docs/namespacemembers.html @@ -84,7 +84,7 @@ $(function() { diff --git a/docs/namespacemembers_enum.html b/docs/namespacemembers_enum.html index 1787215..4aa356c 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 8a98dd2..bac0c76 100644 --- a/docs/namespacemembers_func.html +++ b/docs/namespacemembers_func.html @@ -78,7 +78,7 @@ $(function() { diff --git a/docs/namespacemembers_vars.html b/docs/namespacemembers_vars.html index 611336e..24dedbd 100644 --- a/docs/namespacemembers_vars.html +++ b/docs/namespacemembers_vars.html @@ -78,7 +78,7 @@ $(function() { diff --git a/docs/namespaces.html b/docs/namespaces.html index ace137b..0ebc01d 100644 --- a/docs/namespaces.html +++ b/docs/namespaces.html @@ -83,7 +83,7 @@ $(function() { diff --git a/docs/search/all_10.js b/docs/search/all_10.js index 537d221..58bcca6 100644 --- a/docs/search/all_10.js +++ b/docs/search/all_10.js @@ -1,5 +1,4 @@ var searchData= [ - ['wantedtype_110',['wantedType',['../structHazelnp_1_1ParamConstraint.html#ac07a0c0555431d4b1e0bc6afdba41329',1,'Hazelnp::ParamConstraint']]], - ['what_111',['What',['../classHazelnp_1_1HazelnuppException.html#aa86c415a0f2b4ea5f11892145d1ea83e',1,'Hazelnp::HazelnuppException']]] + ['what_109',['What',['../classHazelnp_1_1HazelnuppException.html#aa86c415a0f2b4ea5f11892145d1ea83e',1,'Hazelnp::HazelnuppException']]] ]; diff --git a/docs/search/all_11.js b/docs/search/all_11.js index 4d2a55c..018a161 100644 --- a/docs/search/all_11.js +++ b/docs/search/all_11.js @@ -1,11 +1,11 @@ var searchData= [ - ['_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']]] + ['_7efloatvalue_110',['~FloatValue',['../classHazelnp_1_1FloatValue.html#a02e61e453c3e8e32d4d527799c11fd4a',1,'Hazelnp::FloatValue']]], + ['_7ehazelnupp_111',['~Hazelnupp',['../classHazelnp_1_1Hazelnupp.html#a25f8810d24d647b6a57e2dd00ead42be',1,'Hazelnp::Hazelnupp']]], + ['_7eintvalue_112',['~IntValue',['../classHazelnp_1_1IntValue.html#af69f25847b0666f9d6c1bb1fed18d917',1,'Hazelnp::IntValue']]], + ['_7elistvalue_113',['~ListValue',['../classHazelnp_1_1ListValue.html#a91f1450f299d46b3301774a6b4eb6c18',1,'Hazelnp::ListValue']]], + ['_7eparameter_114',['~Parameter',['../classHazelnp_1_1Parameter.html#a6e2ade42a712f1d3675653329266e42d',1,'Hazelnp::Parameter']]], + ['_7estringvalue_115',['~StringValue',['../classHazelnp_1_1StringValue.html#a5176062e2110d121466a6855fdc65d6d',1,'Hazelnp::StringValue']]], + ['_7evalue_116',['~Value',['../classHazelnp_1_1Value.html#a977dea61ee5b00b6c6d77ad6ad2c8d4c',1,'Hazelnp::Value']]], + ['_7evoidvalue_117',['~VoidValue',['../classHazelnp_1_1VoidValue.html#a6024b40919c3a6acea92be0439be2db0',1,'Hazelnp::VoidValue']]] ]; diff --git a/docs/search/all_5.js b/docs/search/all_5.js index 6eac203..c4f1dc2 100644 --- a/docs/search/all_5.js +++ b/docs/search/all_5.js @@ -9,8 +9,8 @@ var searchData= ['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)']]], + ['hazelnuppconstraintmissingvalue_45',['HazelnuppConstraintMissingValue',['../classHazelnp_1_1HazelnuppConstraintMissingValue.html',1,'Hazelnp::HazelnuppConstraintMissingValue'],['../classHazelnp_1_1HazelnuppConstraintMissingValue.html#aad4a7b5573790ddfbe1a453aef71eb10',1,'Hazelnp::HazelnuppConstraintMissingValue::HazelnuppConstraintMissingValue()'],['../classHazelnp_1_1HazelnuppConstraintMissingValue.html#a192ef8133047beadf8fc9f585d384c04',1,'Hazelnp::HazelnuppConstraintMissingValue::HazelnuppConstraintMissingValue(const std::string &key, const std::string &paramDescription="")']]], + ['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)'],['../classHazelnp_1_1HazelnuppConstraintTypeMissmatch.html#abd5ae6630884725b614e8fe603cccdc5',1,'Hazelnp::HazelnuppConstraintTypeMissmatch::HazelnuppConstraintTypeMissmatch(const std::string &key, const DATA_TYPE requiredType, const DATA_TYPE actualType, const std::string &paramDescription="")']]], ['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)']]], diff --git a/docs/search/all_9.js b/docs/search/all_9.js index 1076d2c..3c3ceef 100644 --- a/docs/search/all_9.js +++ b/docs/search/all_9.js @@ -1,6 +1,4 @@ var searchData= [ - ['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']]] + ['message_64',['message',['../classHazelnp_1_1HazelnuppException.html#aa905cabcd12f542dfc67638732737e88',1,'Hazelnp::HazelnuppException']]] ]; diff --git a/docs/search/all_a.js b/docs/search/all_a.js index 641856e..59b855e 100644 --- a/docs/search/all_a.js +++ b/docs/search/all_a.js @@ -1,11 +1,11 @@ var searchData= [ - ['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']]] + ['operator_20double_65',['operator double',['../classHazelnp_1_1FloatValue.html#ae02de376bbb2b76e0f9d16b1fc4de06d',1,'Hazelnp::FloatValue']]], + ['operator_20int_66',['operator int',['../classHazelnp_1_1IntValue.html#ab30a38c8f58cefd7cbf365c4aeae79bd',1,'Hazelnp::IntValue']]], + ['operator_20long_20double_67',['operator long double',['../classHazelnp_1_1FloatValue.html#ad0d4c589190fbab7e6c4d8fcc130ac1b',1,'Hazelnp::FloatValue']]], + ['operator_20long_20long_20int_68',['operator long long int',['../classHazelnp_1_1IntValue.html#a45b283dae9904ad0643035d3ee5883eb',1,'Hazelnp::IntValue']]], + ['operator_3c_3c_69',['operator<<',['../classHazelnp_1_1Parameter.html#a11b3529badcbf99b46262772472495c7',1,'Hazelnp::Parameter::operator<<()'],['../classHazelnp_1_1Value.html#ad29db86c4a2dec5bc8d0006031b07211',1,'Hazelnp::Value::operator<<()']]], + ['operator_5b_5d_70',['operator[]',['../classHazelnp_1_1Hazelnupp.html#a419ccdc6bad00b0fc3e17ed9b41f5dc5',1,'Hazelnp::Hazelnupp']]], + ['string_71',['string',['../classHazelnp_1_1StringValue.html#a23449775f14f828d29b115de040a696b',1,'Hazelnp::StringValue']]], + ['vector_3c_20value_20_2a_20_3e_72',['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 a7a0687..123c83b 100644 --- a/docs/search/all_b.js +++ b/docs/search/all_b.js @@ -1,11 +1,11 @@ var searchData= [ - ['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,'']]] + ['paramconstraint_73',['ParamConstraint',['../structHazelnp_1_1ParamConstraint.html',1,'Hazelnp::ParamConstraint'],['../structHazelnp_1_1ParamConstraint.html#afa9e1b4378c9fa1b4a7b5b792c062cbe',1,'Hazelnp::ParamConstraint::ParamConstraint()=default'],['../structHazelnp_1_1ParamConstraint.html#af261299848888fb106f5ba3b4c5a72ba',1,'Hazelnp::ParamConstraint::ParamConstraint(bool constrainType, DATA_TYPE requiredType, const std::vector< std::string > &defaultValue, bool required)']]], + ['paramconstraint_2eh_74',['ParamConstraint.h',['../ParamConstraint_8h.html',1,'']]], + ['parameter_75',['Parameter',['../classHazelnp_1_1Parameter.html',1,'Hazelnp::Parameter'],['../classHazelnp_1_1Parameter.html#a0c9faefc26cc9d8c886ef71e39e2f90c',1,'Hazelnp::Parameter::Parameter()']]], + ['parameter_2ecpp_76',['Parameter.cpp',['../Parameter_8cpp.html',1,'']]], + ['parameter_2eh_77',['Parameter.h',['../Parameter_8h.html',1,'']]], + ['parse_78',['Parse',['../classHazelnp_1_1Hazelnupp.html#a1ccb88faca1a8deb77161888479c300b',1,'Hazelnp::Hazelnupp']]], + ['parsenumber_79',['ParseNumber',['../classHazelnp_1_1StringTools.html#ab661223da5bbbb75039e168409466c82',1,'Hazelnp::StringTools']]], + ['placeholders_2eh_80',['Placeholders.h',['../Placeholders_8h.html',1,'']]] ]; diff --git a/docs/search/all_c.js b/docs/search/all_c.js index e4b9363..224091c 100644 --- a/docs/search/all_c.js +++ b/docs/search/all_c.js @@ -1,9 +1,10 @@ var searchData= [ - ['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']]] + ['registerabbreviation_81',['RegisterAbbreviation',['../classHazelnp_1_1Hazelnupp.html#abf1e0ebf0207ca2327fcde81f7372124',1,'Hazelnp::Hazelnupp']]], + ['registerconstraint_82',['RegisterConstraint',['../classHazelnp_1_1Hazelnupp.html#add731b65fb0741e4fb0b8fc8a601a11d',1,'Hazelnp::Hazelnupp']]], + ['registerdescription_83',['RegisterDescription',['../classHazelnp_1_1Hazelnupp.html#a17883db87e97caad4a0f114f9f850f5e',1,'Hazelnp::Hazelnupp']]], + ['replace_84',['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_85',['Require',['../structHazelnp_1_1ParamConstraint.html#a926e12fcb2fd0d031452c4bcc950bd6c',1,'Hazelnp::ParamConstraint']]], + ['required_86',['required',['../structHazelnp_1_1ParamConstraint.html#a8ccf3ebecc2d9d0105e181814af2943c',1,'Hazelnp::ParamConstraint']]], + ['requiredtype_87',['requiredType',['../structHazelnp_1_1ParamConstraint.html#a203b6fd1b9788a529aa0f15fe94fd24a',1,'Hazelnp::ParamConstraint']]] ]; diff --git a/docs/search/all_d.js b/docs/search/all_d.js index 21d22db..682ea80 100644 --- a/docs/search/all_d.js +++ b/docs/search/all_d.js @@ -1,14 +1,14 @@ var searchData= [ - ['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,'']]] + ['setbriefdescription_88',['SetBriefDescription',['../classHazelnp_1_1Hazelnupp.html#a037f84b32c7a2420c387dd46445291ac',1,'Hazelnp::Hazelnupp']]], + ['setcatchhelp_89',['SetCatchHelp',['../classHazelnp_1_1Hazelnupp.html#a60e0a51cd92014a87e44322158e45872',1,'Hazelnp::Hazelnupp']]], + ['setcrashonfail_90',['SetCrashOnFail',['../classHazelnp_1_1Hazelnupp.html#a17845623ca686caa51f3c8254e85551e',1,'Hazelnp::Hazelnupp']]], + ['splitstring_91',['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_92',['STRING',['../namespaceHazelnp.html#a07b61ac22ce9cd97eceebdf9487f803fa63b588d5559f64f89a416e656880b949',1,'Hazelnp']]], + ['stringtools_93',['StringTools',['../classHazelnp_1_1StringTools.html',1,'Hazelnp']]], + ['stringtools_2ecpp_94',['StringTools.cpp',['../StringTools_8cpp.html',1,'']]], + ['stringtools_2eh_95',['StringTools.h',['../StringTools_8h.html',1,'']]], + ['stringvalue_96',['StringValue',['../classHazelnp_1_1StringValue.html',1,'Hazelnp::StringValue'],['../classHazelnp_1_1StringValue.html#a24dad2deec92b51bf60a11400cc8c204',1,'Hazelnp::StringValue::StringValue()']]], + ['stringvalue_2ecpp_97',['StringValue.cpp',['../StringValue_8cpp.html',1,'']]], + ['stringvalue_2eh_98',['StringValue.h',['../StringValue_8h.html',1,'']]] ]; diff --git a/docs/search/all_e.js b/docs/search/all_e.js index 244d5d3..9366a44 100644 --- a/docs/search/all_e.js +++ b/docs/search/all_e.js @@ -1,6 +1,6 @@ var searchData= [ - ['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']]] + ['tolower_99',['ToLower',['../classHazelnp_1_1StringTools.html#a67edf755685f59b51f7416d9e4f6e2bd',1,'Hazelnp::StringTools']]], + ['type_100',['type',['../classHazelnp_1_1Value.html#ae5760a30c237095db595c466372e3c23',1,'Hazelnp::Value']]], + ['typesafety_101',['TypeSafety',['../structHazelnp_1_1ParamConstraint.html#a7df61dbc8dbaff4bc596fdf2c0532d5b',1,'Hazelnp::ParamConstraint']]] ]; diff --git a/docs/search/all_f.js b/docs/search/all_f.js index 5977308..73b17f9 100644 --- a/docs/search/all_f.js +++ b/docs/search/all_f.js @@ -1,10 +1,10 @@ var searchData= [ - ['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,'']]] + ['value_102',['Value',['../classHazelnp_1_1Value.html',1,'Hazelnp::Value'],['../classHazelnp_1_1Value.html#a8455d65bb2d939e850d6772dfbf8bfec',1,'Hazelnp::Value::Value()']]], + ['value_2ecpp_103',['Value.cpp',['../Value_8cpp.html',1,'']]], + ['value_2eh_104',['Value.h',['../Value_8h.html',1,'']]], + ['void_105',['VOID',['../namespaceHazelnp.html#a07b61ac22ce9cd97eceebdf9487f803fa6d0c9fc747131795e6e5d0c5119f12cb',1,'Hazelnp']]], + ['voidvalue_106',['VoidValue',['../classHazelnp_1_1VoidValue.html',1,'Hazelnp::VoidValue'],['../classHazelnp_1_1VoidValue.html#a75abf334b7f55cd149d2bb1962f2d8f1',1,'Hazelnp::VoidValue::VoidValue()']]], + ['voidvalue_2ecpp_107',['VoidValue.cpp',['../VoidValue_8cpp.html',1,'']]], + ['voidvalue_2eh_108',['VoidValue.h',['../VoidValue_8h.html',1,'']]] ]; diff --git a/docs/search/classes_0.js b/docs/search/classes_0.js index 37a7664..0cd5a65 100644 --- a/docs/search/classes_0.js +++ b/docs/search/classes_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['floatvalue_120',['FloatValue',['../classHazelnp_1_1FloatValue.html',1,'Hazelnp']]] + ['floatvalue_118',['FloatValue',['../classHazelnp_1_1FloatValue.html',1,'Hazelnp']]] ]; diff --git a/docs/search/classes_1.js b/docs/search/classes_1.js index 1f46043..8dbf5b4 100644 --- a/docs/search/classes_1.js +++ b/docs/search/classes_1.js @@ -1,10 +1,10 @@ var searchData= [ - ['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']]] + ['hazelnupp_119',['Hazelnupp',['../classHazelnp_1_1Hazelnupp.html',1,'Hazelnp']]], + ['hazelnuppconstraintexception_120',['HazelnuppConstraintException',['../classHazelnp_1_1HazelnuppConstraintException.html',1,'Hazelnp']]], + ['hazelnuppconstraintmissingvalue_121',['HazelnuppConstraintMissingValue',['../classHazelnp_1_1HazelnuppConstraintMissingValue.html',1,'Hazelnp']]], + ['hazelnuppconstrainttypemissmatch_122',['HazelnuppConstraintTypeMissmatch',['../classHazelnp_1_1HazelnuppConstraintTypeMissmatch.html',1,'Hazelnp']]], + ['hazelnuppexception_123',['HazelnuppException',['../classHazelnp_1_1HazelnuppException.html',1,'Hazelnp']]], + ['hazelnuppinvalidkeyexception_124',['HazelnuppInvalidKeyException',['../classHazelnp_1_1HazelnuppInvalidKeyException.html',1,'Hazelnp']]], + ['hazelnuppvaluenotconvertibleexception_125',['HazelnuppValueNotConvertibleException',['../classHazelnp_1_1HazelnuppValueNotConvertibleException.html',1,'Hazelnp']]] ]; diff --git a/docs/search/classes_2.js b/docs/search/classes_2.js index 87f0550..e1edec8 100644 --- a/docs/search/classes_2.js +++ b/docs/search/classes_2.js @@ -1,4 +1,4 @@ var searchData= [ - ['intvalue_128',['IntValue',['../classHazelnp_1_1IntValue.html',1,'Hazelnp']]] + ['intvalue_126',['IntValue',['../classHazelnp_1_1IntValue.html',1,'Hazelnp']]] ]; diff --git a/docs/search/classes_3.js b/docs/search/classes_3.js index 55f65e6..cd37939 100644 --- a/docs/search/classes_3.js +++ b/docs/search/classes_3.js @@ -1,4 +1,4 @@ var searchData= [ - ['listvalue_129',['ListValue',['../classHazelnp_1_1ListValue.html',1,'Hazelnp']]] + ['listvalue_127',['ListValue',['../classHazelnp_1_1ListValue.html',1,'Hazelnp']]] ]; diff --git a/docs/search/classes_4.js b/docs/search/classes_4.js index 3925399..846ed47 100644 --- a/docs/search/classes_4.js +++ b/docs/search/classes_4.js @@ -1,5 +1,5 @@ var searchData= [ - ['paramconstraint_130',['ParamConstraint',['../structHazelnp_1_1ParamConstraint.html',1,'Hazelnp']]], - ['parameter_131',['Parameter',['../classHazelnp_1_1Parameter.html',1,'Hazelnp']]] + ['paramconstraint_128',['ParamConstraint',['../structHazelnp_1_1ParamConstraint.html',1,'Hazelnp']]], + ['parameter_129',['Parameter',['../classHazelnp_1_1Parameter.html',1,'Hazelnp']]] ]; diff --git a/docs/search/classes_5.js b/docs/search/classes_5.js index 6cd311e..97e3c0a 100644 --- a/docs/search/classes_5.js +++ b/docs/search/classes_5.js @@ -1,5 +1,5 @@ var searchData= [ - ['stringtools_132',['StringTools',['../classHazelnp_1_1StringTools.html',1,'Hazelnp']]], - ['stringvalue_133',['StringValue',['../classHazelnp_1_1StringValue.html',1,'Hazelnp']]] + ['stringtools_130',['StringTools',['../classHazelnp_1_1StringTools.html',1,'Hazelnp']]], + ['stringvalue_131',['StringValue',['../classHazelnp_1_1StringValue.html',1,'Hazelnp']]] ]; diff --git a/docs/search/classes_6.js b/docs/search/classes_6.js index 8822def..53a6b8d 100644 --- a/docs/search/classes_6.js +++ b/docs/search/classes_6.js @@ -1,5 +1,5 @@ var searchData= [ - ['value_134',['Value',['../classHazelnp_1_1Value.html',1,'Hazelnp']]], - ['voidvalue_135',['VoidValue',['../classHazelnp_1_1VoidValue.html',1,'Hazelnp']]] + ['value_132',['Value',['../classHazelnp_1_1Value.html',1,'Hazelnp']]], + ['voidvalue_133',['VoidValue',['../classHazelnp_1_1VoidValue.html',1,'Hazelnp']]] ]; diff --git a/docs/search/enums_0.js b/docs/search/enums_0.js index e3f90f8..a106a00 100644 --- a/docs/search/enums_0.js +++ b/docs/search/enums_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['data_5ftype_247',['DATA_TYPE',['../namespaceHazelnp.html#a07b61ac22ce9cd97eceebdf9487f803f',1,'Hazelnp']]] + ['data_5ftype_243',['DATA_TYPE',['../namespaceHazelnp.html#a07b61ac22ce9cd97eceebdf9487f803f',1,'Hazelnp']]] ]; diff --git a/docs/search/enumvalues_0.js b/docs/search/enumvalues_0.js index e6820a0..1d447dd 100644 --- a/docs/search/enumvalues_0.js +++ b/docs/search/enumvalues_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['float_248',['FLOAT',['../namespaceHazelnp.html#a07b61ac22ce9cd97eceebdf9487f803fae738c26bf4ce1037fa81b039a915cbf6',1,'Hazelnp']]] + ['float_244',['FLOAT',['../namespaceHazelnp.html#a07b61ac22ce9cd97eceebdf9487f803fae738c26bf4ce1037fa81b039a915cbf6',1,'Hazelnp']]] ]; diff --git a/docs/search/enumvalues_1.js b/docs/search/enumvalues_1.js index 15ba4d6..f5c1853 100644 --- a/docs/search/enumvalues_1.js +++ b/docs/search/enumvalues_1.js @@ -1,4 +1,4 @@ var searchData= [ - ['int_249',['INT',['../namespaceHazelnp.html#a07b61ac22ce9cd97eceebdf9487f803fa53f93baa3057821107c750323892fa92',1,'Hazelnp']]] + ['int_245',['INT',['../namespaceHazelnp.html#a07b61ac22ce9cd97eceebdf9487f803fa53f93baa3057821107c750323892fa92',1,'Hazelnp']]] ]; diff --git a/docs/search/enumvalues_2.js b/docs/search/enumvalues_2.js index 23107b6..f66c200 100644 --- a/docs/search/enumvalues_2.js +++ b/docs/search/enumvalues_2.js @@ -1,4 +1,4 @@ var searchData= [ - ['list_250',['LIST',['../namespaceHazelnp.html#a07b61ac22ce9cd97eceebdf9487f803fa298cb25408234de02baf2085803a464a',1,'Hazelnp']]] + ['list_246',['LIST',['../namespaceHazelnp.html#a07b61ac22ce9cd97eceebdf9487f803fa298cb25408234de02baf2085803a464a',1,'Hazelnp']]] ]; diff --git a/docs/search/enumvalues_3.js b/docs/search/enumvalues_3.js index 633f62a..d491548 100644 --- a/docs/search/enumvalues_3.js +++ b/docs/search/enumvalues_3.js @@ -1,4 +1,4 @@ var searchData= [ - ['string_251',['STRING',['../namespaceHazelnp.html#a07b61ac22ce9cd97eceebdf9487f803fa63b588d5559f64f89a416e656880b949',1,'Hazelnp']]] + ['string_247',['STRING',['../namespaceHazelnp.html#a07b61ac22ce9cd97eceebdf9487f803fa63b588d5559f64f89a416e656880b949',1,'Hazelnp']]] ]; diff --git a/docs/search/enumvalues_4.js b/docs/search/enumvalues_4.js index 02400b8..35c26ad 100644 --- a/docs/search/enumvalues_4.js +++ b/docs/search/enumvalues_4.js @@ -1,4 +1,4 @@ var searchData= [ - ['void_252',['VOID',['../namespaceHazelnp.html#a07b61ac22ce9cd97eceebdf9487f803fa6d0c9fc747131795e6e5d0c5119f12cb',1,'Hazelnp']]] + ['void_248',['VOID',['../namespaceHazelnp.html#a07b61ac22ce9cd97eceebdf9487f803fa6d0c9fc747131795e6e5d0c5119f12cb',1,'Hazelnp']]] ]; diff --git a/docs/search/files_0.js b/docs/search/files_0.js index c762755..df969aa 100644 --- a/docs/search/files_0.js +++ b/docs/search/files_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['datatype_2eh_138',['DataType.h',['../DataType_8h.html',1,'']]] + ['datatype_2eh_136',['DataType.h',['../DataType_8h.html',1,'']]] ]; diff --git a/docs/search/files_1.js b/docs/search/files_1.js index 2c4871f..03aee64 100644 --- a/docs/search/files_1.js +++ b/docs/search/files_1.js @@ -1,5 +1,5 @@ var searchData= [ - ['floatvalue_2ecpp_139',['FloatValue.cpp',['../FloatValue_8cpp.html',1,'']]], - ['floatvalue_2eh_140',['FloatValue.h',['../FloatValue_8h.html',1,'']]] + ['floatvalue_2ecpp_137',['FloatValue.cpp',['../FloatValue_8cpp.html',1,'']]], + ['floatvalue_2eh_138',['FloatValue.h',['../FloatValue_8h.html',1,'']]] ]; diff --git a/docs/search/files_2.js b/docs/search/files_2.js index 2f6e29a..54c1668 100644 --- a/docs/search/files_2.js +++ b/docs/search/files_2.js @@ -1,7 +1,7 @@ var searchData= [ - ['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,'']]] + ['hazelnupp_2ecpp_139',['Hazelnupp.cpp',['../Hazelnupp_8cpp.html',1,'']]], + ['hazelnupp_2eh_140',['Hazelnupp.h',['../Hazelnupp_8h.html',1,'']]], + ['hazelnupp_2evcxproj_2efilelistabsolute_2etxt_141',['Hazelnupp.vcxproj.FileListAbsolute.txt',['../Debug_2Hazelnupp_8vcxproj_8FileListAbsolute_8txt.html',1,'(Global Namespace)'],['../Release_2Hazelnupp_8vcxproj_8FileListAbsolute_8txt.html',1,'(Global Namespace)']]], + ['hazelnuppexception_2eh_142',['HazelnuppException.h',['../HazelnuppException_8h.html',1,'']]] ]; diff --git a/docs/search/files_3.js b/docs/search/files_3.js index bfd6c4c..1179a3b 100644 --- a/docs/search/files_3.js +++ b/docs/search/files_3.js @@ -1,6 +1,6 @@ var searchData= [ - ['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,'']]] + ['index_2emd_143',['index.md',['../index_8md.html',1,'']]], + ['intvalue_2ecpp_144',['IntValue.cpp',['../IntValue_8cpp.html',1,'']]], + ['intvalue_2eh_145',['IntValue.h',['../IntValue_8h.html',1,'']]] ]; diff --git a/docs/search/files_4.js b/docs/search/files_4.js index 4e124a5..51ab6ca 100644 --- a/docs/search/files_4.js +++ b/docs/search/files_4.js @@ -1,5 +1,5 @@ var searchData= [ - ['listvalue_2ecpp_148',['ListValue.cpp',['../ListValue_8cpp.html',1,'']]], - ['listvalue_2eh_149',['ListValue.h',['../ListValue_8h.html',1,'']]] + ['listvalue_2ecpp_146',['ListValue.cpp',['../ListValue_8cpp.html',1,'']]], + ['listvalue_2eh_147',['ListValue.h',['../ListValue_8h.html',1,'']]] ]; diff --git a/docs/search/files_5.js b/docs/search/files_5.js index 08d0d37..ebc04fa 100644 --- a/docs/search/files_5.js +++ b/docs/search/files_5.js @@ -1,4 +1,7 @@ var searchData= [ - ['main_2ecpp_150',['main.cpp',['../main_8cpp.html',1,'']]] + ['paramconstraint_2eh_148',['ParamConstraint.h',['../ParamConstraint_8h.html',1,'']]], + ['parameter_2ecpp_149',['Parameter.cpp',['../Parameter_8cpp.html',1,'']]], + ['parameter_2eh_150',['Parameter.h',['../Parameter_8h.html',1,'']]], + ['placeholders_2eh_151',['Placeholders.h',['../Placeholders_8h.html',1,'']]] ]; diff --git a/docs/search/files_6.js b/docs/search/files_6.js index 1224dfd..905f4d8 100644 --- a/docs/search/files_6.js +++ b/docs/search/files_6.js @@ -1,7 +1,7 @@ var searchData= [ - ['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,'']]] + ['stringtools_2ecpp_152',['StringTools.cpp',['../StringTools_8cpp.html',1,'']]], + ['stringtools_2eh_153',['StringTools.h',['../StringTools_8h.html',1,'']]], + ['stringvalue_2ecpp_154',['StringValue.cpp',['../StringValue_8cpp.html',1,'']]], + ['stringvalue_2eh_155',['StringValue.h',['../StringValue_8h.html',1,'']]] ]; diff --git a/docs/search/files_7.js b/docs/search/files_7.js index 4629d05..38eef11 100644 --- a/docs/search/files_7.js +++ b/docs/search/files_7.js @@ -1,7 +1,7 @@ var searchData= [ - ['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,'']]] + ['value_2ecpp_156',['Value.cpp',['../Value_8cpp.html',1,'']]], + ['value_2eh_157',['Value.h',['../Value_8h.html',1,'']]], + ['voidvalue_2ecpp_158',['VoidValue.cpp',['../VoidValue_8cpp.html',1,'']]], + ['voidvalue_2eh_159',['VoidValue.h',['../VoidValue_8h.html',1,'']]] ]; diff --git a/docs/search/functions_0.js b/docs/search/functions_0.js index c3f0370..5325bef 100644 --- a/docs/search/functions_0.js +++ b/docs/search/functions_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['addvalue_163',['AddValue',['../classHazelnp_1_1ListValue.html#af8787d266aa353d3f96e2c76cce76c41',1,'Hazelnp::ListValue']]] + ['addvalue_160',['AddValue',['../classHazelnp_1_1ListValue.html#af8787d266aa353d3f96e2c76cce76c41',1,'Hazelnp::ListValue']]] ]; diff --git a/docs/search/functions_1.js b/docs/search/functions_1.js index 26a2a00..4a0e795 100644 --- a/docs/search/functions_1.js +++ b/docs/search/functions_1.js @@ -1,10 +1,10 @@ var searchData= [ - ['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']]] + ['clearabbreviation_161',['ClearAbbreviation',['../classHazelnp_1_1Hazelnupp.html#a05d1decbb08d1f9368bc9a0d3dfd6398',1,'Hazelnp::Hazelnupp']]], + ['clearabbreviations_162',['ClearAbbreviations',['../classHazelnp_1_1Hazelnupp.html#a5175869b025468324cefad487081e91d',1,'Hazelnp::Hazelnupp']]], + ['clearconstraint_163',['ClearConstraint',['../classHazelnp_1_1Hazelnupp.html#a63d6bdfc0d6255b5d663f3a786077eb4',1,'Hazelnp::Hazelnupp']]], + ['clearconstraints_164',['ClearConstraints',['../classHazelnp_1_1Hazelnupp.html#a3970b74583def49c6632fe08a4499809',1,'Hazelnp::Hazelnupp']]], + ['cleardescription_165',['ClearDescription',['../classHazelnp_1_1Hazelnupp.html#a26eaac65949072b659531444d32c4cbf',1,'Hazelnp::Hazelnupp']]], + ['cleardescriptions_166',['ClearDescriptions',['../classHazelnp_1_1Hazelnupp.html#ae266cfb3526b9223fc05beb01646fb42',1,'Hazelnp::Hazelnupp']]], + ['contains_167',['Contains',['../classHazelnp_1_1StringTools.html#aec1abd8b22146c7a9ebeb6a94d6af5ee',1,'Hazelnp::StringTools']]] ]; diff --git a/docs/search/functions_10.js b/docs/search/functions_10.js index 7442b57..587794c 100644 --- a/docs/search/functions_10.js +++ b/docs/search/functions_10.js @@ -1,4 +1,11 @@ var searchData= [ - ['what_231',['What',['../classHazelnp_1_1HazelnuppException.html#aa86c415a0f2b4ea5f11892145d1ea83e',1,'Hazelnp::HazelnuppException']]] + ['_7efloatvalue_228',['~FloatValue',['../classHazelnp_1_1FloatValue.html#a02e61e453c3e8e32d4d527799c11fd4a',1,'Hazelnp::FloatValue']]], + ['_7ehazelnupp_229',['~Hazelnupp',['../classHazelnp_1_1Hazelnupp.html#a25f8810d24d647b6a57e2dd00ead42be',1,'Hazelnp::Hazelnupp']]], + ['_7eintvalue_230',['~IntValue',['../classHazelnp_1_1IntValue.html#af69f25847b0666f9d6c1bb1fed18d917',1,'Hazelnp::IntValue']]], + ['_7elistvalue_231',['~ListValue',['../classHazelnp_1_1ListValue.html#a91f1450f299d46b3301774a6b4eb6c18',1,'Hazelnp::ListValue']]], + ['_7eparameter_232',['~Parameter',['../classHazelnp_1_1Parameter.html#a6e2ade42a712f1d3675653329266e42d',1,'Hazelnp::Parameter']]], + ['_7estringvalue_233',['~StringValue',['../classHazelnp_1_1StringValue.html#a5176062e2110d121466a6855fdc65d6d',1,'Hazelnp::StringValue']]], + ['_7evalue_234',['~Value',['../classHazelnp_1_1Value.html#a977dea61ee5b00b6c6d77ad6ad2c8d4c',1,'Hazelnp::Value']]], + ['_7evoidvalue_235',['~VoidValue',['../classHazelnp_1_1VoidValue.html#a6024b40919c3a6acea92be0439be2db0',1,'Hazelnp::VoidValue']]] ]; diff --git a/docs/search/functions_2.js b/docs/search/functions_2.js index abf5c3a..b65024d 100644 --- a/docs/search/functions_2.js +++ b/docs/search/functions_2.js @@ -1,5 +1,5 @@ var searchData= [ - ['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()']]] + ['datatypetostring_168',['DataTypeToString',['../namespaceHazelnp.html#a7fb1e5ad9e2ecb6c0025beb19f11621b',1,'Hazelnp']]], + ['deepcopy_169',['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 a9c1686..b240c83 100644 --- a/docs/search/functions_3.js +++ b/docs/search/functions_3.js @@ -1,4 +1,4 @@ var searchData= [ - ['floatvalue_173',['FloatValue',['../classHazelnp_1_1FloatValue.html#a6bb35564e3331a3feb57b08caad0df44',1,'Hazelnp::FloatValue']]] + ['floatvalue_170',['FloatValue',['../classHazelnp_1_1FloatValue.html#a6bb35564e3331a3feb57b08caad0df44',1,'Hazelnp::FloatValue']]] ]; diff --git a/docs/search/functions_4.js b/docs/search/functions_4.js index faf0450..464a65c 100644 --- a/docs/search/functions_4.js +++ b/docs/search/functions_4.js @@ -1,20 +1,20 @@ var searchData= [ - ['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()']]] + ['generatedocumentation_171',['GenerateDocumentation',['../classHazelnp_1_1Hazelnupp.html#a7b1bf5e700d8a0d8e90c5750e54749de',1,'Hazelnp::Hazelnupp']]], + ['getabbreviation_172',['GetAbbreviation',['../classHazelnp_1_1Hazelnupp.html#a579e78129f19cb9f17a6075366ababe5',1,'Hazelnp::Hazelnupp']]], + ['getasosstring_173',['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_174',['GetBriefDescription',['../classHazelnp_1_1Hazelnupp.html#a1d32c3047a8c58650476d1ae7e9fb582',1,'Hazelnp::Hazelnupp']]], + ['getcatchhelp_175',['GetCatchHelp',['../classHazelnp_1_1Hazelnupp.html#a05a3d112bcc00cdeade76f3643ba9e94',1,'Hazelnp::Hazelnupp']]], + ['getconstraint_176',['GetConstraint',['../classHazelnp_1_1Hazelnupp.html#acaec2780d800113ffc2d72a6b865955c',1,'Hazelnp::Hazelnupp']]], + ['getcrashonfail_177',['GetCrashOnFail',['../classHazelnp_1_1Hazelnupp.html#a1b810cc7db2cf64aecaa70c686b14bb7',1,'Hazelnp::Hazelnupp']]], + ['getdatatype_178',['GetDataType',['../classHazelnp_1_1Value.html#adbb80bf6d455a316e6e5103353429993',1,'Hazelnp::Value']]], + ['getdescription_179',['GetDescription',['../classHazelnp_1_1Hazelnupp.html#a300e55438cb0983b02347fdc3653e32c',1,'Hazelnp::Hazelnupp']]], + ['getexecutablename_180',['GetExecutableName',['../classHazelnp_1_1Hazelnupp.html#af6bb41fb079131f8b91fe981f63f7469',1,'Hazelnp::Hazelnupp']]], + ['getfloat32_181',['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_182',['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_183',['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_184',['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_185',['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_186',['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_187',['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 313817c..3e89495 100644 --- a/docs/search/functions_5.js +++ b/docs/search/functions_5.js @@ -1,13 +1,13 @@ var searchData= [ - ['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)']]] + ['hasabbreviation_188',['HasAbbreviation',['../classHazelnp_1_1Hazelnupp.html#a46df7d396fb56e30351c9a7308792200',1,'Hazelnp::Hazelnupp']]], + ['hasdescription_189',['HasDescription',['../classHazelnp_1_1Hazelnupp.html#aabab94412ff5eecf95b97a4e21eb9cf6',1,'Hazelnp::Hazelnupp']]], + ['hasparam_190',['HasParam',['../classHazelnp_1_1Hazelnupp.html#a8b79a79d40420ae748c108c691111040',1,'Hazelnp::Hazelnupp']]], + ['hazelnupp_191',['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_192',['HazelnuppConstraintException',['../classHazelnp_1_1HazelnuppConstraintException.html#a4d08002a96bf9b3da3c6e931a51960e9',1,'Hazelnp::HazelnuppConstraintException::HazelnuppConstraintException()'],['../classHazelnp_1_1HazelnuppConstraintException.html#a944f0e6a384e032a762c5892964e1cc0',1,'Hazelnp::HazelnuppConstraintException::HazelnuppConstraintException(const std::string &msg)']]], + ['hazelnuppconstraintmissingvalue_193',['HazelnuppConstraintMissingValue',['../classHazelnp_1_1HazelnuppConstraintMissingValue.html#aad4a7b5573790ddfbe1a453aef71eb10',1,'Hazelnp::HazelnuppConstraintMissingValue::HazelnuppConstraintMissingValue()'],['../classHazelnp_1_1HazelnuppConstraintMissingValue.html#a192ef8133047beadf8fc9f585d384c04',1,'Hazelnp::HazelnuppConstraintMissingValue::HazelnuppConstraintMissingValue(const std::string &key, const std::string &paramDescription="")']]], + ['hazelnuppconstrainttypemissmatch_194',['HazelnuppConstraintTypeMissmatch',['../classHazelnp_1_1HazelnuppConstraintTypeMissmatch.html#ab7c9e9afd9d3286e563a7656785242e8',1,'Hazelnp::HazelnuppConstraintTypeMissmatch::HazelnuppConstraintTypeMissmatch()'],['../classHazelnp_1_1HazelnuppConstraintTypeMissmatch.html#a603d91c9af39e53b54e5aa288266cfe4',1,'Hazelnp::HazelnuppConstraintTypeMissmatch::HazelnuppConstraintTypeMissmatch(const std::string &msg)'],['../classHazelnp_1_1HazelnuppConstraintTypeMissmatch.html#abd5ae6630884725b614e8fe603cccdc5',1,'Hazelnp::HazelnuppConstraintTypeMissmatch::HazelnuppConstraintTypeMissmatch(const std::string &key, const DATA_TYPE requiredType, const DATA_TYPE actualType, const std::string &paramDescription="")']]], + ['hazelnuppexception_195',['HazelnuppException',['../classHazelnp_1_1HazelnuppException.html#a0b21fd5d4f22e5e677b74eb0acd7c6ff',1,'Hazelnp::HazelnuppException::HazelnuppException()'],['../classHazelnp_1_1HazelnuppException.html#a816f823fe2ebd35076049e33b9f3c05c',1,'Hazelnp::HazelnuppException::HazelnuppException(const std::string &msg)']]], + ['hazelnuppinvalidkeyexception_196',['HazelnuppInvalidKeyException',['../classHazelnp_1_1HazelnuppInvalidKeyException.html#ab23be8f7cb84129fa85ed1e7a0b280a0',1,'Hazelnp::HazelnuppInvalidKeyException::HazelnuppInvalidKeyException()'],['../classHazelnp_1_1HazelnuppInvalidKeyException.html#a18a08dc4efe80a378216460db5769891',1,'Hazelnp::HazelnuppInvalidKeyException::HazelnuppInvalidKeyException(const std::string &msg)']]], + ['hazelnuppvaluenotconvertibleexception_197',['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 6144912..98de46f 100644 --- a/docs/search/functions_6.js +++ b/docs/search/functions_6.js @@ -1,5 +1,5 @@ var searchData= [ - ['intvalue_201',['IntValue',['../classHazelnp_1_1IntValue.html#ac1174f807ce2c085f5a24baed4e3c1ba',1,'Hazelnp::IntValue']]], - ['isnumeric_202',['IsNumeric',['../classHazelnp_1_1StringTools.html#a6cd093feaca2d978c23774cf87d86e68',1,'Hazelnp::StringTools']]] + ['intvalue_198',['IntValue',['../classHazelnp_1_1IntValue.html#ac1174f807ce2c085f5a24baed4e3c1ba',1,'Hazelnp::IntValue']]], + ['isnumeric_199',['IsNumeric',['../classHazelnp_1_1StringTools.html#a6cd093feaca2d978c23774cf87d86e68',1,'Hazelnp::StringTools']]] ]; diff --git a/docs/search/functions_7.js b/docs/search/functions_7.js index 85602d0..e756f1c 100644 --- a/docs/search/functions_7.js +++ b/docs/search/functions_7.js @@ -1,4 +1,4 @@ var searchData= [ - ['key_203',['Key',['../classHazelnp_1_1Parameter.html#a7acd68ce06eec06ab286b1a062f9c8d6',1,'Hazelnp::Parameter']]] + ['key_200',['Key',['../classHazelnp_1_1Parameter.html#a7acd68ce06eec06ab286b1a062f9c8d6',1,'Hazelnp::Parameter']]] ]; diff --git a/docs/search/functions_8.js b/docs/search/functions_8.js index e13ee1f..125b2d4 100644 --- a/docs/search/functions_8.js +++ b/docs/search/functions_8.js @@ -1,4 +1,4 @@ var searchData= [ - ['listvalue_204',['ListValue',['../classHazelnp_1_1ListValue.html#a6082aaa506b31496720a168da8ab2708',1,'Hazelnp::ListValue']]] + ['listvalue_201',['ListValue',['../classHazelnp_1_1ListValue.html#a6082aaa506b31496720a168da8ab2708',1,'Hazelnp::ListValue']]] ]; diff --git a/docs/search/functions_9.js b/docs/search/functions_9.js index 6aa0dc4..3970ba2 100644 --- a/docs/search/functions_9.js +++ b/docs/search/functions_9.js @@ -1,4 +1,10 @@ var searchData= [ - ['main_205',['main',['../main_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627',1,'main.cpp']]] + ['operator_20double_202',['operator double',['../classHazelnp_1_1FloatValue.html#ae02de376bbb2b76e0f9d16b1fc4de06d',1,'Hazelnp::FloatValue']]], + ['operator_20int_203',['operator int',['../classHazelnp_1_1IntValue.html#ab30a38c8f58cefd7cbf365c4aeae79bd',1,'Hazelnp::IntValue']]], + ['operator_20long_20double_204',['operator long double',['../classHazelnp_1_1FloatValue.html#ad0d4c589190fbab7e6c4d8fcc130ac1b',1,'Hazelnp::FloatValue']]], + ['operator_20long_20long_20int_205',['operator long long int',['../classHazelnp_1_1IntValue.html#a45b283dae9904ad0643035d3ee5883eb',1,'Hazelnp::IntValue']]], + ['operator_5b_5d_206',['operator[]',['../classHazelnp_1_1Hazelnupp.html#a419ccdc6bad00b0fc3e17ed9b41f5dc5',1,'Hazelnp::Hazelnupp']]], + ['string_207',['string',['../classHazelnp_1_1StringValue.html#a23449775f14f828d29b115de040a696b',1,'Hazelnp::StringValue']]], + ['vector_3c_20value_20_2a_20_3e_208',['vector< Value * >',['../classHazelnp_1_1ListValue.html#a5d92ff2b9a1fa92fbc303ac4d07765d0',1,'Hazelnp::ListValue']]] ]; diff --git a/docs/search/functions_a.js b/docs/search/functions_a.js index 61a6ef3..64f0912 100644 --- a/docs/search/functions_a.js +++ b/docs/search/functions_a.js @@ -1,10 +1,7 @@ var searchData= [ - ['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']]] + ['paramconstraint_209',['ParamConstraint',['../structHazelnp_1_1ParamConstraint.html#afa9e1b4378c9fa1b4a7b5b792c062cbe',1,'Hazelnp::ParamConstraint::ParamConstraint()=default'],['../structHazelnp_1_1ParamConstraint.html#af261299848888fb106f5ba3b4c5a72ba',1,'Hazelnp::ParamConstraint::ParamConstraint(bool constrainType, DATA_TYPE requiredType, const std::vector< std::string > &defaultValue, bool required)']]], + ['parameter_210',['Parameter',['../classHazelnp_1_1Parameter.html#a0c9faefc26cc9d8c886ef71e39e2f90c',1,'Hazelnp::Parameter']]], + ['parse_211',['Parse',['../classHazelnp_1_1Hazelnupp.html#a1ccb88faca1a8deb77161888479c300b',1,'Hazelnp::Hazelnupp']]], + ['parsenumber_212',['ParseNumber',['../classHazelnp_1_1StringTools.html#ab661223da5bbbb75039e168409466c82',1,'Hazelnp::StringTools']]] ]; diff --git a/docs/search/functions_b.js b/docs/search/functions_b.js index 801143d..046e774 100644 --- a/docs/search/functions_b.js +++ b/docs/search/functions_b.js @@ -1,7 +1,8 @@ var searchData= [ - ['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']]] + ['registerabbreviation_213',['RegisterAbbreviation',['../classHazelnp_1_1Hazelnupp.html#abf1e0ebf0207ca2327fcde81f7372124',1,'Hazelnp::Hazelnupp']]], + ['registerconstraint_214',['RegisterConstraint',['../classHazelnp_1_1Hazelnupp.html#add731b65fb0741e4fb0b8fc8a601a11d',1,'Hazelnp::Hazelnupp']]], + ['registerdescription_215',['RegisterDescription',['../classHazelnp_1_1Hazelnupp.html#a17883db87e97caad4a0f114f9f850f5e',1,'Hazelnp::Hazelnupp']]], + ['replace_216',['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_217',['Require',['../structHazelnp_1_1ParamConstraint.html#a926e12fcb2fd0d031452c4bcc950bd6c',1,'Hazelnp::ParamConstraint']]] ]; diff --git a/docs/search/functions_c.js b/docs/search/functions_c.js index 7b12d3a..06d40b5 100644 --- a/docs/search/functions_c.js +++ b/docs/search/functions_c.js @@ -1,8 +1,8 @@ var searchData= [ - ['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']]] + ['setbriefdescription_218',['SetBriefDescription',['../classHazelnp_1_1Hazelnupp.html#a037f84b32c7a2420c387dd46445291ac',1,'Hazelnp::Hazelnupp']]], + ['setcatchhelp_219',['SetCatchHelp',['../classHazelnp_1_1Hazelnupp.html#a60e0a51cd92014a87e44322158e45872',1,'Hazelnp::Hazelnupp']]], + ['setcrashonfail_220',['SetCrashOnFail',['../classHazelnp_1_1Hazelnupp.html#a17845623ca686caa51f3c8254e85551e',1,'Hazelnp::Hazelnupp']]], + ['splitstring_221',['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_222',['StringValue',['../classHazelnp_1_1StringValue.html#a24dad2deec92b51bf60a11400cc8c204',1,'Hazelnp::StringValue']]] ]; diff --git a/docs/search/functions_d.js b/docs/search/functions_d.js index f70257c..c4011e0 100644 --- a/docs/search/functions_d.js +++ b/docs/search/functions_d.js @@ -1,8 +1,5 @@ var searchData= [ - ['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']]] + ['tolower_223',['ToLower',['../classHazelnp_1_1StringTools.html#a67edf755685f59b51f7416d9e4f6e2bd',1,'Hazelnp::StringTools']]], + ['typesafety_224',['TypeSafety',['../structHazelnp_1_1ParamConstraint.html#a7df61dbc8dbaff4bc596fdf2c0532d5b',1,'Hazelnp::ParamConstraint']]] ]; diff --git a/docs/search/functions_e.js b/docs/search/functions_e.js index 5cadd76..f2a5f64 100644 --- a/docs/search/functions_e.js +++ b/docs/search/functions_e.js @@ -1,5 +1,5 @@ var searchData= [ - ['tolower_227',['ToLower',['../classHazelnp_1_1StringTools.html#a67edf755685f59b51f7416d9e4f6e2bd',1,'Hazelnp::StringTools']]], - ['typesafety_228',['TypeSafety',['../structHazelnp_1_1ParamConstraint.html#a15a860c63388ea3164e3d7b35b352e9a',1,'Hazelnp::ParamConstraint']]] + ['value_225',['Value',['../classHazelnp_1_1Value.html#a8455d65bb2d939e850d6772dfbf8bfec',1,'Hazelnp::Value']]], + ['voidvalue_226',['VoidValue',['../classHazelnp_1_1VoidValue.html#a75abf334b7f55cd149d2bb1962f2d8f1',1,'Hazelnp::VoidValue']]] ]; diff --git a/docs/search/functions_f.js b/docs/search/functions_f.js index 9ccadd6..ad0ef91 100644 --- a/docs/search/functions_f.js +++ b/docs/search/functions_f.js @@ -1,5 +1,4 @@ var searchData= [ - ['value_229',['Value',['../classHazelnp_1_1Value.html#a8455d65bb2d939e850d6772dfbf8bfec',1,'Hazelnp::Value']]], - ['voidvalue_230',['VoidValue',['../classHazelnp_1_1VoidValue.html#a75abf334b7f55cd149d2bb1962f2d8f1',1,'Hazelnp::VoidValue']]] + ['what_227',['What',['../classHazelnp_1_1HazelnuppException.html#aa86c415a0f2b4ea5f11892145d1ea83e',1,'Hazelnp::HazelnuppException']]] ]; diff --git a/docs/search/namespaces_0.js b/docs/search/namespaces_0.js index 627e204..241a4f2 100644 --- a/docs/search/namespaces_0.js +++ b/docs/search/namespaces_0.js @@ -1,5 +1,5 @@ var searchData= [ - ['hazelnp_136',['Hazelnp',['../namespaceHazelnp.html',1,'']]], - ['placeholders_137',['Placeholders',['../namespaceHazelnp_1_1Placeholders.html',1,'Hazelnp']]] + ['hazelnp_134',['Hazelnp',['../namespaceHazelnp.html',1,'']]], + ['placeholders_135',['Placeholders',['../namespaceHazelnp_1_1Placeholders.html',1,'Hazelnp']]] ]; diff --git a/docs/search/pages_0.js b/docs/search/pages_0.js index f64124d..a3e10c5 100644 --- a/docs/search/pages_0.js +++ b/docs/search/pages_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['hazelnupp_255',['Hazelnupp',['../index.html',1,'']]] + ['hazelnupp_251',['Hazelnupp',['../index.html',1,'']]] ]; diff --git a/docs/search/related_0.js b/docs/search/related_0.js index 5c1b6bb..ba9ff05 100644 --- a/docs/search/related_0.js +++ b/docs/search/related_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['hazelnupp_253',['Hazelnupp',['../structHazelnp_1_1ParamConstraint.html#a0356cbb5056c61cac4a065a59002cb76',1,'Hazelnp::ParamConstraint']]] + ['hazelnupp_249',['Hazelnupp',['../structHazelnp_1_1ParamConstraint.html#a0356cbb5056c61cac4a065a59002cb76',1,'Hazelnp::ParamConstraint']]] ]; diff --git a/docs/search/related_1.js b/docs/search/related_1.js index f2e54e2..4d71192 100644 --- a/docs/search/related_1.js +++ b/docs/search/related_1.js @@ -1,4 +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<<()']]] + ['operator_3c_3c_250',['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 ecfbb18..d16bbfd 100644 --- a/docs/search/searchdata.js +++ b/docs/search/searchdata.js @@ -3,9 +3,9 @@ var indexSectionsWithContent = 0: "acdfghiklmoprstvw~", 1: "fhilpsv", 2: "h", - 3: "dfhilmpsv", - 4: "acdfghiklmoprstvw~", - 5: "cdgmrtw", + 3: "dfhilpsv", + 4: "acdfghikloprstvw~", + 5: "cdgmrt", 6: "d", 7: "filsv", 8: "ho", diff --git a/docs/search/variables_0.js b/docs/search/variables_0.js index 2e56d90..b5cab90 100644 --- a/docs/search/variables_0.js +++ b/docs/search/variables_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['constraintype_240',['constrainType',['../structHazelnp_1_1ParamConstraint.html#a88a4a4c215723259c71853992d09acac',1,'Hazelnp::ParamConstraint']]] + ['constraintype_236',['constrainType',['../structHazelnp_1_1ParamConstraint.html#a88a4a4c215723259c71853992d09acac',1,'Hazelnp::ParamConstraint']]] ]; diff --git a/docs/search/variables_1.js b/docs/search/variables_1.js index 6c4335f..216727d 100644 --- a/docs/search/variables_1.js +++ b/docs/search/variables_1.js @@ -1,4 +1,4 @@ var searchData= [ - ['defaultvalue_241',['defaultValue',['../structHazelnp_1_1ParamConstraint.html#a1d3a627b3a23fe0db3a368e51dbcd5a7',1,'Hazelnp::ParamConstraint']]] + ['defaultvalue_237',['defaultValue',['../structHazelnp_1_1ParamConstraint.html#a1d3a627b3a23fe0db3a368e51dbcd5a7',1,'Hazelnp::ParamConstraint']]] ]; diff --git a/docs/search/variables_2.js b/docs/search/variables_2.js index 249e109..75504ef 100644 --- a/docs/search/variables_2.js +++ b/docs/search/variables_2.js @@ -1,4 +1,4 @@ var searchData= [ - ['g_5femptystring_242',['g_emptyString',['../namespaceHazelnp_1_1Placeholders.html#a90536f0cd5261b18da736e954c6b8b79',1,'Hazelnp::Placeholders']]] + ['g_5femptystring_238',['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 ccafb54..6d2046e 100644 --- a/docs/search/variables_3.js +++ b/docs/search/variables_3.js @@ -1,4 +1,4 @@ var searchData= [ - ['message_243',['message',['../classHazelnp_1_1HazelnuppException.html#aa905cabcd12f542dfc67638732737e88',1,'Hazelnp::HazelnuppException']]] + ['message_239',['message',['../classHazelnp_1_1HazelnuppException.html#aa905cabcd12f542dfc67638732737e88',1,'Hazelnp::HazelnuppException']]] ]; diff --git a/docs/search/variables_4.js b/docs/search/variables_4.js index ba73dec..bb92b04 100644 --- a/docs/search/variables_4.js +++ b/docs/search/variables_4.js @@ -1,4 +1,5 @@ var searchData= [ - ['required_244',['required',['../structHazelnp_1_1ParamConstraint.html#a8ccf3ebecc2d9d0105e181814af2943c',1,'Hazelnp::ParamConstraint']]] + ['required_240',['required',['../structHazelnp_1_1ParamConstraint.html#a8ccf3ebecc2d9d0105e181814af2943c',1,'Hazelnp::ParamConstraint']]], + ['requiredtype_241',['requiredType',['../structHazelnp_1_1ParamConstraint.html#a203b6fd1b9788a529aa0f15fe94fd24a',1,'Hazelnp::ParamConstraint']]] ]; diff --git a/docs/search/variables_5.js b/docs/search/variables_5.js index 2b0b4e5..99f72ad 100644 --- a/docs/search/variables_5.js +++ b/docs/search/variables_5.js @@ -1,4 +1,4 @@ var searchData= [ - ['type_245',['type',['../classHazelnp_1_1Value.html#ae5760a30c237095db595c466372e3c23',1,'Hazelnp::Value']]] + ['type_242',['type',['../classHazelnp_1_1Value.html#ae5760a30c237095db595c466372e3c23',1,'Hazelnp::Value']]] ]; diff --git a/docs/structHazelnp_1_1ParamConstraint-members.html b/docs/structHazelnp_1_1ParamConstraint-members.html index 2ab2a66..6c956dc 100644 --- a/docs/structHazelnp_1_1ParamConstraint-members.html +++ b/docs/structHazelnp_1_1ParamConstraint-members.html @@ -85,15 +85,15 @@ $(function() { defaultValueHazelnp::ParamConstraint Hazelnupp classHazelnp::ParamConstraintfriend ParamConstraint()=defaultHazelnp::ParamConstraint - ParamConstraint(bool constrainType, DATA_TYPE wantedType, const std::vector< std::string > &defaultValue, bool required)Hazelnp::ParamConstraintinline + ParamConstraint(bool constrainType, DATA_TYPE requiredType, 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(DATA_TYPE wantedType, bool constrainType=true)Hazelnp::ParamConstraintinlinestatic - wantedTypeHazelnp::ParamConstraint + requiredTypeHazelnp::ParamConstraint + TypeSafety(DATA_TYPE requiredType, bool constrainType=true)Hazelnp::ParamConstraintinlinestatic diff --git a/docs/structHazelnp_1_1ParamConstraint.html b/docs/structHazelnp_1_1ParamConstraint.html index b233932..8e79237 100644 --- a/docs/structHazelnp_1_1ParamConstraint.html +++ b/docs/structHazelnp_1_1ParamConstraint.html @@ -103,18 +103,18 @@ Public Member Functions  ParamConstraint ()=default  Empty constructor. More...
      - ParamConstraint (bool constrainType, DATA_TYPE wantedType, const std::vector< std::string > &defaultValue, bool required) - Whole constructor. More...
    -  + ParamConstraint (bool constrainType, DATA_TYPE requiredType, const std::vector< std::string > &defaultValue, bool required) + Whole constructor. More...
    +  - - - + + +

    Static Public Member Functions

    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...
     
    static ParamConstraint TypeSafety (DATA_TYPE requiredType, bool constrainType=true)
     Constructs a type-safety constraint. More...
     
    @@ -122,9 +122,9 @@ Public Attributes - - - + + + @@ -168,8 +168,8 @@ Friends - -

    ◆ ParamConstraint() [2/2]

    + +

    ◆ ParamConstraint() [2/2]

    @@ -187,7 +187,7 @@ Friends
    - + @@ -219,7 +219,7 @@ Friends

    Definition at line 36 of file ParamConstraint.h.

    37  :
    38  constrainType{ constrainType },
    -
    39  wantedType{ wantedType },
    +
    39  requiredType{ requiredType },
    40  defaultValue{ defaultValue },
    41  required{ required }
    42  {
    @@ -279,8 +279,8 @@ Friends
    - -

    ◆ TypeSafety()

    + +

    ◆ TypeSafety()

    @@ -292,7 +292,7 @@ Friends
    - + @@ -319,7 +319,7 @@ Friends
    27  {
    28  ParamConstraint pc;
    29  pc.constrainType = constrainType;
    -
    30  pc.wantedType = wantedType;
    +
    30  pc.requiredType = requiredType;
    31 
    32  return pc;
    33  }
    @@ -410,14 +410,14 @@ Friends
    - -

    ◆ wantedType

    + +

    ◆ requiredType

    Public Attributes

     Should this parameter be forced to be of a certain type?
    Remember to set constrainTo to the wanted type. More...
     
    DATA_TYPE wantedType = DATA_TYPE::VOID
     Constrain the parameter to this value. Requires constrainType to be set to true. More...
     
    DATA_TYPE requiredType = DATA_TYPE::VOID
     Constrain the parameter to this value. Requires constrainType to be set to true. More...
     
    std::vector< std::string > defaultValue
     The default value for this parameter. More...
     
    DATA_TYPE wantedType, requiredType,
    static ParamConstraint Hazelnp::ParamConstraint::TypeSafety ( DATA_TYPE wantedType, requiredType,
    - +
    DATA_TYPE Hazelnp::ParamConstraint::wantedType = DATA_TYPE::VOIDDATA_TYPE Hazelnp::ParamConstraint::requiredType = DATA_TYPE::VOID
    @@ -432,14 +432,14 @@ Friends
  • 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:51
    +
    Hazelnp::ParamConstraint::requiredType
    DATA_TYPE requiredType
    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::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