Hazelnupp/docs/classHazelnp_1_1IntValue.html

583 lines
37 KiB
HTML
Raw Normal View History

2021-06-03 13:43:05 +02:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Leonetienne/Hazelnupp: Hazelnp::IntValue 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="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" async="async" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js"></script>
<link href="doxygen.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;">
<td id="projectlogo"><img alt="Logo" src="nupp_small.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Leonetienne/Hazelnupp
</div>
<div id="projectbrief">Simple, easy to use, command line parameter interface</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- 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 id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespaceHazelnp.html">Hazelnp</a></li><li class="navelem"><a class="el" href="classHazelnp_1_1IntValue.html">IntValue</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classHazelnp_1_1IntValue-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">Hazelnp::IntValue Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Specializations for integer values (uses long long int)
<a href="classHazelnp_1_1IntValue.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="IntValue_8h_source.html">IntValue.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Hazelnp::IntValue:</div>
<div class="dyncontent">
<div class="center"><img src="classHazelnp_1_1IntValue__inherit__graph.png" border="0" usemap="#Hazelnp_1_1IntValue_inherit__map" alt="Inheritance graph"/></div>
<map name="Hazelnp_1_1IntValue_inherit__map" id="Hazelnp_1_1IntValue_inherit__map">
<area shape="rect" title="Specializations for integer values (uses long long int)" alt="" coords="5,80,141,107"/>
<area shape="rect" href="classHazelnp_1_1Value.html" title="Abstract class for values." alt="" coords="14,5,133,32"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for Hazelnp::IntValue:</div>
<div class="dyncontent">
<div class="center"><img src="classHazelnp_1_1IntValue__coll__graph.png" border="0" usemap="#Hazelnp_1_1IntValue_coll__map" alt="Collaboration graph"/></div>
<map name="Hazelnp_1_1IntValue_coll__map" id="Hazelnp_1_1IntValue_coll__map">
<area shape="rect" title="Specializations for integer values (uses long long int)" alt="" coords="5,80,141,107"/>
<area shape="rect" href="classHazelnp_1_1Value.html" title="Abstract class for values." alt="" coords="14,5,133,32"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></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:ac1174f807ce2c085f5a24baed4e3c1ba"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classHazelnp_1_1IntValue.html#ac1174f807ce2c085f5a24baed4e3c1ba">IntValue</a> (const long long int &amp;value)</td></tr>
<tr class="separator:ac1174f807ce2c085f5a24baed4e3c1ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af69f25847b0666f9d6c1bb1fed18d917"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classHazelnp_1_1IntValue.html#af69f25847b0666f9d6c1bb1fed18d917">~IntValue</a> () override</td></tr>
<tr class="separator:af69f25847b0666f9d6c1bb1fed18d917"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa599004242b27f8f3e246b88742b034e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classHazelnp_1_1Value.html">Value</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classHazelnp_1_1IntValue.html#aa599004242b27f8f3e246b88742b034e">Deepcopy</a> () const override</td></tr>
<tr class="memdesc:aa599004242b27f8f3e246b88742b034e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Will return a deeopopy of this object. <a href="classHazelnp_1_1IntValue.html#aa599004242b27f8f3e246b88742b034e">More...</a><br /></td></tr>
<tr class="separator:aa599004242b27f8f3e246b88742b034e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d7dbda9a051084600d3eabdac96ee45"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classHazelnp_1_1IntValue.html#a7d7dbda9a051084600d3eabdac96ee45">GetAsOsString</a> () const override</td></tr>
<tr class="memdesc:a7d7dbda9a051084600d3eabdac96ee45"><td class="mdescLeft">&#160;</td><td class="mdescRight">Will return a string suitable for an std::ostream;. <a href="classHazelnp_1_1IntValue.html#a7d7dbda9a051084600d3eabdac96ee45">More...</a><br /></td></tr>
<tr class="separator:a7d7dbda9a051084600d3eabdac96ee45"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a89967cafbdeb21362336067b772808c7"><td class="memItemLeft" align="right" valign="top">const long long int &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classHazelnp_1_1IntValue.html#a89967cafbdeb21362336067b772808c7">GetValue</a> () const</td></tr>
<tr class="memdesc:a89967cafbdeb21362336067b772808c7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Will return the raw value. <a href="classHazelnp_1_1IntValue.html#a89967cafbdeb21362336067b772808c7">More...</a><br /></td></tr>
<tr class="separator:a89967cafbdeb21362336067b772808c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a45b283dae9904ad0643035d3ee5883eb"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classHazelnp_1_1IntValue.html#a45b283dae9904ad0643035d3ee5883eb">operator long long int</a> () const</td></tr>
<tr class="separator:a45b283dae9904ad0643035d3ee5883eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab30a38c8f58cefd7cbf365c4aeae79bd"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classHazelnp_1_1IntValue.html#ab30a38c8f58cefd7cbf365c4aeae79bd">operator int</a> () const</td></tr>
<tr class="separator:ab30a38c8f58cefd7cbf365c4aeae79bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae0643023dfd56eafe2e3da5a4ba13080"><td class="memItemLeft" align="right" valign="top">long long int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classHazelnp_1_1IntValue.html#ae0643023dfd56eafe2e3da5a4ba13080">GetInt64</a> () const override</td></tr>
<tr class="memdesc:ae0643023dfd56eafe2e3da5a4ba13080"><td class="mdescLeft">&#160;</td><td class="mdescRight">Will return the data as a long long int. <a href="classHazelnp_1_1IntValue.html#ae0643023dfd56eafe2e3da5a4ba13080">More...</a><br /></td></tr>
<tr class="separator:ae0643023dfd56eafe2e3da5a4ba13080"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a163f21536fa49491aa0ae03c8091344a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classHazelnp_1_1IntValue.html#a163f21536fa49491aa0ae03c8091344a">GetInt32</a> () const override</td></tr>
<tr class="memdesc:a163f21536fa49491aa0ae03c8091344a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Will return the data as an int. <a href="classHazelnp_1_1IntValue.html#a163f21536fa49491aa0ae03c8091344a">More...</a><br /></td></tr>
<tr class="separator:a163f21536fa49491aa0ae03c8091344a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ceb2030e8a2a665953fdd4f1715e6a5"><td class="memItemLeft" align="right" valign="top">long double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classHazelnp_1_1IntValue.html#a5ceb2030e8a2a665953fdd4f1715e6a5">GetFloat64</a> () const override</td></tr>
<tr class="memdesc:a5ceb2030e8a2a665953fdd4f1715e6a5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Will return the data as a long double. <a href="classHazelnp_1_1IntValue.html#a5ceb2030e8a2a665953fdd4f1715e6a5">More...</a><br /></td></tr>
<tr class="separator:a5ceb2030e8a2a665953fdd4f1715e6a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0734e4cf67bac0bcc58251a4b3e56c4"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classHazelnp_1_1IntValue.html#ad0734e4cf67bac0bcc58251a4b3e56c4">GetFloat32</a> () const override</td></tr>
<tr class="memdesc:ad0734e4cf67bac0bcc58251a4b3e56c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Will return the data as a double. <a href="classHazelnp_1_1IntValue.html#ad0734e4cf67bac0bcc58251a4b3e56c4">More...</a><br /></td></tr>
<tr class="separator:ad0734e4cf67bac0bcc58251a4b3e56c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3631e3b16f010889e942c0c0f72d403c"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classHazelnp_1_1IntValue.html#a3631e3b16f010889e942c0c0f72d403c">GetString</a> () const override</td></tr>
<tr class="memdesc:a3631e3b16f010889e942c0c0f72d403c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Will return the data as a string. <a href="classHazelnp_1_1IntValue.html#a3631e3b16f010889e942c0c0f72d403c">More...</a><br /></td></tr>
<tr class="separator:a3631e3b16f010889e942c0c0f72d403c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc74ba6070a516a4bcad10bb113d6fa2"><td class="memItemLeft" align="right" valign="top">const std::vector&lt; <a class="el" href="classHazelnp_1_1Value.html">Value</a> * &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classHazelnp_1_1IntValue.html#acc74ba6070a516a4bcad10bb113d6fa2">GetList</a> () const override</td></tr>
<tr class="memdesc:acc74ba6070a516a4bcad10bb113d6fa2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Throws <a class="el" href="classHazelnp_1_1HazelnuppValueNotConvertibleException.html" title="Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not ...">HazelnuppValueNotConvertibleException</a>. <a href="classHazelnp_1_1IntValue.html#acc74ba6070a516a4bcad10bb113d6fa2">More...</a><br /></td></tr>
<tr class="separator:acc74ba6070a516a4bcad10bb113d6fa2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classHazelnp_1_1Value"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classHazelnp_1_1Value')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classHazelnp_1_1Value.html">Hazelnp::Value</a></td></tr>
<tr class="memitem:a977dea61ee5b00b6c6d77ad6ad2c8d4c inherit pub_methods_classHazelnp_1_1Value"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classHazelnp_1_1Value.html#a977dea61ee5b00b6c6d77ad6ad2c8d4c">~Value</a> ()</td></tr>
<tr class="separator:a977dea61ee5b00b6c6d77ad6ad2c8d4c inherit pub_methods_classHazelnp_1_1Value"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adbb80bf6d455a316e6e5103353429993 inherit pub_methods_classHazelnp_1_1Value"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceHazelnp.html#a07b61ac22ce9cd97eceebdf9487f803f">DATA_TYPE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classHazelnp_1_1Value.html#adbb80bf6d455a316e6e5103353429993">GetDataType</a> () const</td></tr>
<tr class="memdesc:adbb80bf6d455a316e6e5103353429993 inherit pub_methods_classHazelnp_1_1Value"><td class="mdescLeft">&#160;</td><td class="mdescRight">Will return the data type of this value. <a href="classHazelnp_1_1Value.html#adbb80bf6d455a316e6e5103353429993">More...</a><br /></td></tr>
<tr class="separator:adbb80bf6d455a316e6e5103353429993 inherit pub_methods_classHazelnp_1_1Value"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_methods_classHazelnp_1_1Value"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classHazelnp_1_1Value')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classHazelnp_1_1Value.html">Hazelnp::Value</a></td></tr>
<tr class="memitem:a8455d65bb2d939e850d6772dfbf8bfec inherit pro_methods_classHazelnp_1_1Value"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classHazelnp_1_1Value.html#a8455d65bb2d939e850d6772dfbf8bfec">Value</a> (<a class="el" href="namespaceHazelnp.html#a07b61ac22ce9cd97eceebdf9487f803f">DATA_TYPE</a> <a class="el" href="classHazelnp_1_1Value.html#ae5760a30c237095db595c466372e3c23">type</a>)</td></tr>
<tr class="separator:a8455d65bb2d939e850d6772dfbf8bfec inherit pro_methods_classHazelnp_1_1Value"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classHazelnp_1_1Value"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classHazelnp_1_1Value')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classHazelnp_1_1Value.html">Hazelnp::Value</a></td></tr>
<tr class="memitem:ae5760a30c237095db595c466372e3c23 inherit pro_attribs_classHazelnp_1_1Value"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceHazelnp.html#a07b61ac22ce9cd97eceebdf9487f803f">DATA_TYPE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classHazelnp_1_1Value.html#ae5760a30c237095db595c466372e3c23">type</a></td></tr>
<tr class="separator:ae5760a30c237095db595c466372e3c23 inherit pro_attribs_classHazelnp_1_1Value"><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>Specializations for integer values (uses long long int) </p>
<p class="definition">Definition at line <a class="el" href="IntValue_8h_source.html#l00008">8</a> of file <a class="el" href="IntValue_8h_source.html">IntValue.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ac1174f807ce2c085f5a24baed4e3c1ba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac1174f807ce2c085f5a24baed4e3c1ba">&#9670;&nbsp;</a></span>IntValue()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">IntValue::IntValue </td>
<td>(</td>
<td class="paramtype">const long long int &amp;&#160;</td>
<td class="paramname"><em>value</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="IntValue_8cpp_source.html#l00007">7</a> of file <a class="el" href="IntValue_8cpp_source.html">IntValue.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160; :</div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160; <a class="code" href="classHazelnp_1_1Value.html#a8455d65bb2d939e850d6772dfbf8bfec">Value</a>(<a class="code" href="namespaceHazelnp.html#a07b61ac22ce9cd97eceebdf9487f803fa53f93baa3057821107c750323892fa92">DATA_TYPE::INT</a>),</div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160; value { value }</div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;{</div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160; <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;}</div>
</div><!-- fragment -->
</div>
</div>
<a id="af69f25847b0666f9d6c1bb1fed18d917"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af69f25847b0666f9d6c1bb1fed18d917">&#9670;&nbsp;</a></span>~IntValue()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">Hazelnp::IntValue::~IntValue </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">override</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="IntValue_8h_source.html#l00012">12</a> of file <a class="el" href="IntValue_8h_source.html">IntValue.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;{};</div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="aa599004242b27f8f3e246b88742b034e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa599004242b27f8f3e246b88742b034e">&#9670;&nbsp;</a></span>Deepcopy()</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="classHazelnp_1_1Value.html">Value</a> * IntValue::Deepcopy </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">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Will return a deeopopy of this object. </p>
<p>Implements <a class="el" href="classHazelnp_1_1Value.html#aec9bc16f1630734c79bc69e916622dc6">Hazelnp::Value</a>.</p>
<p class="definition">Definition at line <a class="el" href="IntValue_8cpp_source.html#l00015">15</a> of file <a class="el" href="IntValue_8cpp_source.html">IntValue.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;{</div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160; <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="classHazelnp_1_1IntValue.html#ac1174f807ce2c085f5a24baed4e3c1ba">IntValue</a>(value);</div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;}</div>
</div><!-- fragment -->
</div>
</div>
<a id="a7d7dbda9a051084600d3eabdac96ee45"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7d7dbda9a051084600d3eabdac96ee45">&#9670;&nbsp;</a></span>GetAsOsString()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::string IntValue::GetAsOsString </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">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Will return a string suitable for an std::ostream;. </p>
<p>Implements <a class="el" href="classHazelnp_1_1Value.html#ae1fdc694ed1c2b3080ad3929efda0a0e">Hazelnp::Value</a>.</p>
<p class="definition">Definition at line <a class="el" href="IntValue_8cpp_source.html#l00020">20</a> of file <a class="el" href="IntValue_8cpp_source.html">IntValue.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;{</div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160; std::stringstream ss;</div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160; ss &lt;&lt; <span class="stringliteral">&quot;IntValue: &quot;</span> &lt;&lt; value;</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; <span class="keywordflow">return</span> ss.str();</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;}</div>
</div><!-- fragment -->
</div>
</div>
<a id="ad0734e4cf67bac0bcc58251a4b3e56c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad0734e4cf67bac0bcc58251a4b3e56c4">&#9670;&nbsp;</a></span>GetFloat32()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">double IntValue::GetFloat32 </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">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Will return the data as a double. </p>
<p>Implements <a class="el" href="classHazelnp_1_1Value.html#a64eeb2943ccea6e16ce4e6f53a6e9b6d">Hazelnp::Value</a>.</p>
<p class="definition">Definition at line <a class="el" href="IntValue_8cpp_source.html#l00059">59</a> of file <a class="el" href="IntValue_8cpp_source.html">IntValue.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;{</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; <span class="keywordflow">return</span> (<span class="keywordtype">double</span>)value;</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;}</div>
</div><!-- fragment -->
</div>
</div>
<a id="a5ceb2030e8a2a665953fdd4f1715e6a5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5ceb2030e8a2a665953fdd4f1715e6a5">&#9670;&nbsp;</a></span>GetFloat64()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">long double IntValue::GetFloat64 </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">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Will return the data as a long double. </p>
<p>Implements <a class="el" href="classHazelnp_1_1Value.html#af645b9d78970d102360be37fc18e9e8a">Hazelnp::Value</a>.</p>
<p class="definition">Definition at line <a class="el" href="IntValue_8cpp_source.html#l00054">54</a> of file <a class="el" href="IntValue_8cpp_source.html">IntValue.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;{</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; <span class="keywordflow">return</span> (<span class="keywordtype">long</span> <span class="keywordtype">double</span>)value;</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;}</div>
</div><!-- fragment -->
</div>
</div>
<a id="a163f21536fa49491aa0ae03c8091344a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a163f21536fa49491aa0ae03c8091344a">&#9670;&nbsp;</a></span>GetInt32()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int IntValue::GetInt32 </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">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Will return the data as an int. </p>
<p>Implements <a class="el" href="classHazelnp_1_1Value.html#a2cb73333bdeca657dfbf6c8b2e50a5ef">Hazelnp::Value</a>.</p>
<p class="definition">Definition at line <a class="el" href="IntValue_8cpp_source.html#l00049">49</a> of file <a class="el" href="IntValue_8cpp_source.html">IntValue.cpp</a>.</p>
<div class="fragment"><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; <span class="keywordflow">return</span> (<span class="keywordtype">int</span>)value;</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;}</div>
</div><!-- fragment -->
</div>
</div>
<a id="ae0643023dfd56eafe2e3da5a4ba13080"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae0643023dfd56eafe2e3da5a4ba13080">&#9670;&nbsp;</a></span>GetInt64()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">long long int IntValue::GetInt64 </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">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Will return the data as a long long int. </p>
<p>Implements <a class="el" href="classHazelnp_1_1Value.html#a92d75905211e964cb900bdc868ed12a7">Hazelnp::Value</a>.</p>
<p class="definition">Definition at line <a class="el" href="IntValue_8cpp_source.html#l00044">44</a> of file <a class="el" href="IntValue_8cpp_source.html">IntValue.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;{</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; <span class="keywordflow">return</span> value;</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;}</div>
</div><!-- fragment -->
</div>
</div>
<a id="acc74ba6070a516a4bcad10bb113d6fa2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acc74ba6070a516a4bcad10bb113d6fa2">&#9670;&nbsp;</a></span>GetList()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const std::vector&lt; <a class="el" href="classHazelnp_1_1Value.html">Value</a> * &gt; &amp; IntValue::GetList </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">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Throws <a class="el" href="classHazelnp_1_1HazelnuppValueNotConvertibleException.html" title="Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not ...">HazelnuppValueNotConvertibleException</a>. </p>
<p>Implements <a class="el" href="classHazelnp_1_1Value.html#a358092f951e817cd2a878225b5b1c869">Hazelnp::Value</a>.</p>
<p class="definition">Definition at line <a class="el" href="IntValue_8cpp_source.html#l00072">72</a> of file <a class="el" href="IntValue_8cpp_source.html">IntValue.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;{</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; <span class="keywordflow">throw</span> <a class="code" href="classHazelnp_1_1HazelnuppValueNotConvertibleException.html">HazelnuppValueNotConvertibleException</a>();</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;}</div>
</div><!-- fragment -->
</div>
</div>
<a id="a3631e3b16f010889e942c0c0f72d403c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3631e3b16f010889e942c0c0f72d403c">&#9670;&nbsp;</a></span>GetString()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::string IntValue::GetString </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">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Will return the data as a string. </p>
<p>Implements <a class="el" href="classHazelnp_1_1Value.html#a1446705c062026f03866d0f452c39501">Hazelnp::Value</a>.</p>
<p class="definition">Definition at line <a class="el" href="IntValue_8cpp_source.html#l00064">64</a> of file <a class="el" href="IntValue_8cpp_source.html">IntValue.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;{</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; std::stringstream ss;</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; ss &lt;&lt; value;</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; </div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; <span class="keywordflow">return</span> ss.str();</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;}</div>
</div><!-- fragment -->
</div>
</div>
<a id="a89967cafbdeb21362336067b772808c7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a89967cafbdeb21362336067b772808c7">&#9670;&nbsp;</a></span>GetValue()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const long long int &amp; IntValue::GetValue </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Will return the raw value. </p>
<p class="definition">Definition at line <a class="el" href="IntValue_8cpp_source.html#l00027">27</a> of file <a class="el" href="IntValue_8cpp_source.html">IntValue.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;{</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; <span class="keywordflow">return</span> value;</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;}</div>
</div><!-- fragment -->
</div>
</div>
<a id="ab30a38c8f58cefd7cbf365c4aeae79bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab30a38c8f58cefd7cbf365c4aeae79bd">&#9670;&nbsp;</a></span>operator int()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">IntValue::operator int </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="IntValue_8cpp_source.html#l00037">37</a> of file <a class="el" href="IntValue_8cpp_source.html">IntValue.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;{</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; <span class="keywordflow">return</span> (<span class="keywordtype">int</span>)value;</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;}</div>
</div><!-- fragment -->
</div>
</div>
<a id="a45b283dae9904ad0643035d3ee5883eb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a45b283dae9904ad0643035d3ee5883eb">&#9670;&nbsp;</a></span>operator long long int()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">IntValue::operator long long int </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="IntValue_8cpp_source.html#l00032">32</a> of file <a class="el" href="IntValue_8cpp_source.html">IntValue.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;{</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; <span class="keywordflow">return</span> value;</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;}</div>
</div><!-- fragment -->
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>Hazelnupp/<a class="el" href="IntValue_8h_source.html">IntValue.h</a></li>
<li>Hazelnupp/<a class="el" href="IntValue_8cpp_source.html">IntValue.cpp</a></li>
</ul>
</div><!-- contents -->
<div class="ttc" id="aclassHazelnp_1_1IntValue_html_ac1174f807ce2c085f5a24baed4e3c1ba"><div class="ttname"><a href="classHazelnp_1_1IntValue.html#ac1174f807ce2c085f5a24baed4e3c1ba">Hazelnp::IntValue::IntValue</a></div><div class="ttdeci">IntValue(const long long int &amp;value)</div><div class="ttdef"><b>Definition:</b> <a href="IntValue_8cpp_source.html#l00007">IntValue.cpp:7</a></div></div>
<div class="ttc" id="aclassHazelnp_1_1Value_html_a8455d65bb2d939e850d6772dfbf8bfec"><div class="ttname"><a href="classHazelnp_1_1Value.html#a8455d65bb2d939e850d6772dfbf8bfec">Hazelnp::Value::Value</a></div><div class="ttdeci">Value(DATA_TYPE type)</div><div class="ttdef"><b>Definition:</b> <a href="Value_8cpp_source.html#l00005">Value.cpp:5</a></div></div>
<div class="ttc" id="anamespaceHazelnp_html_a07b61ac22ce9cd97eceebdf9487f803fa53f93baa3057821107c750323892fa92"><div class="ttname"><a href="namespaceHazelnp.html#a07b61ac22ce9cd97eceebdf9487f803fa53f93baa3057821107c750323892fa92">Hazelnp::DATA_TYPE::INT</a></div><div class="ttdeci">@ INT</div></div>
2021-06-06 15:32:19 +02:00
<div class="ttc" id="aclassHazelnp_1_1HazelnuppValueNotConvertibleException_html"><div class="ttname"><a href="classHazelnp_1_1HazelnuppValueNotConvertibleException.html">Hazelnp::HazelnuppValueNotConvertibleException</a></div><div class="ttdoc">Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not ...</div><div class="ttdef"><b>Definition:</b> <a href="HazelnuppException_8h_source.html#l00038">HazelnuppException.h:38</a></div></div>
2021-06-03 13:43:05 +02:00
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
2021-06-08 14:02:49 +02:00
Generated on Tue Jun 8 2021 14:02:40 for Leonetienne/Hazelnupp by &#160;<a href="http://www.doxygen.org/index.html">
2021-06-03 13:43:05 +02:00
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>