From fd627ffaec8fd8801d980b4c91ee7c0607ab6aaf Mon Sep 17 00:00:00 2001 From: Jan Eilers Date: Thu, 25 Feb 2021 17:44:00 +0000 Subject: IVGCVSW-5687 Update Doxygen Docu * Update Doxygen Documentation for 21.02 release Signed-off-by: Jan Eilers Change-Id: I9ed2f9caab038836ea99d7b378d7899fe431a4e5 --- 21.02/_cxxopts_utils_8hpp.xhtml | 176 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 176 insertions(+) create mode 100644 21.02/_cxxopts_utils_8hpp.xhtml (limited to '21.02/_cxxopts_utils_8hpp.xhtml') diff --git a/21.02/_cxxopts_utils_8hpp.xhtml b/21.02/_cxxopts_utils_8hpp.xhtml new file mode 100644 index 0000000000..716ca0307d --- /dev/null +++ b/21.02/_cxxopts_utils_8hpp.xhtml @@ -0,0 +1,176 @@ + + + + + + + + + + + + + +ArmNN: tests/CxxoptsUtils.hpp File Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
CxxoptsUtils.hpp File Reference
+
+
+
#include <cxxopts/cxxopts.hpp>
+
+

Go to the source code of this file.

+ + + + + +

+Functions

bool CheckRequiredOptions (const cxxopts::ParseResult &result, const std::vector< std::string > &required)
 Ensure all mandatory command-line parameters have been passed to cxxopts. More...
 
+

Function Documentation

+ +

◆ CheckRequiredOptions()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
bool CheckRequiredOptions (const cxxopts::ParseResult & result,
const std::vector< std::string > & required 
)
+
+inline
+
+ +

Ensure all mandatory command-line parameters have been passed to cxxopts.

+
Parameters
+ + + +
resultreturned from the cxxopts parse(argc, argv) call
requiredvector of strings listing the mandatory parameters to be input from the command-line
+
+
+
Returns
boolean value - true if all required parameters satisfied, false otherwise
+ +

Definition at line 16 of file CxxoptsUtils.hpp.

+ +

Referenced by armnn::test::ParseCommandLine().

+
17 {
18  for(const std::string& str : required)
19  {
20  if(result.count(str) == 0)
21  {
22  std::cerr << "--" << str << " parameter is mandatory" << std::endl;
23  return false;
24  }
25  }
26  return true;
27 }
+
+
+
+
+ + + + -- cgit v1.2.1