From 9aed8fb43441228343b925b42464a55042c47ca0 Mon Sep 17 00:00:00 2001 From: Nikhil Raj Date: Wed, 17 Nov 2021 13:16:45 +0000 Subject: IVGCVSW-6040 Update 21.11 Doxygen Documents Signed-off-by: Nikhil Raj Change-Id: Ia36ec98c4bebc27a69103911ea3409cd7db587a5 --- ...s_o_n_timeline_decoder_1_1_j_s_o_n_entity.xhtml | 408 +++++++++++++++++++++ 1 file changed, 408 insertions(+) create mode 100644 21.11/structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity.xhtml (limited to '21.11/structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity.xhtml') diff --git a/21.11/structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity.xhtml b/21.11/structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity.xhtml new file mode 100644 index 0000000000..d220da85c2 --- /dev/null +++ b/21.11/structarmnn_1_1timelinedecoder_1_1_j_s_o_n_timeline_decoder_1_1_j_s_o_n_entity.xhtml @@ -0,0 +1,408 @@ + + + + + + + + + + + + + +ArmNN: JSONTimelineDecoder::JSONEntity Struct Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.11 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
JSONTimelineDecoder::JSONEntity Struct Reference
+
+
+ +

#include <JSONTimelineDecoder.hpp>

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

+Public Member Functions

 JSONEntity (uint64_t guid)
 
uint64_t GetGuid ()
 
std::string GetName ()
 
std::string GetType ()
 
void SetName (std::string entityName)
 
void SetType (std::string entityType)
 
void SetParent (JSONEntity &parent)
 
void AddConnection (JSONEntity &headEntity, JSONEntity &connectedEntity)
 
+ + + + + + + +

+Public Attributes

std::vector< uint64_t > connected_entities
 
std::vector< uint64_t > childEntities
 
std::map< std::string, std::string > extendedData
 
+

Detailed Description

+
+

Definition at line 21 of file JSONTimelineDecoder.hpp.

+

Constructor & Destructor Documentation

+ +

◆ JSONEntity()

+ + +

Member Function Documentation

+ +

◆ AddConnection()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void AddConnection (JSONEntityheadEntity,
JSONEntityconnectedEntity 
)
+
+ +

Definition at line 359 of file JSONTimelineDecoder.cpp.

+ +

References JSONTimelineDecoder::JSONEntity::childEntities, JSONTimelineDecoder::JSONEntity::connected_entities, and JSONTimelineDecoder::JSONEntity::GetGuid().

+ +

Referenced by JSONTimelineDecoder::CreateRelationship(), and JSONTimelineDecoder::JSONEntity::JSONEntity().

+
360 {
361  std::vector<uint64_t>::iterator it = std::find(headEntity.childEntities.begin(),
362  headEntity.childEntities.end(), connectedEntity.GetGuid());
363  headEntity.childEntities.erase(it);
364  headEntity.connected_entities.push_back(connectedEntity.m_Guid);
365 }
+
+
+ +

◆ GetGuid()

+ +
+
+ + + + + + + +
uint64_t GetGuid ()
+
+
+ +

◆ GetName()

+ +
+
+ + + + + + + +
std::string GetName ()
+
+ +

Definition at line 382 of file JSONTimelineDecoder.cpp.

+ +

Referenced by JSONTimelineDecoder::GetJSONEntityString(), and JSONTimelineDecoder::JSONEntity::JSONEntity().

+
383 {
384  return this->name;
385 }
+
+
+ +

◆ GetType()

+ +
+
+ + + + + + + +
std::string GetType ()
+
+ +

Definition at line 392 of file JSONTimelineDecoder.cpp.

+ +

Referenced by JSONTimelineDecoder::GetJSONEntityString(), JSONTimelineDecoder::GetJSONString(), and JSONTimelineDecoder::JSONEntity::JSONEntity().

+
393 {
394  return this->type;
395 }
+
+
+ +

◆ SetName()

+ +
+
+ + + + + + + + +
void SetName (std::string entityName)
+
+ +

Definition at line 377 of file JSONTimelineDecoder.cpp.

+ +

Referenced by JSONTimelineDecoder::CreateRelationship(), and JSONTimelineDecoder::JSONEntity::JSONEntity().

+
378 {
379  this->name = entityName;
380 }
+
+
+ +

◆ SetParent()

+ +
+
+ + + + + + + + +
void SetParent (JSONEntityparent)
+
+
+ +

◆ SetType()

+ +
+
+ + + + + + + + +
void SetType (std::string entityType)
+
+
+

Member Data Documentation

+ +

◆ childEntities

+ + + +

◆ connected_entities

+ +
+
+ + + + +
std::vector<uint64_t> connected_entities
+
+ +

Definition at line 24 of file JSONTimelineDecoder.hpp.

+ +

Referenced by JSONTimelineDecoder::JSONEntity::AddConnection().

+ +
+
+ +

◆ extendedData

+ +
+
+ + + + +
std::map<std::string, std::string> extendedData
+
+
+
The documentation for this struct was generated from the following files: +
+
+ + + + -- cgit v1.2.1