diff --git a/docs/CmdArgsInterface_8cpp.html b/docs/CmdArgsInterface_8cpp.html new file mode 100644 index 0000000..9533ba5 --- /dev/null +++ b/docs/CmdArgsInterface_8cpp.html @@ -0,0 +1,132 @@ + + + + + + + +Leonetienne/Hazelnupp: Hazelnupp/CmdArgsInterface.cpp File Reference + + + + + + + + + + + +
+
+ + + + + + + +
+
Leonetienne/Hazelnupp +
+
Simple, easy to use, command line parameter interface
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
CmdArgsInterface.cpp File Reference
+
+
+
#include "CmdArgsInterface.h"
+#include "VoidValue.h"
+#include "IntValue.h"
+#include "FloatValue.h"
+#include "StringValue.h"
+#include "ListValue.h"
+#include "HazelnuppException.h"
+#include "Placeholders.h"
+#include "StringTools.h"
+#include <iostream>
+#include <cstdlib>
+
+Include dependency graph for CmdArgsInterface.cpp:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

Go to the source code of this file.

+
+ + + + diff --git a/docs/CmdArgsInterface_8cpp__incl.map b/docs/CmdArgsInterface_8cpp__incl.map new file mode 100644 index 0000000..b1dc058 --- /dev/null +++ b/docs/CmdArgsInterface_8cpp__incl.map @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/CmdArgsInterface_8cpp__incl.md5 b/docs/CmdArgsInterface_8cpp__incl.md5 new file mode 100644 index 0000000..24371fc --- /dev/null +++ b/docs/CmdArgsInterface_8cpp__incl.md5 @@ -0,0 +1 @@ +1e52877c77530f8b60cf62a9418ab996 \ No newline at end of file diff --git a/docs/CmdArgsInterface_8cpp__incl.png b/docs/CmdArgsInterface_8cpp__incl.png new file mode 100644 index 0000000..3c76f10 Binary files /dev/null and b/docs/CmdArgsInterface_8cpp__incl.png differ diff --git a/docs/CmdArgsInterface_8cpp_source.html b/docs/CmdArgsInterface_8cpp_source.html new file mode 100644 index 0000000..9e161d8 --- /dev/null +++ b/docs/CmdArgsInterface_8cpp_source.html @@ -0,0 +1,777 @@ + + + + + + + +Leonetienne/Hazelnupp: Hazelnupp/CmdArgsInterface.cpp Source File + + + + + + + + + + + +
+
+ + + + + + + +
+
Leonetienne/Hazelnupp +
+
Simple, easy to use, command line parameter interface
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
CmdArgsInterface.cpp
+
+
+Go to the documentation of this file.
1 #include "CmdArgsInterface.h"
+
2 #include "VoidValue.h"
+
3 #include "IntValue.h"
+
4 #include "FloatValue.h"
+
5 #include "StringValue.h"
+
6 #include "ListValue.h"
+
7 #include "HazelnuppException.h"
+
8 #include "Placeholders.h"
+
9 #include "StringTools.h"
+
10 #include <iostream>
+
11 #include <cstdlib>
+
12 
+
13 using namespace Hazelnp;
+
14 
+ +
16 {
+
17  return;
+
18 }
+
19 
+
20 CmdArgsInterface::CmdArgsInterface(const int argc, const char* const* argv)
+
21 {
+
22  Parse(argc, argv);
+
23  return;
+
24 }
+
25 
+ +
27 {
+
28  for (auto& it : parameters)
+
29  delete it.second;
+
30 
+
31  parameters.clear();
+
32 
+
33  return;
+
34 }
+
35 
+
36 void CmdArgsInterface::Parse(const int argc, const char* const* argv)
+
37 {
+
38  try
+
39  {
+
40  // Populate raw arguments
+
41  PopulateRawArgs(argc, argv);
+
42 
+
43  // Expand abbreviations
+
44  ExpandAbbreviations();
+
45 
+
46  executableName = std::string(rawArgs[0]);
+
47 
+
48  std::size_t i = 1;
+
49  while (i < rawArgs.size())
+
50  {
+
51  if ((rawArgs[i].length() > 2) && (rawArgs[i].substr(0, 2) == "--"))
+
52  {
+
53  Parameter* param = nullptr;
+
54  i = ParseNextParameter(i, param);
+
55 
+
56  parameters.insert(std::pair<std::string, Parameter*>(param->Key(), param));
+
57  }
+
58  else
+
59  i++;
+
60  }
+
61 
+
62  // Apply constraints such as default values, and required parameters.
+
63  // Types have already been enforced.
+
64  // Dont apply constraints when we are just printind the param docs
+
65  if ((!catchHelp) || (!HasParam("--help")))
+
66  ApplyConstraints();
+
67  }
+
68  catch (const HazelnuppConstraintTypeMissmatch& exc)
+
69  {
+
70  if (crashOnFail)
+
71  {
+
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 exc; // yeet
+
78  }
+
79  catch (const HazelnuppConstraintMissingValue& exc)
+
80  {
+
81  if (crashOnFail)
+
82  {
+
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 exc; // yeet
+
89  }
+
90 
+
91  // Catch --help parameter
+
92  if ((catchHelp) && (HasParam("--help")))
+
93  {
+
94  std::cout << GenerateDocumentation() << std::endl;
+
95  quick_exit(0);
+
96  }
+
97 
+
98  return;
+
99 }
+
100 
+
101 std::size_t CmdArgsInterface::ParseNextParameter(const std::size_t parIndex, Parameter*& out_Par)
+
102 {
+
103  std::size_t i = parIndex;
+
104  const std::string key = rawArgs[parIndex];
+
105  std::vector<std::string> values;
+
106 
+
107  // Get values
+
108  for (i++; i < rawArgs.size(); i++)
+
109  // If not another parameter
+
110  if ((rawArgs[i].length() < 2) || (rawArgs[i].substr(0, 2) != "--"))
+
111  values.emplace_back(rawArgs[i]);
+
112  else
+
113  {
+
114  break;
+
115  }
+
116 
+
117  // Fetch constraint info
+
118  const ParamConstraint* pcn = GetConstraintForKey(key);
+
119 
+
120  Value* parsedVal = ParseValue(values, pcn);
+
121  if (parsedVal != nullptr)
+
122  {
+
123  out_Par = new Parameter(key, parsedVal);
+
124 
+
125  delete parsedVal;
+
126  parsedVal = nullptr;
+
127  }
+
128  else
+
129  throw std::runtime_error("Unable to parse parameter!");
+
130 
+
131  return i;
+
132 }
+
133 
+
134 void CmdArgsInterface::PopulateRawArgs(const int argc, const char* const* argv)
+
135 {
+
136  rawArgs.clear();
+
137  rawArgs.reserve(argc);
+
138 
+
139  for (int i = 0; i < argc; i++)
+
140  rawArgs.emplace_back(std::string(argv[i]));
+
141 
+
142  return;
+
143 }
+
144 
+
145 void CmdArgsInterface::ExpandAbbreviations()
+
146 {
+
147  // Abort if no abbreviations
+
148  if (parameterAbreviations.size() == 0)
+
149  return;
+
150 
+
151  for (std::string& arg : rawArgs)
+
152  {
+
153  // Is arg registered as an abbreviation?
+
154  auto abbr = parameterAbreviations.find(arg);
+
155  if (abbr != parameterAbreviations.end())
+
156  {
+
157  // Yes: replace arg with the long form
+
158  arg = abbr->second;
+
159  }
+
160  }
+
161 
+
162  return;
+
163 }
+
164 
+
165 bool CmdArgsInterface::HasParam(const std::string& key) const
+
166 {
+
167  return parameters.find(key) != parameters.end();
+
168 }
+
169 
+
170 Value* CmdArgsInterface::ParseValue(const std::vector<std::string>& values, const ParamConstraint* constraint)
+
171 {
+
172  // This is the raw (unconverted) data type the user provided
+
173  DATA_TYPE rawInputType;
+
174 
+
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 list forced via a constraint? If yes, return an empty list
+
184  if ((constrainType) &&
+
185  (constraint->requiredType == DATA_TYPE::LIST))
+
186  return new ListValue();
+
187 
+
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)))
+ +
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  {
+ +
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
+ +
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 
+ +
330 {
+
331  return crashOnFail;
+
332 }
+
333 
+
334 void CmdArgsInterface::SetCatchHelp(bool catchHelp)
+
335 {
+
336  this->catchHelp = catchHelp;
+
337  return;
+
338 }
+
339 
+ +
341 {
+
342  return catchHelp;
+
343 }
+
344 
+
345 void CmdArgsInterface::SetBriefDescription(const std::string& description)
+
346 {
+
347  briefDescription = description;
+
348  return;
+
349 }
+
350 
+ +
352 {
+
353  return briefDescription;
+
354 }
+
355 
+
356 void Hazelnp::CmdArgsInterface::RegisterDescription(const std::string& parameter, const std::string& description)
+
357 {
+
358  parameterDescriptions[parameter] = description;
+
359  return;
+
360 }
+
361 
+
362 const std::string& Hazelnp::CmdArgsInterface::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 ""
+ +
368 
+
369  // We do? Then return it
+
370  return parameterDescriptions.find(parameter)->second;
+
371 }
+
372 
+
373 bool CmdArgsInterface::HasDescription(const std::string& parameter) const
+
374 {
+
375  return parameterDescriptions.find(parameter) != parameterDescriptions.end();
+
376 }
+
377 
+
378 void CmdArgsInterface::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 
+ +
386 {
+
387  parameterDescriptions.clear();
+
388  return;
+
389 }
+
390 
+ +
392 {
+
393  std::stringstream ss;
+
394 
+
395  // Add brief, if available
+
396  if (briefDescription.length() > 0)
+
397  ss << briefDescription << std::endl;
+
398 
+
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  // 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 }
+
504 
+
505 void CmdArgsInterface::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
+ +
533  pc.second.key,
+
534  GetDescription(pc.second.key)
+
535  );
+
536  }
+
537  }
+
538 
+
539  return;
+
540 }
+
541 
+
542 ParamConstraint CmdArgsInterface::GetConstraint(const std::string& parameter) const
+
543 {
+
544  return parameterConstraints.find(parameter)->second;
+
545 }
+
546 
+
547 void CmdArgsInterface::ClearConstraint(const std::string& parameter)
+
548 {
+
549  parameterConstraints.erase(parameter);
+
550  return;
+
551 }
+
552 
+
553 const std::string& CmdArgsInterface::GetExecutableName() const
+
554 {
+
555  return executableName;
+
556 }
+
557 
+
558 const Value& CmdArgsInterface::operator[](const std::string& key) const
+
559 {
+
560  // Throw exception if param is unknown
+
561  if (!HasParam(key))
+ +
563 
+
564  return *parameters.find(key)->second->GetValue();
+
565 }
+
566 
+
567 void CmdArgsInterface::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& CmdArgsInterface::GetAbbreviation(const std::string& abbrev) const
+
574 {
+
575  if (!HasAbbreviation(abbrev))
+ +
577 
+
578  return parameterAbreviations.find(abbrev)->second;
+
579 }
+
580 
+
581 bool CmdArgsInterface::HasAbbreviation(const std::string& abbrev) const
+
582 {
+
583  return parameterAbreviations.find(abbrev) != parameterAbreviations.end();
+
584 }
+
585 
+
586 void CmdArgsInterface::ClearAbbreviation(const std::string& abbrevation)
+
587 {
+
588  parameterAbreviations.erase(abbrevation);
+
589  return;
+
590 }
+
591 
+ +
593 {
+
594  parameterAbreviations.clear();
+
595  return;
+
596 }
+
597 
+
598 void CmdArgsInterface::RegisterConstraint(const std::string& key, const ParamConstraint& constraint)
+
599 {
+
600  // Magic syntax, wooo
+
601  (parameterConstraints[key] = constraint).key = key;
+
602  return;
+
603 }
+
604 
+ +
606 {
+
607  parameterConstraints.clear();
+
608  return;
+
609 }
+
610 
+
611 void CmdArgsInterface::SetCrashOnFail(bool crashOnFail)
+
612 {
+
613  this->crashOnFail = crashOnFail;
+
614  return;
+
615 }
+
616 
+
617 const ParamConstraint* CmdArgsInterface::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 }
+
+
Hazelnp::CmdArgsInterface::GetCatchHelp
bool GetCatchHelp() const
Retruns whether the CmdArgsInterface should automatically catch the –help parameter,...
Definition: CmdArgsInterface.cpp:340
+
HazelnuppException.h
+
Hazelnp
Definition: CmdArgsInterface.h:7
+
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::CmdArgsInterface::GetConstraint
ParamConstraint GetConstraint(const std::string &parameter) const
Will return the constraint information for a specific parameter.
Definition: CmdArgsInterface.cpp:542
+
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::CmdArgsInterface::ClearAbbreviations
void ClearAbbreviations()
Will delete all abbreviations.
Definition: CmdArgsInterface.cpp:592
+
Hazelnp::CmdArgsInterface::SetCatchHelp
void SetCatchHelp(bool catchHelp)
Sets whether the CmdArgsInterface should automatically catch the –help parameter, print the parameter...
Definition: CmdArgsInterface.cpp:334
+
Hazelnp::CmdArgsInterface::HasAbbreviation
bool HasAbbreviation(const std::string &abbrev) const
Will check wether or not an abbreviation is registered.
Definition: CmdArgsInterface.cpp:581
+
Hazelnp::HazelnuppInvalidKeyException
Gets thrown when an non-existent key gets dereferenced.
Definition: HazelnuppException.h:29
+
Hazelnp::CmdArgsInterface::RegisterConstraint
void RegisterConstraint(const std::string &key, const ParamConstraint &constraint)
Will register a constraint for a parameter.
Definition: CmdArgsInterface.cpp:598
+
StringValue.h
+
CmdArgsInterface.h
+
Hazelnp::HazelnuppException::What
const std::string & What() const
Will return an error message.
Definition: HazelnuppException.h:18
+
IntValue.h
+
Placeholders.h
+
Hazelnp::DATA_TYPE::VOID
@ VOID
+
Hazelnp::FloatValue
Specializations for floating point values (uses long double)
Definition: FloatValue.h:9
+
Hazelnp::CmdArgsInterface::ClearConstraint
void ClearConstraint(const std::string &parameter)
Will the constraint of a specific parameter.
Definition: CmdArgsInterface.cpp:547
+
Hazelnp::ParamConstraint::requiredType
DATA_TYPE requiredType
Constrain the parameter to this value. Requires constrainType to be set to true.
Definition: ParamConstraint.h:51
+
Hazelnp::Value
Abstract class for values.
Definition: Value.h:10
+
Hazelnp::CmdArgsInterface::RegisterAbbreviation
void RegisterAbbreviation(const std::string &abbrev, const std::string &target)
Will register an abbreviation (like -f for –force)
Definition: CmdArgsInterface.cpp:567
+
Hazelnp::CmdArgsInterface::HasParam
bool HasParam(const std::string &key) const
Will check wether a parameter exists given a key, or not.
Definition: CmdArgsInterface.cpp:165
+
Hazelnp::DATA_TYPE::LIST
@ LIST
+
Hazelnp::CmdArgsInterface::ClearConstraints
void ClearConstraints()
Will delete all constraints.
Definition: CmdArgsInterface.cpp:605
+
Hazelnp::Parameter
Definition: Parameter.h:8
+
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::CmdArgsInterface::GetCrashOnFail
bool GetCrashOnFail() const
Gets whether the application crashes on an exception whilst parsing, and prints to stderr.
Definition: CmdArgsInterface.cpp:329
+
Hazelnp::CmdArgsInterface::HasDescription
bool HasDescription(const std::string &parameter) const
Returns whether or not a given parameter has a registered description.
Definition: CmdArgsInterface.cpp:373
+
Hazelnp::CmdArgsInterface::ClearDescription
void ClearDescription(const std::string &parameter)
Will delete the description of a parameter if it exists.
Definition: CmdArgsInterface.cpp:378
+
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::CmdArgsInterface::CmdArgsInterface
CmdArgsInterface()
Definition: CmdArgsInterface.cpp:15
+
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:80
+
Hazelnp::CmdArgsInterface::ClearAbbreviation
void ClearAbbreviation(const std::string &abbrevation)
Will delete the abbreviation for a given parameter.
Definition: CmdArgsInterface.cpp:586
+
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::CmdArgsInterface::Parse
void Parse(const int argc, const char *const *argv)
Will parse command line arguments.
Definition: CmdArgsInterface.cpp:36
+
Hazelnp::CmdArgsInterface::SetBriefDescription
void SetBriefDescription(const std::string &description)
Sets a brief description of the application to be automatically added to the documentation.
Definition: CmdArgsInterface.cpp:345
+
Hazelnp::CmdArgsInterface::GetBriefDescription
const std::string & GetBriefDescription()
Returns the brief description of the application to be automatically added to the documentation.
Definition: CmdArgsInterface.cpp:351
+
Hazelnp::CmdArgsInterface::operator[]
const Value & operator[](const std::string &key) const
Will return the value given a key.
Definition: CmdArgsInterface.cpp:558
+
Hazelnp::CmdArgsInterface::ClearDescriptions
void ClearDescriptions()
Will delete all parameter descriptions.
Definition: CmdArgsInterface.cpp:385
+
Hazelnp::ListValue::AddValue
void AddValue(const Value *value)
Will add this value to the list.
Definition: ListValue.cpp:33
+
Hazelnp::VoidValue
Specializations for void values.
Definition: VoidValue.h:8
+
Hazelnp::CmdArgsInterface::GenerateDocumentation
std::string GenerateDocumentation() const
Will generate a text-based documentation suited to show the user, for example on –help.
Definition: CmdArgsInterface.cpp:391
+
Hazelnp::CmdArgsInterface::RegisterDescription
void RegisterDescription(const std::string &parameter, const std::string &description)
Willl register a short description for a parameter.
Definition: CmdArgsInterface.cpp:356
+
Hazelnp::DATA_TYPE::FLOAT
@ FLOAT
+
Hazelnp::CmdArgsInterface::GetDescription
const std::string & GetDescription(const std::string &parameter) const
Will return a short description for a parameter, if it exists.
Definition: CmdArgsInterface.cpp:362
+
Hazelnp::DATA_TYPE::INT
@ INT
+
FloatValue.h
+
Hazelnp::DATA_TYPE
DATA_TYPE
The different data types a paramater can be.
Definition: DataType.h:8
+
Hazelnp::CmdArgsInterface::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: CmdArgsInterface.cpp:573
+
Hazelnp::DATA_TYPE::STRING
@ STRING
+
Hazelnp::CmdArgsInterface::GetExecutableName
const std::string & GetExecutableName() const
Will return argv[0], the name of the executable.
Definition: CmdArgsInterface.cpp:553
+
Hazelnp::DataTypeToString
static std::string DataTypeToString(DATA_TYPE type)
Definition: DataType.h:17
+
Hazelnp::CmdArgsInterface::SetCrashOnFail
void SetCrashOnFail(bool crashOnFail)
Sets whether to crash the application, and print to stderr, when an exception is raised whilst parsin...
Definition: CmdArgsInterface.cpp:611
+
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
+
Hazelnp::CmdArgsInterface::~CmdArgsInterface
~CmdArgsInterface()
Definition: CmdArgsInterface.cpp:26
+ + + + diff --git a/docs/CmdArgsInterface_8h.html b/docs/CmdArgsInterface_8h.html new file mode 100644 index 0000000..7130b15 --- /dev/null +++ b/docs/CmdArgsInterface_8h.html @@ -0,0 +1,135 @@ + + + + + + + +Leonetienne/Hazelnupp: Hazelnupp/CmdArgsInterface.h File Reference + + + + + + + + + + + +
+
+ + + + + + + +
+
Leonetienne/Hazelnupp +
+
Simple, easy to use, command line parameter interface
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Classes | +Namespaces
+
+
CmdArgsInterface.h File Reference
+
+
+
#include "Parameter.h"
+#include "ParamConstraint.h"
+#include <unordered_map>
+#include <vector>
+
+Include dependency graph for CmdArgsInterface.h:
+
+
+ + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + +
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  Hazelnp::CmdArgsInterface
 The main class to interface with. More...
 
+ + + +

+Namespaces

 Hazelnp
 
+
+ + + + diff --git a/docs/CmdArgsInterface_8h__dep__incl.map b/docs/CmdArgsInterface_8h__dep__incl.map new file mode 100644 index 0000000..f19760a --- /dev/null +++ b/docs/CmdArgsInterface_8h__dep__incl.map @@ -0,0 +1,4 @@ + + + + diff --git a/docs/CmdArgsInterface_8h__dep__incl.md5 b/docs/CmdArgsInterface_8h__dep__incl.md5 new file mode 100644 index 0000000..ddb9ced --- /dev/null +++ b/docs/CmdArgsInterface_8h__dep__incl.md5 @@ -0,0 +1 @@ +dfaa7b9bbc047edc6dac352f33d674ae \ No newline at end of file diff --git a/docs/CmdArgsInterface_8h__dep__incl.png b/docs/CmdArgsInterface_8h__dep__incl.png new file mode 100644 index 0000000..787e7ae Binary files /dev/null and b/docs/CmdArgsInterface_8h__dep__incl.png differ diff --git a/docs/CmdArgsInterface_8h__incl.map b/docs/CmdArgsInterface_8h__incl.map new file mode 100644 index 0000000..8ac268e --- /dev/null +++ b/docs/CmdArgsInterface_8h__incl.map @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/docs/CmdArgsInterface_8h__incl.md5 b/docs/CmdArgsInterface_8h__incl.md5 new file mode 100644 index 0000000..cef96ca --- /dev/null +++ b/docs/CmdArgsInterface_8h__incl.md5 @@ -0,0 +1 @@ +8ab680b9e8342db6d2471c14b295e135 \ No newline at end of file diff --git a/docs/CmdArgsInterface_8h__incl.png b/docs/CmdArgsInterface_8h__incl.png new file mode 100644 index 0000000..029210b Binary files /dev/null and b/docs/CmdArgsInterface_8h__incl.png differ diff --git a/docs/CmdArgsInterface_8h_source.html b/docs/CmdArgsInterface_8h_source.html new file mode 100644 index 0000000..7836b53 --- /dev/null +++ b/docs/CmdArgsInterface_8h_source.html @@ -0,0 +1,269 @@ + + + + + + + +Leonetienne/Hazelnupp: Hazelnupp/CmdArgsInterface.h Source File + + + + + + + + + + + +
+
+ + + + + + + +
+
Leonetienne/Hazelnupp +
+
Simple, easy to use, command line parameter interface
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
CmdArgsInterface.h
+
+
+Go to the documentation of this file.
1 #pragma once
+
2 #include "Parameter.h"
+
3 #include "ParamConstraint.h"
+
4 #include <unordered_map>
+
5 #include <vector>
+
6 
+
7 namespace Hazelnp
+
8 {
+
9  /** The main class to interface with
+
10  */
+ +
12  {
+
13  public:
+ +
15  CmdArgsInterface(const int argc, const char* const* argv);
+
16 
+ +
18 
+
19  //! Will parse command line arguments
+
20  void Parse(const int argc, const char* const* argv);
+
21 
+
22  //! Will return argv[0], the name of the executable.
+
23  const std::string& GetExecutableName() const;
+
24 
+
25  //! Will return the value given a key
+
26  const Value& operator[](const std::string& key) const;
+
27 
+
28  //! Will check wether a parameter exists given a key, or not
+
29  bool HasParam(const std::string& key) const;
+
30 
+
31  // Abbreviations
+
32  //! Will register an abbreviation (like -f for --force)
+
33  void RegisterAbbreviation(const std::string& abbrev, const std::string& target);
+
34 
+
35  //! Will return the long form of an abbreviation (like --force for -f)
+
36  //! Returns "" if no match is found
+
37  const std::string& GetAbbreviation(const std::string& abbrev) const;
+
38 
+
39  //! Will check wether or not an abbreviation is registered
+
40  bool HasAbbreviation(const std::string& abbrev) const;
+
41 
+
42  //! Will delete the abbreviation for a given parameter.
+
43  //! IMPORTANT: This parameter is the abbreviation! Not the long form!
+
44  void ClearAbbreviation(const std::string& abbrevation);
+
45 
+
46  //! Will delete all abbreviations
+
47  void ClearAbbreviations();
+
48 
+
49  //! Will register a constraint for a parameter.
+
50  //! IMPORTANT: Any parameter can only have ONE constraint. Applying a new one will overwrite the old one!
+
51  //! Construct the ParamConstraint struct yourself to combine Require and TypeSafety! You can also use the ParamConstraint constructor!
+
52  void RegisterConstraint(const std::string& key, const ParamConstraint& constraint);
+
53 
+
54  //! Will return the constraint information for a specific parameter
+
55  ParamConstraint GetConstraint(const std::string& parameter) const;
+
56 
+
57  //! Will the constraint of a specific parameter
+
58  void ClearConstraint(const std::string& parameter);
+
59 
+
60  //! Will delete all constraints
+
61  void ClearConstraints();
+
62 
+
63  //! Sets whether to crash the application, and print to stderr, when an exception is
+
64  //! raised whilst parsing, or not.
+
65  void SetCrashOnFail(bool crashOnFail);
+
66 
+
67  //! Gets whether the application crashes on an exception whilst parsing, and prints to stderr.
+
68  bool GetCrashOnFail() const;
+
69 
+
70  //! Sets whether the CmdArgsInterface should automatically catch the --help parameter, print the parameter documentation to stdout, and exit or not.
+
71  void SetCatchHelp(bool catchHelp);
+
72 
+
73  //! Retruns whether the CmdArgsInterface should automatically catch the --help parameter, print the parameter documentation to stdout, and exit or not.
+
74  bool GetCatchHelp() const;
+
75 
+
76  //! Sets a brief description of the application to be automatically added to the documentation.
+
77  void SetBriefDescription(const std::string& description);
+
78 
+
79  //! Returns the brief description of the application to be automatically added to the documentation.
+
80  const std::string& GetBriefDescription();
+
81 
+
82  //! Willl register a short description for a parameter.
+
83  //! Will overwrite existing descriptions for that parameter.
+
84  void RegisterDescription(const std::string& parameter, const std::string& description);
+
85 
+
86  //! Will return a short description for a parameter, if it exists.
+
87  //! Empty string if it does not exist.
+
88  const std::string& GetDescription(const std::string& parameter) const;
+
89 
+
90  //! Returns whether or not a given parameter has a registered description
+
91  bool HasDescription(const std::string& parameter) const;
+
92 
+
93  //! Will delete the description of a parameter if it exists.
+
94  void ClearDescription(const std::string& parameter);
+
95 
+
96  //! Will delete all parameter descriptions
+
97  void ClearDescriptions();
+
98 
+
99  //! Will generate a text-based documentation suited to show the user, for example on --help.
+
100  std::string GenerateDocumentation() const;
+
101 
+
102  private:
+
103  //! Will translate the c-like args to an std::vector
+
104  void PopulateRawArgs(const int argc, const char* const* argv);
+
105 
+
106  //! Will replace all args matching an abbreviation with their long form (like -f for --force)
+
107  void ExpandAbbreviations();
+
108 
+
109  //! Will parse the next parameter. Returns the index of the next parameter.
+
110  std::size_t ParseNextParameter(const std::size_t parIndex, Parameter*& out_Par);
+
111 
+
112  //! Will convert a vector of string-values to an actual Value
+
113  Value* ParseValue(const std::vector<std::string>& values, const ParamConstraint* constraint = nullptr);
+
114 
+
115  //! Will apply the loaded constraints on the loaded values, exluding types.
+
116  void ApplyConstraints();
+
117 
+
118  //! Will return a pointer to a paramConstraint given a key. If there is no, it returns nullptr
+
119  const ParamConstraint* GetConstraintForKey(const std::string& key) const;
+
120 
+
121  std::string executableName; //! The path of the executable. Always argv[0]
+
122  std::unordered_map<std::string, Parameter*> parameters;
+
123 
+
124  //! These are abbreviations. Like, -f for --force.
+
125  std::unordered_map<std::string, std::string> parameterAbreviations;
+
126 
+
127  //! Parameter constraints, mapped to keys
+
128  std::unordered_map<std::string, ParamConstraint> parameterConstraints;
+
129 
+
130  //! Raw argv
+
131  std::vector<std::string> rawArgs;
+
132 
+
133  //! Short descriptions for parameters
+
134  //! First member is the abbreviation
+
135  std::unordered_map<std::string, std::string> parameterDescriptions;
+
136 
+
137  //! A brief description of the application to be added to the generated documentation. Optional.
+
138  std::string briefDescription;
+
139 
+
140  //! If set to true, CmdArgsInterface will automatically catch the --help parameter, print the parameter documentation to stdout and exit.
+
141  bool catchHelp = true;
+
142 
+
143  //! If set to true, CmdArgsInterface will crash the application with output to stderr when an exception is thrown whilst parsing.
+
144  bool crashOnFail = true;
+
145  };
+
146 }
+
+
Hazelnp::CmdArgsInterface::GetCatchHelp
bool GetCatchHelp() const
Retruns whether the CmdArgsInterface should automatically catch the –help parameter,...
Definition: CmdArgsInterface.cpp:340
+
Hazelnp
Definition: CmdArgsInterface.h:7
+
Hazelnp::CmdArgsInterface
The main class to interface with.
Definition: CmdArgsInterface.h:11
+
Hazelnp::CmdArgsInterface::GetConstraint
ParamConstraint GetConstraint(const std::string &parameter) const
Will return the constraint information for a specific parameter.
Definition: CmdArgsInterface.cpp:542
+
Hazelnp::CmdArgsInterface::ClearAbbreviations
void ClearAbbreviations()
Will delete all abbreviations.
Definition: CmdArgsInterface.cpp:592
+
Hazelnp::CmdArgsInterface::SetCatchHelp
void SetCatchHelp(bool catchHelp)
Sets whether the CmdArgsInterface should automatically catch the –help parameter, print the parameter...
Definition: CmdArgsInterface.cpp:334
+
Hazelnp::CmdArgsInterface::HasAbbreviation
bool HasAbbreviation(const std::string &abbrev) const
Will check wether or not an abbreviation is registered.
Definition: CmdArgsInterface.cpp:581
+
Hazelnp::CmdArgsInterface::RegisterConstraint
void RegisterConstraint(const std::string &key, const ParamConstraint &constraint)
Will register a constraint for a parameter.
Definition: CmdArgsInterface.cpp:598
+
Hazelnp::CmdArgsInterface::ClearConstraint
void ClearConstraint(const std::string &parameter)
Will the constraint of a specific parameter.
Definition: CmdArgsInterface.cpp:547
+
Hazelnp::Value
Abstract class for values.
Definition: Value.h:10
+
ParamConstraint.h
+
Hazelnp::CmdArgsInterface::RegisterAbbreviation
void RegisterAbbreviation(const std::string &abbrev, const std::string &target)
Will register an abbreviation (like -f for –force)
Definition: CmdArgsInterface.cpp:567
+
Hazelnp::CmdArgsInterface::HasParam
bool HasParam(const std::string &key) const
Will check wether a parameter exists given a key, or not.
Definition: CmdArgsInterface.cpp:165
+
Hazelnp::CmdArgsInterface::ClearConstraints
void ClearConstraints()
Will delete all constraints.
Definition: CmdArgsInterface.cpp:605
+
Hazelnp::Parameter
Definition: Parameter.h:8
+
Hazelnp::ParamConstraint
Definition: ParamConstraint.h:8
+
Hazelnp::CmdArgsInterface::GetCrashOnFail
bool GetCrashOnFail() const
Gets whether the application crashes on an exception whilst parsing, and prints to stderr.
Definition: CmdArgsInterface.cpp:329
+
Hazelnp::CmdArgsInterface::HasDescription
bool HasDescription(const std::string &parameter) const
Returns whether or not a given parameter has a registered description.
Definition: CmdArgsInterface.cpp:373
+
Hazelnp::CmdArgsInterface::ClearDescription
void ClearDescription(const std::string &parameter)
Will delete the description of a parameter if it exists.
Definition: CmdArgsInterface.cpp:378
+
Hazelnp::CmdArgsInterface::CmdArgsInterface
CmdArgsInterface()
Definition: CmdArgsInterface.cpp:15
+
Hazelnp::CmdArgsInterface::ClearAbbreviation
void ClearAbbreviation(const std::string &abbrevation)
Will delete the abbreviation for a given parameter.
Definition: CmdArgsInterface.cpp:586
+
Hazelnp::CmdArgsInterface::Parse
void Parse(const int argc, const char *const *argv)
Will parse command line arguments.
Definition: CmdArgsInterface.cpp:36
+
Hazelnp::CmdArgsInterface::SetBriefDescription
void SetBriefDescription(const std::string &description)
Sets a brief description of the application to be automatically added to the documentation.
Definition: CmdArgsInterface.cpp:345
+
Hazelnp::CmdArgsInterface::GetBriefDescription
const std::string & GetBriefDescription()
Returns the brief description of the application to be automatically added to the documentation.
Definition: CmdArgsInterface.cpp:351
+
Hazelnp::CmdArgsInterface::operator[]
const Value & operator[](const std::string &key) const
Will return the value given a key.
Definition: CmdArgsInterface.cpp:558
+
Hazelnp::CmdArgsInterface::ClearDescriptions
void ClearDescriptions()
Will delete all parameter descriptions.
Definition: CmdArgsInterface.cpp:385
+
Parameter.h
+
Hazelnp::CmdArgsInterface::GenerateDocumentation
std::string GenerateDocumentation() const
Will generate a text-based documentation suited to show the user, for example on –help.
Definition: CmdArgsInterface.cpp:391
+
Hazelnp::CmdArgsInterface::RegisterDescription
void RegisterDescription(const std::string &parameter, const std::string &description)
Willl register a short description for a parameter.
Definition: CmdArgsInterface.cpp:356
+
Hazelnp::CmdArgsInterface::GetDescription
const std::string & GetDescription(const std::string &parameter) const
Will return a short description for a parameter, if it exists.
Definition: CmdArgsInterface.cpp:362
+
Hazelnp::CmdArgsInterface::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: CmdArgsInterface.cpp:573
+
Hazelnp::CmdArgsInterface::GetExecutableName
const std::string & GetExecutableName() const
Will return argv[0], the name of the executable.
Definition: CmdArgsInterface.cpp:553
+
Hazelnp::CmdArgsInterface::SetCrashOnFail
void SetCrashOnFail(bool crashOnFail)
Sets whether to crash the application, and print to stderr, when an exception is raised whilst parsin...
Definition: CmdArgsInterface.cpp:611
+
Hazelnp::CmdArgsInterface::~CmdArgsInterface
~CmdArgsInterface()
Definition: CmdArgsInterface.cpp:26
+ + + + diff --git a/docs/DataType_8h.html b/docs/DataType_8h.html index 1ac9461..4836e67 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 5836b23..9420f2f 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 0de97b6..f910235 100644 --- a/docs/DataType_8h__dep__incl.md5 +++ b/docs/DataType_8h__dep__incl.md5 @@ -1 +1 @@ -842c0bb6a806d34881da78d3443ca4f4 \ No newline at end of file +ade4d06f1bc62f0f5e08b5d2c18bb715 \ No newline at end of file diff --git a/docs/DataType_8h__dep__incl.png b/docs/DataType_8h__dep__incl.png index a3906b3..4665005 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 a95d82f..ac696ad 100644 --- a/docs/DataType_8h_source.html +++ b/docs/DataType_8h_source.html @@ -81,7 +81,7 @@ $(function() { Go to the documentation of this file.
1 #pragma once
2 #include <string>
3 
-
4 namespace Hazelnp
+
4 namespace Hazelnp
5 {
6  /** The different data types a paramater can be
7  */
@@ -118,7 +118,7 @@ $(function() {
38  }
39 }
-
Hazelnp
Definition: DataType.h:4
+
Hazelnp
Definition: CmdArgsInterface.h:7
Hazelnp::DATA_TYPE::VOID
@ VOID
Hazelnp::DATA_TYPE::LIST
@ LIST
Hazelnp::DATA_TYPE::FLOAT
@ FLOAT
@@ -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 28ed9bc..6503113 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 f71b641..21bcb8e 100644 --- a/docs/FloatValue_8cpp.html +++ b/docs/FloatValue_8cpp.html @@ -103,7 +103,7 @@ Include dependency graph for FloatValue.cpp: diff --git a/docs/FloatValue_8cpp_source.html b/docs/FloatValue_8cpp_source.html index 540249f..862d027 100644 --- a/docs/FloatValue_8cpp_source.html +++ b/docs/FloatValue_8cpp_source.html @@ -156,7 +156,7 @@ $(function() {
Hazelnp::FloatValue::GetFloat64
long double GetFloat64() const override
Will return the data as a long double.
Definition: FloatValue.cpp:54
HazelnuppException.h
-
Hazelnp
Definition: DataType.h:4
+
Hazelnp
Definition: CmdArgsInterface.h:7
Hazelnp::FloatValue::GetString
std::string GetString() const override
Will return the data as a string.
Definition: FloatValue.cpp:64
Hazelnp::FloatValue::GetList
const std::vector< Value * > & GetList() const override
Throws HazelnuppValueNotConvertibleException.
Definition: FloatValue.cpp:72
Hazelnp::FloatValue::GetInt64
long long int GetInt64() const override
Will return the data as a long long int.
Definition: FloatValue.cpp:44
@@ -173,7 +173,7 @@ $(function() {
Hazelnp::FloatValue::GetInt32
int GetInt32() const override
Will return the data as an int.
Definition: FloatValue.cpp:49
diff --git a/docs/FloatValue_8h.html b/docs/FloatValue_8h.html index f45333b..f0e3966 100644 --- a/docs/FloatValue_8h.html +++ b/docs/FloatValue_8h.html @@ -101,9 +101,9 @@ This graph shows which files directly or indirectly include this file:
- - - + + +
@@ -123,7 +123,7 @@ Namespaces diff --git a/docs/FloatValue_8h__dep__incl.map b/docs/FloatValue_8h__dep__incl.map index aa6c8a7..7c61a1b 100644 --- a/docs/FloatValue_8h__dep__incl.map +++ b/docs/FloatValue_8h__dep__incl.map @@ -1,5 +1,5 @@ - - - + + + diff --git a/docs/FloatValue_8h__dep__incl.md5 b/docs/FloatValue_8h__dep__incl.md5 index a0ee1a1..972d717 100644 --- a/docs/FloatValue_8h__dep__incl.md5 +++ b/docs/FloatValue_8h__dep__incl.md5 @@ -1 +1 @@ -6cf23af62c7641b0c347b14a52c8bd43 \ No newline at end of file +9a73d58edf4444ecb436553aba643585 \ No newline at end of file diff --git a/docs/FloatValue_8h__dep__incl.png b/docs/FloatValue_8h__dep__incl.png index b5ce816..b002427 100644 Binary files a/docs/FloatValue_8h__dep__incl.png and b/docs/FloatValue_8h__dep__incl.png differ diff --git a/docs/FloatValue_8h_source.html b/docs/FloatValue_8h_source.html index 0f2e212..f3e5724 100644 --- a/docs/FloatValue_8h_source.html +++ b/docs/FloatValue_8h_source.html @@ -126,7 +126,7 @@ $(function() {
46 }
Hazelnp::FloatValue::GetFloat64
long double GetFloat64() const override
Will return the data as a long double.
Definition: FloatValue.cpp:54
-
Hazelnp
Definition: DataType.h:4
+
Hazelnp
Definition: CmdArgsInterface.h:7
Hazelnp::FloatValue::~FloatValue
~FloatValue() override
Definition: FloatValue.h:13
Hazelnp::FloatValue::GetString
std::string GetString() const override
Will return the data as a string.
Definition: FloatValue.cpp:64
Hazelnp::FloatValue::GetList
const std::vector< Value * > & GetList() const override
Throws HazelnuppValueNotConvertibleException.
Definition: FloatValue.cpp:72
@@ -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 b283880..3d6e228 100644 --- a/docs/HazelnuppException_8h.html +++ b/docs/HazelnuppException_8h.html @@ -102,13 +102,13 @@ This graph shows which files directly or indirectly include this file:
- - - - - - - + + + + + + +
@@ -143,7 +143,7 @@ Namespaces diff --git a/docs/HazelnuppException_8h__dep__incl.map b/docs/HazelnuppException_8h__dep__incl.map index be745d8..016dbab 100644 --- a/docs/HazelnuppException_8h__dep__incl.map +++ b/docs/HazelnuppException_8h__dep__incl.map @@ -1,9 +1,9 @@ - - - - - - - + + + + + + + diff --git a/docs/HazelnuppException_8h__dep__incl.md5 b/docs/HazelnuppException_8h__dep__incl.md5 index 0d4788b..3beba8b 100644 --- a/docs/HazelnuppException_8h__dep__incl.md5 +++ b/docs/HazelnuppException_8h__dep__incl.md5 @@ -1 +1 @@ -57d355773249b6d7455978a59686235f \ No newline at end of file +6e865be0592ca1da6ebc6ef8f2a3d948 \ No newline at end of file diff --git a/docs/HazelnuppException_8h__dep__incl.png b/docs/HazelnuppException_8h__dep__incl.png index 2184595..2288f1b 100644 Binary files a/docs/HazelnuppException_8h__dep__incl.png and b/docs/HazelnuppException_8h__dep__incl.png differ diff --git a/docs/HazelnuppException_8h_source.html b/docs/HazelnuppException_8h_source.html index dbf4c26..3fa668c 100644 --- a/docs/HazelnuppException_8h_source.html +++ b/docs/HazelnuppException_8h_source.html @@ -177,7 +177,7 @@ $(function() {
97  };
98 }
-
Hazelnp
Definition: DataType.h:4
+
Hazelnp
Definition: CmdArgsInterface.h:7
DataType.h
Hazelnp::HazelnuppInvalidKeyException::HazelnuppInvalidKeyException
HazelnuppInvalidKeyException(const std::string &msg)
Definition: HazelnuppException.h:33
Hazelnp::HazelnuppConstraintException::HazelnuppConstraintException
HazelnuppConstraintException()
Definition: HazelnuppException.h:50
@@ -204,7 +204,7 @@ $(function() {
Hazelnp::HazelnuppInvalidKeyException::HazelnuppInvalidKeyException
HazelnuppInvalidKeyException()
Definition: HazelnuppException.h:32
diff --git a/docs/IntValue_8cpp.html b/docs/IntValue_8cpp.html index 159c83c..936f8a7 100644 --- a/docs/IntValue_8cpp.html +++ b/docs/IntValue_8cpp.html @@ -103,7 +103,7 @@ Include dependency graph for IntValue.cpp: diff --git a/docs/IntValue_8cpp_source.html b/docs/IntValue_8cpp_source.html index 7d00333..0b7cf96 100644 --- a/docs/IntValue_8cpp_source.html +++ b/docs/IntValue_8cpp_source.html @@ -156,7 +156,7 @@ $(function() {
HazelnuppException.h
Hazelnp::IntValue::GetAsOsString
std::string GetAsOsString() const override
Will return a string suitable for an std::ostream;.
Definition: IntValue.cpp:20
-
Hazelnp
Definition: DataType.h:4
+
Hazelnp
Definition: CmdArgsInterface.h:7
Hazelnp::IntValue::GetFloat32
double GetFloat32() const override
Will return the data as a double.
Definition: IntValue.cpp:59
IntValue.h
Hazelnp::IntValue::IntValue
IntValue(const long long int &value)
Definition: IntValue.cpp:7
@@ -173,7 +173,7 @@ $(function() {
Hazelnp::HazelnuppValueNotConvertibleException
Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not ...
Definition: HazelnuppException.h:38
diff --git a/docs/IntValue_8h.html b/docs/IntValue_8h.html index 9f4d645..6b4b22c 100644 --- a/docs/IntValue_8h.html +++ b/docs/IntValue_8h.html @@ -100,9 +100,9 @@ This graph shows which files directly or indirectly include this file:
- - - + + +
@@ -122,7 +122,7 @@ Namespaces diff --git a/docs/IntValue_8h__dep__incl.map b/docs/IntValue_8h__dep__incl.map index 6a5154d..4897b85 100644 --- a/docs/IntValue_8h__dep__incl.map +++ b/docs/IntValue_8h__dep__incl.map @@ -1,5 +1,5 @@ - - - + + + diff --git a/docs/IntValue_8h__dep__incl.md5 b/docs/IntValue_8h__dep__incl.md5 index 9d4d64a..c741961 100644 --- a/docs/IntValue_8h__dep__incl.md5 +++ b/docs/IntValue_8h__dep__incl.md5 @@ -1 +1 @@ -767ed23ff3d1ead5789ef936df4875ca \ No newline at end of file +210bd13ae99f4f3c78d0bcbf903f3b49 \ No newline at end of file diff --git a/docs/IntValue_8h__dep__incl.png b/docs/IntValue_8h__dep__incl.png index a907f03..1aced50 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 6fcab14..19d4cf0 100644 --- a/docs/IntValue_8h_source.html +++ b/docs/IntValue_8h_source.html @@ -126,7 +126,7 @@ $(function() {
46 }
Hazelnp::IntValue::GetAsOsString
std::string GetAsOsString() const override
Will return a string suitable for an std::ostream;.
Definition: IntValue.cpp:20
-
Hazelnp
Definition: DataType.h:4
+
Hazelnp
Definition: CmdArgsInterface.h:7
Hazelnp::IntValue
Specializations for integer values (uses long long int)
Definition: IntValue.h:8
Hazelnp::IntValue::GetFloat32
double GetFloat32() const override
Will return the data as a double.
Definition: IntValue.cpp:59
Hazelnp::IntValue::~IntValue
~IntValue() override
Definition: IntValue.h:12
@@ -142,7 +142,7 @@ $(function() {
Value.h
diff --git a/docs/ListValue_8cpp.html b/docs/ListValue_8cpp.html index be7f43b..0fd30ab 100644 --- a/docs/ListValue_8cpp.html +++ b/docs/ListValue_8cpp.html @@ -103,7 +103,7 @@ Include dependency graph for ListValue.cpp: diff --git a/docs/ListValue_8cpp_source.html b/docs/ListValue_8cpp_source.html index 0bec9b0..54f97fe 100644 --- a/docs/ListValue_8cpp_source.html +++ b/docs/ListValue_8cpp_source.html @@ -178,7 +178,7 @@ $(function() {
Hazelnp::ListValue::GetAsOsString
std::string GetAsOsString() const override
Will return a string suitable for an std::ostream;.
Definition: ListValue.cpp:44
HazelnuppException.h
-
Hazelnp
Definition: DataType.h:4
+
Hazelnp
Definition: CmdArgsInterface.h:7
Hazelnp::ListValue::GetFloat32
double GetFloat32() const override
Throws HazelnuppValueNotConvertibleException.
Definition: ListValue.cpp:84
Hazelnp::ListValue::GetString
std::string GetString() const override
Throws HazelnuppValueNotConvertibleException.
Definition: ListValue.cpp:89
Hazelnp::ListValue::GetList
const std::vector< Value * > & GetList() const override
Will return this values list.
Definition: ListValue.cpp:94
@@ -199,7 +199,7 @@ $(function() {
Hazelnp::HazelnuppValueNotConvertibleException
Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not ...
Definition: HazelnuppException.h:38
diff --git a/docs/ListValue_8h.html b/docs/ListValue_8h.html index 552f281..4643375 100644 --- a/docs/ListValue_8h.html +++ b/docs/ListValue_8h.html @@ -101,9 +101,9 @@ This graph shows which files directly or indirectly include this file:
- - - + + +
@@ -123,7 +123,7 @@ Namespaces diff --git a/docs/ListValue_8h__dep__incl.map b/docs/ListValue_8h__dep__incl.map index cc98cae..a41c615 100644 --- a/docs/ListValue_8h__dep__incl.map +++ b/docs/ListValue_8h__dep__incl.map @@ -1,5 +1,5 @@ - - - + + + diff --git a/docs/ListValue_8h__dep__incl.md5 b/docs/ListValue_8h__dep__incl.md5 index 6b7d0aa..c4ded7a 100644 --- a/docs/ListValue_8h__dep__incl.md5 +++ b/docs/ListValue_8h__dep__incl.md5 @@ -1 +1 @@ -802f41af52b697b82dc77a4af0f62c8c \ No newline at end of file +f2fcfdd1c5f4d9d482e8985a8a7faca7 \ No newline at end of file diff --git a/docs/ListValue_8h__dep__incl.png b/docs/ListValue_8h__dep__incl.png index aee092d..9ddecd8 100644 Binary files a/docs/ListValue_8h__dep__incl.png and b/docs/ListValue_8h__dep__incl.png differ diff --git a/docs/ListValue_8h_source.html b/docs/ListValue_8h_source.html index ee1d8c1..d85fd7b 100644 --- a/docs/ListValue_8h_source.html +++ b/docs/ListValue_8h_source.html @@ -128,7 +128,7 @@ $(function() {
48 }
Hazelnp::ListValue::GetAsOsString
std::string GetAsOsString() const override
Will return a string suitable for an std::ostream;.
Definition: ListValue.cpp:44
-
Hazelnp
Definition: DataType.h:4
+
Hazelnp
Definition: CmdArgsInterface.h:7
Hazelnp::ListValue::GetFloat32
double GetFloat32() const override
Throws HazelnuppValueNotConvertibleException.
Definition: ListValue.cpp:84
Hazelnp::ListValue::GetString
std::string GetString() const override
Throws HazelnuppValueNotConvertibleException.
Definition: ListValue.cpp:89
Hazelnp::ListValue::GetList
const std::vector< Value * > & GetList() const override
Will return this values list.
Definition: ListValue.cpp:94
@@ -145,7 +145,7 @@ $(function() {
Value.h
diff --git a/docs/ParamConstraint_8h.html b/docs/ParamConstraint_8h.html index e3343a0..b2e7959 100644 --- a/docs/ParamConstraint_8h.html +++ b/docs/ParamConstraint_8h.html @@ -100,9 +100,9 @@ This graph shows which files directly or indirectly include this file:
- - - + + +
@@ -121,7 +121,7 @@ Namespaces diff --git a/docs/ParamConstraint_8h__dep__incl.map b/docs/ParamConstraint_8h__dep__incl.map index 7e6be59..3c271fe 100644 --- a/docs/ParamConstraint_8h__dep__incl.map +++ b/docs/ParamConstraint_8h__dep__incl.map @@ -1,5 +1,5 @@ - - - + + + diff --git a/docs/ParamConstraint_8h__dep__incl.md5 b/docs/ParamConstraint_8h__dep__incl.md5 index 69b13b3..4a1582d 100644 --- a/docs/ParamConstraint_8h__dep__incl.md5 +++ b/docs/ParamConstraint_8h__dep__incl.md5 @@ -1 +1 @@ -2595090d381da33109fb209c9d0c2dd7 \ No newline at end of file +f90bab5c6fc162d0b90bdf119d4cc6e1 \ No newline at end of file diff --git a/docs/ParamConstraint_8h__dep__incl.png b/docs/ParamConstraint_8h__dep__incl.png index 7c8b90d..2523755 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 ca4fd69..5efa29e 100644 --- a/docs/ParamConstraint_8h_source.html +++ b/docs/ParamConstraint_8h_source.html @@ -144,13 +144,13 @@ $(function() {
64  //! This value is automatically set by Hazelnupp.
65  std::string key;
66 
-
67  friend class Hazelnupp;
+
67  friend class CmdArgsInterface;
68  };
69 }
-
Hazelnp
Definition: DataType.h:4
+
Hazelnp
Definition: CmdArgsInterface.h:7
DataType.h
-
Hazelnp::Hazelnupp
The main class to interface with.
Definition: Hazelnupp.h:11
+
Hazelnp::CmdArgsInterface
The main class to interface with.
Definition: CmdArgsInterface.h:11
Hazelnp::DATA_TYPE::VOID
@ VOID
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
@@ -164,7 +164,7 @@ $(function() {
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 cf0d732..b91f5c6 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 d3369f4..5f8ae62 100644 --- a/docs/Parameter_8cpp_source.html +++ b/docs/Parameter_8cpp_source.html @@ -108,7 +108,7 @@ $(function() {
28  return value;
29 }
-
Hazelnp
Definition: DataType.h:4
+
Hazelnp
Definition: CmdArgsInterface.h:7
Hazelnp::Parameter::~Parameter
~Parameter()
Definition: Parameter.cpp:13
Hazelnp::Parameter::GetValue
const Value * GetValue() const
Will return the value of this parameter.
Definition: Parameter.cpp:26
Hazelnp::Parameter::Key
const std::string & Key() const
Will return the key of this parameter.
Definition: Parameter.cpp:21
@@ -116,7 +116,7 @@ $(function() {
Parameter.h
diff --git a/docs/Parameter_8h.html b/docs/Parameter_8h.html index 3c50e02..64feea0 100644 --- a/docs/Parameter_8h.html +++ b/docs/Parameter_8h.html @@ -102,10 +102,10 @@ This graph shows which files directly or indirectly include this file:
- - - - + + + +
@@ -124,7 +124,7 @@ Namespaces diff --git a/docs/Parameter_8h__dep__incl.map b/docs/Parameter_8h__dep__incl.map index 9e06a1d..3d2fc7a 100644 --- a/docs/Parameter_8h__dep__incl.map +++ b/docs/Parameter_8h__dep__incl.map @@ -1,6 +1,6 @@ - - - - + + + + diff --git a/docs/Parameter_8h__dep__incl.md5 b/docs/Parameter_8h__dep__incl.md5 index 92b92be..6952c80 100644 --- a/docs/Parameter_8h__dep__incl.md5 +++ b/docs/Parameter_8h__dep__incl.md5 @@ -1 +1 @@ -f7abe1e068b5734e7b479b9e1b32e10c \ No newline at end of file +9a4982f3921120df66d02a430e4732ed \ No newline at end of file diff --git a/docs/Parameter_8h__dep__incl.png b/docs/Parameter_8h__dep__incl.png index b0c0607..b0ea6c6 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 a3eda65..8875de2 100644 --- a/docs/Parameter_8h_source.html +++ b/docs/Parameter_8h_source.html @@ -108,7 +108,7 @@ $(function() {
28  };
29 }
-
Hazelnp
Definition: DataType.h:4
+
Hazelnp
Definition: CmdArgsInterface.h:7
Hazelnp::Parameter::~Parameter
~Parameter()
Definition: Parameter.cpp:13
Hazelnp::Value
Abstract class for values.
Definition: Value.h:10
Hazelnp::Parameter
Definition: Parameter.h:8
@@ -119,7 +119,7 @@ $(function() {
Value.h
diff --git a/docs/Placeholders_8h.html b/docs/Placeholders_8h.html index 0fad879..0176d5e 100644 --- a/docs/Placeholders_8h.html +++ b/docs/Placeholders_8h.html @@ -96,8 +96,8 @@ This graph shows which files directly or indirectly include this file:
- - + +
@@ -119,7 +119,7 @@ Variables diff --git a/docs/Placeholders_8h__dep__incl.map b/docs/Placeholders_8h__dep__incl.map index 7af3b7c..9ef9625 100644 --- a/docs/Placeholders_8h__dep__incl.map +++ b/docs/Placeholders_8h__dep__incl.map @@ -1,4 +1,4 @@ - - + + diff --git a/docs/Placeholders_8h__dep__incl.md5 b/docs/Placeholders_8h__dep__incl.md5 index 6a40e2f..a02cd5a 100644 --- a/docs/Placeholders_8h__dep__incl.md5 +++ b/docs/Placeholders_8h__dep__incl.md5 @@ -1 +1 @@ -678075b6de5c70f209cd65d758fbf7ee \ No newline at end of file +521956097f5a4e4270470701af0a25f6 \ No newline at end of file diff --git a/docs/Placeholders_8h__dep__incl.png b/docs/Placeholders_8h__dep__incl.png index 884bd55..79e7b2d 100644 Binary files a/docs/Placeholders_8h__dep__incl.png and b/docs/Placeholders_8h__dep__incl.png differ diff --git a/docs/Placeholders_8h_source.html b/docs/Placeholders_8h_source.html index 142b0d6..02bfdda 100644 --- a/docs/Placeholders_8h_source.html +++ b/docs/Placeholders_8h_source.html @@ -90,11 +90,11 @@ $(function() {
10  }
11 }
-
Hazelnp
Definition: DataType.h:4
+
Hazelnp
Definition: CmdArgsInterface.h:7
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 50ee25b..e447a71 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 a833abf..cee93f0 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 7feb986..91e94d7 100644 --- a/docs/StringTools_8cpp_source.html +++ b/docs/StringTools_8cpp_source.html @@ -266,7 +266,7 @@ $(function() {
186 }
Hazelnp::StringTools::Replace
static std::string Replace(const std::string &str, const char find, const std::string &subst)
Will replace a part of a string with another string.
Definition: StringTools.cpp:14
-
Hazelnp
Definition: DataType.h:4
+
Hazelnp
Definition: CmdArgsInterface.h:7
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::StringTools::Contains
static bool Contains(const std::string &str, const char c)
Will return wether or not a given char is in a string.
Definition: StringTools.cpp:5
@@ -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 18c50eb..85d2003 100644 --- a/docs/StringTools_8h.html +++ b/docs/StringTools_8h.html @@ -102,9 +102,9 @@ This graph shows which files directly or indirectly include this file:
- - - + + +
@@ -124,7 +124,7 @@ Namespaces diff --git a/docs/StringTools_8h__dep__incl.map b/docs/StringTools_8h__dep__incl.map index c2f6e1b..be3956c 100644 --- a/docs/StringTools_8h__dep__incl.map +++ b/docs/StringTools_8h__dep__incl.map @@ -1,5 +1,5 @@ - - - + + + diff --git a/docs/StringTools_8h__dep__incl.md5 b/docs/StringTools_8h__dep__incl.md5 index 345b1d1..f88359e 100644 --- a/docs/StringTools_8h__dep__incl.md5 +++ b/docs/StringTools_8h__dep__incl.md5 @@ -1 +1 @@ -4ba8b953211065d16127937b8012e0e9 \ No newline at end of file +6a8a846369ea9d647a0ae474629f3fdc \ No newline at end of file diff --git a/docs/StringTools_8h__dep__incl.png b/docs/StringTools_8h__dep__incl.png index 91c51dd..d0d812d 100644 Binary files a/docs/StringTools_8h__dep__incl.png and b/docs/StringTools_8h__dep__incl.png differ diff --git a/docs/StringTools_8h_source.html b/docs/StringTools_8h_source.html index 130dfd0..6784b13 100644 --- a/docs/StringTools_8h_source.html +++ b/docs/StringTools_8h_source.html @@ -120,7 +120,7 @@ $(function() {
40 }
Hazelnp::StringTools::Replace
static std::string Replace(const std::string &str, const char find, const std::string &subst)
Will replace a part of a string with another string.
Definition: StringTools.cpp:14
-
Hazelnp
Definition: DataType.h:4
+
Hazelnp
Definition: CmdArgsInterface.h:7
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::StringTools::Contains
static bool Contains(const std::string &str, const char c)
Will return wether or not a given char is in a string.
Definition: StringTools.cpp:5
@@ -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 e957e36..f81fe70 100644 --- a/docs/StringValue_8cpp.html +++ b/docs/StringValue_8cpp.html @@ -103,7 +103,7 @@ Include dependency graph for StringValue.cpp: diff --git a/docs/StringValue_8cpp_source.html b/docs/StringValue_8cpp_source.html index db2cfda..8eae356 100644 --- a/docs/StringValue_8cpp_source.html +++ b/docs/StringValue_8cpp_source.html @@ -147,7 +147,7 @@ $(function() {
67 }
HazelnuppException.h
-
Hazelnp
Definition: DataType.h:4
+
Hazelnp
Definition: CmdArgsInterface.h:7
Hazelnp::StringValue::GetInt32
int GetInt32() const override
Throws HazelnuppValueNotConvertibleException.
Definition: StringValue.cpp:44
Hazelnp::StringValue::GetAsOsString
std::string GetAsOsString() const override
Will return a string suitable for an std::ostream;.
Definition: StringValue.cpp:20
Hazelnp::StringValue::StringValue
StringValue(const std::string &value)
Definition: StringValue.cpp:7
@@ -165,7 +165,7 @@ $(function() {
Hazelnp::HazelnuppValueNotConvertibleException
Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not ...
Definition: HazelnuppException.h:38
diff --git a/docs/StringValue_8h.html b/docs/StringValue_8h.html index bedb037..130a436 100644 --- a/docs/StringValue_8h.html +++ b/docs/StringValue_8h.html @@ -101,9 +101,9 @@ This graph shows which files directly or indirectly include this file:
- - - + + +
@@ -123,7 +123,7 @@ Namespaces diff --git a/docs/StringValue_8h__dep__incl.map b/docs/StringValue_8h__dep__incl.map index d6bec0a..00d1a24 100644 --- a/docs/StringValue_8h__dep__incl.map +++ b/docs/StringValue_8h__dep__incl.map @@ -1,5 +1,5 @@ - - - + + + diff --git a/docs/StringValue_8h__dep__incl.md5 b/docs/StringValue_8h__dep__incl.md5 index fb32603..c81cd5d 100644 --- a/docs/StringValue_8h__dep__incl.md5 +++ b/docs/StringValue_8h__dep__incl.md5 @@ -1 +1 @@ -ca9d7db385a6e6038cd9f1292aff77d0 \ No newline at end of file +a0f49b1d76495fc57c0b0a69a84be1dd \ No newline at end of file diff --git a/docs/StringValue_8h__dep__incl.png b/docs/StringValue_8h__dep__incl.png index 0acb9c8..a7784eb 100644 Binary files a/docs/StringValue_8h__dep__incl.png and b/docs/StringValue_8h__dep__incl.png differ diff --git a/docs/StringValue_8h_source.html b/docs/StringValue_8h_source.html index feb6dfa..ea18200 100644 --- a/docs/StringValue_8h_source.html +++ b/docs/StringValue_8h_source.html @@ -124,7 +124,7 @@ $(function() {
44  };
45 }
-
Hazelnp
Definition: DataType.h:4
+
Hazelnp
Definition: CmdArgsInterface.h:7
Hazelnp::StringValue::GetInt32
int GetInt32() const override
Throws HazelnuppValueNotConvertibleException.
Definition: StringValue.cpp:44
Hazelnp::StringValue::GetAsOsString
std::string GetAsOsString() const override
Will return a string suitable for an std::ostream;.
Definition: StringValue.cpp:20
Hazelnp::StringValue::StringValue
StringValue(const std::string &value)
Definition: StringValue.cpp:7
@@ -141,7 +141,7 @@ $(function() {
Value.h
diff --git a/docs/Value_8cpp.html b/docs/Value_8cpp.html index d82aafd..4f77170 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 547dfe5..18e55cb 100644 --- a/docs/Value_8cpp_source.html +++ b/docs/Value_8cpp_source.html @@ -94,7 +94,7 @@ $(function() {
14  return type;
15 }
-
Hazelnp
Definition: DataType.h:4
+
Hazelnp
Definition: CmdArgsInterface.h:7
Hazelnp::Value::Value
Value(DATA_TYPE type)
Definition: Value.cpp:5
Hazelnp::Value::GetDataType
DATA_TYPE GetDataType() const
Will return the data type of this value.
Definition: Value.cpp:12
Hazelnp::DATA_TYPE
DATA_TYPE
The different data types a paramater can be.
Definition: DataType.h:8
@@ -102,7 +102,7 @@ $(function() {
Value.h
diff --git a/docs/Value_8h.html b/docs/Value_8h.html index b826788..d8662a5 100644 --- a/docs/Value_8h.html +++ b/docs/Value_8h.html @@ -101,22 +101,22 @@ This graph shows which files directly or indirectly include this file:
- - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + +
@@ -136,7 +136,7 @@ Namespaces diff --git a/docs/Value_8h__dep__incl.map b/docs/Value_8h__dep__incl.map index 1652418..7cae3a0 100644 --- a/docs/Value_8h__dep__incl.map +++ b/docs/Value_8h__dep__incl.map @@ -1,18 +1,18 @@ - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + diff --git a/docs/Value_8h__dep__incl.md5 b/docs/Value_8h__dep__incl.md5 index 1595bfa..6dbcc84 100644 --- a/docs/Value_8h__dep__incl.md5 +++ b/docs/Value_8h__dep__incl.md5 @@ -1 +1 @@ -a9d46db7b6073c73abbdf2b13e5c3217 \ No newline at end of file +f01a2282f78dfaef0fb8ee3f2c321ea8 \ No newline at end of file diff --git a/docs/Value_8h__dep__incl.png b/docs/Value_8h__dep__incl.png index da98859..e031544 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 2075829..3268be7 100644 --- a/docs/Value_8h_source.html +++ b/docs/Value_8h_source.html @@ -129,7 +129,7 @@ $(function() {
49  };
50 }
-
Hazelnp
Definition: DataType.h:4
+
Hazelnp
Definition: CmdArgsInterface.h:7
DataType.h
Hazelnp::Value::GetFloat32
virtual double GetFloat32() const =0
Will attempt to return the floating-point data (double)
Hazelnp::Value
Abstract class for values.
Definition: Value.h:10
@@ -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 b548fb9..6ba7834 100644 --- a/docs/VoidValue_8cpp.html +++ b/docs/VoidValue_8cpp.html @@ -102,7 +102,7 @@ Include dependency graph for VoidValue.cpp: diff --git a/docs/VoidValue_8cpp_source.html b/docs/VoidValue_8cpp_source.html index 36d3c67..1c1785c 100644 --- a/docs/VoidValue_8cpp_source.html +++ b/docs/VoidValue_8cpp_source.html @@ -134,7 +134,7 @@ $(function() {
54 }
HazelnuppException.h
-
Hazelnp
Definition: DataType.h:4
+
Hazelnp
Definition: CmdArgsInterface.h:7
Hazelnp::VoidValue::GetInt64
long long int GetInt64() const override
Throws HazelnuppValueNotConvertibleException.
Definition: VoidValue.cpp:25
Hazelnp::VoidValue::GetFloat64
long double GetFloat64() const override
Throws HazelnuppValueNotConvertibleException.
Definition: VoidValue.cpp:35
Hazelnp::DATA_TYPE::VOID
@ VOID
@@ -151,7 +151,7 @@ $(function() {
Hazelnp::HazelnuppValueNotConvertibleException
Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not ...
Definition: HazelnuppException.h:38
diff --git a/docs/VoidValue_8h.html b/docs/VoidValue_8h.html index 473ca86..eda2c0e 100644 --- a/docs/VoidValue_8h.html +++ b/docs/VoidValue_8h.html @@ -100,9 +100,9 @@ This graph shows which files directly or indirectly include this file:
- - - + + +
@@ -122,7 +122,7 @@ Namespaces diff --git a/docs/VoidValue_8h__dep__incl.map b/docs/VoidValue_8h__dep__incl.map index 0673bcf..0462c59 100644 --- a/docs/VoidValue_8h__dep__incl.map +++ b/docs/VoidValue_8h__dep__incl.map @@ -1,5 +1,5 @@ - - - + + + diff --git a/docs/VoidValue_8h__dep__incl.md5 b/docs/VoidValue_8h__dep__incl.md5 index 03f8110..9f3bf28 100644 --- a/docs/VoidValue_8h__dep__incl.md5 +++ b/docs/VoidValue_8h__dep__incl.md5 @@ -1 +1 @@ -b1fa5187a73f08f6f0d205b365df780c \ No newline at end of file +c3697ea496d303a2f2ce807251f8e6c9 \ No newline at end of file diff --git a/docs/VoidValue_8h__dep__incl.png b/docs/VoidValue_8h__dep__incl.png index 68924fd..50297b9 100644 Binary files a/docs/VoidValue_8h__dep__incl.png and b/docs/VoidValue_8h__dep__incl.png differ diff --git a/docs/VoidValue_8h_source.html b/docs/VoidValue_8h_source.html index 9679c0b..c9c24b5 100644 --- a/docs/VoidValue_8h_source.html +++ b/docs/VoidValue_8h_source.html @@ -115,7 +115,7 @@ $(function() {
35  };
36 }
-
Hazelnp
Definition: DataType.h:4
+
Hazelnp
Definition: CmdArgsInterface.h:7
Hazelnp::VoidValue::GetInt64
long long int GetInt64() const override
Throws HazelnuppValueNotConvertibleException.
Definition: VoidValue.cpp:25
Hazelnp::VoidValue::~VoidValue
~VoidValue() override
Definition: VoidValue.h:12
Hazelnp::VoidValue::GetFloat64
long double GetFloat64() const override
Throws HazelnuppValueNotConvertibleException.
Definition: VoidValue.cpp:35
@@ -131,7 +131,7 @@ $(function() {
Value.h
diff --git a/docs/annotated.html b/docs/annotated.html index aebbdc3..38c7ae1 100644 --- a/docs/annotated.html +++ b/docs/annotated.html @@ -77,8 +77,8 @@ $(function() {
Here are the classes, structs, unions and interfaces with brief descriptions:
[detail level 12]
- - + + @@ -98,7 +98,7 @@ $(function() { diff --git a/docs/classHazelnp_1_1CmdArgsInterface-members.html b/docs/classHazelnp_1_1CmdArgsInterface-members.html new file mode 100644 index 0000000..8f236b1 --- /dev/null +++ b/docs/classHazelnp_1_1CmdArgsInterface-members.html @@ -0,0 +1,120 @@ + + + + + + + +Leonetienne/Hazelnupp: Member List + + + + + + + + + + + +
+
+
 NHazelnp
 CFloatValueSpecializations for floating point values (uses long double)
 CHazelnuppThe main class to interface with
 CCmdArgsInterfaceThe main class to interface with
 CFloatValueSpecializations for floating point values (uses long double)
 CHazelnuppConstraintExceptionGets thrown something bad happens because of parameter constraints
 CHazelnuppConstraintMissingValueGets thrown when a parameter constrained to be required is not provided, and has no default value set
 CHazelnuppConstraintTypeMissmatchGets thrown when a parameter is of a type that does not match the required type, and is not convertible to it
+ + + + + + +
+
Leonetienne/Hazelnupp +
+
Simple, easy to use, command line parameter interface
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + + +
+
+
Hazelnp::CmdArgsInterface Member List
+
+
+ +

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

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClearAbbreviation(const std::string &abbrevation)Hazelnp::CmdArgsInterface
ClearAbbreviations()Hazelnp::CmdArgsInterface
ClearConstraint(const std::string &parameter)Hazelnp::CmdArgsInterface
ClearConstraints()Hazelnp::CmdArgsInterface
ClearDescription(const std::string &parameter)Hazelnp::CmdArgsInterface
ClearDescriptions()Hazelnp::CmdArgsInterface
CmdArgsInterface()Hazelnp::CmdArgsInterface
CmdArgsInterface(const int argc, const char *const *argv)Hazelnp::CmdArgsInterface
GenerateDocumentation() constHazelnp::CmdArgsInterface
GetAbbreviation(const std::string &abbrev) constHazelnp::CmdArgsInterface
GetBriefDescription()Hazelnp::CmdArgsInterface
GetCatchHelp() constHazelnp::CmdArgsInterface
GetConstraint(const std::string &parameter) constHazelnp::CmdArgsInterface
GetCrashOnFail() constHazelnp::CmdArgsInterface
GetDescription(const std::string &parameter) constHazelnp::CmdArgsInterface
GetExecutableName() constHazelnp::CmdArgsInterface
HasAbbreviation(const std::string &abbrev) constHazelnp::CmdArgsInterface
HasDescription(const std::string &parameter) constHazelnp::CmdArgsInterface
HasParam(const std::string &key) constHazelnp::CmdArgsInterface
operator[](const std::string &key) constHazelnp::CmdArgsInterface
Parse(const int argc, const char *const *argv)Hazelnp::CmdArgsInterface
RegisterAbbreviation(const std::string &abbrev, const std::string &target)Hazelnp::CmdArgsInterface
RegisterConstraint(const std::string &key, const ParamConstraint &constraint)Hazelnp::CmdArgsInterface
RegisterDescription(const std::string &parameter, const std::string &description)Hazelnp::CmdArgsInterface
SetBriefDescription(const std::string &description)Hazelnp::CmdArgsInterface
SetCatchHelp(bool catchHelp)Hazelnp::CmdArgsInterface
SetCrashOnFail(bool crashOnFail)Hazelnp::CmdArgsInterface
~CmdArgsInterface()Hazelnp::CmdArgsInterface
+ + + + diff --git a/docs/classHazelnp_1_1CmdArgsInterface.html b/docs/classHazelnp_1_1CmdArgsInterface.html new file mode 100644 index 0000000..cc86d5f --- /dev/null +++ b/docs/classHazelnp_1_1CmdArgsInterface.html @@ -0,0 +1,1150 @@ + + + + + + + +Leonetienne/Hazelnupp: Hazelnp::CmdArgsInterface Class Reference + + + + + + + + + + + +
+
+ + + + + + + +
+
Leonetienne/Hazelnupp +
+
Simple, easy to use, command line parameter interface
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Public Member Functions | +List of all members
+
+
Hazelnp::CmdArgsInterface Class Reference
+
+
+ +

The main class to interface with. + More...

+ +

#include <CmdArgsInterface.h>

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 CmdArgsInterface ()
 
 CmdArgsInterface (const int argc, const char *const *argv)
 
 ~CmdArgsInterface ()
 
void Parse (const int argc, const char *const *argv)
 Will parse command line arguments. More...
 
const std::string & GetExecutableName () const
 Will return argv[0], the name of the executable. More...
 
const Valueoperator[] (const std::string &key) const
 Will return the value given a key. More...
 
bool HasParam (const std::string &key) const
 Will check wether a parameter exists given a key, or not. More...
 
void RegisterAbbreviation (const std::string &abbrev, const std::string &target)
 Will register an abbreviation (like -f for –force) More...
 
const std::string & GetAbbreviation (const std::string &abbrev) const
 Will return the long form of an abbreviation (like –force for -f)
+ Returns "" if no match is found. More...
 
bool HasAbbreviation (const std::string &abbrev) const
 Will check wether or not an abbreviation is registered. More...
 
void ClearAbbreviation (const std::string &abbrevation)
 Will delete the abbreviation for a given parameter. More...
 
void ClearAbbreviations ()
 Will delete all abbreviations. More...
 
void RegisterConstraint (const std::string &key, const ParamConstraint &constraint)
 Will register a constraint for a parameter. More...
 
ParamConstraint GetConstraint (const std::string &parameter) const
 Will return the constraint information for a specific parameter. More...
 
void ClearConstraint (const std::string &parameter)
 Will the constraint of a specific parameter. More...
 
void ClearConstraints ()
 Will delete all constraints. More...
 
void SetCrashOnFail (bool crashOnFail)
 Sets whether to crash the application, and print to stderr, when an exception is raised whilst parsing, or not. More...
 
bool GetCrashOnFail () const
 Gets whether the application crashes on an exception whilst parsing, and prints to stderr. More...
 
void SetCatchHelp (bool catchHelp)
 Sets whether the CmdArgsInterface should automatically catch the –help parameter, print the parameter documentation to stdout, and exit or not. More...
 
bool GetCatchHelp () const
 Retruns whether the CmdArgsInterface should automatically catch the –help parameter, print the parameter documentation to stdout, and exit or not. More...
 
void SetBriefDescription (const std::string &description)
 Sets a brief description of the application to be automatically added to the documentation. More...
 
const std::string & GetBriefDescription ()
 Returns the brief description of the application to be automatically added to the documentation. More...
 
void RegisterDescription (const std::string &parameter, const std::string &description)
 Willl register a short description for a parameter. More...
 
const std::string & GetDescription (const std::string &parameter) const
 Will return a short description for a parameter, if it exists. More...
 
bool HasDescription (const std::string &parameter) const
 Returns whether or not a given parameter has a registered description. More...
 
void ClearDescription (const std::string &parameter)
 Will delete the description of a parameter if it exists. More...
 
void ClearDescriptions ()
 Will delete all parameter descriptions. More...
 
std::string GenerateDocumentation () const
 Will generate a text-based documentation suited to show the user, for example on –help. More...
 
+

Detailed Description

+

The main class to interface with.

+ +

Definition at line 11 of file CmdArgsInterface.h.

+

Constructor & Destructor Documentation

+ +

◆ CmdArgsInterface() [1/2]

+ +
+
+ + + + + + + +
CmdArgsInterface::CmdArgsInterface ()
+
+ +

Definition at line 15 of file CmdArgsInterface.cpp.

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

◆ CmdArgsInterface() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + + + +
CmdArgsInterface::CmdArgsInterface (const int argc,
const char *const * argv 
)
+
+ +

Definition at line 20 of file CmdArgsInterface.cpp.

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

◆ ~CmdArgsInterface()

+ +
+
+ + + + + + + +
CmdArgsInterface::~CmdArgsInterface ()
+
+ +

Definition at line 26 of file CmdArgsInterface.cpp.

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

Member Function Documentation

+ +

◆ ClearAbbreviation()

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

Will delete the abbreviation for a given parameter.

+


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

+ +

Definition at line 586 of file CmdArgsInterface.cpp.

+
587 {
+
588  parameterAbreviations.erase(abbrevation);
+
589  return;
+
590 }
+
+
+
+ +

◆ ClearAbbreviations()

+ +
+
+ + + + + + + +
void CmdArgsInterface::ClearAbbreviations ()
+
+ +

Will delete all abbreviations.

+ +

Definition at line 592 of file CmdArgsInterface.cpp.

+
593 {
+
594  parameterAbreviations.clear();
+
595  return;
+
596 }
+
+
+
+ +

◆ ClearConstraint()

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

Will the constraint of a specific parameter.

+ +

Definition at line 547 of file CmdArgsInterface.cpp.

+
548 {
+
549  parameterConstraints.erase(parameter);
+
550  return;
+
551 }
+
+
+
+ +

◆ ClearConstraints()

+ +
+
+ + + + + + + +
void CmdArgsInterface::ClearConstraints ()
+
+ +

Will delete all constraints.

+ +

Definition at line 605 of file CmdArgsInterface.cpp.

+
606 {
+
607  parameterConstraints.clear();
+
608  return;
+
609 }
+
+
+
+ +

◆ ClearDescription()

+ +
+
+ + + + + + + + +
void CmdArgsInterface::ClearDescription (const std::string & parameter)
+
+ +

Will delete the description of a parameter if it exists.

+ +

Definition at line 378 of file CmdArgsInterface.cpp.

+
379 {
+
380  // This will just do nothing if the entry does not exist
+
381  parameterDescriptions.erase(parameter);
+
382  return;
+
383 }
+
+
+
+ +

◆ ClearDescriptions()

+ +
+
+ + + + + + + +
void Hazelnp::CmdArgsInterface::ClearDescriptions ()
+
+ +

Will delete all parameter descriptions.

+ +

Definition at line 385 of file CmdArgsInterface.cpp.

+
386 {
+
387  parameterDescriptions.clear();
+
388  return;
+
389 }
+
+
+
+ +

◆ GenerateDocumentation()

+ +
+
+ + + + + + + +
std::string CmdArgsInterface::GenerateDocumentation () const
+
+ +

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

+ +

Definition at line 391 of file CmdArgsInterface.cpp.

+
392 {
+
393  std::stringstream ss;
+
394 
+
395  // Add brief, if available
+
396  if (briefDescription.length() > 0)
+
397  ss << briefDescription << std::endl;
+
398 
+
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  // 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 }
+
+
+
+ +

◆ GetAbbreviation()

+ +
+
+ + + + + + + + +
const std::string & CmdArgsInterface::GetAbbreviation (const std::string & abbrev) const
+
+ +

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

+ +

Definition at line 573 of file CmdArgsInterface.cpp.

+
574 {
+
575  if (!HasAbbreviation(abbrev))
+ +
577 
+
578  return parameterAbreviations.find(abbrev)->second;
+
579 }
+
+
+
+ +

◆ GetBriefDescription()

+ +
+
+ + + + + + + +
const std::string & CmdArgsInterface::GetBriefDescription ()
+
+ +

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

+ +

Definition at line 351 of file CmdArgsInterface.cpp.

+
352 {
+
353  return briefDescription;
+
354 }
+
+
+
+ +

◆ GetCatchHelp()

+ +
+
+ + + + + + + +
bool CmdArgsInterface::GetCatchHelp () const
+
+ +

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

+ +

Definition at line 340 of file CmdArgsInterface.cpp.

+
341 {
+
342  return catchHelp;
+
343 }
+
+
+
+ +

◆ GetConstraint()

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

Will return the constraint information for a specific parameter.

+ +

Definition at line 542 of file CmdArgsInterface.cpp.

+
543 {
+
544  return parameterConstraints.find(parameter)->second;
+
545 }
+
+
+
+ +

◆ GetCrashOnFail()

+ +
+
+ + + + + + + +
bool CmdArgsInterface::GetCrashOnFail () const
+
+ +

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

+ +

Definition at line 329 of file CmdArgsInterface.cpp.

+
330 {
+
331  return crashOnFail;
+
332 }
+
+
+
+ +

◆ GetDescription()

+ +
+
+ + + + + + + + +
const std::string & Hazelnp::CmdArgsInterface::GetDescription (const std::string & parameter) const
+
+ +

Will return a short description for a parameter, if it exists.

+


+ Empty string if it does not exist.

+ +

Definition at line 362 of file CmdArgsInterface.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 }
+
+
+
+ +

◆ GetExecutableName()

+ +
+
+ + + + + + + +
const std::string & CmdArgsInterface::GetExecutableName () const
+
+ +

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

+ +

Definition at line 553 of file CmdArgsInterface.cpp.

+
554 {
+
555  return executableName;
+
556 }
+
+
+
+ +

◆ HasAbbreviation()

+ +
+
+ + + + + + + + +
bool CmdArgsInterface::HasAbbreviation (const std::string & abbrev) const
+
+ +

Will check wether or not an abbreviation is registered.

+ +

Definition at line 581 of file CmdArgsInterface.cpp.

+
582 {
+
583  return parameterAbreviations.find(abbrev) != parameterAbreviations.end();
+
584 }
+
+
+
+ +

◆ HasDescription()

+ +
+
+ + + + + + + + +
bool CmdArgsInterface::HasDescription (const std::string & parameter) const
+
+ +

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

+ +

Definition at line 373 of file CmdArgsInterface.cpp.

+
374 {
+
375  return parameterDescriptions.find(parameter) != parameterDescriptions.end();
+
376 }
+
+
+
+ +

◆ HasParam()

+ +
+
+ + + + + + + + +
bool CmdArgsInterface::HasParam (const std::string & key) const
+
+ +

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

+ +

Definition at line 165 of file CmdArgsInterface.cpp.

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

◆ operator[]()

+ +
+
+ + + + + + + + +
const Value & CmdArgsInterface::operator[] (const std::string & key) const
+
+ +

Will return the value given a key.

+ +

Definition at line 558 of file CmdArgsInterface.cpp.

+
559 {
+
560  // Throw exception if param is unknown
+
561  if (!HasParam(key))
+ +
563 
+
564  return *parameters.find(key)->second->GetValue();
+
565 }
+
+
+
+ +

◆ Parse()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void CmdArgsInterface::Parse (const int argc,
const char *const * argv 
)
+
+ +

Will parse command line arguments.

+ +

Definition at line 36 of file CmdArgsInterface.cpp.

+
37 {
+
38  try
+
39  {
+
40  // Populate raw arguments
+
41  PopulateRawArgs(argc, argv);
+
42 
+
43  // Expand abbreviations
+
44  ExpandAbbreviations();
+
45 
+
46  executableName = std::string(rawArgs[0]);
+
47 
+
48  std::size_t i = 1;
+
49  while (i < rawArgs.size())
+
50  {
+
51  if ((rawArgs[i].length() > 2) && (rawArgs[i].substr(0, 2) == "--"))
+
52  {
+
53  Parameter* param = nullptr;
+
54  i = ParseNextParameter(i, param);
+
55 
+
56  parameters.insert(std::pair<std::string, Parameter*>(param->Key(), param));
+
57  }
+
58  else
+
59  i++;
+
60  }
+
61 
+
62  // Apply constraints such as default values, and required parameters.
+
63  // Types have already been enforced.
+
64  // Dont apply constraints when we are just printind the param docs
+
65  if ((!catchHelp) || (!HasParam("--help")))
+
66  ApplyConstraints();
+
67  }
+
68  catch (const HazelnuppConstraintTypeMissmatch& exc)
+
69  {
+
70  if (crashOnFail)
+
71  {
+
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 exc; // yeet
+
78  }
+
79  catch (const HazelnuppConstraintMissingValue& exc)
+
80  {
+
81  if (crashOnFail)
+
82  {
+
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 exc; // yeet
+
89  }
+
90 
+
91  // Catch --help parameter
+
92  if ((catchHelp) && (HasParam("--help")))
+
93  {
+
94  std::cout << GenerateDocumentation() << std::endl;
+
95  quick_exit(0);
+
96  }
+
97 
+
98  return;
+
99 }
+
+
+
+ +

◆ RegisterAbbreviation()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void CmdArgsInterface::RegisterAbbreviation (const std::string & abbrev,
const std::string & target 
)
+
+ +

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

+ +

Definition at line 567 of file CmdArgsInterface.cpp.

+
568 {
+
569  parameterAbreviations.insert(std::pair<std::string, std::string>(abbrev, target));
+
570  return;
+
571 }
+
+
+
+ +

◆ RegisterConstraint()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void CmdArgsInterface::RegisterConstraint (const std::string & key,
const ParamConstraintconstraint 
)
+
+ +

Will register a constraint for a parameter.

+

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

+ +

Definition at line 598 of file CmdArgsInterface.cpp.

+
599 {
+
600  // Magic syntax, wooo
+
601  (parameterConstraints[key] = constraint).key = key;
+
602  return;
+
603 }
+
+
+
+ +

◆ RegisterDescription()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void Hazelnp::CmdArgsInterface::RegisterDescription (const std::string & parameter,
const std::string & description 
)
+
+ +

Willl register a short description for a parameter.

+


+ Will overwrite existing descriptions for that parameter.

+ +

Definition at line 356 of file CmdArgsInterface.cpp.

+
357 {
+
358  parameterDescriptions[parameter] = description;
+
359  return;
+
360 }
+
+
+
+ +

◆ SetBriefDescription()

+ +
+
+ + + + + + + + +
void CmdArgsInterface::SetBriefDescription (const std::string & description)
+
+ +

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

+ +

Definition at line 345 of file CmdArgsInterface.cpp.

+
346 {
+
347  briefDescription = description;
+
348  return;
+
349 }
+
+
+
+ +

◆ SetCatchHelp()

+ +
+
+ + + + + + + + +
void CmdArgsInterface::SetCatchHelp (bool catchHelp)
+
+ +

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

+ +

Definition at line 334 of file CmdArgsInterface.cpp.

+
335 {
+
336  this->catchHelp = catchHelp;
+
337  return;
+
338 }
+
+
+
+ +

◆ SetCrashOnFail()

+ +
+
+ + + + + + + + +
void CmdArgsInterface::SetCrashOnFail (bool crashOnFail)
+
+ +

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

+ +

Definition at line 611 of file CmdArgsInterface.cpp.

+
612 {
+
613  this->crashOnFail = crashOnFail;
+
614  return;
+
615 }
+
+
+
+
The documentation for this class was generated from the following files: +
+
Hazelnp::CmdArgsInterface::HasAbbreviation
bool HasAbbreviation(const std::string &abbrev) const
Will check wether or not an abbreviation is registered.
Definition: CmdArgsInterface.cpp:581
+
Hazelnp::HazelnuppInvalidKeyException
Gets thrown when an non-existent key gets dereferenced.
Definition: HazelnuppException.h:29
+
Hazelnp::HazelnuppException::What
const std::string & What() const
Will return an error message.
Definition: HazelnuppException.h:18
+
Hazelnp::CmdArgsInterface::HasParam
bool HasParam(const std::string &key) const
Will check wether a parameter exists given a key, or not.
Definition: CmdArgsInterface.cpp:165
+
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::CmdArgsInterface::HasDescription
bool HasDescription(const std::string &parameter) const
Returns whether or not a given parameter has a registered description.
Definition: CmdArgsInterface.cpp:373
+
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: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::CmdArgsInterface::Parse
void Parse(const int argc, const char *const *argv)
Will parse command line arguments.
Definition: CmdArgsInterface.cpp:36
+
Hazelnp::CmdArgsInterface::GenerateDocumentation
std::string GenerateDocumentation() const
Will generate a text-based documentation suited to show the user, for example on –help.
Definition: CmdArgsInterface.cpp:391
+
Hazelnp::DataTypeToString
static std::string DataTypeToString(DATA_TYPE type)
Definition: DataType.h:17
+ + + + diff --git a/docs/classHazelnp_1_1FloatValue-members.html b/docs/classHazelnp_1_1FloatValue-members.html index 9e19cbf..856124e 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 4a81911..00c5a28 100644 --- a/docs/classHazelnp_1_1FloatValue.html +++ b/docs/classHazelnp_1_1FloatValue.html @@ -574,7 +574,7 @@ Additional Inherited Members
Hazelnp::HazelnuppValueNotConvertibleException
Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not ...
Definition: HazelnuppException.h:38
diff --git a/docs/classHazelnp_1_1HazelnuppConstraintException-members.html b/docs/classHazelnp_1_1HazelnuppConstraintException-members.html index a8806f2..0a59cb1 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 ef59a7b..347fac4 100644 --- a/docs/classHazelnp_1_1HazelnuppConstraintException.html +++ b/docs/classHazelnp_1_1HazelnuppConstraintException.html @@ -201,7 +201,7 @@ Additional Inherited Members
Hazelnp::HazelnuppException::HazelnuppException
HazelnuppException()
Definition: HazelnuppException.h:14
diff --git a/docs/classHazelnp_1_1HazelnuppConstraintMissingValue-members.html b/docs/classHazelnp_1_1HazelnuppConstraintMissingValue-members.html index 2390a7e..2799c34 100644 --- a/docs/classHazelnp_1_1HazelnuppConstraintMissingValue-members.html +++ b/docs/classHazelnp_1_1HazelnuppConstraintMissingValue-members.html @@ -92,7 +92,7 @@ $(function() { diff --git a/docs/classHazelnp_1_1HazelnuppConstraintMissingValue.html b/docs/classHazelnp_1_1HazelnuppConstraintMissingValue.html index 832d48e..6c03d68 100644 --- a/docs/classHazelnp_1_1HazelnuppConstraintMissingValue.html +++ b/docs/classHazelnp_1_1HazelnuppConstraintMissingValue.html @@ -228,7 +228,7 @@ Additional Inherited Members
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 c6eda24..f6bcf9b 100644 --- a/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch-members.html +++ b/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch-members.html @@ -93,7 +93,7 @@ $(function() { diff --git a/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch.html b/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch.html index 0dcaec8..85589d2 100644 --- a/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch.html +++ b/docs/classHazelnp_1_1HazelnuppConstraintTypeMissmatch.html @@ -273,7 +273,7 @@ Additional Inherited Members
Hazelnp::DataTypeToString
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 a231240..7f9af74 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 210a920..4ff61df 100644 --- a/docs/classHazelnp_1_1HazelnuppException.html +++ b/docs/classHazelnp_1_1HazelnuppException.html @@ -255,7 +255,7 @@ Protected Attributes
Hazelnp::HazelnuppException::message
std::string message
Definition: HazelnuppException.h:24
diff --git a/docs/classHazelnp_1_1HazelnuppInvalidKeyException-members.html b/docs/classHazelnp_1_1HazelnuppInvalidKeyException-members.html index 2fda151..fd9edfd 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 7a84630..0538ffc 100644 --- a/docs/classHazelnp_1_1HazelnuppInvalidKeyException.html +++ b/docs/classHazelnp_1_1HazelnuppInvalidKeyException.html @@ -199,7 +199,7 @@ Additional Inherited Members
Hazelnp::HazelnuppException::HazelnuppException
HazelnuppException()
Definition: HazelnuppException.h:14
diff --git a/docs/classHazelnp_1_1HazelnuppValueNotConvertibleException-members.html b/docs/classHazelnp_1_1HazelnuppValueNotConvertibleException-members.html index d887fce..8aad1d8 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 e4ccc83..d73f0e3 100644 --- a/docs/classHazelnp_1_1HazelnuppValueNotConvertibleException.html +++ b/docs/classHazelnp_1_1HazelnuppValueNotConvertibleException.html @@ -199,7 +199,7 @@ Additional Inherited Members
Hazelnp::HazelnuppException::HazelnuppException
HazelnuppException()
Definition: HazelnuppException.h:14
diff --git a/docs/classHazelnp_1_1IntValue-members.html b/docs/classHazelnp_1_1IntValue-members.html index 2f08f99..c9c93d3 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 a9142d3..c577caf 100644 --- a/docs/classHazelnp_1_1IntValue.html +++ b/docs/classHazelnp_1_1IntValue.html @@ -574,7 +574,7 @@ Additional Inherited Members
Hazelnp::HazelnuppValueNotConvertibleException
Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not ...
Definition: HazelnuppException.h:38
diff --git a/docs/classHazelnp_1_1ListValue-members.html b/docs/classHazelnp_1_1ListValue-members.html index 2882daa..2a37427 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 6c4cd77..2202ad2 100644 --- a/docs/classHazelnp_1_1ListValue.html +++ b/docs/classHazelnp_1_1ListValue.html @@ -601,7 +601,7 @@ Additional Inherited Members
Hazelnp::HazelnuppValueNotConvertibleException
Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not ...
Definition: HazelnuppException.h:38
diff --git a/docs/classHazelnp_1_1Parameter-members.html b/docs/classHazelnp_1_1Parameter-members.html index 468e84a..1acab54 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 704f2aa..fe162f3 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 0874527..1e3559d 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 0b57db8..0847128 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 16974a3..2dff981 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 985ba74..73f564a 100644 --- a/docs/classHazelnp_1_1StringValue.html +++ b/docs/classHazelnp_1_1StringValue.html @@ -547,7 +547,7 @@ Additional Inherited Members
Hazelnp::HazelnuppValueNotConvertibleException
Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not ...
Definition: HazelnuppException.h:38
diff --git a/docs/classHazelnp_1_1Value-members.html b/docs/classHazelnp_1_1Value-members.html index f307154..2b6a42c 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 32b4f90..5200b04 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 a3c5474..d6b7761 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 c56696d..c3bfa60 100644 --- a/docs/classHazelnp_1_1VoidValue.html +++ b/docs/classHazelnp_1_1VoidValue.html @@ -494,7 +494,7 @@ Additional Inherited Members
Hazelnp::HazelnuppValueNotConvertibleException
Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not ...
Definition: HazelnuppException.h:38
diff --git a/docs/classes.html b/docs/classes.html index e1ee45f..5bc2324 100644 --- a/docs/classes.html +++ b/docs/classes.html @@ -74,52 +74,56 @@ $(function() {
Class Index
-
f | h | i | l | p | s | v
+
c | f | h | i | l | p | s | v
- - - - - - - - - - - - - - - - + - - - - - - + + + + + - + + + + + + + + + + + + + + + + + + +
  f  
+
  c  
HazelnuppConstraintException (Hazelnp)   
  i  
-
  p  
-
StringValue (Hazelnp)   
HazelnuppConstraintMissingValue (Hazelnp)   
  v  
-
FloatValue (Hazelnp)   HazelnuppConstraintTypeMissmatch (Hazelnp)   IntValue (Hazelnp)   ParamConstraint (Hazelnp)   
  h  
-
HazelnuppException (Hazelnp)   HazelnuppConstraintMissingValue (Hazelnp)   
  l  
Parameter (Hazelnp)   Value (Hazelnp)   
HazelnuppInvalidKeyException (Hazelnp)   
  s  
VoidValue (Hazelnp)   
Hazelnupp (Hazelnp)   HazelnuppValueNotConvertibleException (Hazelnp)   
HazelnuppConstraintTypeMissmatch (Hazelnp)   
CmdArgsInterface (Hazelnp)   HazelnuppException (Hazelnp)    ListValue (Hazelnp)   StringTools (Hazelnp)   
StringTools (Hazelnp)   
  f  
+
HazelnuppInvalidKeyException (Hazelnp)   
  p  
+
StringValue (Hazelnp)   
HazelnuppValueNotConvertibleException (Hazelnp)   
  v  
+
FloatValue (Hazelnp)   
  i  
+
ParamConstraint (Hazelnp)   
  h  
+
Parameter (Hazelnp)   Value (Hazelnp)   
IntValue (Hazelnp)   
HazelnuppConstraintException (Hazelnp)   
-
f | h | i | l | p | s | v
+
c | f | h | i | l | p | s | v
diff --git a/docs/dir_0202e1e26df2e040f4dc3d434eecf04c.html b/docs/dir_0202e1e26df2e040f4dc3d434eecf04c.html index 4bbb236..cd4b60e 100644 --- a/docs/dir_0202e1e26df2e040f4dc3d434eecf04c.html +++ b/docs/dir_0202e1e26df2e040f4dc3d434eecf04c.html @@ -88,16 +88,16 @@ Directories + + + + - - - - @@ -136,7 +136,7 @@ Files diff --git a/docs/dir_0cc5f59b28c403d42cc56800132eb975.html b/docs/dir_0cc5f59b28c403d42cc56800132eb975.html index e798996..b698296 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 27357dc..87743ab 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 a7d4324..c2330a7 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 e0fef4c..d2b622c 100644 --- a/docs/files.html +++ b/docs/files.html @@ -80,11 +80,11 @@ $(function() { - - - - - + + + + + @@ -107,7 +107,7 @@ $(function() { diff --git a/docs/functions.html b/docs/functions.html index 8699099..ab24978 100644 --- a/docs/functions.html +++ b/docs/functions.html @@ -81,22 +81,26 @@ $(function() {

- c -

Files

file  CmdArgsInterface.cpp [code]
 
file  CmdArgsInterface.h [code]
 
file  DataType.h [code]
 
file  FloatValue.cpp [code]
 
file  FloatValue.h [code]
 
file  Hazelnupp.cpp [code]
 
file  Hazelnupp.h [code]
 
file  HazelnuppException.h [code]
 
file  IntValue.cpp [code]
  Hazelnupp
 Debug
 Release
 DataType.h
 FloatValue.cpp
 FloatValue.h
 Hazelnupp.cpp
 Hazelnupp.h
 CmdArgsInterface.cpp
 CmdArgsInterface.h
 DataType.h
 FloatValue.cpp
 FloatValue.h
 HazelnuppException.h
 IntValue.cpp
 IntValue.h
- - - - - - - - + + + + + + + + @@ -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 b22091b..c740592 100644 --- a/docs/index.html +++ b/docs/index.html @@ -85,7 +85,7 @@ $(function() {

Note

These examples reference exceptions. These are not enabled by default. The default behaviour for user-fault exceptions is to produce output to stderr and kill the process.
- To enable exceptions, call this method:

Hazelnupp args;
+ To enable exceptions, call this method:

CmdArgsInterface args;
args.SetCrashOnFail(false);

Index

@@ -141,12 +141,12 @@ What's the concept?

Minimal working example

-

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

#include "Hazelnupp.h"
+

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)
{
-
Hazelnupp args(argc, argv);
+
CmdArgsInterface args(argc, argv);
if (args.HasParam("--force"))
// do forced
@@ -155,12 +155,12 @@ Minimal working example
return 0;
}
-

Looks super easy! But what about actual values?

#include "Hazelnupp.h"
+

Looks super easy! But what about actual values?

#include "Hazelnupp.h"
using namespace Hazelnp;
int main(int argc, char** argv)
{
-
Hazelnupp args(argc, argv);
+
CmdArgsInterface args(argc, argv);
// Either check via HasParam(), or do a try-catch
try
@@ -176,12 +176,12 @@ Minimal working example
return 0;
}
-

What about lists?

#include "Hazelnupp.h"
+

What about lists?

#include "Hazelnupp.h"
using namespace Hazelnp;
int main(int argc, char** argv)
{
-
Hazelnupp args(argc, argv);
+
CmdArgsInterface args(argc, argv);
const auto& myList = args["--my-list"].GetList(); // std::vector<Value*>
@@ -196,20 +196,20 @@ Minimal working example

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

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)
{
-
Hazelnupp args;
+
// Register abbreviations
-
args.RegisterAbbreviation("-f", "--force");
+
args.RegisterAbbreviation("-f", "--force");
// Parse
-
args.Parse(argc, argv);
+
args.Parse(argc, argv);
-
if (args.HasParam("--force")) // This key will be present, even if the user passed '-f'
+
if (args.HasParam("--force")) // This key will be present, even if the user passed '-f'
// do forced
else
// be gentle
@@ -230,19 +230,19 @@ Requiring data
  • If a parameter is not present, but has a default value, it will be automatically created.
  • If a parameter is not present, and has no default value, an exception will be thrown.
  • -

    Minimal working example:

    #include "Hazelnupp.h"
    +

    Minimal working example:

    #include "Hazelnupp.h"
    using namespace Hazelnp;
    int main(int argc, char** argv)
    {
    -
    Hazelnupp args;
    +
    // Register constraints
    -
    args.RegisterConstraint("--this-is-required", ParamConstraint::Require()); // This missing throws an exception
    -
    args.RegisterConstraint("--also-required-but-defaulted", ParamConstraint::Require({"122"})); // This will default to 122
    +
    args.RegisterConstraint("--this-is-required", ParamConstraint::Require()); // This missing throws an exception
    +
    args.RegisterConstraint("--also-required-but-defaulted", ParamConstraint::Require({"122"})); // This will default to 122
    // Parse
    -
    args.Parse(argc, argv);
    +
    args.Parse(argc, argv);
    return 0;
    }
    @@ -262,18 +262,18 @@ Type safety

    The conversions *->list just create a list with a single entry (except for void->list which produces an empty list).
    The *->void conversions just drop their value.
    void->string just produces an empty string.

    -

    Minimal working example:

    #include "Hazelnupp.h"
    +

    Minimal working example:

    #include "Hazelnupp.h"
    using namespace Hazelnp;
    int main(int argc, char** argv)
    {
    -
    Hazelnupp args;
    +
    // Register constraints
    - +
    // Parse
    -
    args.Parse(argc, argv);
    +
    args.Parse(argc, argv);
    return 0;
    }
    @@ -285,14 +285,14 @@ Type safety
    pc.defaultValue = {}; // no default value
    pc.required = true;
    -
    args.RegisterConstraint("--my-key", pc);
    +
    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

    Hazelnupp does automatically create a parameter documentation, accessible via --help.
    - If you want to use --help yourself, just turn it off.

    Hazelnupp args;
    -
    args.SetCatchHelp(false);
    + If you want to use --help yourself, just turn it off.

    CmdArgsInterface args;
    +
    args.SetCatchHelp(false);

    What does this automatically generated documentation look like?

    $ a.out --help
    This is the testing application for Hazelnupp.
    @@ -311,9 +311,9 @@ Automatic parameter documentation
    --height -h

    This documentation is automatically fed by any information provided on parameters.
    - You have to set the brief descriptions yourself though.

    Hazelnupp args;
    + You have to set the brief descriptions yourself though.

    CmdArgsInterface args;
    args.RegisterDescription("--force", "Just forces it.");
    -

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

    Hazelnupp args;
    +

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

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

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

    @@ -390,21 +390,20 @@ LICENSE
    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    - + +
    The main class to interface with.
    +
    void SetCatchHelp(bool catchHelp)
    Sets whether the CmdArgsInterface should automatically catch the –help parameter, print the parameter...
    Gets thrown when an non-existent key gets dereferenced.
    -
    The main class to interface with.
    Definition: Hazelnupp.h:11
    -
    void SetCatchHelp(bool catchHelp)
    Sets whether the Hazelnupp should automatically catch the –help parameter, print the parameter docume...
    Definition: Hazelnupp.cpp:334
    -
    bool HasParam(const std::string &key) const
    Will check wether a parameter exists given a key, or not.
    Definition: Hazelnupp.cpp:165
    -
    void Parse(const int argc, const char *const *argv)
    Will parse command line arguments.
    Definition: Hazelnupp.cpp:36
    -
    void RegisterAbbreviation(const std::string &abbrev, const std::string &target)
    Will register an abbreviation (like -f for –force)
    Definition: Hazelnupp.cpp:567
    - -
    void RegisterConstraint(const std::string &key, const ParamConstraint &constraint)
    Will register a constraint for a parameter.
    Definition: Hazelnupp.cpp:598
    +
    void RegisterConstraint(const std::string &key, const ParamConstraint &constraint)
    Will register a constraint for a parameter.
    +
    void RegisterAbbreviation(const std::string &abbrev, const std::string &target)
    Will register an abbreviation (like -f for –force)
    +
    bool HasParam(const std::string &key) const
    Will check wether a parameter exists given a key, or not.
    +
    void Parse(const int argc, const char *const *argv)
    Will parse command line arguments.
    static ParamConstraint TypeSafety(DATA_TYPE requiredType, bool constrainType=true)
    Constructs a type-safety constraint.
    static ParamConstraint Require(const std::vector< std::string > &defaultValue={}, bool required=true)
    Constructs a require constraint.
    diff --git a/docs/index_8md.html b/docs/index_8md.html index 76e832d..ffa14cb 100644 --- a/docs/index_8md.html +++ b/docs/index_8md.html @@ -77,7 +77,7 @@ $(function() {
    diff --git a/docs/inherit_graph_0.map b/docs/inherit_graph_0.map index 7d45561..81bd617 100644 --- a/docs/inherit_graph_0.map +++ b/docs/inherit_graph_0.map @@ -1,3 +1,3 @@ - + diff --git a/docs/inherit_graph_0.md5 b/docs/inherit_graph_0.md5 index ee20c76..08869e1 100644 --- a/docs/inherit_graph_0.md5 +++ b/docs/inherit_graph_0.md5 @@ -1 +1 @@ -f47a2c7011f1310cd8570b2c41da9627 \ No newline at end of file +b51d05eec03cf85b1bdc9f391bc5e48c \ No newline at end of file diff --git a/docs/inherit_graph_0.png b/docs/inherit_graph_0.png index 72d4369..1c29da1 100644 Binary files a/docs/inherit_graph_0.png and b/docs/inherit_graph_0.png differ diff --git a/docs/inherit_graph_1.md5 b/docs/inherit_graph_1.md5 index 6543f74..474b477 100644 --- a/docs/inherit_graph_1.md5 +++ b/docs/inherit_graph_1.md5 @@ -1 +1 @@ -86946d00981da1d932b71231e74d4918 \ No newline at end of file +e5f16d852b74dd651697116cdb482cbf \ No newline at end of file diff --git a/docs/inherits.html b/docs/inherits.html index 0421e48..29ad509 100644 --- a/docs/inherits.html +++ b/docs/inherits.html @@ -77,9 +77,9 @@ $(function() {
     Cstd::exceptionSTL class
     CHazelnp::HazelnuppExceptionGeneric hazelnupp exception
     CHazelnp::HazelnuppConstraintExceptionGets thrown something bad happens because of parameter constraints
     CHazelnp::HazelnuppConstraintMissingValueGets thrown when a parameter constrained to be required is not provided, and has no default value set
     CHazelnp::HazelnuppConstraintTypeMissmatchGets thrown when a parameter is of a type that does not match the required type, and is not convertible to it
     CHazelnp::HazelnuppInvalidKeyExceptionGets thrown when an non-existent key gets dereferenced
     CHazelnp::HazelnuppValueNotConvertibleExceptionGets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not convertible
     CHazelnp::HazelnuppThe main class to interface with
     CHazelnp::CmdArgsInterfaceThe main class to interface with
     Cstd::exceptionSTL class
     CHazelnp::HazelnuppExceptionGeneric hazelnupp exception
     CHazelnp::HazelnuppConstraintExceptionGets thrown something bad happens because of parameter constraints
     CHazelnp::HazelnuppConstraintMissingValueGets thrown when a parameter constrained to be required is not provided, and has no default value set
     CHazelnp::HazelnuppConstraintTypeMissmatchGets thrown when a parameter is of a type that does not match the required type, and is not convertible to it
     CHazelnp::HazelnuppInvalidKeyExceptionGets thrown when an non-existent key gets dereferenced
     CHazelnp::HazelnuppValueNotConvertibleExceptionGets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not convertible
     CHazelnp::ParamConstraint
     CHazelnp::Parameter
     CHazelnp::StringToolsInternal helper class
    -
    - - +
    + +
    @@ -122,7 +122,7 @@ $(function() { diff --git a/docs/namespaceHazelnp.html b/docs/namespaceHazelnp.html index 2300f63..e4a5a22 100644 --- a/docs/namespaceHazelnp.html +++ b/docs/namespaceHazelnp.html @@ -87,12 +87,12 @@ Namespaces
    + + + - - - @@ -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 7fb122d..066cfe1 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 2851a02..47cbeab 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 4aa356c..7aa7c57 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 bac0c76..184de70 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 24dedbd..7d3d730 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 0ebc01d..ab204d7 100644 --- a/docs/namespaces.html +++ b/docs/namespaces.html @@ -83,7 +83,7 @@ $(function() { diff --git a/docs/search/all_1.js b/docs/search/all_1.js index 89a686d..5461a47 100644 --- a/docs/search/all_1.js +++ b/docs/search/all_1.js @@ -1,11 +1,14 @@ var searchData= [ - ['clearabbreviation_1',['ClearAbbreviation',['../classHazelnp_1_1Hazelnupp.html#a05d1decbb08d1f9368bc9a0d3dfd6398',1,'Hazelnp::Hazelnupp']]], - ['clearabbreviations_2',['ClearAbbreviations',['../classHazelnp_1_1Hazelnupp.html#a5175869b025468324cefad487081e91d',1,'Hazelnp::Hazelnupp']]], - ['clearconstraint_3',['ClearConstraint',['../classHazelnp_1_1Hazelnupp.html#a63d6bdfc0d6255b5d663f3a786077eb4',1,'Hazelnp::Hazelnupp']]], - ['clearconstraints_4',['ClearConstraints',['../classHazelnp_1_1Hazelnupp.html#a3970b74583def49c6632fe08a4499809',1,'Hazelnp::Hazelnupp']]], - ['cleardescription_5',['ClearDescription',['../classHazelnp_1_1Hazelnupp.html#a26eaac65949072b659531444d32c4cbf',1,'Hazelnp::Hazelnupp']]], - ['cleardescriptions_6',['ClearDescriptions',['../classHazelnp_1_1Hazelnupp.html#ae266cfb3526b9223fc05beb01646fb42',1,'Hazelnp::Hazelnupp']]], - ['constraintype_7',['constrainType',['../structHazelnp_1_1ParamConstraint.html#a88a4a4c215723259c71853992d09acac',1,'Hazelnp::ParamConstraint']]], - ['contains_8',['Contains',['../classHazelnp_1_1StringTools.html#aec1abd8b22146c7a9ebeb6a94d6af5ee',1,'Hazelnp::StringTools']]] + ['clearabbreviation_1',['ClearAbbreviation',['../classHazelnp_1_1CmdArgsInterface.html#a31f690bd95d5469d38af816183cbe3e7',1,'Hazelnp::CmdArgsInterface']]], + ['clearabbreviations_2',['ClearAbbreviations',['../classHazelnp_1_1CmdArgsInterface.html#a019e48f48427e7caa76c964bd0f117d0',1,'Hazelnp::CmdArgsInterface']]], + ['clearconstraint_3',['ClearConstraint',['../classHazelnp_1_1CmdArgsInterface.html#a112d2d5e3fd1cf1507592389c8454984',1,'Hazelnp::CmdArgsInterface']]], + ['clearconstraints_4',['ClearConstraints',['../classHazelnp_1_1CmdArgsInterface.html#ad472671fb12450b8d929418fbbffbe40',1,'Hazelnp::CmdArgsInterface']]], + ['cleardescription_5',['ClearDescription',['../classHazelnp_1_1CmdArgsInterface.html#a62889ce1faa90d0f20be3ae45803baa0',1,'Hazelnp::CmdArgsInterface']]], + ['cleardescriptions_6',['ClearDescriptions',['../classHazelnp_1_1CmdArgsInterface.html#a328dbc265e7ffa9ab526ed8aa755e107',1,'Hazelnp::CmdArgsInterface']]], + ['cmdargsinterface_7',['CmdArgsInterface',['../classHazelnp_1_1CmdArgsInterface.html',1,'Hazelnp::CmdArgsInterface'],['../structHazelnp_1_1ParamConstraint.html#a01773a2aa9845fd639f63468586b67b0',1,'Hazelnp::ParamConstraint::CmdArgsInterface()'],['../classHazelnp_1_1CmdArgsInterface.html#aa1189c249bf0d8a4fbd5fb8f03a30212',1,'Hazelnp::CmdArgsInterface::CmdArgsInterface()'],['../classHazelnp_1_1CmdArgsInterface.html#ad79ff83ead06900eb7b45d6c563703d9',1,'Hazelnp::CmdArgsInterface::CmdArgsInterface(const int argc, const char *const *argv)']]], + ['cmdargsinterface_2ecpp_8',['CmdArgsInterface.cpp',['../CmdArgsInterface_8cpp.html',1,'']]], + ['cmdargsinterface_2eh_9',['CmdArgsInterface.h',['../CmdArgsInterface_8h.html',1,'']]], + ['constraintype_10',['constrainType',['../structHazelnp_1_1ParamConstraint.html#a88a4a4c215723259c71853992d09acac',1,'Hazelnp::ParamConstraint']]], + ['contains_11',['Contains',['../classHazelnp_1_1StringTools.html#aec1abd8b22146c7a9ebeb6a94d6af5ee',1,'Hazelnp::StringTools']]] ]; diff --git a/docs/search/all_11.js b/docs/search/all_11.js index 018a161..cd02ae5 100644 --- a/docs/search/all_11.js +++ b/docs/search/all_11.js @@ -1,7 +1,7 @@ var searchData= [ - ['_7efloatvalue_110',['~FloatValue',['../classHazelnp_1_1FloatValue.html#a02e61e453c3e8e32d4d527799c11fd4a',1,'Hazelnp::FloatValue']]], - ['_7ehazelnupp_111',['~Hazelnupp',['../classHazelnp_1_1Hazelnupp.html#a25f8810d24d647b6a57e2dd00ead42be',1,'Hazelnp::Hazelnupp']]], + ['_7ecmdargsinterface_110',['~CmdArgsInterface',['../classHazelnp_1_1CmdArgsInterface.html#aadc75b3b6c9662cfbd4a936468d50466',1,'Hazelnp::CmdArgsInterface']]], + ['_7efloatvalue_111',['~FloatValue',['../classHazelnp_1_1FloatValue.html#a02e61e453c3e8e32d4d527799c11fd4a',1,'Hazelnp::FloatValue']]], ['_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']]], diff --git a/docs/search/all_2.js b/docs/search/all_2.js index aedf262..1d1b105 100644 --- a/docs/search/all_2.js +++ b/docs/search/all_2.js @@ -1,8 +1,8 @@ var searchData= [ - ['data_5ftype_9',['DATA_TYPE',['../namespaceHazelnp.html#a07b61ac22ce9cd97eceebdf9487f803f',1,'Hazelnp']]], - ['datatype_2eh_10',['DataType.h',['../DataType_8h.html',1,'']]], - ['datatypetostring_11',['DataTypeToString',['../namespaceHazelnp.html#a7fb1e5ad9e2ecb6c0025beb19f11621b',1,'Hazelnp']]], - ['deepcopy_12',['Deepcopy',['../classHazelnp_1_1FloatValue.html#ab071916339a0d5a266d821ebbc8f12b0',1,'Hazelnp::FloatValue::Deepcopy()'],['../classHazelnp_1_1IntValue.html#aa599004242b27f8f3e246b88742b034e',1,'Hazelnp::IntValue::Deepcopy()'],['../classHazelnp_1_1ListValue.html#a51c89ff315026b03d908345c6f58169d',1,'Hazelnp::ListValue::Deepcopy()'],['../classHazelnp_1_1StringValue.html#a1952487a786fb53cb0b9aefdb3367268',1,'Hazelnp::StringValue::Deepcopy()'],['../classHazelnp_1_1Value.html#aec9bc16f1630734c79bc69e916622dc6',1,'Hazelnp::Value::Deepcopy()'],['../classHazelnp_1_1VoidValue.html#ac36e85add840057659ec24484548165f',1,'Hazelnp::VoidValue::Deepcopy()']]], - ['defaultvalue_13',['defaultValue',['../structHazelnp_1_1ParamConstraint.html#a1d3a627b3a23fe0db3a368e51dbcd5a7',1,'Hazelnp::ParamConstraint']]] + ['data_5ftype_12',['DATA_TYPE',['../namespaceHazelnp.html#a07b61ac22ce9cd97eceebdf9487f803f',1,'Hazelnp']]], + ['datatype_2eh_13',['DataType.h',['../DataType_8h.html',1,'']]], + ['datatypetostring_14',['DataTypeToString',['../namespaceHazelnp.html#a7fb1e5ad9e2ecb6c0025beb19f11621b',1,'Hazelnp']]], + ['deepcopy_15',['Deepcopy',['../classHazelnp_1_1FloatValue.html#ab071916339a0d5a266d821ebbc8f12b0',1,'Hazelnp::FloatValue::Deepcopy()'],['../classHazelnp_1_1IntValue.html#aa599004242b27f8f3e246b88742b034e',1,'Hazelnp::IntValue::Deepcopy()'],['../classHazelnp_1_1ListValue.html#a51c89ff315026b03d908345c6f58169d',1,'Hazelnp::ListValue::Deepcopy()'],['../classHazelnp_1_1StringValue.html#a1952487a786fb53cb0b9aefdb3367268',1,'Hazelnp::StringValue::Deepcopy()'],['../classHazelnp_1_1Value.html#aec9bc16f1630734c79bc69e916622dc6',1,'Hazelnp::Value::Deepcopy()'],['../classHazelnp_1_1VoidValue.html#ac36e85add840057659ec24484548165f',1,'Hazelnp::VoidValue::Deepcopy()']]], + ['defaultvalue_16',['defaultValue',['../structHazelnp_1_1ParamConstraint.html#a1d3a627b3a23fe0db3a368e51dbcd5a7',1,'Hazelnp::ParamConstraint']]] ]; diff --git a/docs/search/all_3.js b/docs/search/all_3.js index a137006..ca40e33 100644 --- a/docs/search/all_3.js +++ b/docs/search/all_3.js @@ -1,7 +1,7 @@ var searchData= [ - ['float_14',['FLOAT',['../namespaceHazelnp.html#a07b61ac22ce9cd97eceebdf9487f803fae738c26bf4ce1037fa81b039a915cbf6',1,'Hazelnp']]], - ['floatvalue_15',['FloatValue',['../classHazelnp_1_1FloatValue.html',1,'Hazelnp::FloatValue'],['../classHazelnp_1_1FloatValue.html#a6bb35564e3331a3feb57b08caad0df44',1,'Hazelnp::FloatValue::FloatValue()']]], - ['floatvalue_2ecpp_16',['FloatValue.cpp',['../FloatValue_8cpp.html',1,'']]], - ['floatvalue_2eh_17',['FloatValue.h',['../FloatValue_8h.html',1,'']]] + ['float_17',['FLOAT',['../namespaceHazelnp.html#a07b61ac22ce9cd97eceebdf9487f803fae738c26bf4ce1037fa81b039a915cbf6',1,'Hazelnp']]], + ['floatvalue_18',['FloatValue',['../classHazelnp_1_1FloatValue.html',1,'Hazelnp::FloatValue'],['../classHazelnp_1_1FloatValue.html#a6bb35564e3331a3feb57b08caad0df44',1,'Hazelnp::FloatValue::FloatValue()']]], + ['floatvalue_2ecpp_19',['FloatValue.cpp',['../FloatValue_8cpp.html',1,'']]], + ['floatvalue_2eh_20',['FloatValue.h',['../FloatValue_8h.html',1,'']]] ]; diff --git a/docs/search/all_4.js b/docs/search/all_4.js index 5ffab74..a46b731 100644 --- a/docs/search/all_4.js +++ b/docs/search/all_4.js @@ -1,21 +1,21 @@ var searchData= [ - ['g_5femptystring_18',['g_emptyString',['../namespaceHazelnp_1_1Placeholders.html#a90536f0cd5261b18da736e954c6b8b79',1,'Hazelnp::Placeholders']]], - ['generatedocumentation_19',['GenerateDocumentation',['../classHazelnp_1_1Hazelnupp.html#a7b1bf5e700d8a0d8e90c5750e54749de',1,'Hazelnp::Hazelnupp']]], - ['getabbreviation_20',['GetAbbreviation',['../classHazelnp_1_1Hazelnupp.html#a579e78129f19cb9f17a6075366ababe5',1,'Hazelnp::Hazelnupp']]], - ['getasosstring_21',['GetAsOsString',['../classHazelnp_1_1FloatValue.html#a6c9a4b70a7618252f56d9062c483531c',1,'Hazelnp::FloatValue::GetAsOsString()'],['../classHazelnp_1_1IntValue.html#a7d7dbda9a051084600d3eabdac96ee45',1,'Hazelnp::IntValue::GetAsOsString()'],['../classHazelnp_1_1ListValue.html#a5b1f8af329e48c5469fee16634b7889c',1,'Hazelnp::ListValue::GetAsOsString()'],['../classHazelnp_1_1StringValue.html#a71869ee46b88a3cbb9571f481f0c216d',1,'Hazelnp::StringValue::GetAsOsString()'],['../classHazelnp_1_1Value.html#ae1fdc694ed1c2b3080ad3929efda0a0e',1,'Hazelnp::Value::GetAsOsString()'],['../classHazelnp_1_1VoidValue.html#a44b1917d9ba41ee91e2131432e01ec90',1,'Hazelnp::VoidValue::GetAsOsString()']]], - ['getbriefdescription_22',['GetBriefDescription',['../classHazelnp_1_1Hazelnupp.html#a1d32c3047a8c58650476d1ae7e9fb582',1,'Hazelnp::Hazelnupp']]], - ['getcatchhelp_23',['GetCatchHelp',['../classHazelnp_1_1Hazelnupp.html#a05a3d112bcc00cdeade76f3643ba9e94',1,'Hazelnp::Hazelnupp']]], - ['getconstraint_24',['GetConstraint',['../classHazelnp_1_1Hazelnupp.html#acaec2780d800113ffc2d72a6b865955c',1,'Hazelnp::Hazelnupp']]], - ['getcrashonfail_25',['GetCrashOnFail',['../classHazelnp_1_1Hazelnupp.html#a1b810cc7db2cf64aecaa70c686b14bb7',1,'Hazelnp::Hazelnupp']]], - ['getdatatype_26',['GetDataType',['../classHazelnp_1_1Value.html#adbb80bf6d455a316e6e5103353429993',1,'Hazelnp::Value']]], - ['getdescription_27',['GetDescription',['../classHazelnp_1_1Hazelnupp.html#a300e55438cb0983b02347fdc3653e32c',1,'Hazelnp::Hazelnupp']]], - ['getexecutablename_28',['GetExecutableName',['../classHazelnp_1_1Hazelnupp.html#af6bb41fb079131f8b91fe981f63f7469',1,'Hazelnp::Hazelnupp']]], - ['getfloat32_29',['GetFloat32',['../classHazelnp_1_1FloatValue.html#a1653ab3f4fa1700cf1b618ac6552ea81',1,'Hazelnp::FloatValue::GetFloat32()'],['../classHazelnp_1_1IntValue.html#ad0734e4cf67bac0bcc58251a4b3e56c4',1,'Hazelnp::IntValue::GetFloat32()'],['../classHazelnp_1_1ListValue.html#a637fec02ed7f7325554e494fc7cd4e86',1,'Hazelnp::ListValue::GetFloat32()'],['../classHazelnp_1_1StringValue.html#a31fc4d2517a7454c1e9f329df2f14be7',1,'Hazelnp::StringValue::GetFloat32()'],['../classHazelnp_1_1Value.html#a64eeb2943ccea6e16ce4e6f53a6e9b6d',1,'Hazelnp::Value::GetFloat32()'],['../classHazelnp_1_1VoidValue.html#a6d39d2983e54e1a407c66e303273aa48',1,'Hazelnp::VoidValue::GetFloat32()']]], - ['getfloat64_30',['GetFloat64',['../classHazelnp_1_1FloatValue.html#add33b370ef691ccb2f0957d0fe4ef6f9',1,'Hazelnp::FloatValue::GetFloat64()'],['../classHazelnp_1_1IntValue.html#a5ceb2030e8a2a665953fdd4f1715e6a5',1,'Hazelnp::IntValue::GetFloat64()'],['../classHazelnp_1_1ListValue.html#a571178db1c9d23f6c685ea8898dbb60e',1,'Hazelnp::ListValue::GetFloat64()'],['../classHazelnp_1_1StringValue.html#a74bedb828c901a4895062f62303b9653',1,'Hazelnp::StringValue::GetFloat64()'],['../classHazelnp_1_1Value.html#af645b9d78970d102360be37fc18e9e8a',1,'Hazelnp::Value::GetFloat64()'],['../classHazelnp_1_1VoidValue.html#a18b6f0d697c5f9286372a05927e4759c',1,'Hazelnp::VoidValue::GetFloat64()']]], - ['getint32_31',['GetInt32',['../classHazelnp_1_1FloatValue.html#a565741e80cd99a4d2af861ddc3c2dc99',1,'Hazelnp::FloatValue::GetInt32()'],['../classHazelnp_1_1IntValue.html#a163f21536fa49491aa0ae03c8091344a',1,'Hazelnp::IntValue::GetInt32()'],['../classHazelnp_1_1ListValue.html#a565c2b86fcfb3a13de29e59d95a358e7',1,'Hazelnp::ListValue::GetInt32()'],['../classHazelnp_1_1StringValue.html#ac8b53a7792ff1ed048722e2e404f3e6b',1,'Hazelnp::StringValue::GetInt32()'],['../classHazelnp_1_1Value.html#a2cb73333bdeca657dfbf6c8b2e50a5ef',1,'Hazelnp::Value::GetInt32()'],['../classHazelnp_1_1VoidValue.html#a5b7f50c390ef8f3636ba211a72a78065',1,'Hazelnp::VoidValue::GetInt32()']]], - ['getint64_32',['GetInt64',['../classHazelnp_1_1FloatValue.html#a762520d504d4564c48cf3bbefbb0f183',1,'Hazelnp::FloatValue::GetInt64()'],['../classHazelnp_1_1IntValue.html#ae0643023dfd56eafe2e3da5a4ba13080',1,'Hazelnp::IntValue::GetInt64()'],['../classHazelnp_1_1ListValue.html#a9a7a1161ddeb3e56eaafee5f10f75995',1,'Hazelnp::ListValue::GetInt64()'],['../classHazelnp_1_1StringValue.html#aabdc7d681945403d24df6a8fe27948af',1,'Hazelnp::StringValue::GetInt64()'],['../classHazelnp_1_1Value.html#a92d75905211e964cb900bdc868ed12a7',1,'Hazelnp::Value::GetInt64()'],['../classHazelnp_1_1VoidValue.html#a3806945596866f3630dc5426a6b55e58',1,'Hazelnp::VoidValue::GetInt64()']]], - ['getlist_33',['GetList',['../classHazelnp_1_1FloatValue.html#a60b2698f28f1aacac0b67b6453c89fd1',1,'Hazelnp::FloatValue::GetList()'],['../classHazelnp_1_1IntValue.html#acc74ba6070a516a4bcad10bb113d6fa2',1,'Hazelnp::IntValue::GetList()'],['../classHazelnp_1_1ListValue.html#ad578d9088c0375cd9b9c6658e5d9ba1f',1,'Hazelnp::ListValue::GetList()'],['../classHazelnp_1_1StringValue.html#a2b2810350b5eb7e58062ad095320aa69',1,'Hazelnp::StringValue::GetList()'],['../classHazelnp_1_1Value.html#a358092f951e817cd2a878225b5b1c869',1,'Hazelnp::Value::GetList()'],['../classHazelnp_1_1VoidValue.html#aba53ae37d415959b583f33f3e381be16',1,'Hazelnp::VoidValue::GetList()']]], - ['getstring_34',['GetString',['../classHazelnp_1_1FloatValue.html#afd5d078683f410cb9d450c61f12f250d',1,'Hazelnp::FloatValue::GetString()'],['../classHazelnp_1_1IntValue.html#a3631e3b16f010889e942c0c0f72d403c',1,'Hazelnp::IntValue::GetString()'],['../classHazelnp_1_1ListValue.html#aeaf80c07236045a77d72349ebcfc3b89',1,'Hazelnp::ListValue::GetString()'],['../classHazelnp_1_1StringValue.html#a7ed55493cfd25274f8571c1ea45f93e5',1,'Hazelnp::StringValue::GetString()'],['../classHazelnp_1_1Value.html#a1446705c062026f03866d0f452c39501',1,'Hazelnp::Value::GetString()'],['../classHazelnp_1_1VoidValue.html#a5af0c47a873b84226df47a90e63b2acd',1,'Hazelnp::VoidValue::GetString()']]], - ['getvalue_35',['GetValue',['../classHazelnp_1_1FloatValue.html#a2ad79d8bfe75e45120d1fce132a89b8f',1,'Hazelnp::FloatValue::GetValue()'],['../classHazelnp_1_1IntValue.html#a89967cafbdeb21362336067b772808c7',1,'Hazelnp::IntValue::GetValue()'],['../classHazelnp_1_1ListValue.html#a7907ae7433e4011157f1b31dd5339702',1,'Hazelnp::ListValue::GetValue()'],['../classHazelnp_1_1Parameter.html#a4ab8ba022bde4a0175e5ceb8e3a598af',1,'Hazelnp::Parameter::GetValue()'],['../classHazelnp_1_1StringValue.html#a521a573887a3f31718f74e71ff01e86e',1,'Hazelnp::StringValue::GetValue()']]] + ['g_5femptystring_21',['g_emptyString',['../namespaceHazelnp_1_1Placeholders.html#a90536f0cd5261b18da736e954c6b8b79',1,'Hazelnp::Placeholders']]], + ['generatedocumentation_22',['GenerateDocumentation',['../classHazelnp_1_1CmdArgsInterface.html#a9b9bc5c4443799ea847077e9cefb1927',1,'Hazelnp::CmdArgsInterface']]], + ['getabbreviation_23',['GetAbbreviation',['../classHazelnp_1_1CmdArgsInterface.html#a1486bfef870e6502aefc23b11ce6caaf',1,'Hazelnp::CmdArgsInterface']]], + ['getasosstring_24',['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_25',['GetBriefDescription',['../classHazelnp_1_1CmdArgsInterface.html#a1945208a97707b2e3c654424f0760441',1,'Hazelnp::CmdArgsInterface']]], + ['getcatchhelp_26',['GetCatchHelp',['../classHazelnp_1_1CmdArgsInterface.html#a1026d98c23659b6d3d108b231806a1e3',1,'Hazelnp::CmdArgsInterface']]], + ['getconstraint_27',['GetConstraint',['../classHazelnp_1_1CmdArgsInterface.html#adec82884377a5193f68dcc7b6ef69d8b',1,'Hazelnp::CmdArgsInterface']]], + ['getcrashonfail_28',['GetCrashOnFail',['../classHazelnp_1_1CmdArgsInterface.html#a3e60c7a90c11bdc634d0f5d0dba5064c',1,'Hazelnp::CmdArgsInterface']]], + ['getdatatype_29',['GetDataType',['../classHazelnp_1_1Value.html#adbb80bf6d455a316e6e5103353429993',1,'Hazelnp::Value']]], + ['getdescription_30',['GetDescription',['../classHazelnp_1_1CmdArgsInterface.html#a89bc3f54d7ff0740549dbdf7b7f727e3',1,'Hazelnp::CmdArgsInterface']]], + ['getexecutablename_31',['GetExecutableName',['../classHazelnp_1_1CmdArgsInterface.html#afe83a815b21d37b3d2a6d0ef67137faf',1,'Hazelnp::CmdArgsInterface']]], + ['getfloat32_32',['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_33',['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_34',['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_35',['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_36',['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_37',['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_38',['GetValue',['../classHazelnp_1_1FloatValue.html#a2ad79d8bfe75e45120d1fce132a89b8f',1,'Hazelnp::FloatValue::GetValue()'],['../classHazelnp_1_1IntValue.html#a89967cafbdeb21362336067b772808c7',1,'Hazelnp::IntValue::GetValue()'],['../classHazelnp_1_1ListValue.html#a7907ae7433e4011157f1b31dd5339702',1,'Hazelnp::ListValue::GetValue()'],['../classHazelnp_1_1Parameter.html#a4ab8ba022bde4a0175e5ceb8e3a598af',1,'Hazelnp::Parameter::GetValue()'],['../classHazelnp_1_1StringValue.html#a521a573887a3f31718f74e71ff01e86e',1,'Hazelnp::StringValue::GetValue()']]] ]; diff --git a/docs/search/all_5.js b/docs/search/all_5.js index c4f1dc2..cff7e83 100644 --- a/docs/search/all_5.js +++ b/docs/search/all_5.js @@ -1,12 +1,9 @@ var searchData= [ - ['hasabbreviation_36',['HasAbbreviation',['../classHazelnp_1_1Hazelnupp.html#a46df7d396fb56e30351c9a7308792200',1,'Hazelnp::Hazelnupp']]], - ['hasdescription_37',['HasDescription',['../classHazelnp_1_1Hazelnupp.html#aabab94412ff5eecf95b97a4e21eb9cf6',1,'Hazelnp::Hazelnupp']]], - ['hasparam_38',['HasParam',['../classHazelnp_1_1Hazelnupp.html#a8b79a79d40420ae748c108c691111040',1,'Hazelnp::Hazelnupp']]], - ['hazelnp_39',['Hazelnp',['../namespaceHazelnp.html',1,'']]], - ['hazelnupp_40',['Hazelnupp',['../classHazelnp_1_1Hazelnupp.html',1,'Hazelnp::Hazelnupp'],['../structHazelnp_1_1ParamConstraint.html#a0356cbb5056c61cac4a065a59002cb76',1,'Hazelnp::ParamConstraint::Hazelnupp()'],['../classHazelnp_1_1Hazelnupp.html#a20ac0ebcfd4df7f320a7bbcaeed6e54d',1,'Hazelnp::Hazelnupp::Hazelnupp()'],['../classHazelnp_1_1Hazelnupp.html#a6d14c60f03b571f5f794c3549e75e435',1,'Hazelnp::Hazelnupp::Hazelnupp(const int argc, const char *const *argv)']]], - ['hazelnupp_2ecpp_41',['Hazelnupp.cpp',['../Hazelnupp_8cpp.html',1,'']]], - ['hazelnupp_2eh_42',['Hazelnupp.h',['../Hazelnupp_8h.html',1,'']]], + ['hasabbreviation_39',['HasAbbreviation',['../classHazelnp_1_1CmdArgsInterface.html#a58b81709e631cee5f3db3f3f48611fe9',1,'Hazelnp::CmdArgsInterface']]], + ['hasdescription_40',['HasDescription',['../classHazelnp_1_1CmdArgsInterface.html#a5003f826ee31c6365bf4b6e8b2c8d9f1',1,'Hazelnp::CmdArgsInterface']]], + ['hasparam_41',['HasParam',['../classHazelnp_1_1CmdArgsInterface.html#a3a7fa36fe69ee8bf3b400983a21ecd24',1,'Hazelnp::CmdArgsInterface']]], + ['hazelnp_42',['Hazelnp',['../namespaceHazelnp.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#a192ef8133047beadf8fc9f585d384c04',1,'Hazelnp::HazelnuppConstraintMissingValue::HazelnuppConstraintMissingValue(const std::string &key, const std::string &paramDescription="")']]], diff --git a/docs/search/all_a.js b/docs/search/all_a.js index 59b855e..1b33b41 100644 --- a/docs/search/all_a.js +++ b/docs/search/all_a.js @@ -5,7 +5,7 @@ var searchData= ['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']]], + ['operator_5b_5d_70',['operator[]',['../classHazelnp_1_1CmdArgsInterface.html#af5e43c1067fb6c1074d9be3427c7a415',1,'Hazelnp::CmdArgsInterface']]], ['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 123c83b..99f99bd 100644 --- a/docs/search/all_b.js +++ b/docs/search/all_b.js @@ -5,7 +5,7 @@ var searchData= ['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']]], + ['parse_78',['Parse',['../classHazelnp_1_1CmdArgsInterface.html#a1f4845041e08b3335510de44fafaee19',1,'Hazelnp::CmdArgsInterface']]], ['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 224091c..beb20a8 100644 --- a/docs/search/all_c.js +++ b/docs/search/all_c.js @@ -1,8 +1,8 @@ var searchData= [ - ['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']]], + ['registerabbreviation_81',['RegisterAbbreviation',['../classHazelnp_1_1CmdArgsInterface.html#aaccf591a74408aeb4363033fe8cb2224',1,'Hazelnp::CmdArgsInterface']]], + ['registerconstraint_82',['RegisterConstraint',['../classHazelnp_1_1CmdArgsInterface.html#aa30222df012f357455f90e3620346bb2',1,'Hazelnp::CmdArgsInterface']]], + ['registerdescription_83',['RegisterDescription',['../classHazelnp_1_1CmdArgsInterface.html#a6589d2e818ba32f2a3e5b5a6a5e2bf1e',1,'Hazelnp::CmdArgsInterface']]], ['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']]], diff --git a/docs/search/all_d.js b/docs/search/all_d.js index 682ea80..eaae42c 100644 --- a/docs/search/all_d.js +++ b/docs/search/all_d.js @@ -1,8 +1,8 @@ var searchData= [ - ['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']]], + ['setbriefdescription_88',['SetBriefDescription',['../classHazelnp_1_1CmdArgsInterface.html#a67ba6cb3176884c85dd56fc9084ab66a',1,'Hazelnp::CmdArgsInterface']]], + ['setcatchhelp_89',['SetCatchHelp',['../classHazelnp_1_1CmdArgsInterface.html#abf553ed4acabf9e1db357715bc10533c',1,'Hazelnp::CmdArgsInterface']]], + ['setcrashonfail_90',['SetCrashOnFail',['../classHazelnp_1_1CmdArgsInterface.html#a16a3a02f77d240d8cf51cd4ee1797113',1,'Hazelnp::CmdArgsInterface']]], ['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']]], diff --git a/docs/search/classes_0.js b/docs/search/classes_0.js index 0cd5a65..f3ee8b9 100644 --- a/docs/search/classes_0.js +++ b/docs/search/classes_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['floatvalue_118',['FloatValue',['../classHazelnp_1_1FloatValue.html',1,'Hazelnp']]] + ['cmdargsinterface_118',['CmdArgsInterface',['../classHazelnp_1_1CmdArgsInterface.html',1,'Hazelnp']]] ]; diff --git a/docs/search/classes_1.js b/docs/search/classes_1.js index 8dbf5b4..bc5a53d 100644 --- a/docs/search/classes_1.js +++ b/docs/search/classes_1.js @@ -1,10 +1,4 @@ var searchData= [ - ['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']]] + ['floatvalue_119',['FloatValue',['../classHazelnp_1_1FloatValue.html',1,'Hazelnp']]] ]; diff --git a/docs/search/classes_2.js b/docs/search/classes_2.js index e1edec8..7c6984e 100644 --- a/docs/search/classes_2.js +++ b/docs/search/classes_2.js @@ -1,4 +1,9 @@ var searchData= [ - ['intvalue_126',['IntValue',['../classHazelnp_1_1IntValue.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_3.js b/docs/search/classes_3.js index cd37939..e1edec8 100644 --- a/docs/search/classes_3.js +++ b/docs/search/classes_3.js @@ -1,4 +1,4 @@ var searchData= [ - ['listvalue_127',['ListValue',['../classHazelnp_1_1ListValue.html',1,'Hazelnp']]] + ['intvalue_126',['IntValue',['../classHazelnp_1_1IntValue.html',1,'Hazelnp']]] ]; diff --git a/docs/search/classes_4.js b/docs/search/classes_4.js index 846ed47..cd37939 100644 --- a/docs/search/classes_4.js +++ b/docs/search/classes_4.js @@ -1,5 +1,4 @@ var searchData= [ - ['paramconstraint_128',['ParamConstraint',['../structHazelnp_1_1ParamConstraint.html',1,'Hazelnp']]], - ['parameter_129',['Parameter',['../classHazelnp_1_1Parameter.html',1,'Hazelnp']]] + ['listvalue_127',['ListValue',['../classHazelnp_1_1ListValue.html',1,'Hazelnp']]] ]; diff --git a/docs/search/classes_5.js b/docs/search/classes_5.js index 97e3c0a..846ed47 100644 --- a/docs/search/classes_5.js +++ b/docs/search/classes_5.js @@ -1,5 +1,5 @@ var searchData= [ - ['stringtools_130',['StringTools',['../classHazelnp_1_1StringTools.html',1,'Hazelnp']]], - ['stringvalue_131',['StringValue',['../classHazelnp_1_1StringValue.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_6.js b/docs/search/classes_6.js index 53a6b8d..97e3c0a 100644 --- a/docs/search/classes_6.js +++ b/docs/search/classes_6.js @@ -1,5 +1,5 @@ var searchData= [ - ['value_132',['Value',['../classHazelnp_1_1Value.html',1,'Hazelnp']]], - ['voidvalue_133',['VoidValue',['../classHazelnp_1_1VoidValue.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_7.html b/docs/search/classes_7.html new file mode 100644 index 0000000..0fc6fc3 --- /dev/null +++ b/docs/search/classes_7.html @@ -0,0 +1,30 @@ + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/search/classes_7.js b/docs/search/classes_7.js new file mode 100644 index 0000000..53a6b8d --- /dev/null +++ b/docs/search/classes_7.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['value_132',['Value',['../classHazelnp_1_1Value.html',1,'Hazelnp']]], + ['voidvalue_133',['VoidValue',['../classHazelnp_1_1VoidValue.html',1,'Hazelnp']]] +]; diff --git a/docs/search/files_0.js b/docs/search/files_0.js index df969aa..4d959ca 100644 --- a/docs/search/files_0.js +++ b/docs/search/files_0.js @@ -1,4 +1,5 @@ var searchData= [ - ['datatype_2eh_136',['DataType.h',['../DataType_8h.html',1,'']]] + ['cmdargsinterface_2ecpp_136',['CmdArgsInterface.cpp',['../CmdArgsInterface_8cpp.html',1,'']]], + ['cmdargsinterface_2eh_137',['CmdArgsInterface.h',['../CmdArgsInterface_8h.html',1,'']]] ]; diff --git a/docs/search/files_1.js b/docs/search/files_1.js index 03aee64..c762755 100644 --- a/docs/search/files_1.js +++ b/docs/search/files_1.js @@ -1,5 +1,4 @@ var searchData= [ - ['floatvalue_2ecpp_137',['FloatValue.cpp',['../FloatValue_8cpp.html',1,'']]], - ['floatvalue_2eh_138',['FloatValue.h',['../FloatValue_8h.html',1,'']]] + ['datatype_2eh_138',['DataType.h',['../DataType_8h.html',1,'']]] ]; diff --git a/docs/search/files_2.js b/docs/search/files_2.js index 54c1668..2c4871f 100644 --- a/docs/search/files_2.js +++ b/docs/search/files_2.js @@ -1,7 +1,5 @@ var searchData= [ - ['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,'']]] + ['floatvalue_2ecpp_139',['FloatValue.cpp',['../FloatValue_8cpp.html',1,'']]], + ['floatvalue_2eh_140',['FloatValue.h',['../FloatValue_8h.html',1,'']]] ]; diff --git a/docs/search/files_3.js b/docs/search/files_3.js index 1179a3b..999fdf4 100644 --- a/docs/search/files_3.js +++ b/docs/search/files_3.js @@ -1,6 +1,5 @@ var searchData= [ - ['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,'']]] + ['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_4.js b/docs/search/files_4.js index 51ab6ca..1179a3b 100644 --- a/docs/search/files_4.js +++ b/docs/search/files_4.js @@ -1,5 +1,6 @@ var searchData= [ - ['listvalue_2ecpp_146',['ListValue.cpp',['../ListValue_8cpp.html',1,'']]], - ['listvalue_2eh_147',['ListValue.h',['../ListValue_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_5.js b/docs/search/files_5.js index ebc04fa..51ab6ca 100644 --- a/docs/search/files_5.js +++ b/docs/search/files_5.js @@ -1,7 +1,5 @@ var searchData= [ - ['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,'']]] + ['listvalue_2ecpp_146',['ListValue.cpp',['../ListValue_8cpp.html',1,'']]], + ['listvalue_2eh_147',['ListValue.h',['../ListValue_8h.html',1,'']]] ]; diff --git a/docs/search/files_6.js b/docs/search/files_6.js index 905f4d8..ebc04fa 100644 --- a/docs/search/files_6.js +++ b/docs/search/files_6.js @@ -1,7 +1,7 @@ var searchData= [ - ['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,'']]] + ['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_7.js b/docs/search/files_7.js index 38eef11..905f4d8 100644 --- a/docs/search/files_7.js +++ b/docs/search/files_7.js @@ -1,7 +1,7 @@ var searchData= [ - ['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,'']]] + ['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_8.js b/docs/search/files_8.js index 13f5587..38eef11 100644 --- a/docs/search/files_8.js +++ b/docs/search/files_8.js @@ -1,7 +1,7 @@ var searchData= [ - ['value_2ecpp_159',['Value.cpp',['../Value_8cpp.html',1,'']]], - ['value_2eh_160',['Value.h',['../Value_8h.html',1,'']]], - ['voidvalue_2ecpp_161',['VoidValue.cpp',['../VoidValue_8cpp.html',1,'']]], - ['voidvalue_2eh_162',['VoidValue.h',['../VoidValue_8h.html',1,'']]] + ['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_1.js b/docs/search/functions_1.js index 4a0e795..0785abc 100644 --- a/docs/search/functions_1.js +++ b/docs/search/functions_1.js @@ -1,10 +1,11 @@ var searchData= [ - ['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']]] + ['clearabbreviation_161',['ClearAbbreviation',['../classHazelnp_1_1CmdArgsInterface.html#a31f690bd95d5469d38af816183cbe3e7',1,'Hazelnp::CmdArgsInterface']]], + ['clearabbreviations_162',['ClearAbbreviations',['../classHazelnp_1_1CmdArgsInterface.html#a019e48f48427e7caa76c964bd0f117d0',1,'Hazelnp::CmdArgsInterface']]], + ['clearconstraint_163',['ClearConstraint',['../classHazelnp_1_1CmdArgsInterface.html#a112d2d5e3fd1cf1507592389c8454984',1,'Hazelnp::CmdArgsInterface']]], + ['clearconstraints_164',['ClearConstraints',['../classHazelnp_1_1CmdArgsInterface.html#ad472671fb12450b8d929418fbbffbe40',1,'Hazelnp::CmdArgsInterface']]], + ['cleardescription_165',['ClearDescription',['../classHazelnp_1_1CmdArgsInterface.html#a62889ce1faa90d0f20be3ae45803baa0',1,'Hazelnp::CmdArgsInterface']]], + ['cleardescriptions_166',['ClearDescriptions',['../classHazelnp_1_1CmdArgsInterface.html#a328dbc265e7ffa9ab526ed8aa755e107',1,'Hazelnp::CmdArgsInterface']]], + ['cmdargsinterface_167',['CmdArgsInterface',['../classHazelnp_1_1CmdArgsInterface.html#aa1189c249bf0d8a4fbd5fb8f03a30212',1,'Hazelnp::CmdArgsInterface::CmdArgsInterface()'],['../classHazelnp_1_1CmdArgsInterface.html#ad79ff83ead06900eb7b45d6c563703d9',1,'Hazelnp::CmdArgsInterface::CmdArgsInterface(const int argc, const char *const *argv)']]], + ['contains_168',['Contains',['../classHazelnp_1_1StringTools.html#aec1abd8b22146c7a9ebeb6a94d6af5ee',1,'Hazelnp::StringTools']]] ]; diff --git a/docs/search/functions_10.js b/docs/search/functions_10.js index 587794c..f36f96c 100644 --- a/docs/search/functions_10.js +++ b/docs/search/functions_10.js @@ -1,7 +1,7 @@ var searchData= [ - ['_7efloatvalue_228',['~FloatValue',['../classHazelnp_1_1FloatValue.html#a02e61e453c3e8e32d4d527799c11fd4a',1,'Hazelnp::FloatValue']]], - ['_7ehazelnupp_229',['~Hazelnupp',['../classHazelnp_1_1Hazelnupp.html#a25f8810d24d647b6a57e2dd00ead42be',1,'Hazelnp::Hazelnupp']]], + ['_7ecmdargsinterface_228',['~CmdArgsInterface',['../classHazelnp_1_1CmdArgsInterface.html#aadc75b3b6c9662cfbd4a936468d50466',1,'Hazelnp::CmdArgsInterface']]], + ['_7efloatvalue_229',['~FloatValue',['../classHazelnp_1_1FloatValue.html#a02e61e453c3e8e32d4d527799c11fd4a',1,'Hazelnp::FloatValue']]], ['_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']]], diff --git a/docs/search/functions_2.js b/docs/search/functions_2.js index b65024d..27b1838 100644 --- a/docs/search/functions_2.js +++ b/docs/search/functions_2.js @@ -1,5 +1,5 @@ var searchData= [ - ['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()']]] + ['datatypetostring_169',['DataTypeToString',['../namespaceHazelnp.html#a7fb1e5ad9e2ecb6c0025beb19f11621b',1,'Hazelnp']]], + ['deepcopy_170',['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 b240c83..eb23f0f 100644 --- a/docs/search/functions_3.js +++ b/docs/search/functions_3.js @@ -1,4 +1,4 @@ var searchData= [ - ['floatvalue_170',['FloatValue',['../classHazelnp_1_1FloatValue.html#a6bb35564e3331a3feb57b08caad0df44',1,'Hazelnp::FloatValue']]] + ['floatvalue_171',['FloatValue',['../classHazelnp_1_1FloatValue.html#a6bb35564e3331a3feb57b08caad0df44',1,'Hazelnp::FloatValue']]] ]; diff --git a/docs/search/functions_4.js b/docs/search/functions_4.js index 464a65c..4b73aac 100644 --- a/docs/search/functions_4.js +++ b/docs/search/functions_4.js @@ -1,20 +1,20 @@ var searchData= [ - ['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()']]] + ['generatedocumentation_172',['GenerateDocumentation',['../classHazelnp_1_1CmdArgsInterface.html#a9b9bc5c4443799ea847077e9cefb1927',1,'Hazelnp::CmdArgsInterface']]], + ['getabbreviation_173',['GetAbbreviation',['../classHazelnp_1_1CmdArgsInterface.html#a1486bfef870e6502aefc23b11ce6caaf',1,'Hazelnp::CmdArgsInterface']]], + ['getasosstring_174',['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_175',['GetBriefDescription',['../classHazelnp_1_1CmdArgsInterface.html#a1945208a97707b2e3c654424f0760441',1,'Hazelnp::CmdArgsInterface']]], + ['getcatchhelp_176',['GetCatchHelp',['../classHazelnp_1_1CmdArgsInterface.html#a1026d98c23659b6d3d108b231806a1e3',1,'Hazelnp::CmdArgsInterface']]], + ['getconstraint_177',['GetConstraint',['../classHazelnp_1_1CmdArgsInterface.html#adec82884377a5193f68dcc7b6ef69d8b',1,'Hazelnp::CmdArgsInterface']]], + ['getcrashonfail_178',['GetCrashOnFail',['../classHazelnp_1_1CmdArgsInterface.html#a3e60c7a90c11bdc634d0f5d0dba5064c',1,'Hazelnp::CmdArgsInterface']]], + ['getdatatype_179',['GetDataType',['../classHazelnp_1_1Value.html#adbb80bf6d455a316e6e5103353429993',1,'Hazelnp::Value']]], + ['getdescription_180',['GetDescription',['../classHazelnp_1_1CmdArgsInterface.html#a89bc3f54d7ff0740549dbdf7b7f727e3',1,'Hazelnp::CmdArgsInterface']]], + ['getexecutablename_181',['GetExecutableName',['../classHazelnp_1_1CmdArgsInterface.html#afe83a815b21d37b3d2a6d0ef67137faf',1,'Hazelnp::CmdArgsInterface']]], + ['getfloat32_182',['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_183',['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_184',['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_185',['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_186',['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_187',['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_188',['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 3e89495..1837417 100644 --- a/docs/search/functions_5.js +++ b/docs/search/functions_5.js @@ -1,9 +1,8 @@ var searchData= [ - ['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)']]], + ['hasabbreviation_189',['HasAbbreviation',['../classHazelnp_1_1CmdArgsInterface.html#a58b81709e631cee5f3db3f3f48611fe9',1,'Hazelnp::CmdArgsInterface']]], + ['hasdescription_190',['HasDescription',['../classHazelnp_1_1CmdArgsInterface.html#a5003f826ee31c6365bf4b6e8b2c8d9f1',1,'Hazelnp::CmdArgsInterface']]], + ['hasparam_191',['HasParam',['../classHazelnp_1_1CmdArgsInterface.html#a3a7fa36fe69ee8bf3b400983a21ecd24',1,'Hazelnp::CmdArgsInterface']]], ['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="")']]], diff --git a/docs/search/functions_9.js b/docs/search/functions_9.js index 3970ba2..3de13be 100644 --- a/docs/search/functions_9.js +++ b/docs/search/functions_9.js @@ -4,7 +4,7 @@ var searchData= ['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']]], + ['operator_5b_5d_206',['operator[]',['../classHazelnp_1_1CmdArgsInterface.html#af5e43c1067fb6c1074d9be3427c7a415',1,'Hazelnp::CmdArgsInterface']]], ['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 64f0912..0964cd9 100644 --- a/docs/search/functions_a.js +++ b/docs/search/functions_a.js @@ -2,6 +2,6 @@ var searchData= [ ['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']]], + ['parse_211',['Parse',['../classHazelnp_1_1CmdArgsInterface.html#a1f4845041e08b3335510de44fafaee19',1,'Hazelnp::CmdArgsInterface']]], ['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 046e774..2e189cc 100644 --- a/docs/search/functions_b.js +++ b/docs/search/functions_b.js @@ -1,8 +1,8 @@ var searchData= [ - ['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']]], + ['registerabbreviation_213',['RegisterAbbreviation',['../classHazelnp_1_1CmdArgsInterface.html#aaccf591a74408aeb4363033fe8cb2224',1,'Hazelnp::CmdArgsInterface']]], + ['registerconstraint_214',['RegisterConstraint',['../classHazelnp_1_1CmdArgsInterface.html#aa30222df012f357455f90e3620346bb2',1,'Hazelnp::CmdArgsInterface']]], + ['registerdescription_215',['RegisterDescription',['../classHazelnp_1_1CmdArgsInterface.html#a6589d2e818ba32f2a3e5b5a6a5e2bf1e',1,'Hazelnp::CmdArgsInterface']]], ['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 06d40b5..d58ea9c 100644 --- a/docs/search/functions_c.js +++ b/docs/search/functions_c.js @@ -1,8 +1,8 @@ var searchData= [ - ['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']]], + ['setbriefdescription_218',['SetBriefDescription',['../classHazelnp_1_1CmdArgsInterface.html#a67ba6cb3176884c85dd56fc9084ab66a',1,'Hazelnp::CmdArgsInterface']]], + ['setcatchhelp_219',['SetCatchHelp',['../classHazelnp_1_1CmdArgsInterface.html#abf553ed4acabf9e1db357715bc10533c',1,'Hazelnp::CmdArgsInterface']]], + ['setcrashonfail_220',['SetCrashOnFail',['../classHazelnp_1_1CmdArgsInterface.html#a16a3a02f77d240d8cf51cd4ee1797113',1,'Hazelnp::CmdArgsInterface']]], ['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/related_0.js b/docs/search/related_0.js index ba9ff05..f3233ee 100644 --- a/docs/search/related_0.js +++ b/docs/search/related_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['hazelnupp_249',['Hazelnupp',['../structHazelnp_1_1ParamConstraint.html#a0356cbb5056c61cac4a065a59002cb76',1,'Hazelnp::ParamConstraint']]] + ['cmdargsinterface_249',['CmdArgsInterface',['../structHazelnp_1_1ParamConstraint.html#a01773a2aa9845fd639f63468586b67b0',1,'Hazelnp::ParamConstraint']]] ]; diff --git a/docs/search/searchdata.js b/docs/search/searchdata.js index d16bbfd..f645ed0 100644 --- a/docs/search/searchdata.js +++ b/docs/search/searchdata.js @@ -1,14 +1,14 @@ var indexSectionsWithContent = { 0: "acdfghiklmoprstvw~", - 1: "fhilpsv", + 1: "cfhilpsv", 2: "h", - 3: "dfhilpsv", + 3: "cdfhilpsv", 4: "acdfghikloprstvw~", 5: "cdgmrt", 6: "d", 7: "filsv", - 8: "ho", + 8: "co", 9: "h" }; diff --git a/docs/structHazelnp_1_1ParamConstraint-members.html b/docs/structHazelnp_1_1ParamConstraint-members.html index 6c956dc..567d452 100644 --- a/docs/structHazelnp_1_1ParamConstraint-members.html +++ b/docs/structHazelnp_1_1ParamConstraint-members.html @@ -81,9 +81,9 @@ $(function() {

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

    Classes

    class  CmdArgsInterface
     The main class to interface with. More...
     
    class  FloatValue
     Specializations for floating point values (uses long double) More...
     
    class  Hazelnupp
     The main class to interface with. More...
     
    class  HazelnuppConstraintException
     Gets thrown something bad happens because of parameter constraints. More...
     
    - - - + + + @@ -93,7 +93,7 @@ $(function() {
    constrainTypeHazelnp::ParamConstraint
    defaultValueHazelnp::ParamConstraint
    Hazelnupp classHazelnp::ParamConstraintfriend
    CmdArgsInterface classHazelnp::ParamConstraintfriend
    constrainTypeHazelnp::ParamConstraint
    defaultValueHazelnp::ParamConstraint
    ParamConstraint()=defaultHazelnp::ParamConstraint
    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
    diff --git a/docs/structHazelnp_1_1ParamConstraint.html b/docs/structHazelnp_1_1ParamConstraint.html index 8e79237..6d38dc8 100644 --- a/docs/structHazelnp_1_1ParamConstraint.html +++ b/docs/structHazelnp_1_1ParamConstraint.html @@ -134,8 +134,8 @@ Public Attributes - - + +

    Friends

    class Hazelnupp
     
    class CmdArgsInterface
     

    Detailed Description

    @@ -327,8 +327,8 @@ Friends

    Friends And Related Function Documentation

    - -

    ◆ Hazelnupp

    + +

    ◆ CmdArgsInterface

    @@ -337,7 +337,7 @@ Friends - +
    friend class Hazelnuppfriend class CmdArgsInterface
    @@ -439,7 +439,7 @@ Friends
    std::vector< std::string > defaultValue
    The default value for this parameter.