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/structarmnn_1_1_json_child_object.xhtml | 541 ++++++++++++++++++++++++++ 1 file changed, 541 insertions(+) create mode 100644 21.02/structarmnn_1_1_json_child_object.xhtml (limited to '21.02/structarmnn_1_1_json_child_object.xhtml') diff --git a/21.02/structarmnn_1_1_json_child_object.xhtml b/21.02/structarmnn_1_1_json_child_object.xhtml new file mode 100644 index 0000000000..496bbb7090 --- /dev/null +++ b/21.02/structarmnn_1_1_json_child_object.xhtml @@ -0,0 +1,541 @@ + + + + + + + + + + + + + +ArmNN: JsonChildObject Struct Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
JsonChildObject Struct Reference
+
+
+ +

#include <JsonPrinter.hpp>

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

+Public Member Functions

 JsonChildObject (const std::string &label)
 
 JsonChildObject (const JsonChildObject &)=default
 
void AddMeasurement (const double measurement)
 
void AddChild (const JsonChildObject &childObject)
 
JsonChildObjectGetChild (const unsigned int index)
 
void SetUnit (const Measurement::Unit unit)
 
size_t NumChildren () const
 
void SetType (JsonObjectType type)
 
JsonObjectType GetType () const
 
 ~JsonChildObject ()=default
 
+ + + + + + + + + + + +

+Public Attributes

std::string m_Label
 
Measurement::Unit m_Unit
 
JsonObjectType m_Type
 
std::vector< double > m_Measurements
 
std::vector< JsonChildObjectm_Children
 
+

Detailed Description

+
+

Definition at line 24 of file JsonPrinter.hpp.

+

Constructor & Destructor Documentation

+ +

◆ JsonChildObject() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
JsonChildObject (const std::string & label)
+
+inline
+
+ +

Definition at line 26 of file JsonPrinter.hpp.

+
27  : m_Label(label), m_Unit(Measurement::Unit::TIME_MS), m_Type(JsonObjectType::Event)
28  {}
+
Measurement::Unit m_Unit
Definition: JsonPrinter.hpp:69
+ +
JsonObjectType m_Type
Definition: JsonPrinter.hpp:70
+
+
+
+ +

◆ JsonChildObject() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + +
JsonChildObject (const JsonChildObject)
+
+default
+
+ +
+
+ +

◆ ~JsonChildObject()

+ +
+
+ + + + + +
+ + + + + + + +
~JsonChildObject ()
+
+default
+
+ +
+
+

Member Function Documentation

+ +

◆ AddChild()

+ +
+
+ + + + + +
+ + + + + + + + +
void AddChild (const JsonChildObjectchildObject)
+
+inline
+
+ +

Definition at line 36 of file JsonPrinter.hpp.

+ +

Referenced by armnn::ExtractJsonObjects().

+
37  {
38  m_Children.push_back(childObject);
39  }
std::vector< JsonChildObject > m_Children
Definition: JsonPrinter.hpp:72
+
+
+
+ +

◆ AddMeasurement()

+ +
+
+ + + + + +
+ + + + + + + + +
void AddMeasurement (const double measurement)
+
+inline
+
+ +

Definition at line 31 of file JsonPrinter.hpp.

+ +

Referenced by armnn::ExtractJsonObjects().

+
32  {
33  m_Measurements.push_back(measurement);
34  }
std::vector< double > m_Measurements
Definition: JsonPrinter.hpp:71
+
+
+
+ +

◆ GetChild()

+ +
+
+ + + + + +
+ + + + + + + + +
JsonChildObject& GetChild (const unsigned int index)
+
+inline
+
+ +

Definition at line 41 of file JsonPrinter.hpp.

+ +

Referenced by armnn::ExtractJsonObjects().

+
42  {
43  return m_Children[index];
44  }
std::vector< JsonChildObject > m_Children
Definition: JsonPrinter.hpp:72
+
+
+
+ +

◆ GetType()

+ +
+
+ + + + + +
+ + + + + + + +
JsonObjectType GetType () const
+
+inline
+
+ +

Definition at line 61 of file JsonPrinter.hpp.

+
62  {
63  return m_Type;
64  }
JsonObjectType m_Type
Definition: JsonPrinter.hpp:70
+
+
+
+ +

◆ NumChildren()

+ +
+
+ + + + + +
+ + + + + + + +
size_t NumChildren () const
+
+inline
+
+ +

Definition at line 51 of file JsonPrinter.hpp.

+ +

Referenced by armnn::ExtractJsonObjects().

+
52  {
53  return m_Children.size();
54  }
std::vector< JsonChildObject > m_Children
Definition: JsonPrinter.hpp:72
+
+
+
+ +

◆ SetType()

+ +
+
+ + + + + +
+ + + + + + + + +
void SetType (JsonObjectType type)
+
+inline
+
+ +

Definition at line 56 of file JsonPrinter.hpp.

+ +

Referenced by armnn::ExtractJsonObjects().

+
57  {
58  m_Type = type;
59  }
JsonObjectType m_Type
Definition: JsonPrinter.hpp:70
+
+
+
+ +

◆ SetUnit()

+ +
+
+ + + + + +
+ + + + + + + + +
void SetUnit (const Measurement::Unit unit)
+
+inline
+
+ +

Definition at line 46 of file JsonPrinter.hpp.

+ +

Referenced by armnn::ExtractJsonObjects().

+
47  {
48  m_Unit = unit;
49  }
Measurement::Unit m_Unit
Definition: JsonPrinter.hpp:69
+
+
+
+

Member Data Documentation

+ +

◆ m_Children

+ +
+
+ + + + +
std::vector<JsonChildObject> m_Children
+
+ +

Definition at line 72 of file JsonPrinter.hpp.

+ +
+
+ +

◆ m_Label

+ +
+
+ + + + +
std::string m_Label
+
+ +

Definition at line 68 of file JsonPrinter.hpp.

+ +
+
+ +

◆ m_Measurements

+ +
+
+ + + + +
std::vector<double> m_Measurements
+
+ +

Definition at line 71 of file JsonPrinter.hpp.

+ +
+
+ +

◆ m_Type

+ +
+
+ + + + +
JsonObjectType m_Type
+
+ +

Definition at line 70 of file JsonPrinter.hpp.

+ +
+
+ +

◆ m_Unit

+ +
+
+ + + + +
Measurement::Unit m_Unit
+
+ +

Definition at line 69 of file JsonPrinter.hpp.

+ +
+
+
The documentation for this struct was generated from the following file: +
+
+ + + + -- cgit v1.2.1