aboutsummaryrefslogtreecommitdiff
path: root/21.02/classarmnn_1_1_optional_base.xhtml
blob: 26c11ace0f42a444026d49e16fed4ddc7e45a452 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
<!-- Copyright (c) 2020 ARM Limited. -->
<!--                                 -->
<!-- SPDX-License-Identifier: MIT    -->
<!--                                 -->
<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="robots" content="NOINDEX, NOFOLLOW" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ArmNN: OptionalBase Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <img alt="ArmNN" src="Arm_NN_horizontal_blue.png" style="max-width: 10rem; margin-top: .5rem; margin-left 10px"/>
  <td style="padding-left: 0.5em;">
   <div id="projectname">
   &#160;<span id="projectnumber">21.02</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classarmnn_1_1_optional_base.xhtml','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="classarmnn_1_1_optional_base-members.xhtml">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">OptionalBase Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><a class="el" href="classarmnn_1_1_optional_base.xhtml" title="OptionalBase is the common functionality between reference and non-reference optional types...">OptionalBase</a> is the common functionality between reference and non-reference optional types.  
 <a href="classarmnn_1_1_optional_base.xhtml#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_optional_8hpp_source.xhtml">Optional.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for OptionalBase:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classarmnn_1_1_optional_base.png" usemap="#OptionalBase_map" alt=""/>
  <map id="OptionalBase_map" name="OptionalBase_map">
<area href="classarmnn_1_1_optional_reference_switch.xhtml" title="The default implementation is the non-reference case. " alt="OptionalReferenceSwitch&lt; IsReference, T &gt;" shape="rect" coords="953,56,1896,80"/>
<area href="classarmnn_1_1_optional_reference_switch_3_01true_00_01_t_01_4.xhtml" title="This is the special case for reference types. " alt="OptionalReferenceSwitch&lt; true, T &gt;" shape="rect" coords="953,112,1896,136"/>
<area href="classarmnn_1_1_optional_reference_switch.xhtml" alt="OptionalReferenceSwitch&lt; std::is_reference&lt; armnn::BackendId &gt;::value, armnn::BackendId &gt;" shape="rect" coords="953,168,1896,192"/>
<area href="classarmnn_1_1_optional_reference_switch.xhtml" alt="OptionalReferenceSwitch&lt; std::is_reference&lt; armnn::ConstTensor &gt;::value, armnn::ConstTensor &gt;" shape="rect" coords="953,224,1896,248"/>
<area href="classarmnn_1_1_optional_reference_switch.xhtml" alt="OptionalReferenceSwitch&lt; std::is_reference&lt; armnn::DebugCallbackFunction &gt;::value, armnn::DebugCallbackFunction &gt;" shape="rect" coords="953,280,1896,304"/>
<area href="classarmnn_1_1_optional_reference_switch.xhtml" alt="OptionalReferenceSwitch&lt; std::is_reference&lt; armnn::DynamicQuantizationStrategy &gt;::value, armnn::DynamicQuantizationStrategy &gt;" shape="rect" coords="953,336,1896,360"/>
<area href="classarmnn_1_1_optional_reference_switch.xhtml" alt="OptionalReferenceSwitch&lt; std::is_reference&lt; armnn::LogSeverity &gt;::value, armnn::LogSeverity &gt;" shape="rect" coords="953,392,1896,416"/>
<area href="classarmnn_1_1_optional_reference_switch.xhtml" alt="OptionalReferenceSwitch&lt; std::is_reference&lt; armnn::profiling::IReportStructure &amp; &gt;::value, armnn::profiling::IReportStructure &amp; &gt;" shape="rect" coords="953,448,1896,472"/>
<area href="classarmnn_1_1_optional_reference_switch.xhtml" alt="OptionalReferenceSwitch&lt; std::is_reference&lt; armnn::profiling::ProfilingService &amp; &gt;::value, armnn::profiling::ProfilingService &amp; &gt;" shape="rect" coords="953,504,1896,528"/>
<area href="classarmnn_1_1_optional_reference_switch.xhtml" alt="OptionalReferenceSwitch&lt; std::is_reference&lt; armnnTfLiteParser::ITfLiteParser::TfLiteParserOptions &gt;::value, armnnTfLiteParser::ITfLiteParser::TfLiteParserOptions &gt;" shape="rect" coords="953,560,1896,584"/>
<area href="classarmnn_1_1_optional_reference_switch.xhtml" alt="OptionalReferenceSwitch&lt; std::is_reference&lt; BackendProfilingContexts &gt;::value, BackendProfilingContexts &gt;" shape="rect" coords="953,616,1896,640"/>
<area href="classarmnn_1_1_optional_reference_switch.xhtml" alt="OptionalReferenceSwitch&lt; std::is_reference&lt; fs::path &gt;::value, fs::path &gt;" shape="rect" coords="953,672,1896,696"/>
<area href="classarmnn_1_1_optional_reference_switch.xhtml" alt="OptionalReferenceSwitch&lt; std::is_reference&lt; int32_t &gt;::value, int32_t &gt;" shape="rect" coords="953,728,1896,752"/>
<area href="classarmnn_1_1_optional_reference_switch.xhtml" alt="OptionalReferenceSwitch&lt; std::is_reference&lt; std::string &gt;::value, std::string &gt;" shape="rect" coords="953,784,1896,808"/>
<area href="classarmnn_1_1_optional_reference_switch.xhtml" alt="OptionalReferenceSwitch&lt; std::is_reference&lt; T &gt;::value, T &gt;" shape="rect" coords="953,840,1896,864"/>
<area href="classarmnn_1_1_optional_reference_switch.xhtml" alt="OptionalReferenceSwitch&lt; std::is_reference&lt; unsigned int &gt;::value, unsigned int &gt;" shape="rect" coords="953,896,1896,920"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ac2bde2f7113f72440ad3638eeb4d06f6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_optional_base.xhtml#ac2bde2f7113f72440ad3638eeb4d06f6">OptionalBase</a> () noexcept</td></tr>
<tr class="separator:ac2bde2f7113f72440ad3638eeb4d06f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a86b749ce2c4bc627fa8a1fcfaf0e314f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_optional_base.xhtml#a86b749ce2c4bc627fa8a1fcfaf0e314f">has_value</a> () const noexcept</td></tr>
<tr class="separator:a86b749ce2c4bc627fa8a1fcfaf0e314f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a420e60e9788bfa3b52aa3aab72ea3a5e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_optional_base.xhtml#a420e60e9788bfa3b52aa3aab72ea3a5e">operator bool</a> () const noexcept</td></tr>
<tr class="memdesc:a420e60e9788bfa3b52aa3aab72ea3a5e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Conversion to bool, so can be used in if-statements and similar contexts expecting a bool.  <a href="#a420e60e9788bfa3b52aa3aab72ea3a5e">More...</a><br /></td></tr>
<tr class="separator:a420e60e9788bfa3b52aa3aab72ea3a5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a50b53f38c96fdf12c90890d2dfbb8719"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_optional_base.xhtml#a50b53f38c96fdf12c90890d2dfbb8719">OptionalBase</a> (bool hasValue) noexcept</td></tr>
<tr class="separator:a50b53f38c96fdf12c90890d2dfbb8719"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a53e87efb7e1b2df3dc4420dafaf2ee7e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_optional_base.xhtml#a53e87efb7e1b2df3dc4420dafaf2ee7e">m_HasValue</a></td></tr>
<tr class="separator:a53e87efb7e1b2df3dc4420dafaf2ee7e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="classarmnn_1_1_optional_base.xhtml" title="OptionalBase is the common functionality between reference and non-reference optional types...">OptionalBase</a> is the common functionality between reference and non-reference optional types. </p>

<p class="definition">Definition at line <a class="el" href="_optional_8hpp_source.xhtml#l00045">45</a> of file <a class="el" href="_optional_8hpp_source.xhtml">Optional.hpp</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ac2bde2f7113f72440ad3638eeb4d06f6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac2bde2f7113f72440ad3638eeb4d06f6">&#9670;&nbsp;</a></span>OptionalBase() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classarmnn_1_1_optional_base.xhtml">OptionalBase</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_optional_8hpp_source.xhtml#l00048">48</a> of file <a class="el" href="_optional_8hpp_source.xhtml">Optional.hpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;        : <a class="code" href="classarmnn_1_1_optional_base.xhtml#a53e87efb7e1b2df3dc4420dafaf2ee7e">m_HasValue</a>{<span class="keyword">false</span>}</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    {</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;    }</div><div class="ttc" id="classarmnn_1_1_optional_base_xhtml_a53e87efb7e1b2df3dc4420dafaf2ee7e"><div class="ttname"><a href="classarmnn_1_1_optional_base.xhtml#a53e87efb7e1b2df3dc4420dafaf2ee7e">armnn::OptionalBase::m_HasValue</a></div><div class="ttdeci">bool m_HasValue</div><div class="ttdef"><b>Definition:</b> <a href="_optional_8hpp_source.xhtml#l00072">Optional.hpp:72</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a id="a50b53f38c96fdf12c90890d2dfbb8719"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a50b53f38c96fdf12c90890d2dfbb8719">&#9670;&nbsp;</a></span>OptionalBase() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classarmnn_1_1_optional_base.xhtml">OptionalBase</a> </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>hasValue</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_optional_8hpp_source.xhtml#l00067">67</a> of file <a class="el" href="_optional_8hpp_source.xhtml">Optional.hpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;        : <a class="code" href="classarmnn_1_1_optional_base.xhtml#a53e87efb7e1b2df3dc4420dafaf2ee7e">m_HasValue</a>{hasValue}</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    {</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;    }</div><div class="ttc" id="classarmnn_1_1_optional_base_xhtml_a53e87efb7e1b2df3dc4420dafaf2ee7e"><div class="ttname"><a href="classarmnn_1_1_optional_base.xhtml#a53e87efb7e1b2df3dc4420dafaf2ee7e">armnn::OptionalBase::m_HasValue</a></div><div class="ttdeci">bool m_HasValue</div><div class="ttdef"><b>Definition:</b> <a href="_optional_8hpp_source.xhtml#l00072">Optional.hpp:72</a></div></div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a86b749ce2c4bc627fa8a1fcfaf0e314f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a86b749ce2c4bc627fa8a1fcfaf0e314f">&#9670;&nbsp;</a></span>has_value()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool has_value </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_optional_8hpp_source.xhtml#l00053">53</a> of file <a class="el" href="_optional_8hpp_source.xhtml">Optional.hpp</a>.</p>

<p class="reference">Referenced by <a class="el" href="_network_8cpp_source.xhtml#l01758">NetworkImpl::AddConcatLayer()</a>, <a class="el" href="_network_8cpp_source.xhtml#l01802">NetworkImpl::AddConvolution2dLayer()</a>, <a class="el" href="_network_8cpp_source.xhtml#l01705">NetworkImpl::AddFillLayer()</a>, <a class="el" href="_network_8cpp_source.xhtml#l02278">NetworkImpl::AddTransposeConvolution2dLayer()</a>, <a class="el" href="_optional_test_8cpp_source.xhtml#l00029">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_test_layer_visitor_8cpp_source.xhtml#l00051">TestLayerVisitor::CheckOptionalConstTensors()</a>, <a class="el" href="_counter_directory_8cpp_source.xhtml#l00438">CounterDirectory::Clear()</a>, <a class="el" href="_quantizer_strategy_8cpp_source.xhtml#l00118">QuantizerStrategy::ExecuteStrategy()</a>, <a class="el" href="_workload_data_8cpp_source.xhtml#l00025">armnn::GetBiasDataType()</a>, <a class="el" href="_quantizer_test_8cpp_source.xhtml#l00090">armnn::GetInputTensorInfo()</a>, <a class="el" href="_ref_layer_support_8cpp_source.xhtml#l00454">RefLayerSupport::IsConvolution2dSupported()</a>, <a class="el" href="_ref_layer_support_8cpp_source.xhtml#l00599">RefLayerSupport::IsDepthwiseConvolutionSupported()</a>, <a class="el" href="_delegate_options_8hpp_source.xhtml#l00056">DelegateOptions::IsLoggingEnabled()</a>, <a class="el" href="_ref_layer_support_8cpp_source.xhtml#l02136">RefLayerSupport::IsTransposeConvolution2dSupported()</a>, <a class="el" href="_connection_acknowledged_command_handler_8cpp_source.xhtml#l00019">ConnectionAcknowledgedCommandHandler::operator()()</a>, <a class="el" href="_optional_8hpp_source.xhtml#l00115">OptionalReferenceSwitch&lt; std::is_reference&lt; armnn::DebugCallbackFunction &gt;::value, armnn::DebugCallbackFunction &gt;::operator=()</a>, <a class="el" href="_optional_8hpp_source.xhtml#l00221">OptionalReferenceSwitch&lt; true, T &gt;::operator=()</a>, <a class="el" href="_optional_8hpp_source.xhtml#l00288">Optional&lt; armnn::LogSeverity &gt;::operator==()</a>, <a class="el" href="_periodic_counter_selection_command_handler_8hpp_source.xhtml#l00035">PeriodicCounterSelectionCommandHandler::PeriodicCounterSelectionCommandHandler()</a>, <a class="el" href="_network_execution_utils_8cpp_source.xhtml#l00176">PopulateTensorWithData()</a>, <a class="el" href="_network_execution_utils_8hpp_source.xhtml#l00105">PopulateTensorWithDataGeneric()</a>, <a class="el" href="_counter_directory_8cpp_source.xhtml#l00181">CounterDirectory::RegisterCounter()</a>, <a class="el" href="_counter_directory_8cpp_source.xhtml#l00114">CounterDirectory::RegisterCounterSet()</a>, <a class="el" href="_counter_directory_8cpp_source.xhtml#l00053">CounterDirectory::RegisterDevice()</a>, <a class="el" href="_profiling_test_utils_8cpp_source.xhtml#l00267">VerifyTimelineEntityBinaryPacketData()</a>, <a class="el" href="_profiling_test_utils_8cpp_source.xhtml#l00301">VerifyTimelineEventBinaryPacket()</a>, <a class="el" href="_profiling_test_utils_8cpp_source.xhtml#l00100">VerifyTimelineLabelBinaryPacketData()</a>, and <a class="el" href="_profiling_test_utils_8cpp_source.xhtml#l00173">VerifyTimelineRelationshipBinaryPacketData()</a>.</p>
<div class="fragment"><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;    {</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="classarmnn_1_1_optional_base.xhtml#a53e87efb7e1b2df3dc4420dafaf2ee7e">m_HasValue</a>;</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;    }</div><div class="ttc" id="classarmnn_1_1_optional_base_xhtml_a53e87efb7e1b2df3dc4420dafaf2ee7e"><div class="ttname"><a href="classarmnn_1_1_optional_base.xhtml#a53e87efb7e1b2df3dc4420dafaf2ee7e">armnn::OptionalBase::m_HasValue</a></div><div class="ttdeci">bool m_HasValue</div><div class="ttdef"><b>Definition:</b> <a href="_optional_8hpp_source.xhtml#l00072">Optional.hpp:72</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a id="a420e60e9788bfa3b52aa3aab72ea3a5e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a420e60e9788bfa3b52aa3aab72ea3a5e">&#9670;&nbsp;</a></span>operator bool()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">operator bool </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Conversion to bool, so can be used in if-statements and similar contexts expecting a bool. </p>
<p>Note this is explicit so that it doesn't get implicitly converted to a bool in unwanted cases, for example "Optional&lt;TypeA&gt; == Optional&lt;TypeB&gt;" should not compile. </p>

<p class="definition">Definition at line <a class="el" href="_optional_8hpp_source.xhtml#l00061">61</a> of file <a class="el" href="_optional_8hpp_source.xhtml">Optional.hpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    {</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="classarmnn_1_1_optional_base.xhtml#a86b749ce2c4bc627fa8a1fcfaf0e314f">has_value</a>();</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    }</div><div class="ttc" id="classarmnn_1_1_optional_base_xhtml_a86b749ce2c4bc627fa8a1fcfaf0e314f"><div class="ttname"><a href="classarmnn_1_1_optional_base.xhtml#a86b749ce2c4bc627fa8a1fcfaf0e314f">armnn::OptionalBase::has_value</a></div><div class="ttdeci">bool has_value() const noexcept</div><div class="ttdef"><b>Definition:</b> <a href="_optional_8hpp_source.xhtml#l00053">Optional.hpp:53</a></div></div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a53e87efb7e1b2df3dc4420dafaf2ee7e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a53e87efb7e1b2df3dc4420dafaf2ee7e">&#9670;&nbsp;</a></span>m_HasValue</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool m_HasValue</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_optional_8hpp_source.xhtml#l00072">72</a> of file <a class="el" href="_optional_8hpp_source.xhtml">Optional.hpp</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/armnn/<a class="el" href="_optional_8hpp_source.xhtml">Optional.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacearmnn.xhtml">armnn</a></li><li class="navelem"><a class="el" href="classarmnn_1_1_optional_base.xhtml">OptionalBase</a></li>
    <li class="footer">Generated on Fri Mar 19 2021 15:26:12 for ArmNN by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>