From de36e4a9c299028e792c3a5bd99ad0816d806077 Mon Sep 17 00:00:00 2001 From: Ryan OShea Date: Fri, 13 Mar 2020 16:26:19 +0000 Subject: IVGCVSW-3726 Upload ArmNN Doxygen files * Upload current ArmNN Doxygen files Signed-off-by: Ryan OShea Change-Id: I8989ed16ee40a99a4495b100bd009cf3e24a7285 --- .../structarmnn_1_1_json_child_object.html | 527 +++++++++++++++++++++ 1 file changed, 527 insertions(+) create mode 100644 Documentation/structarmnn_1_1_json_child_object.html (limited to 'Documentation/structarmnn_1_1_json_child_object.html') diff --git a/Documentation/structarmnn_1_1_json_child_object.html b/Documentation/structarmnn_1_1_json_child_object.html new file mode 100644 index 0000000000..b9a3402b1d --- /dev/null +++ b/Documentation/structarmnn_1_1_json_child_object.html @@ -0,0 +1,527 @@ + + + + + + + +ArmNN: JsonChildObject Struct Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
ArmNN +  NotReleased +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
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