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 --- Documentation/classarmnn_1_1_node_content.html | 232 +++++++++++++++++++++++++ 1 file changed, 232 insertions(+) create mode 100644 Documentation/classarmnn_1_1_node_content.html (limited to 'Documentation/classarmnn_1_1_node_content.html') diff --git a/Documentation/classarmnn_1_1_node_content.html b/Documentation/classarmnn_1_1_node_content.html new file mode 100644 index 0000000000..e9382f2ae0 --- /dev/null +++ b/Documentation/classarmnn_1_1_node_content.html @@ -0,0 +1,232 @@ + + + + + + + +ArmNN: NodeContent Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
ArmNN +  NotReleased +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
NodeContent Class Reference
+
+
+ +

#include <DotSerializer.hpp>

+
+Inheritance diagram for NodeContent:
+
+
+ + +DotBase + +
+ + + + + + + + + + + + + + + +

+Public Member Functions

 NodeContent (std::ostream &stream)
 
NodeContentSetName (const std::string &name)
 
NodeContentAddContent (const std::string &content)
 
 ~NodeContent ()
 
- Public Member Functions inherited from DotBase
 DotBase (std::ostream &stream)
 
std::ostream & GetStream ()
 
+

Detailed Description

+
+

Definition at line 88 of file DotSerializer.hpp.

+

Constructor & Destructor Documentation

+ +

◆ NodeContent()

+ +
+
+ + + + + +
+ + + + + + + + +
NodeContent (std::ostream & stream)
+
+explicit
+
+ +

Definition at line 136 of file DotSerializer.cpp.

+
137  : DotBase(stream)
138 {
139 }
DotBase(std::ostream &stream)
+
+
+
+ +

◆ ~NodeContent()

+ +
+
+ + + + + + + +
~NodeContent ()
+
+ +

Definition at line 153 of file DotSerializer.cpp.

+ +

References DotBase::GetStream().

+
154 {
155  std::stringstream ss;
156  ss << "label=\"{" << m_Name;
157  if (!m_Contents.empty())
158  {
159  ss << "|";
160  }
161  for (auto & content : m_Contents)
162  {
163  ss << Escape(content);
164  ss << "\\l";
165  }
166  ss << "}\"";
167 
168  std::string s;
169  try
170  {
171  // Coverity fix: std::stringstream::str() may throw an exception of type std::length_error.
172  s = ss.str();
173  }
174  catch (const std::exception&) { } // Swallow any exception.
175 
176  GetStream() << s;
177 }
std::ostream & GetStream()
+
+
+
+

Member Function Documentation

+ +

◆ AddContent()

+ +
+
+ + + + + + + + +
NodeContent & AddContent (const std::string & content)
+
+ +

Definition at line 147 of file DotSerializer.cpp.

+ +

Referenced by Graph::SerializeToDot().

+
148 {
149  m_Contents.push_back(content);
150  return *this;
151 }
+
+
+ +

◆ SetName()

+ +
+
+ + + + + + + + +
NodeContent & SetName (const std::string & name)
+
+ +

Definition at line 141 of file DotSerializer.cpp.

+
142 {
143  m_Name = name;
144  return *this;
145 }
+
+
+
The documentation for this class was generated from the following files: +
+
+ + + + -- cgit v1.2.1