Ryan OShea | de36e4a | 2020-03-13 16:26:19 +0000 | [diff] [blame] | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 3 | <head> |
| 4 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
| 6 | <meta name="generator" content="Doxygen 1.8.13"/> |
| 7 | <meta name="viewport" content="width=device-width, initial-scale=1"/> |
| 8 | <title>ArmNN: JsonChildObject Struct Reference</title> |
| 9 | <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| 10 | <script type="text/javascript" src="jquery.js"></script> |
| 11 | <script type="text/javascript" src="dynsections.js"></script> |
| 12 | <link href="navtree.css" rel="stylesheet" type="text/css"/> |
| 13 | <script type="text/javascript" src="resize.js"></script> |
| 14 | <script type="text/javascript" src="navtreedata.js"></script> |
| 15 | <script type="text/javascript" src="navtree.js"></script> |
| 16 | <script type="text/javascript"> |
| 17 | $(document).ready(initResizable); |
| 18 | </script> |
| 19 | <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| 20 | <script type="text/javascript" src="search/searchdata.js"></script> |
| 21 | <script type="text/javascript" src="search/search.js"></script> |
| 22 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| 23 | </head> |
| 24 | <body> |
| 25 | <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| 26 | <div id="titlearea"> |
| 27 | <table cellspacing="0" cellpadding="0"> |
| 28 | <tbody> |
| 29 | <tr style="height: 56px;"> |
| 30 | <td id="projectalign" style="padding-left: 0.5em;"> |
| 31 | <div id="projectname">ArmNN |
| 32 |  <span id="projectnumber">NotReleased</span> |
| 33 | </div> |
| 34 | </td> |
| 35 | </tr> |
| 36 | </tbody> |
| 37 | </table> |
| 38 | </div> |
| 39 | <!-- end header part --> |
| 40 | <!-- Generated by Doxygen 1.8.13 --> |
| 41 | <script type="text/javascript"> |
| 42 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| 43 | </script> |
| 44 | <script type="text/javascript" src="menudata.js"></script> |
| 45 | <script type="text/javascript" src="menu.js"></script> |
| 46 | <script type="text/javascript"> |
| 47 | $(function() { |
| 48 | initMenu('',true,false,'search.php','Search'); |
| 49 | $(document).ready(function() { init_search(); }); |
| 50 | }); |
| 51 | </script> |
| 52 | <div id="main-nav"></div> |
| 53 | </div><!-- top --> |
| 54 | <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| 55 | <div id="nav-tree"> |
| 56 | <div id="nav-tree-contents"> |
| 57 | <div id="nav-sync" class="sync"></div> |
| 58 | </div> |
| 59 | </div> |
| 60 | <div id="splitbar" style="-moz-user-select:none;" |
| 61 | class="ui-resizable-handle"> |
| 62 | </div> |
| 63 | </div> |
| 64 | <script type="text/javascript"> |
| 65 | $(document).ready(function(){initNavTree('structarmnn_1_1_json_child_object.html','');}); |
| 66 | </script> |
| 67 | <div id="doc-content"> |
| 68 | <!-- window showing the filter options --> |
| 69 | <div id="MSearchSelectWindow" |
| 70 | onmouseover="return searchBox.OnSearchSelectShow()" |
| 71 | onmouseout="return searchBox.OnSearchSelectHide()" |
| 72 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| 73 | </div> |
| 74 | |
| 75 | <!-- iframe showing the search results (closed by default) --> |
| 76 | <div id="MSearchResultsWindow"> |
| 77 | <iframe src="javascript:void(0)" frameborder="0" |
| 78 | name="MSearchResults" id="MSearchResults"> |
| 79 | </iframe> |
| 80 | </div> |
| 81 | |
| 82 | <div class="header"> |
| 83 | <div class="summary"> |
| 84 | <a href="#pub-methods">Public Member Functions</a> | |
| 85 | <a href="#pub-attribs">Public Attributes</a> | |
| 86 | <a href="structarmnn_1_1_json_child_object-members.html">List of all members</a> </div> |
| 87 | <div class="headertitle"> |
| 88 | <div class="title">JsonChildObject Struct Reference</div> </div> |
| 89 | </div><!--header--> |
| 90 | <div class="contents"> |
| 91 | |
| 92 | <p><code>#include <<a class="el" href="_json_printer_8hpp_source.html">JsonPrinter.hpp</a>></code></p> |
| 93 | <table class="memberdecls"> |
| 94 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> |
| 95 | Public Member Functions</h2></td></tr> |
| 96 | <tr class="memitem:a4adc187e08fdc5aa3c336ecc476fb36b"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_json_child_object.html#a4adc187e08fdc5aa3c336ecc476fb36b">JsonChildObject</a> (const std::string &label)</td></tr> |
| 97 | <tr class="separator:a4adc187e08fdc5aa3c336ecc476fb36b"><td class="memSeparator" colspan="2"> </td></tr> |
| 98 | <tr class="memitem:a1ad98fec6dc8057c15866574fcf301bc"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_json_child_object.html#a1ad98fec6dc8057c15866574fcf301bc">JsonChildObject</a> (const <a class="el" href="structarmnn_1_1_json_child_object.html">JsonChildObject</a> &)=default</td></tr> |
| 99 | <tr class="separator:a1ad98fec6dc8057c15866574fcf301bc"><td class="memSeparator" colspan="2"> </td></tr> |
| 100 | <tr class="memitem:af52bfd578b9fc6d53775b87bc991a535"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_json_child_object.html#af52bfd578b9fc6d53775b87bc991a535">AddMeasurement</a> (const double measurement)</td></tr> |
| 101 | <tr class="separator:af52bfd578b9fc6d53775b87bc991a535"><td class="memSeparator" colspan="2"> </td></tr> |
| 102 | <tr class="memitem:a4df32333fc1c0959e26ff65875316c19"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_json_child_object.html#a4df32333fc1c0959e26ff65875316c19">AddChild</a> (const <a class="el" href="structarmnn_1_1_json_child_object.html">JsonChildObject</a> &childObject)</td></tr> |
| 103 | <tr class="separator:a4df32333fc1c0959e26ff65875316c19"><td class="memSeparator" colspan="2"> </td></tr> |
| 104 | <tr class="memitem:aa6fe48cf02c47c65b66d1d65ad3fa438"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structarmnn_1_1_json_child_object.html">JsonChildObject</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_json_child_object.html#aa6fe48cf02c47c65b66d1d65ad3fa438">GetChild</a> (const unsigned int index)</td></tr> |
| 105 | <tr class="separator:aa6fe48cf02c47c65b66d1d65ad3fa438"><td class="memSeparator" colspan="2"> </td></tr> |
| 106 | <tr class="memitem:abf603e1749215e9acda67cba1a107b7f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_json_child_object.html#abf603e1749215e9acda67cba1a107b7f">SetUnit</a> (const <a class="el" href="structarmnn_1_1_measurement.html#abceb2331ad056e3c5ad27894199a49ed">Measurement::Unit</a> unit)</td></tr> |
| 107 | <tr class="separator:abf603e1749215e9acda67cba1a107b7f"><td class="memSeparator" colspan="2"> </td></tr> |
| 108 | <tr class="memitem:a1f7ec083be66d58a3e02e12956bf005e"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_json_child_object.html#a1f7ec083be66d58a3e02e12956bf005e">NumChildren</a> () const</td></tr> |
| 109 | <tr class="separator:a1f7ec083be66d58a3e02e12956bf005e"><td class="memSeparator" colspan="2"> </td></tr> |
| 110 | <tr class="memitem:a83535c5d2147efad73b55ec1b17428fb"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_json_child_object.html#a83535c5d2147efad73b55ec1b17428fb">SetType</a> (<a class="el" href="namespacearmnn.html#a4e2dd387ba6f0dc5164b4cdf8de3262a">JsonObjectType</a> type)</td></tr> |
| 111 | <tr class="separator:a83535c5d2147efad73b55ec1b17428fb"><td class="memSeparator" colspan="2"> </td></tr> |
| 112 | <tr class="memitem:ab2362f3a4cf7169947bb0d8e44aa94ad"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearmnn.html#a4e2dd387ba6f0dc5164b4cdf8de3262a">JsonObjectType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_json_child_object.html#ab2362f3a4cf7169947bb0d8e44aa94ad">GetType</a> () const</td></tr> |
| 113 | <tr class="separator:ab2362f3a4cf7169947bb0d8e44aa94ad"><td class="memSeparator" colspan="2"> </td></tr> |
| 114 | <tr class="memitem:a993f860a711342e4cdb57759d9328db1"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_json_child_object.html#a993f860a711342e4cdb57759d9328db1">~JsonChildObject</a> ()=default</td></tr> |
| 115 | <tr class="separator:a993f860a711342e4cdb57759d9328db1"><td class="memSeparator" colspan="2"> </td></tr> |
| 116 | </table><table class="memberdecls"> |
| 117 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a> |
| 118 | Public Attributes</h2></td></tr> |
| 119 | <tr class="memitem:ad6838c8d76c8f55b8bc4f9b85b921999"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_json_child_object.html#ad6838c8d76c8f55b8bc4f9b85b921999">m_Label</a></td></tr> |
| 120 | <tr class="separator:ad6838c8d76c8f55b8bc4f9b85b921999"><td class="memSeparator" colspan="2"> </td></tr> |
| 121 | <tr class="memitem:ae8cbdbf41275a03335d8a68d4c62ac20"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structarmnn_1_1_measurement.html#abceb2331ad056e3c5ad27894199a49ed">Measurement::Unit</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_json_child_object.html#ae8cbdbf41275a03335d8a68d4c62ac20">m_Unit</a></td></tr> |
| 122 | <tr class="separator:ae8cbdbf41275a03335d8a68d4c62ac20"><td class="memSeparator" colspan="2"> </td></tr> |
| 123 | <tr class="memitem:a1af12f2a754bc2b9e0875672e1d4fdab"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearmnn.html#a4e2dd387ba6f0dc5164b4cdf8de3262a">JsonObjectType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_json_child_object.html#a1af12f2a754bc2b9e0875672e1d4fdab">m_Type</a></td></tr> |
| 124 | <tr class="separator:a1af12f2a754bc2b9e0875672e1d4fdab"><td class="memSeparator" colspan="2"> </td></tr> |
| 125 | <tr class="memitem:a0421b0c85b01c7b031c6fb3cf66b55a3"><td class="memItemLeft" align="right" valign="top">std::vector< double > </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_json_child_object.html#a0421b0c85b01c7b031c6fb3cf66b55a3">m_Measurements</a></td></tr> |
| 126 | <tr class="separator:a0421b0c85b01c7b031c6fb3cf66b55a3"><td class="memSeparator" colspan="2"> </td></tr> |
| 127 | <tr class="memitem:af1e596fc699bb55613aa48e8fb321fae"><td class="memItemLeft" align="right" valign="top">std::vector< <a class="el" href="structarmnn_1_1_json_child_object.html">JsonChildObject</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_json_child_object.html#af1e596fc699bb55613aa48e8fb321fae">m_Children</a></td></tr> |
| 128 | <tr class="separator:af1e596fc699bb55613aa48e8fb321fae"><td class="memSeparator" colspan="2"> </td></tr> |
| 129 | </table> |
| 130 | <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| 131 | <div class="textblock"> |
| 132 | <p class="definition">Definition at line <a class="el" href="_json_printer_8hpp_source.html#l00024">24</a> of file <a class="el" href="_json_printer_8hpp_source.html">JsonPrinter.hpp</a>.</p> |
| 133 | </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> |
| 134 | <a id="a4adc187e08fdc5aa3c336ecc476fb36b"></a> |
| 135 | <h2 class="memtitle"><span class="permalink"><a href="#a4adc187e08fdc5aa3c336ecc476fb36b">◆ </a></span>JsonChildObject() <span class="overload">[1/2]</span></h2> |
| 136 | |
| 137 | <div class="memitem"> |
| 138 | <div class="memproto"> |
| 139 | <table class="mlabels"> |
| 140 | <tr> |
| 141 | <td class="mlabels-left"> |
| 142 | <table class="memname"> |
| 143 | <tr> |
| 144 | <td class="memname"><a class="el" href="structarmnn_1_1_json_child_object.html">JsonChildObject</a> </td> |
| 145 | <td>(</td> |
| 146 | <td class="paramtype">const std::string & </td> |
| 147 | <td class="paramname"><em>label</em></td><td>)</td> |
| 148 | <td></td> |
| 149 | </tr> |
| 150 | </table> |
| 151 | </td> |
| 152 | <td class="mlabels-right"> |
| 153 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 154 | </tr> |
| 155 | </table> |
| 156 | </div><div class="memdoc"> |
| 157 | |
| 158 | <p class="definition">Definition at line <a class="el" href="_json_printer_8hpp_source.html#l00026">26</a> of file <a class="el" href="_json_printer_8hpp_source.html">JsonPrinter.hpp</a>.</p> |
| 159 | <div class="fragment"><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  : <a class="code" href="structarmnn_1_1_json_child_object.html#ad6838c8d76c8f55b8bc4f9b85b921999">m_Label</a>(label), <a class="code" href="structarmnn_1_1_json_child_object.html#ae8cbdbf41275a03335d8a68d4c62ac20">m_Unit</a>(Measurement::Unit::TIME_MS), <a class="code" href="structarmnn_1_1_json_child_object.html#a1af12f2a754bc2b9e0875672e1d4fdab">m_Type</a>(<a class="code" href="namespacearmnn.html#a4e2dd387ba6f0dc5164b4cdf8de3262aaa4ecfc70574394990cf17bd83df499f7">JsonObjectType::Event</a>)</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  {}</div><div class="ttc" id="structarmnn_1_1_json_child_object_html_ae8cbdbf41275a03335d8a68d4c62ac20"><div class="ttname"><a href="structarmnn_1_1_json_child_object.html#ae8cbdbf41275a03335d8a68d4c62ac20">armnn::JsonChildObject::m_Unit</a></div><div class="ttdeci">Measurement::Unit m_Unit</div><div class="ttdef"><b>Definition:</b> <a href="_json_printer_8hpp_source.html#l00069">JsonPrinter.hpp:69</a></div></div> |
| 160 | <div class="ttc" id="structarmnn_1_1_json_child_object_html_a1af12f2a754bc2b9e0875672e1d4fdab"><div class="ttname"><a href="structarmnn_1_1_json_child_object.html#a1af12f2a754bc2b9e0875672e1d4fdab">armnn::JsonChildObject::m_Type</a></div><div class="ttdeci">JsonObjectType m_Type</div><div class="ttdef"><b>Definition:</b> <a href="_json_printer_8hpp_source.html#l00070">JsonPrinter.hpp:70</a></div></div> |
| 161 | <div class="ttc" id="namespacearmnn_html_a4e2dd387ba6f0dc5164b4cdf8de3262aaa4ecfc70574394990cf17bd83df499f7"><div class="ttname"><a href="namespacearmnn.html#a4e2dd387ba6f0dc5164b4cdf8de3262aaa4ecfc70574394990cf17bd83df499f7">armnn::JsonObjectType::Event</a></div></div> |
| 162 | <div class="ttc" id="structarmnn_1_1_json_child_object_html_ad6838c8d76c8f55b8bc4f9b85b921999"><div class="ttname"><a href="structarmnn_1_1_json_child_object.html#ad6838c8d76c8f55b8bc4f9b85b921999">armnn::JsonChildObject::m_Label</a></div><div class="ttdeci">std::string m_Label</div><div class="ttdef"><b>Definition:</b> <a href="_json_printer_8hpp_source.html#l00068">JsonPrinter.hpp:68</a></div></div> |
| 163 | </div><!-- fragment --> |
| 164 | </div> |
| 165 | </div> |
| 166 | <a id="a1ad98fec6dc8057c15866574fcf301bc"></a> |
| 167 | <h2 class="memtitle"><span class="permalink"><a href="#a1ad98fec6dc8057c15866574fcf301bc">◆ </a></span>JsonChildObject() <span class="overload">[2/2]</span></h2> |
| 168 | |
| 169 | <div class="memitem"> |
| 170 | <div class="memproto"> |
| 171 | <table class="mlabels"> |
| 172 | <tr> |
| 173 | <td class="mlabels-left"> |
| 174 | <table class="memname"> |
| 175 | <tr> |
| 176 | <td class="memname"><a class="el" href="structarmnn_1_1_json_child_object.html">JsonChildObject</a> </td> |
| 177 | <td>(</td> |
| 178 | <td class="paramtype">const <a class="el" href="structarmnn_1_1_json_child_object.html">JsonChildObject</a> & </td> |
| 179 | <td class="paramname"></td><td>)</td> |
| 180 | <td></td> |
| 181 | </tr> |
| 182 | </table> |
| 183 | </td> |
| 184 | <td class="mlabels-right"> |
| 185 | <span class="mlabels"><span class="mlabel">default</span></span> </td> |
| 186 | </tr> |
| 187 | </table> |
| 188 | </div><div class="memdoc"> |
| 189 | |
| 190 | </div> |
| 191 | </div> |
| 192 | <a id="a993f860a711342e4cdb57759d9328db1"></a> |
| 193 | <h2 class="memtitle"><span class="permalink"><a href="#a993f860a711342e4cdb57759d9328db1">◆ </a></span>~JsonChildObject()</h2> |
| 194 | |
| 195 | <div class="memitem"> |
| 196 | <div class="memproto"> |
| 197 | <table class="mlabels"> |
| 198 | <tr> |
| 199 | <td class="mlabels-left"> |
| 200 | <table class="memname"> |
| 201 | <tr> |
| 202 | <td class="memname">~<a class="el" href="structarmnn_1_1_json_child_object.html">JsonChildObject</a> </td> |
| 203 | <td>(</td> |
| 204 | <td class="paramname"></td><td>)</td> |
| 205 | <td></td> |
| 206 | </tr> |
| 207 | </table> |
| 208 | </td> |
| 209 | <td class="mlabels-right"> |
| 210 | <span class="mlabels"><span class="mlabel">default</span></span> </td> |
| 211 | </tr> |
| 212 | </table> |
| 213 | </div><div class="memdoc"> |
| 214 | |
| 215 | </div> |
| 216 | </div> |
| 217 | <h2 class="groupheader">Member Function Documentation</h2> |
| 218 | <a id="a4df32333fc1c0959e26ff65875316c19"></a> |
| 219 | <h2 class="memtitle"><span class="permalink"><a href="#a4df32333fc1c0959e26ff65875316c19">◆ </a></span>AddChild()</h2> |
| 220 | |
| 221 | <div class="memitem"> |
| 222 | <div class="memproto"> |
| 223 | <table class="mlabels"> |
| 224 | <tr> |
| 225 | <td class="mlabels-left"> |
| 226 | <table class="memname"> |
| 227 | <tr> |
| 228 | <td class="memname">void AddChild </td> |
| 229 | <td>(</td> |
| 230 | <td class="paramtype">const <a class="el" href="structarmnn_1_1_json_child_object.html">JsonChildObject</a> & </td> |
| 231 | <td class="paramname"><em>childObject</em></td><td>)</td> |
| 232 | <td></td> |
| 233 | </tr> |
| 234 | </table> |
| 235 | </td> |
| 236 | <td class="mlabels-right"> |
| 237 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 238 | </tr> |
| 239 | </table> |
| 240 | </div><div class="memdoc"> |
| 241 | |
| 242 | <p class="definition">Definition at line <a class="el" href="_json_printer_8hpp_source.html#l00036">36</a> of file <a class="el" href="_json_printer_8hpp_source.html">JsonPrinter.hpp</a>.</p> |
| 243 | |
| 244 | <p class="reference">Referenced by <a class="el" href="_profiling_8cpp_source.html#l00284">armnn::ExtractJsonObjects()</a>.</p> |
| 245 | <div class="fragment"><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  {</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <a class="code" href="structarmnn_1_1_json_child_object.html#af1e596fc699bb55613aa48e8fb321fae">m_Children</a>.push_back(childObject);</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  }</div><div class="ttc" id="structarmnn_1_1_json_child_object_html_af1e596fc699bb55613aa48e8fb321fae"><div class="ttname"><a href="structarmnn_1_1_json_child_object.html#af1e596fc699bb55613aa48e8fb321fae">armnn::JsonChildObject::m_Children</a></div><div class="ttdeci">std::vector< JsonChildObject > m_Children</div><div class="ttdef"><b>Definition:</b> <a href="_json_printer_8hpp_source.html#l00072">JsonPrinter.hpp:72</a></div></div> |
| 246 | </div><!-- fragment --> |
| 247 | </div> |
| 248 | </div> |
| 249 | <a id="af52bfd578b9fc6d53775b87bc991a535"></a> |
| 250 | <h2 class="memtitle"><span class="permalink"><a href="#af52bfd578b9fc6d53775b87bc991a535">◆ </a></span>AddMeasurement()</h2> |
| 251 | |
| 252 | <div class="memitem"> |
| 253 | <div class="memproto"> |
| 254 | <table class="mlabels"> |
| 255 | <tr> |
| 256 | <td class="mlabels-left"> |
| 257 | <table class="memname"> |
| 258 | <tr> |
| 259 | <td class="memname">void AddMeasurement </td> |
| 260 | <td>(</td> |
| 261 | <td class="paramtype">const double </td> |
| 262 | <td class="paramname"><em>measurement</em></td><td>)</td> |
| 263 | <td></td> |
| 264 | </tr> |
| 265 | </table> |
| 266 | </td> |
| 267 | <td class="mlabels-right"> |
| 268 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 269 | </tr> |
| 270 | </table> |
| 271 | </div><div class="memdoc"> |
| 272 | |
| 273 | <p class="definition">Definition at line <a class="el" href="_json_printer_8hpp_source.html#l00031">31</a> of file <a class="el" href="_json_printer_8hpp_source.html">JsonPrinter.hpp</a>.</p> |
| 274 | |
| 275 | <p class="reference">Referenced by <a class="el" href="_profiling_8cpp_source.html#l00284">armnn::ExtractJsonObjects()</a>.</p> |
| 276 | <div class="fragment"><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  {</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <a class="code" href="structarmnn_1_1_json_child_object.html#a0421b0c85b01c7b031c6fb3cf66b55a3">m_Measurements</a>.push_back(measurement);</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  }</div><div class="ttc" id="structarmnn_1_1_json_child_object_html_a0421b0c85b01c7b031c6fb3cf66b55a3"><div class="ttname"><a href="structarmnn_1_1_json_child_object.html#a0421b0c85b01c7b031c6fb3cf66b55a3">armnn::JsonChildObject::m_Measurements</a></div><div class="ttdeci">std::vector< double > m_Measurements</div><div class="ttdef"><b>Definition:</b> <a href="_json_printer_8hpp_source.html#l00071">JsonPrinter.hpp:71</a></div></div> |
| 277 | </div><!-- fragment --> |
| 278 | </div> |
| 279 | </div> |
| 280 | <a id="aa6fe48cf02c47c65b66d1d65ad3fa438"></a> |
| 281 | <h2 class="memtitle"><span class="permalink"><a href="#aa6fe48cf02c47c65b66d1d65ad3fa438">◆ </a></span>GetChild()</h2> |
| 282 | |
| 283 | <div class="memitem"> |
| 284 | <div class="memproto"> |
| 285 | <table class="mlabels"> |
| 286 | <tr> |
| 287 | <td class="mlabels-left"> |
| 288 | <table class="memname"> |
| 289 | <tr> |
| 290 | <td class="memname"><a class="el" href="structarmnn_1_1_json_child_object.html">JsonChildObject</a>& GetChild </td> |
| 291 | <td>(</td> |
| 292 | <td class="paramtype">const unsigned int </td> |
| 293 | <td class="paramname"><em>index</em></td><td>)</td> |
| 294 | <td></td> |
| 295 | </tr> |
| 296 | </table> |
| 297 | </td> |
| 298 | <td class="mlabels-right"> |
| 299 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 300 | </tr> |
| 301 | </table> |
| 302 | </div><div class="memdoc"> |
| 303 | |
| 304 | <p class="definition">Definition at line <a class="el" href="_json_printer_8hpp_source.html#l00041">41</a> of file <a class="el" href="_json_printer_8hpp_source.html">JsonPrinter.hpp</a>.</p> |
| 305 | |
| 306 | <p class="reference">Referenced by <a class="el" href="_profiling_8cpp_source.html#l00284">armnn::ExtractJsonObjects()</a>.</p> |
| 307 | <div class="fragment"><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  {</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="keywordflow">return</span> <a class="code" href="structarmnn_1_1_json_child_object.html#af1e596fc699bb55613aa48e8fb321fae">m_Children</a>[index];</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  }</div><div class="ttc" id="structarmnn_1_1_json_child_object_html_af1e596fc699bb55613aa48e8fb321fae"><div class="ttname"><a href="structarmnn_1_1_json_child_object.html#af1e596fc699bb55613aa48e8fb321fae">armnn::JsonChildObject::m_Children</a></div><div class="ttdeci">std::vector< JsonChildObject > m_Children</div><div class="ttdef"><b>Definition:</b> <a href="_json_printer_8hpp_source.html#l00072">JsonPrinter.hpp:72</a></div></div> |
| 308 | </div><!-- fragment --> |
| 309 | </div> |
| 310 | </div> |
| 311 | <a id="ab2362f3a4cf7169947bb0d8e44aa94ad"></a> |
| 312 | <h2 class="memtitle"><span class="permalink"><a href="#ab2362f3a4cf7169947bb0d8e44aa94ad">◆ </a></span>GetType()</h2> |
| 313 | |
| 314 | <div class="memitem"> |
| 315 | <div class="memproto"> |
| 316 | <table class="mlabels"> |
| 317 | <tr> |
| 318 | <td class="mlabels-left"> |
| 319 | <table class="memname"> |
| 320 | <tr> |
| 321 | <td class="memname"><a class="el" href="namespacearmnn.html#a4e2dd387ba6f0dc5164b4cdf8de3262a">JsonObjectType</a> GetType </td> |
| 322 | <td>(</td> |
| 323 | <td class="paramname"></td><td>)</td> |
| 324 | <td> const</td> |
| 325 | </tr> |
| 326 | </table> |
| 327 | </td> |
| 328 | <td class="mlabels-right"> |
| 329 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 330 | </tr> |
| 331 | </table> |
| 332 | </div><div class="memdoc"> |
| 333 | |
| 334 | <p class="definition">Definition at line <a class="el" href="_json_printer_8hpp_source.html#l00061">61</a> of file <a class="el" href="_json_printer_8hpp_source.html">JsonPrinter.hpp</a>.</p> |
| 335 | <div class="fragment"><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  {</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keywordflow">return</span> <a class="code" href="structarmnn_1_1_json_child_object.html#a1af12f2a754bc2b9e0875672e1d4fdab">m_Type</a>;</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  }</div><div class="ttc" id="structarmnn_1_1_json_child_object_html_a1af12f2a754bc2b9e0875672e1d4fdab"><div class="ttname"><a href="structarmnn_1_1_json_child_object.html#a1af12f2a754bc2b9e0875672e1d4fdab">armnn::JsonChildObject::m_Type</a></div><div class="ttdeci">JsonObjectType m_Type</div><div class="ttdef"><b>Definition:</b> <a href="_json_printer_8hpp_source.html#l00070">JsonPrinter.hpp:70</a></div></div> |
| 336 | </div><!-- fragment --> |
| 337 | </div> |
| 338 | </div> |
| 339 | <a id="a1f7ec083be66d58a3e02e12956bf005e"></a> |
| 340 | <h2 class="memtitle"><span class="permalink"><a href="#a1f7ec083be66d58a3e02e12956bf005e">◆ </a></span>NumChildren()</h2> |
| 341 | |
| 342 | <div class="memitem"> |
| 343 | <div class="memproto"> |
| 344 | <table class="mlabels"> |
| 345 | <tr> |
| 346 | <td class="mlabels-left"> |
| 347 | <table class="memname"> |
| 348 | <tr> |
| 349 | <td class="memname">size_t NumChildren </td> |
| 350 | <td>(</td> |
| 351 | <td class="paramname"></td><td>)</td> |
| 352 | <td> const</td> |
| 353 | </tr> |
| 354 | </table> |
| 355 | </td> |
| 356 | <td class="mlabels-right"> |
| 357 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 358 | </tr> |
| 359 | </table> |
| 360 | </div><div class="memdoc"> |
| 361 | |
| 362 | <p class="definition">Definition at line <a class="el" href="_json_printer_8hpp_source.html#l00051">51</a> of file <a class="el" href="_json_printer_8hpp_source.html">JsonPrinter.hpp</a>.</p> |
| 363 | |
| 364 | <p class="reference">Referenced by <a class="el" href="_profiling_8cpp_source.html#l00284">armnn::ExtractJsonObjects()</a>.</p> |
| 365 | <div class="fragment"><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  {</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keywordflow">return</span> <a class="code" href="structarmnn_1_1_json_child_object.html#af1e596fc699bb55613aa48e8fb321fae">m_Children</a>.size();</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  }</div><div class="ttc" id="structarmnn_1_1_json_child_object_html_af1e596fc699bb55613aa48e8fb321fae"><div class="ttname"><a href="structarmnn_1_1_json_child_object.html#af1e596fc699bb55613aa48e8fb321fae">armnn::JsonChildObject::m_Children</a></div><div class="ttdeci">std::vector< JsonChildObject > m_Children</div><div class="ttdef"><b>Definition:</b> <a href="_json_printer_8hpp_source.html#l00072">JsonPrinter.hpp:72</a></div></div> |
| 366 | </div><!-- fragment --> |
| 367 | </div> |
| 368 | </div> |
| 369 | <a id="a83535c5d2147efad73b55ec1b17428fb"></a> |
| 370 | <h2 class="memtitle"><span class="permalink"><a href="#a83535c5d2147efad73b55ec1b17428fb">◆ </a></span>SetType()</h2> |
| 371 | |
| 372 | <div class="memitem"> |
| 373 | <div class="memproto"> |
| 374 | <table class="mlabels"> |
| 375 | <tr> |
| 376 | <td class="mlabels-left"> |
| 377 | <table class="memname"> |
| 378 | <tr> |
| 379 | <td class="memname">void SetType </td> |
| 380 | <td>(</td> |
| 381 | <td class="paramtype"><a class="el" href="namespacearmnn.html#a4e2dd387ba6f0dc5164b4cdf8de3262a">JsonObjectType</a> </td> |
| 382 | <td class="paramname"><em>type</em></td><td>)</td> |
| 383 | <td></td> |
| 384 | </tr> |
| 385 | </table> |
| 386 | </td> |
| 387 | <td class="mlabels-right"> |
| 388 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 389 | </tr> |
| 390 | </table> |
| 391 | </div><div class="memdoc"> |
| 392 | |
| 393 | <p class="definition">Definition at line <a class="el" href="_json_printer_8hpp_source.html#l00056">56</a> of file <a class="el" href="_json_printer_8hpp_source.html">JsonPrinter.hpp</a>.</p> |
| 394 | |
| 395 | <p class="reference">Referenced by <a class="el" href="_profiling_8cpp_source.html#l00284">armnn::ExtractJsonObjects()</a>.</p> |
| 396 | <div class="fragment"><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  {</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <a class="code" href="structarmnn_1_1_json_child_object.html#a1af12f2a754bc2b9e0875672e1d4fdab">m_Type</a> = type;</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  }</div><div class="ttc" id="structarmnn_1_1_json_child_object_html_a1af12f2a754bc2b9e0875672e1d4fdab"><div class="ttname"><a href="structarmnn_1_1_json_child_object.html#a1af12f2a754bc2b9e0875672e1d4fdab">armnn::JsonChildObject::m_Type</a></div><div class="ttdeci">JsonObjectType m_Type</div><div class="ttdef"><b>Definition:</b> <a href="_json_printer_8hpp_source.html#l00070">JsonPrinter.hpp:70</a></div></div> |
| 397 | </div><!-- fragment --> |
| 398 | </div> |
| 399 | </div> |
| 400 | <a id="abf603e1749215e9acda67cba1a107b7f"></a> |
| 401 | <h2 class="memtitle"><span class="permalink"><a href="#abf603e1749215e9acda67cba1a107b7f">◆ </a></span>SetUnit()</h2> |
| 402 | |
| 403 | <div class="memitem"> |
| 404 | <div class="memproto"> |
| 405 | <table class="mlabels"> |
| 406 | <tr> |
| 407 | <td class="mlabels-left"> |
| 408 | <table class="memname"> |
| 409 | <tr> |
| 410 | <td class="memname">void SetUnit </td> |
| 411 | <td>(</td> |
| 412 | <td class="paramtype">const <a class="el" href="structarmnn_1_1_measurement.html#abceb2331ad056e3c5ad27894199a49ed">Measurement::Unit</a> </td> |
| 413 | <td class="paramname"><em>unit</em></td><td>)</td> |
| 414 | <td></td> |
| 415 | </tr> |
| 416 | </table> |
| 417 | </td> |
| 418 | <td class="mlabels-right"> |
| 419 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 420 | </tr> |
| 421 | </table> |
| 422 | </div><div class="memdoc"> |
| 423 | |
| 424 | <p class="definition">Definition at line <a class="el" href="_json_printer_8hpp_source.html#l00046">46</a> of file <a class="el" href="_json_printer_8hpp_source.html">JsonPrinter.hpp</a>.</p> |
| 425 | |
| 426 | <p class="reference">Referenced by <a class="el" href="_profiling_8cpp_source.html#l00284">armnn::ExtractJsonObjects()</a>.</p> |
| 427 | <div class="fragment"><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  {</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <a class="code" href="structarmnn_1_1_json_child_object.html#ae8cbdbf41275a03335d8a68d4c62ac20">m_Unit</a> = unit;</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  }</div><div class="ttc" id="structarmnn_1_1_json_child_object_html_ae8cbdbf41275a03335d8a68d4c62ac20"><div class="ttname"><a href="structarmnn_1_1_json_child_object.html#ae8cbdbf41275a03335d8a68d4c62ac20">armnn::JsonChildObject::m_Unit</a></div><div class="ttdeci">Measurement::Unit m_Unit</div><div class="ttdef"><b>Definition:</b> <a href="_json_printer_8hpp_source.html#l00069">JsonPrinter.hpp:69</a></div></div> |
| 428 | </div><!-- fragment --> |
| 429 | </div> |
| 430 | </div> |
| 431 | <h2 class="groupheader">Member Data Documentation</h2> |
| 432 | <a id="af1e596fc699bb55613aa48e8fb321fae"></a> |
| 433 | <h2 class="memtitle"><span class="permalink"><a href="#af1e596fc699bb55613aa48e8fb321fae">◆ </a></span>m_Children</h2> |
| 434 | |
| 435 | <div class="memitem"> |
| 436 | <div class="memproto"> |
| 437 | <table class="memname"> |
| 438 | <tr> |
| 439 | <td class="memname">std::vector<<a class="el" href="structarmnn_1_1_json_child_object.html">JsonChildObject</a>> m_Children</td> |
| 440 | </tr> |
| 441 | </table> |
| 442 | </div><div class="memdoc"> |
| 443 | |
| 444 | <p class="definition">Definition at line <a class="el" href="_json_printer_8hpp_source.html#l00072">72</a> of file <a class="el" href="_json_printer_8hpp_source.html">JsonPrinter.hpp</a>.</p> |
| 445 | |
| 446 | </div> |
| 447 | </div> |
| 448 | <a id="ad6838c8d76c8f55b8bc4f9b85b921999"></a> |
| 449 | <h2 class="memtitle"><span class="permalink"><a href="#ad6838c8d76c8f55b8bc4f9b85b921999">◆ </a></span>m_Label</h2> |
| 450 | |
| 451 | <div class="memitem"> |
| 452 | <div class="memproto"> |
| 453 | <table class="memname"> |
| 454 | <tr> |
| 455 | <td class="memname">std::string m_Label</td> |
| 456 | </tr> |
| 457 | </table> |
| 458 | </div><div class="memdoc"> |
| 459 | |
| 460 | <p class="definition">Definition at line <a class="el" href="_json_printer_8hpp_source.html#l00068">68</a> of file <a class="el" href="_json_printer_8hpp_source.html">JsonPrinter.hpp</a>.</p> |
| 461 | |
| 462 | </div> |
| 463 | </div> |
| 464 | <a id="a0421b0c85b01c7b031c6fb3cf66b55a3"></a> |
| 465 | <h2 class="memtitle"><span class="permalink"><a href="#a0421b0c85b01c7b031c6fb3cf66b55a3">◆ </a></span>m_Measurements</h2> |
| 466 | |
| 467 | <div class="memitem"> |
| 468 | <div class="memproto"> |
| 469 | <table class="memname"> |
| 470 | <tr> |
| 471 | <td class="memname">std::vector<double> m_Measurements</td> |
| 472 | </tr> |
| 473 | </table> |
| 474 | </div><div class="memdoc"> |
| 475 | |
| 476 | <p class="definition">Definition at line <a class="el" href="_json_printer_8hpp_source.html#l00071">71</a> of file <a class="el" href="_json_printer_8hpp_source.html">JsonPrinter.hpp</a>.</p> |
| 477 | |
| 478 | </div> |
| 479 | </div> |
| 480 | <a id="a1af12f2a754bc2b9e0875672e1d4fdab"></a> |
| 481 | <h2 class="memtitle"><span class="permalink"><a href="#a1af12f2a754bc2b9e0875672e1d4fdab">◆ </a></span>m_Type</h2> |
| 482 | |
| 483 | <div class="memitem"> |
| 484 | <div class="memproto"> |
| 485 | <table class="memname"> |
| 486 | <tr> |
| 487 | <td class="memname"><a class="el" href="namespacearmnn.html#a4e2dd387ba6f0dc5164b4cdf8de3262a">JsonObjectType</a> m_Type</td> |
| 488 | </tr> |
| 489 | </table> |
| 490 | </div><div class="memdoc"> |
| 491 | |
| 492 | <p class="definition">Definition at line <a class="el" href="_json_printer_8hpp_source.html#l00070">70</a> of file <a class="el" href="_json_printer_8hpp_source.html">JsonPrinter.hpp</a>.</p> |
| 493 | |
| 494 | </div> |
| 495 | </div> |
| 496 | <a id="ae8cbdbf41275a03335d8a68d4c62ac20"></a> |
| 497 | <h2 class="memtitle"><span class="permalink"><a href="#ae8cbdbf41275a03335d8a68d4c62ac20">◆ </a></span>m_Unit</h2> |
| 498 | |
| 499 | <div class="memitem"> |
| 500 | <div class="memproto"> |
| 501 | <table class="memname"> |
| 502 | <tr> |
| 503 | <td class="memname"><a class="el" href="structarmnn_1_1_measurement.html#abceb2331ad056e3c5ad27894199a49ed">Measurement::Unit</a> m_Unit</td> |
| 504 | </tr> |
| 505 | </table> |
| 506 | </div><div class="memdoc"> |
| 507 | |
| 508 | <p class="definition">Definition at line <a class="el" href="_json_printer_8hpp_source.html#l00069">69</a> of file <a class="el" href="_json_printer_8hpp_source.html">JsonPrinter.hpp</a>.</p> |
| 509 | |
| 510 | </div> |
| 511 | </div> |
| 512 | <hr/>The documentation for this struct was generated from the following file:<ul> |
| 513 | <li>src/armnn/<a class="el" href="_json_printer_8hpp_source.html">JsonPrinter.hpp</a></li> |
| 514 | </ul> |
| 515 | </div><!-- contents --> |
| 516 | </div><!-- doc-content --> |
| 517 | <!-- start footer part --> |
| 518 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 519 | <ul> |
| 520 | <li class="navelem"><a class="el" href="namespacearmnn.html">armnn</a></li><li class="navelem"><a class="el" href="structarmnn_1_1_json_child_object.html">JsonChildObject</a></li> |
| 521 | <li class="footer">Generated on Fri Mar 13 2020 16:07:03 for ArmNN by |
| 522 | <a href="http://www.doxygen.org/index.html"> |
| 523 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 524 | </ul> |
| 525 | </div> |
| 526 | </body> |
| 527 | </html> |