Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: gh-pages
Fetching contributors…

Cannot retrieve contributors at this time

370 lines (354 sloc) 17.877 kb
<!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.9.1"/>
<title>Json Box: JsonBox::Value::ValueDataPointer Union 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/javascript">
$(document).ready(function() { init_search(); });
</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 style="padding-left: 0.5em;">
<div id="projectname">Json Box
&#160;<span id="projectnumber">0.6.1</span>
</div>
<div id="projectbrief">This is a JSON C++ library. It can write and read JSON files with ease and speed.</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.htm"><span>Main&#160;Page</span></a></li>
<li><a href="namespaces.htm"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.htm"><span>Classes</span></a></li>
<li><a href="files.htm"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.htm"><span>Class&#160;List</span></a></li>
<li><a href="classes.htm"><span>Class&#160;Index</span></a></li>
<li><a href="hierarchy.htm"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.htm"><span>Class&#160;Members</span></a></li>
</ul>
</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="namespace_json_box.htm">JsonBox</a></li><li class="navelem"><a class="el" href="class_json_box_1_1_value.htm">Value</a></li><li class="navelem"><a class="el" href="union_json_box_1_1_value_1_1_value_data_pointer.htm">ValueDataPointer</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="union_json_box_1_1_value_1_1_value_data_pointer-members.htm">List of all members</a> </div>
<div class="headertitle">
<div class="title">JsonBox::Value::ValueDataPointer Union Reference</div> </div>
</div><!--header-->
<div class="contents">
<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:a80b989727fca0a5c113f8706fe3085da"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="union_json_box_1_1_value_1_1_value_data_pointer.htm#a80b989727fca0a5c113f8706fe3085da">ValueDataPointer</a> ()</td></tr>
<tr class="separator:a80b989727fca0a5c113f8706fe3085da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d5854ea9ec12544e0bc08f1c95e4724"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="union_json_box_1_1_value_1_1_value_data_pointer.htm#a9d5854ea9ec12544e0bc08f1c95e4724">ValueDataPointer</a> (std::string *newStringValue)</td></tr>
<tr class="separator:a9d5854ea9ec12544e0bc08f1c95e4724"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c9071cb652eddba8b53d0f5d54cb0c3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="union_json_box_1_1_value_1_1_value_data_pointer.htm#a9c9071cb652eddba8b53d0f5d54cb0c3">ValueDataPointer</a> (int *newIntValue)</td></tr>
<tr class="separator:a9c9071cb652eddba8b53d0f5d54cb0c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace9803bd6120b8023930386734a37d0c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="union_json_box_1_1_value_1_1_value_data_pointer.htm#ace9803bd6120b8023930386734a37d0c">ValueDataPointer</a> (double *newDoubleValue)</td></tr>
<tr class="separator:ace9803bd6120b8023930386734a37d0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc3ce1da514bb9b7cd8e1de65ff31469"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="union_json_box_1_1_value_1_1_value_data_pointer.htm#acc3ce1da514bb9b7cd8e1de65ff31469">ValueDataPointer</a> (<a class="el" href="class_json_box_1_1_object.htm">Object</a> *newObjectValue)</td></tr>
<tr class="separator:acc3ce1da514bb9b7cd8e1de65ff31469"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe9a838b83df192cd059e9f61fb1e884"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="union_json_box_1_1_value_1_1_value_data_pointer.htm#afe9a838b83df192cd059e9f61fb1e884">ValueDataPointer</a> (<a class="el" href="class_json_box_1_1_array.htm">Array</a> *newArrayValue)</td></tr>
<tr class="separator:afe9a838b83df192cd059e9f61fb1e884"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e2b67c870da866834a13ce72cd0b5e8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="union_json_box_1_1_value_1_1_value_data_pointer.htm#a0e2b67c870da866834a13ce72cd0b5e8">ValueDataPointer</a> (bool *newBoolValue)</td></tr>
<tr class="separator:a0e2b67c870da866834a13ce72cd0b5e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a6b2dde21ad62f22838c9bb61f704c7c7"><td class="memItemLeft" align="right" valign="top">std::string *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="union_json_box_1_1_value_1_1_value_data_pointer.htm#a6b2dde21ad62f22838c9bb61f704c7c7">stringValue</a></td></tr>
<tr class="separator:a6b2dde21ad62f22838c9bb61f704c7c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd711d2007148a666435e935ca0b0863"><td class="memItemLeft" align="right" valign="top">int *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="union_json_box_1_1_value_1_1_value_data_pointer.htm#acd711d2007148a666435e935ca0b0863">intValue</a></td></tr>
<tr class="separator:acd711d2007148a666435e935ca0b0863"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24f9fcaa0e3dfbf91d5bd4f2a05ced0a"><td class="memItemLeft" align="right" valign="top">double *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="union_json_box_1_1_value_1_1_value_data_pointer.htm#a24f9fcaa0e3dfbf91d5bd4f2a05ced0a">doubleValue</a></td></tr>
<tr class="separator:a24f9fcaa0e3dfbf91d5bd4f2a05ced0a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6fc48cb08dd85e65d07e175e3041a927"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_json_box_1_1_object.htm">Object</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="union_json_box_1_1_value_1_1_value_data_pointer.htm#a6fc48cb08dd85e65d07e175e3041a927">objectValue</a></td></tr>
<tr class="separator:a6fc48cb08dd85e65d07e175e3041a927"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a473379ef36bb16e3506550d87697139f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_json_box_1_1_array.htm">Array</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="union_json_box_1_1_value_1_1_value_data_pointer.htm#a473379ef36bb16e3506550d87697139f">arrayValue</a></td></tr>
<tr class="separator:a473379ef36bb16e3506550d87697139f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae3e0eb54ebe81b4ad18cdb19425f2d63"><td class="memItemLeft" align="right" valign="top">bool *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="union_json_box_1_1_value_1_1_value_data_pointer.htm#ae3e0eb54ebe81b4ad18cdb19425f2d63">boolValue</a></td></tr>
<tr class="separator:ae3e0eb54ebe81b4ad18cdb19425f2d63"><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>Union used to contain the pointer to the value's data. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a80b989727fca0a5c113f8706fe3085da"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">JsonBox::Value::ValueDataPointer::ValueDataPointer </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Default constructor. Puts the pointers at NULL. </p>
</div>
</div>
<a class="anchor" id="a9d5854ea9ec12544e0bc08f1c95e4724"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">JsonBox::Value::ValueDataPointer::ValueDataPointer </td>
<td>(</td>
<td class="paramtype">std::string *&#160;</td>
<td class="paramname"><em>newStringValue</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Parameterized constructor. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">newStringValue</td><td>Pointer to set to the string pointer. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a9c9071cb652eddba8b53d0f5d54cb0c3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">JsonBox::Value::ValueDataPointer::ValueDataPointer </td>
<td>(</td>
<td class="paramtype">int *&#160;</td>
<td class="paramname"><em>newIntValue</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Parameterized constructor. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">newIntValue</td><td>Pointer to set to the int pointer. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ace9803bd6120b8023930386734a37d0c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">JsonBox::Value::ValueDataPointer::ValueDataPointer </td>
<td>(</td>
<td class="paramtype">double *&#160;</td>
<td class="paramname"><em>newDoubleValue</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Parameterized constructor. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">newDoubleValue</td><td>Pointer to set to the double pointer. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="acc3ce1da514bb9b7cd8e1de65ff31469"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">JsonBox::Value::ValueDataPointer::ValueDataPointer </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_json_box_1_1_object.htm">Object</a> *&#160;</td>
<td class="paramname"><em>newObjectValue</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Parameterized constructor. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">newObjectValue</td><td>Pointer to set to the object pointer. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="afe9a838b83df192cd059e9f61fb1e884"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">JsonBox::Value::ValueDataPointer::ValueDataPointer </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_json_box_1_1_array.htm">Array</a> *&#160;</td>
<td class="paramname"><em>newArrayValue</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Parameterized constructor. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">newArrayValue</td><td>Pointer to set to the array pointer. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a0e2b67c870da866834a13ce72cd0b5e8"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">JsonBox::Value::ValueDataPointer::ValueDataPointer </td>
<td>(</td>
<td class="paramtype">bool *&#160;</td>
<td class="paramname"><em>newBoolValue</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Parameterized constructor. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">newBoolValue</td><td>Pointer to set to the bool pointer. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a473379ef36bb16e3506550d87697139f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_json_box_1_1_array.htm">Array</a>* JsonBox::Value::ValueDataPointer::arrayValue</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ae3e0eb54ebe81b4ad18cdb19425f2d63"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool* JsonBox::Value::ValueDataPointer::boolValue</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a24f9fcaa0e3dfbf91d5bd4f2a05ced0a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double* JsonBox::Value::ValueDataPointer::doubleValue</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="acd711d2007148a666435e935ca0b0863"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int* JsonBox::Value::ValueDataPointer::intValue</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a6fc48cb08dd85e65d07e175e3041a927"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_json_box_1_1_object.htm">Object</a>* JsonBox::Value::ValueDataPointer::objectValue</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a6b2dde21ad62f22838c9bb61f704c7c7"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string* JsonBox::Value::ValueDataPointer::stringValue</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<hr/>The documentation for this union was generated from the following files:<ul>
<li>include/JsonBox/<a class="el" href="_value_8h_source.htm">Value.h</a></li>
<li>src/<a class="el" href="_value_8cpp.htm">Value.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 3 2015 23:56:53 for Json Box by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.