blob: 9c8dec36660943e016ca3ef535ae8f8b1b72e78c [file] [log] [blame]
<!-- HTML header for doxygen 1.8.7-->
<!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.16"/>
<title>RapidJSON: rapidjson::GenericValue&lt; Encoding, Allocator &gt; Class Template 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">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(initResizable);
/* @license-end */</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">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function() { init_search(); });
/* @license-end */
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="doxygenextra.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="topbanner"><a href="https://github.com/Tencent/rapidjson" title="RapidJSON GitHub"><i class="githublogo"></i></a></div>
<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>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.16 -->
<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>
</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">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classrapidjson_1_1_generic_value.html','');});
/* @license-end */
</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="#nested-classes">Classes</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="classrapidjson_1_1_generic_value-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">rapidjson::GenericValue&lt; Encoding, Allocator &gt; Class Template Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Represents a JSON value. Use Value for <a class="el" href="structrapidjson_1_1_u_t_f8.html" title="UTF-8 encoding.">UTF8</a> encoding and default allocator.
<a href="classrapidjson_1_1_generic_value.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="document_8h_source.html">document.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for rapidjson::GenericValue&lt; Encoding, Allocator &gt;:</div>
<div class="dyncontent">
<div class="center">
<img src="classrapidjson_1_1_generic_value.png" usemap="#rapidjson::GenericValue_3C_20Encoding_2C_20Allocator_20_3E_map" alt=""/>
<map id="rapidjson::GenericValue_3C_20Encoding_2C_20Allocator_20_3E_map" name="rapidjson::GenericValue_3C_20Encoding_2C_20Allocator_20_3E_map">
<area href="classrapidjson_1_1_generic_document.html" title="A document for parsing JSON text as DOM." alt="rapidjson::GenericDocument&lt; Encoding, Allocator, StackAllocator &gt;" shape="rect" coords="0,56,399,80"/>
</map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structrapidjson_1_1_generic_value_1_1_array_data.html">ArrayData</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">union &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="unionrapidjson_1_1_generic_value_1_1_data.html">Data</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structrapidjson_1_1_generic_value_1_1_flag.html">Flag</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">union &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="unionrapidjson_1_1_generic_value_1_1_number.html">Number</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structrapidjson_1_1_generic_value_1_1_object_data.html">ObjectData</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structrapidjson_1_1_generic_value_1_1_short_string.html">ShortString</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structrapidjson_1_1_generic_value_1_1_string.html">String</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a0220ddebe2f023fa75b643a50e90e559"><td class="memItemLeft" align="right" valign="top"><a id="a0220ddebe2f023fa75b643a50e90e559"></a>
typedef <a class="el" href="classrapidjson_1_1_generic_member.html">GenericMember</a>&lt; <a class="el" href="classrapidjson_1_1_encoding.html">Encoding</a>, <a class="el" href="classrapidjson_1_1_allocator.html">Allocator</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrapidjson_1_1_generic_value.html#a0220ddebe2f023fa75b643a50e90e559">Member</a></td></tr>
<tr class="memdesc:a0220ddebe2f023fa75b643a50e90e559"><td class="mdescLeft">&#160;</td><td class="mdescRight">Name-value pair in an object. <br /></td></tr>
<tr class="separator:a0220ddebe2f023fa75b643a50e90e559"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05906384808645a2e798d29a9b2d441d"><td class="memItemLeft" align="right" valign="top"><a id="a05906384808645a2e798d29a9b2d441d"></a>
typedef <a class="el" href="classrapidjson_1_1_encoding.html">Encoding</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrapidjson_1_1_generic_value.html#a05906384808645a2e798d29a9b2d441d">EncodingType</a></td></tr>
<tr class="memdesc:a05906384808645a2e798d29a9b2d441d"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classrapidjson_1_1_encoding.html" title="Concept for encoding of Unicode characters.">Encoding</a> type from template parameter. <br /></td></tr>
<tr class="separator:a05906384808645a2e798d29a9b2d441d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d47340c96346c5028fee4c9068d783d"><td class="memItemLeft" align="right" valign="top"><a id="a5d47340c96346c5028fee4c9068d783d"></a>
typedef <a class="el" href="classrapidjson_1_1_allocator.html">Allocator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrapidjson_1_1_generic_value.html#a5d47340c96346c5028fee4c9068d783d">AllocatorType</a></td></tr>
<tr class="memdesc:a5d47340c96346c5028fee4c9068d783d"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classrapidjson_1_1_allocator.html" title="Concept for allocating, resizing and freeing memory block.">Allocator</a> type from template parameter. <br /></td></tr>
<tr class="separator:a5d47340c96346c5028fee4c9068d783d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adcdbc7fa85a9a41b78966d7e0dcc2ac4"><td class="memItemLeft" align="right" valign="top"><a id="adcdbc7fa85a9a41b78966d7e0dcc2ac4"></a>
typedef Encoding::Ch&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrapidjson_1_1_generic_value.html#adcdbc7fa85a9a41b78966d7e0dcc2ac4">Ch</a></td></tr>
<tr class="memdesc:adcdbc7fa85a9a41b78966d7e0dcc2ac4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Character type derived from <a class="el" href="classrapidjson_1_1_encoding.html" title="Concept for encoding of Unicode characters.">Encoding</a>. <br /></td></tr>
<tr class="separator:adcdbc7fa85a9a41b78966d7e0dcc2ac4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a559eb9cea54364a35518b02f6d74f379"><td class="memItemLeft" align="right" valign="top"><a id="a559eb9cea54364a35518b02f6d74f379"></a>
typedef <a class="el" href="structrapidjson_1_1_generic_string_ref.html">GenericStringRef</a>&lt; <a class="el" href="classrapidjson_1_1_generic_value.html#adcdbc7fa85a9a41b78966d7e0dcc2ac4">Ch</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrapidjson_1_1_generic_value.html#a559eb9cea54364a35518b02f6d74f379">StringRefType</a></td></tr>
<tr class="memdesc:a559eb9cea54364a35518b02f6d74f379"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reference to a constant string. <br /></td></tr>
<tr class="separator:a559eb9cea54364a35518b02f6d74f379"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca5596987335016c1a7c2a9467baf80b"><td class="memItemLeft" align="right" valign="top"><a id="aca5596987335016c1a7c2a9467baf80b"></a>
typedef <a class="el" href="classrapidjson_1_1_generic_member_iterator.html">GenericMemberIterator</a>&lt; false, <a class="el" href="classrapidjson_1_1_encoding.html">Encoding</a>, <a class="el" href="classrapidjson_1_1_allocator.html">Allocator</a> &gt;::Iterator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrapidjson_1_1_generic_value.html#aca5596987335016c1a7c2a9467baf80b">MemberIterator</a></td></tr>
<tr class="memdesc:aca5596987335016c1a7c2a9467baf80b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Member iterator for iterating in object. <br /></td></tr>
<tr class="separator:aca5596987335016c1a7c2a9467baf80b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6cd2b09795c48d2892bebc0ae350d51f"><td class="memItemLeft" align="right" valign="top"><a id="a6cd2b09795c48d2892bebc0ae350d51f"></a>
typedef <a class="el" href="classrapidjson_1_1_generic_member_iterator.html">GenericMemberIterator</a>&lt; true, <a class="el" href="classrapidjson_1_1_encoding.html">Encoding</a>, <a class="el" href="classrapidjson_1_1_allocator.html">Allocator</a> &gt;::Iterator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrapidjson_1_1_generic_value.html#a6cd2b09795c48d2892bebc0ae350d51f">ConstMemberIterator</a></td></tr>
<tr class="memdesc:a6cd2b09795c48d2892bebc0ae350d51f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constant member iterator for iterating in object. <br /></td></tr>
<tr class="separator:a6cd2b09795c48d2892bebc0ae350d51f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06ce0e14ec83b53c83e1b1699b53a25e"><td class="memItemLeft" align="right" valign="top"><a id="a06ce0e14ec83b53c83e1b1699b53a25e"></a>
typedef <a class="el" href="classrapidjson_1_1_generic_value.html">GenericValue</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrapidjson_1_1_generic_value.html#a06ce0e14ec83b53c83e1b1699b53a25e">ValueIterator</a></td></tr>
<tr class="memdesc:a06ce0e14ec83b53c83e1b1699b53a25e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Value iterator for iterating in array. <br /></td></tr>
<tr class="separator:a06ce0e14ec83b53c83e1b1699b53a25e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad2935191ab28c2c2e472b739a9d58202"><td class="memItemLeft" align="right" valign="top"><a id="ad2935191ab28c2c2e472b739a9d58202"></a>
typedef <a class="el" href="classrapidjson_1_1_generic_value.html">GenericValue</a>&lt; <a class="el" href="classrapidjson_1_1_encoding.html">Encoding</a>, <a class="el" href="classrapidjson_1_1_allocator.html">Allocator</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrapidjson_1_1_generic_value.html#ad2935191ab28c2c2e472b739a9d58202">ValueType</a></td></tr>
<tr class="memdesc:ad2935191ab28c2c2e472b739a9d58202"><td class="mdescLeft">&#160;</td><td class="mdescRight">Value type of itself. <br /></td></tr>
<tr class="separator:ad2935191ab28c2c2e472b739a9d58202"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a81291ad1031afe43aca4719e2989d7dc"><td class="memItemLeft" align="right" valign="top"><a id="a81291ad1031afe43aca4719e2989d7dc"></a>
typedef <a class="el" href="classrapidjson_1_1_generic_array.html">GenericArray</a>&lt; false, <a class="el" href="classrapidjson_1_1_generic_value.html#ad2935191ab28c2c2e472b739a9d58202">ValueType</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Array</b></td></tr>
<tr class="separator:a81291ad1031afe43aca4719e2989d7dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8fb89523de7b22be0c69069f05d04b41"><td class="memItemLeft" align="right" valign="top"><a id="a8fb89523de7b22be0c69069f05d04b41"></a>
typedef <a class="el" href="classrapidjson_1_1_generic_array.html">GenericArray</a>&lt; true, <a class="el" href="classrapidjson_1_1_generic_value.html#ad2935191ab28c2c2e472b739a9d58202">ValueType</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>ConstArray</b></td></tr>
<tr class="separator:a8fb89523de7b22be0c69069f05d04b41"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae1b1a60a9c69ce5ac48b8c445e3e9231"><td class="memItemLeft" align="right" valign="top"><a id="ae1b1a60a9c69ce5ac48b8c445e3e9231"></a>
typedef <a class="el" href="classrapidjson_1_1_generic_object.html">GenericObject</a>&lt; false, <a class="el" href="classrapidjson_1_1_generic_value.html#ad2935191ab28c2c2e472b739a9d58202">ValueType</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Object</b></td></tr>
<tr class="separator:ae1b1a60a9c69ce5ac48b8c445e3e9231"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39f5e1993897a86741b55c32ed4f54ef"><td class="memItemLeft" align="right" valign="top"><a id="a39f5e1993897a86741b55c32ed4f54ef"></a>
typedef <a class="el" href="classrapidjson_1_1_generic_object.html">GenericObject</a>&lt; true, <a class="el" href="classrapidjson_1_1_generic_value.html#ad2935191ab28c2c2e472b739a9d58202">ValueType</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>ConstObject</b></td></tr>
<tr class="separator:a39f5e1993897a86741b55c32ed4f54ef"><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:a45b0ddd23742e045ffe286f9ead712b7"><td class="memItemLeft" align="right" valign="top"><a id="a45b0ddd23742e045ffe286f9ead712b7"></a>
const typedef <a class="el" href="classrapidjson_1_1_generic_value.html">GenericValue</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrapidjson_1_1_generic_value.html#a45b0ddd23742e045ffe286f9ead712b7">ConstValueIterator</a></td></tr>
<tr class="memdesc:a45b0ddd23742e045ffe286f9ead712b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constant value iterator for iterating in array. <br /></td></tr>
<tr class="separator:a45b0ddd23742e045ffe286f9ead712b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Constructors and destructor.</h2></td></tr>
<tr class="memitem:ad1f8199e65662e0d52a13a1577d4e4a5"><td class="memItemLeft" align="right" valign="top"><a id="ad1f8199e65662e0d52a13a1577d4e4a5"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrapidjson_1_1_generic_value.html#ad1f8199e65662e0d52a13a1577d4e4a5">GenericValue</a> () RAPIDJSON_NOEXCEPT</td></tr>
<tr class="memdesc:ad1f8199e65662e0d52a13a1577d4e4a5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor creates a null value. <br /></td></tr>
<tr class="separator:ad1f8199e65662e0d52a13a1577d4e4a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a646b6d4d3d98799a0926d96ffa127a58"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrapidjson_1_1_generic_value.html#a646b6d4d3d98799a0926d96ffa127a58">GenericValue</a> (<a class="el" href="namespacerapidjson.html#ae79a4751c1c460ff0de5ecc07874f3e4">Type</a> type) RAPIDJSON_NOEXCEPT</td></tr>
<tr class="memdesc:a646b6d4d3d98799a0926d96ffa127a58"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor with JSON value type. <a href="classrapidjson_1_1_generic_value.html#a646b6d4d3d98799a0926d96ffa127a58">More...</a><br /></td></tr>
<tr class="separator:a646b6d4d3d98799a0926d96ffa127a58"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adca019775f68f012643781cd2c2515ac"><td class="memTemplParams" colspan="2">template&lt;typename SourceAllocator &gt; </td></tr>
<tr class="memitem:adca019775f68f012643781cd2c2515ac"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classrapidjson_1_1_generic_value.html#adca019775f68f012643781cd2c2515ac">GenericValue</a> (const <a class="el" href="classrapidjson_1_1_generic_value.html">GenericValue</a>&lt; <a class="el" href="classrapidjson_1_1_encoding.html">Encoding</a>, SourceAllocator &gt; &amp;rhs, <a class="el" href="classrapidjson_1_1_allocator.html">Allocator</a> &amp;allocator, bool copyConstStrings=false)</td></tr>
<tr class="memdesc:adca019775f68f012643781cd2c2515ac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Explicit copy constructor (with allocator) <a href="classrapidjson_1_1_generic_value.html#adca019775f68f012643781cd2c2515ac">More...</a><br /></td></tr>
<tr class="separator:adca019775f68f012643781cd2c2515ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab933ad7ff8c9d08f73cebaecb700dbe9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrapidjson_1_1_generic_value.html#ab933ad7ff8c9d08f73cebaecb700dbe9">GenericValue</a> (bool b) RAPIDJSON_NOEXCEPT</td></tr>
<tr class="memdesc:ab933ad7ff8c9d08f73cebaecb700dbe9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor for boolean value. <a href="classrapidjson_1_1_generic_value.html#ab933ad7ff8c9d08f73cebaecb700dbe9">More...</a><br /></td></tr>
<tr class="separator:ab933ad7ff8c9d08f73cebaecb700dbe9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abba0c9ccfd90726f916c36013a2e9e19"><td class="memItemLeft" align="right" valign="top"><a id="abba0c9ccfd90726f916c36013a2e9e19"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrapidjson_1_1_generic_value.html#abba0c9ccfd90726f916c36013a2e9e19">GenericValue</a> (int i) RAPIDJSON_NOEXCEPT</td></tr>
<tr class="memdesc:abba0c9ccfd90726f916c36013a2e9e19"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor for int value. <br /></td></tr>
<tr class="separator:abba0c9ccfd90726f916c36013a2e9e19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a8060a42b7953a2981ad892180ca5a6"><td class="memItemLeft" align="right" valign="top"><a id="a4a8060a42b7953a2981ad892180ca5a6"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrapidjson_1_1_generic_value.html#a4a8060a42b7953a2981ad892180ca5a6">GenericValue</a> (unsigned u) RAPIDJSON_NOEXCEPT</td></tr>
<tr class="memdesc:a4a8060a42b7953a2981ad892180ca5a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor for unsigned value. <br /></td></tr>
<tr class="separator:a4a8060a42b7953a2981ad892180ca5a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd4ae9a8dba4498d1d7cce6667529bb8"><td class="memItemLeft" align="right" valign="top"><a id="acd4ae9a8dba4498d1d7cce6667529bb8"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrapidjson_1_1_generic_value.html#acd4ae9a8dba4498d1d7cce6667529bb8">GenericValue</a> (int64_t i64) RAPIDJSON_NOEXCEPT</td></tr>
<tr class="memdesc:acd4ae9a8dba4498d1d7cce6667529bb8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor for int64_t value. <br /></td></tr>
<tr class="separator:acd4ae9a8dba4498d1d7cce6667529bb8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f125e735577aae64c0306345de45563"><td class="memItemLeft" align="right" valign="top"><a id="a1f125e735577aae64c0306345de45563"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrapidjson_1_1_generic_value.html#a1f125e735577aae64c0306345de45563">GenericValue</a> (uint64_t u64) RAPIDJSON_NOEXCEPT</td></tr>
<tr class="memdesc:a1f125e735577aae64c0306345de45563"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor for uint64_t value. <br /></td></tr>
<tr class="separator:a1f125e735577aae64c0306345de45563"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71b9e2ec1f7bf9e2f034126ca7b4945a"><td class="memItemLeft" align="right" valign="top"><a id="a71b9e2ec1f7bf9e2f034126ca7b4945a"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrapidjson_1_1_generic_value.html#a71b9e2ec1f7bf9e2f034126ca7b4945a">GenericValue</a> (double d) RAPIDJSON_NOEXCEPT</td></tr>
<tr class="memdesc:a71b9e2ec1f7bf9e2f034126ca7b4945a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor for double value. <br /></td></tr>
<tr class="separator:a71b9e2ec1f7bf9e2f034126ca7b4945a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe94e5e86a5b1a3fb605a9f8422f048b"><td class="memItemLeft" align="right" valign="top"><a id="afe94e5e86a5b1a3fb605a9f8422f048b"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrapidjson_1_1_generic_value.html#afe94e5e86a5b1a3fb605a9f8422f048b">GenericValue</a> (float f) RAPIDJSON_NOEXCEPT</td></tr>
<tr class="memdesc:afe94e5e86a5b1a3fb605a9f8422f048b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor for float value. <br /></td></tr>
<tr class="separator:afe94e5e86a5b1a3fb605a9f8422f048b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a51e93a4fb57f77a39767acb076bf43c1"><td class="memItemLeft" align="right" valign="top"><a id="a51e93a4fb57f77a39767acb076bf43c1"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrapidjson_1_1_generic_value.html#a51e93a4fb57f77a39767acb076bf43c1">GenericValue</a> (const <a class="el" href="classrapidjson_1_1_generic_value.html#adcdbc7fa85a9a41b78966d7e0dcc2ac4">Ch</a> *s, <a class="el" href="namespacerapidjson.html#a44eb33eaa523e36d466b1ced64b85c84">SizeType</a> length) RAPIDJSON_NOEXCEPT</td></tr>
<tr class="memdesc:a51e93a4fb57f77a39767acb076bf43c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor for constant string (i.e. do not make a copy of string) <br /></td></tr>
<tr class="separator:a51e93a4fb57f77a39767acb076bf43c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65bfc3073fa80ee5eba8e985abe2f941"><td class="memItemLeft" align="right" valign="top"><a id="a65bfc3073fa80ee5eba8e985abe2f941"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrapidjson_1_1_generic_value.html#a65bfc3073fa80ee5eba8e985abe2f941">GenericValue</a> (<a class="el" href="classrapidjson_1_1_generic_value.html#a559eb9cea54364a35518b02f6d74f379">StringRefType</a> s) RAPIDJSON_NOEXCEPT</td></tr>
<tr class="memdesc:a65bfc3073fa80ee5eba8e985abe2f941"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor for constant string (i.e. do not make a copy of string) <br /></td></tr>
<tr class="separator:a65bfc3073fa80ee5eba8e985abe2f941"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9553bb9ccbfd19547c473a95405a8b2"><td class="memItemLeft" align="right" valign="top"><a id="ad9553bb9ccbfd19547c473a95405a8b2"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrapidjson_1_1_generic_value.html#ad9553bb9ccbfd19547c473a95405a8b2">GenericValue</a> (const <a class="el" href="classrapidjson_1_1_generic_value.html#adcdbc7fa85a9a41b78966d7e0dcc2ac4">Ch</a> *s, <a class="el" href="namespacerapidjson.html#a44eb33eaa523e36d466b1ced64b85c84">SizeType</a> length, <a class="el" href="classrapidjson_1_1_allocator.html">Allocator</a> &amp;allocator)</td></tr>
<tr class="memdesc:ad9553bb9ccbfd19547c473a95405a8b2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor for copy-string (i.e. do make a copy of string) <br /></td></tr>
<tr class="separator:ad9553bb9ccbfd19547c473a95405a8b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a83ba61e8a5170c2e172fd60ebc11016f"><td class="memItemLeft" align="right" valign="top"><a id="a83ba61e8a5170c2e172fd60ebc11016f"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrapidjson_1_1_generic_value.html#a83ba61e8a5170c2e172fd60ebc11016f">GenericValue</a> (const <a class="el" href="classrapidjson_1_1_generic_value.html#adcdbc7fa85a9a41b78966d7e0dcc2ac4">Ch</a> *s, <a class="el" href="classrapidjson_1_1_allocator.html">Allocator</a> &amp;allocator)</td></tr>
<tr class="memdesc:a83ba61e8a5170c2e172fd60ebc11016f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor for copy-string (i.e. do make a copy of string) <br /></td></tr>
<tr class="separator:a83ba61e8a5170c2e172fd60ebc11016f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a852788b35257762cd8d6c4bf5c5d77bc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrapidjson_1_1_generic_value.html#a852788b35257762cd8d6c4bf5c5d77bc">GenericValue</a> (const std::basic_string&lt; <a class="el" href="classrapidjson_1_1_generic_value.html#adcdbc7fa85a9a41b78966d7e0dcc2ac4">Ch</a> &gt; &amp;s, <a class="el" href="classrapidjson_1_1_allocator.html">Allocator</a> &amp;allocator)</td></tr>
<tr class="memdesc:a852788b35257762cd8d6c4bf5c5d77bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor for copy-string from a string object (i.e. do make a copy of string) <a href="classrapidjson_1_1_generic_value.html#a852788b35257762cd8d6c4bf5c5d77bc">More...</a><br /></td></tr>
<tr class="separator:a852788b35257762cd8d6c4bf5c5d77bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77b0f41557b3c34b57a180698312c4a8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrapidjson_1_1_generic_value.html#a77b0f41557b3c34b57a180698312c4a8">GenericValue</a> (<a class="el" href="classrapidjson_1_1_generic_array.html">Array</a> a) RAPIDJSON_NOEXCEPT</td></tr>
<tr class="memdesc:a77b0f41557b3c34b57a180698312c4a8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor for Array. <a href="classrapidjson_1_1_generic_value.html#a77b0f41557b3c34b57a180698312c4a8">More...</a><br /></td></tr>
<tr class="separator:a77b0f41557b3c34b57a180698312c4a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a893da1069660536fd3943a0149206a6e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrapidjson_1_1_generic_value.html#a893da1069660536fd3943a0149206a6e">GenericValue</a> (<a class="el" href="classrapidjson_1_1_generic_object.html">Object</a> o) RAPIDJSON_NOEXCEPT</td></tr>
<tr class="memdesc:a893da1069660536fd3943a0149206a6e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor for Object. <a href="classrapidjson_1_1_generic_value.html#a893da1069660536fd3943a0149206a6e">More...</a><br /></td></tr>
<tr class="separator:a893da1069660536fd3943a0149206a6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a433a64b466c80cadf7d1acaa6f065437"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrapidjson_1_1_generic_value.html#a433a64b466c80cadf7d1acaa6f065437">~GenericValue</a> ()</td></tr>
<tr class="memdesc:a433a64b466c80cadf7d1acaa6f065437"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <a href="classrapidjson_1_1_generic_value.html#a433a64b466c80cadf7d1acaa6f065437">More...</a><br /></td></tr>
<tr class="separator:a433a64b466c80cadf7d1acaa6f065437"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Assignment operators</h2></td></tr>
<tr class="memitem:aeedcc5ea216f2f8f1c02c49065dab0ea"><td class="memItemLeft" align="right" valign="top"><a id="aeedcc5ea216f2f8f1c02c49065dab0ea"></a>enum &#160;</td><td class="memItemRight" valign="bottom">{ <br />
&#160;&#160;<b>kBoolFlag</b> = 0x0008,
<b>kNumberFlag</b> = 0x0010,
<b>kIntFlag</b> = 0x0020,
<b>kUintFlag</b> = 0x0040,
<br />
&#160;&#160;<b>kInt64Flag</b> = 0x0080,
<b>kUint64Flag</b> = 0x0100,
<b>kDoubleFlag</b> = 0x0200,
<b>kStringFlag</b> = 0x0400,
<br />
&#160;&#160;<b>kCopyFlag</b> = 0x0800,
<b>kInlineStrFlag</b> = 0x1000,
<b>kNullFlag</b> = kNullType,
<b>kTrueFlag</b> = static_cast&lt;int&gt;(kTrueType) | static_cast&lt;int&gt;(kBoolFlag),
<br />
&#160;&#160;<b>kFalseFlag</b> = static_cast&lt;int&gt;(kFalseType) | static_cast&lt;int&gt;(kBoolFlag),
<b>kNumberIntFlag</b> = static_cast&lt;int&gt;(kNumberType) | static_cast&lt;int&gt;(kNumberFlag | kIntFlag | kInt64Flag),
<b>kNumberUintFlag</b> = static_cast&lt;int&gt;(kNumberType) | static_cast&lt;int&gt;(kNumberFlag | kUintFlag | kUint64Flag | kInt64Flag),
<b>kNumberInt64Flag</b> = static_cast&lt;int&gt;(kNumberType) | static_cast&lt;int&gt;(kNumberFlag | kInt64Flag),
<br />
&#160;&#160;<b>kNumberUint64Flag</b> = static_cast&lt;int&gt;(kNumberType) | static_cast&lt;int&gt;(kNumberFlag | kUint64Flag),
<b>kNumberDoubleFlag</b> = static_cast&lt;int&gt;(kNumberType) | static_cast&lt;int&gt;(kNumberFlag | kDoubleFlag),
<b>kNumberAnyFlag</b> = static_cast&lt;int&gt;(kNumberType) | static_cast&lt;int&gt;(kNumberFlag | kIntFlag | kInt64Flag | kUintFlag | kUint64Flag | kDoubleFlag),
<b>kConstStringFlag</b> = static_cast&lt;int&gt;(kStringType) | static_cast&lt;int&gt;(kStringFlag),
<br />
&#160;&#160;<b>kCopyStringFlag</b> = static_cast&lt;int&gt;(kStringType) | static_cast&lt;int&gt;(kStringFlag | kCopyFlag),
<b>kShortStringFlag</b> = static_cast&lt;int&gt;(kStringType) | static_cast&lt;int&gt;(kStringFlag | kCopyFlag | kInlineStrFlag),
<b>kObjectFlag</b> = kObjectType,
<b>kArrayFlag</b> = kArrayType,
<br />
&#160;&#160;<b>kTypeMask</b> = 0x07
<br />
}</td></tr>
<tr class="separator:aeedcc5ea216f2f8f1c02c49065dab0ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d1d50ccd6639e29231b3f67d94c9ecf"><td class="memItemLeft" align="right" valign="top"><a id="a7d1d50ccd6639e29231b3f67d94c9ecf"></a>
<a class="el" href="unionrapidjson_1_1_generic_value_1_1_data.html">Data</a>&#160;</td><td class="memItemRight" valign="bottom"><b>data_</b></td></tr>
<tr class="separator:a7d1d50ccd6639e29231b3f67d94c9ecf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab05bc9e52e201a2867ea5bac141ee1ae"><td class="memTemplParams" colspan="2"><a id="ab05bc9e52e201a2867ea5bac141ee1ae"></a>
template&lt;typename , typename , typename &gt; </td></tr>
<tr class="memitem:ab05bc9e52e201a2867ea5bac141ee1ae"><td class="memTemplItemLeft" align="right" valign="top">class&#160;</td><td class="memTemplItemRight" valign="bottom"><b>GenericDocument</b></td></tr>
<tr class="separator:ab05bc9e52e201a2867ea5bac141ee1ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab22b5f5f153376de937e70d6be6dcadc"><td class="memItemLeft" align="right" valign="top"><a id="ab22b5f5f153376de937e70d6be6dcadc"></a>
static const <a class="el" href="namespacerapidjson.html#a44eb33eaa523e36d466b1ced64b85c84">SizeType</a>&#160;</td><td class="memItemRight" valign="bottom"><b>kDefaultArrayCapacity</b> = <a class="el" href="group___r_a_p_i_d_j_s_o_n___c_o_n_f_i_g.html#ga10ba0ee06d0ac2803d0f2290d46b19f7">RAPIDJSON_VALUE_DEFAULT_ARRAY_CAPACITY</a></td></tr>
<tr class="separator:ab22b5f5f153376de937e70d6be6dcadc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2c66dad43986842f4a624f478de1741"><td class="memItemLeft" align="right" valign="top"><a id="ac2c66dad43986842f4a624f478de1741"></a>
static const <a class="el" href="namespacerapidjson.html#a44eb33eaa523e36d466b1ced64b85c84">SizeType</a>&#160;</td><td class="memItemRight" valign="bottom"><b>kDefaultObjectCapacity</b> = <a class="el" href="group___r_a_p_i_d_j_s_o_n___c_o_n_f_i_g.html#ga5c88aa612939b592d15d3fc4bdf54272">RAPIDJSON_VALUE_DEFAULT_OBJECT_CAPACITY</a></td></tr>
<tr class="separator:ac2c66dad43986842f4a624f478de1741"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae8bcedd951f50b69786aaaa1828e9fac"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classrapidjson_1_1_generic_value.html">GenericValue</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrapidjson_1_1_generic_value.html#ae8bcedd951f50b69786aaaa1828e9fac">operator=</a> (<a class="el" href="classrapidjson_1_1_generic_value.html">GenericValue</a> &amp;rhs) RAPIDJSON_NOEXCEPT</td></tr>
<tr class="memdesc:ae8bcedd951f50b69786aaaa1828e9fac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment with move semantics. <a href="classrapidjson_1_1_generic_value.html#ae8bcedd951f50b69786aaaa1828e9fac">More...</a><br /></td></tr>
<tr class="separator:ae8bcedd951f50b69786aaaa1828e9fac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aecc9d0a6aafe31f4fdf9f6e75e5f089c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classrapidjson_1_1_generic_value.html">GenericValue</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrapidjson_1_1_generic_value.html#aecc9d0a6aafe31f4fdf9f6e75e5f089c">operator=</a> (<a class="el" href="classrapidjson_1_1_generic_value.html#a559eb9cea54364a35518b02f6d74f379">StringRefType</a> str) RAPIDJSON_NOEXCEPT</td></tr>
<tr class="memdesc:aecc9d0a6aafe31f4fdf9f6e75e5f089c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment of constant string reference (no copy) <a href="classrapidjson_1_1_generic_value.html#aecc9d0a6aafe31f4fdf9f6e75e5f089c">More...</a><br /></td></tr>
<tr class="separator:aecc9d0a6aafe31f4fdf9f6e75e5f089c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5490b1fdb725744a6defb14ed7c238f0"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:a5490b1fdb725744a6defb14ed7c238f0"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classrapidjson_1_1_generic_value.html#a5490b1fdb725744a6defb14ed7c238f0">RAPIDJSON_DISABLEIF_RETURN</a> ((internal::IsPointer&lt; T &gt;),(<a class="el" href="classrapidjson_1_1_generic_value.html">GenericValue</a> &amp;)) operator</td></tr>
<tr class="memdesc:a5490b1fdb725744a6defb14ed7c238f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment with primitive types. <a href="classrapidjson_1_1_generic_value.html#a5490b1fdb725744a6defb14ed7c238f0">More...</a><br /></td></tr>
<tr class="separator:a5490b1fdb725744a6defb14ed7c238f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab562c68bda956d38f6c5bd1c47e20213"><td class="memItemLeft" align="right" valign="top"><a id="ab562c68bda956d38f6c5bd1c47e20213"></a>
const RAPIDJSON_FORCEINLINE <a class="el" href="classrapidjson_1_1_generic_value.html#adcdbc7fa85a9a41b78966d7e0dcc2ac4">Ch</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>GetStringPointer</b> () const</td></tr>
<tr class="separator:ab562c68bda956d38f6c5bd1c47e20213"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abfbb8243823943bb75f9bb8543e59d1e"><td class="memItemLeft" align="right" valign="top"><a id="abfbb8243823943bb75f9bb8543e59d1e"></a>
const RAPIDJSON_FORCEINLINE <a class="el" href="classrapidjson_1_1_generic_value.html#adcdbc7fa85a9a41b78966d7e0dcc2ac4">Ch</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>SetStringPointer</b> (const <a class="el" href="classrapidjson_1_1_generic_value.html#adcdbc7fa85a9a41b78966d7e0dcc2ac4">Ch</a> *str)</td></tr>
<tr class="separator:abfbb8243823943bb75f9bb8543e59d1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af2475845538fccc217d8cf3e94d6a5e0"><td class="memItemLeft" align="right" valign="top"><a id="af2475845538fccc217d8cf3e94d6a5e0"></a>
RAPIDJSON_FORCEINLINE <a class="el" href="classrapidjson_1_1_generic_value.html">GenericValue</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>GetElementsPointer</b> () const</td></tr>
<tr class="separator:af2475845538fccc217d8cf3e94d6a5e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a019c4c8beb3c6d675a03f2f72ba9c6b8"><td class="memItemLeft" align="right" valign="top"><a id="a019c4c8beb3c6d675a03f2f72ba9c6b8"></a>
RAPIDJSON_FORCEINLINE <a class="el" href="classrapidjson_1_1_generic_value.html">GenericValue</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>SetElementsPointer</b> (<a class="el" href="classrapidjson_1_1_generic_value.html">GenericValue</a> *elements)</td></tr>
<tr class="separator:a019c4c8beb3c6d675a03f2f72ba9c6b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f56ed626112cc824a93b6c29afc0cea"><td class="memItemLeft" align="right" valign="top"><a id="a1f56ed626112cc824a93b6c29afc0cea"></a>
RAPIDJSON_FORCEINLINE <a class="el" href="classrapidjson_1_1_generic_value.html#a0220ddebe2f023fa75b643a50e90e559">Member</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>GetMembersPointer</b> () const</td></tr>
<tr class="separator:a1f56ed626112cc824a93b6c29afc0cea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19199230941f1fe59b5b6a27281fcd1b"><td class="memItemLeft" align="right" valign="top"><a id="a19199230941f1fe59b5b6a27281fcd1b"></a>
RAPIDJSON_FORCEINLINE <a class="el" href="classrapidjson_1_1_generic_value.html#a0220ddebe2f023fa75b643a50e90e559">Member</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>SetMembersPointer</b> (<a class="el" href="classrapidjson_1_1_generic_value.html#a0220ddebe2f023fa75b643a50e90e559">Member</a> *members)</td></tr>
<tr class="separator:a19199230941f1fe59b5b6a27281fcd1b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9125585f7d3315da5e9aec2b5587bb7d"><td class="memItemLeft" align="right" valign="top"><a id="a9125585f7d3315da5e9aec2b5587bb7d"></a>
RAPIDJSON_FORCEINLINE <a class="el" href="classrapidjson_1_1_generic_value.html#a0220ddebe2f023fa75b643a50e90e559">Member</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>DoAllocMembers</b> (<a class="el" href="namespacerapidjson.html#a44eb33eaa523e36d466b1ced64b85c84">SizeType</a> capacity, <a class="el" href="classrapidjson_1_1_allocator.html">Allocator</a> &amp;allocator)</td></tr>
<tr class="separator:a9125585f7d3315da5e9aec2b5587bb7d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4451b6417bf2ada4d8b56ba0b3b6031"><td class="memItemLeft" align="right" valign="top"><a id="ad4451b6417bf2ada4d8b56ba0b3b6031"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>DoReserveMembers</b> (<a class="el" href="namespacerapidjson.html#a44eb33eaa523e36d466b1ced64b85c84">SizeType</a> newCapacity, <a class="el" href="classrapidjson_1_1_allocator.html">Allocator</a> &amp;allocator)</td></tr>
<tr class="separator:ad4451b6417bf2ada4d8b56ba0b3b6031"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94105ff1a8eeb895cee95fb4eca7781b"><td class="memTemplParams" colspan="2"><a id="a94105ff1a8eeb895cee95fb4eca7781b"></a>
template&lt;typename SourceAllocator &gt; </td></tr>
<tr class="memitem:a94105ff1a8eeb895cee95fb4eca7781b"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classrapidjson_1_1_generic_value.html#aca5596987335016c1a7c2a9467baf80b">MemberIterator</a>&#160;</td><td class="memTemplItemRight" valign="bottom"><b>DoFindMember</b> (const <a class="el" href="classrapidjson_1_1_generic_value.html">GenericValue</a>&lt; <a class="el" href="classrapidjson_1_1_encoding.html">Encoding</a>, SourceAllocator &gt; &amp;name)</td></tr>
<tr class="separator:a94105ff1a8eeb895cee95fb4eca7781b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c2162a0a065a59bf465497e5110788c"><td class="memItemLeft" align="right" valign="top"><a id="a1c2162a0a065a59bf465497e5110788c"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>DoClearMembers</b> ()</td></tr>
<tr class="separator:a1c2162a0a065a59bf465497e5110788c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e5cf02ff6ee4938b672d98258a79546"><td class="memItemLeft" align="right" valign="top"><a id="a7e5cf02ff6ee4938b672d98258a79546"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>DoFreeMembers</b> ()</td></tr>
<tr class="separator:a7e5cf02ff6ee4938b672d98258a79546"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a92627391393b9aa6245275593040cf0a"><td class="memItemLeft" align="right" valign="top"><a id="a92627391393b9aa6245275593040cf0a"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>DoAddMember</b> (<a class="el" href="classrapidjson_1_1_generic_value.html">GenericValue</a> &amp;name, <a class="el" href="classrapidjson_1_1_generic_value.html">GenericValue</a> &amp;value, <a class="el" href="classrapidjson_1_1_allocator.html">Allocator</a> &amp;allocator)</td></tr>
<tr class="separator:a92627391393b9aa6245275593040cf0a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0655ea1a6fb2cf09f845a4e50b6b961f"><td class="memItemLeft" align="right" valign="top"><a id="a0655ea1a6fb2cf09f845a4e50b6b961f"></a>
<a class="el" href="classrapidjson_1_1_generic_value.html#aca5596987335016c1a7c2a9467baf80b">MemberIterator</a>&#160;</td><td class="memItemRight" valign="bottom"><b>DoRemoveMember</b> (<a class="el" href="classrapidjson_1_1_generic_value.html#aca5596987335016c1a7c2a9467baf80b">MemberIterator</a> m)</td></tr>
<tr class="separator:a0655ea1a6fb2cf09f845a4e50b6b961f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98ce0a47cc6951eb7ee106160e3b637a"><td class="memItemLeft" align="right" valign="top"><a id="a98ce0a47cc6951eb7ee106160e3b637a"></a>
<a class="el" href="classrapidjson_1_1_generic_value.html#aca5596987335016c1a7c2a9467baf80b">MemberIterator</a>&#160;</td><td class="memItemRight" valign="bottom"><b>DoEraseMembers</b> (<a class="el" href="classrapidjson_1_1_generic_value.html#a6cd2b09795c48d2892bebc0ae350d51f">ConstMemberIterator</a> first, <a class="el" href="classrapidjson_1_1_generic_value.html#a6cd2b09795c48d2892bebc0ae350d51f">ConstMemberIterator</a> last)</td></tr>
<tr class="separator:a98ce0a47cc6951eb7ee106160e3b637a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca2fab62d3450b24d46cc9841ed8cfef"><td class="memTemplParams" colspan="2"><a id="aca2fab62d3450b24d46cc9841ed8cfef"></a>
template&lt;typename SourceAllocator &gt; </td></tr>
<tr class="memitem:aca2fab62d3450b24d46cc9841ed8cfef"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><b>DoCopyMembers</b> (const <a class="el" href="classrapidjson_1_1_generic_value.html">GenericValue</a>&lt; <a class="el" href="classrapidjson_1_1_encoding.html">Encoding</a>, SourceAllocator &gt; &amp;rhs, <a class="el" href="classrapidjson_1_1_allocator.html">Allocator</a> &amp;allocator, bool copyConstStrings)</td></tr>
<tr class="separator:aca2fab62d3450b24d46cc9841ed8cfef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9cc2eb5c196affb861560219a4973dd0"><td class="memItemLeft" align="right" valign="top"><a id="a9cc2eb5c196affb861560219a4973dd0"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>SetArrayRaw</b> (<a class="el" href="classrapidjson_1_1_generic_value.html">GenericValue</a> *values, <a class="el" href="namespacerapidjson.html#a44eb33eaa523e36d466b1ced64b85c84">SizeType</a> count, <a class="el" href="classrapidjson_1_1_allocator.html">Allocator</a> &amp;allocator)</td></tr>
<tr class="separator:a9cc2eb5c196affb861560219a4973dd0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1efc6f69fe809557ae00dd322b7f79ac"><td class="memItemLeft" align="right" valign="top"><a id="a1efc6f69fe809557ae00dd322b7f79ac"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrapidjson_1_1_generic_value.html#a1efc6f69fe809557ae00dd322b7f79ac">SetObjectRaw</a> (<a class="el" href="classrapidjson_1_1_generic_value.html#a0220ddebe2f023fa75b643a50e90e559">Member</a> *members, <a class="el" href="namespacerapidjson.html#a44eb33eaa523e36d466b1ced64b85c84">SizeType</a> count, <a class="el" href="classrapidjson_1_1_allocator.html">Allocator</a> &amp;allocator)</td></tr>
<tr class="memdesc:a1efc6f69fe809557ae00dd322b7f79ac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize this value as object with initial data, without calling destructor. <br /></td></tr>
<tr class="separator:a1efc6f69fe809557ae00dd322b7f79ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a248bab30562a4197cea0474d7f0ce835"><td class="memItemLeft" align="right" valign="top"><a id="a248bab30562a4197cea0474d7f0ce835"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrapidjson_1_1_generic_value.html#a248bab30562a4197cea0474d7f0ce835">SetStringRaw</a> (<a class="el" href="classrapidjson_1_1_generic_value.html#a559eb9cea54364a35518b02f6d74f379">StringRefType</a> s) RAPIDJSON_NOEXCEPT</td></tr>
<tr class="memdesc:a248bab30562a4197cea0474d7f0ce835"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize this value as constant string, without calling destructor. <br /></td></tr>
<tr class="separator:a248bab30562a4197cea0474d7f0ce835"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abbca9846370d4749cdbb6bab9e44096c"><td class="memItemLeft" align="right" valign="top"><a id="abbca9846370d4749cdbb6bab9e44096c"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrapidjson_1_1_generic_value.html#abbca9846370d4749cdbb6bab9e44096c">SetStringRaw</a> (<a class="el" href="classrapidjson_1_1_generic_value.html#a559eb9cea54364a35518b02f6d74f379">StringRefType</a> s, <a class="el" href="classrapidjson_1_1_allocator.html">Allocator</a> &amp;allocator)</td></tr>
<tr class="memdesc:abbca9846370d4749cdbb6bab9e44096c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize this value as copy string with initial data, without calling destructor. <br /></td></tr>
<tr class="separator:abbca9846370d4749cdbb6bab9e44096c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00efe429e27f95dca17b19519b3cea9e"><td class="memItemLeft" align="right" valign="top"><a id="a00efe429e27f95dca17b19519b3cea9e"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrapidjson_1_1_generic_value.html#a00efe429e27f95dca17b19519b3cea9e">RawAssign</a> (<a class="el" href="classrapidjson_1_1_generic_value.html">GenericValue</a> &amp;rhs) RAPIDJSON_NOEXCEPT</td></tr>
<tr class="memdesc:a00efe429e27f95dca17b19519b3cea9e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment without calling destructor. <br /></td></tr>
<tr class="separator:a00efe429e27f95dca17b19519b3cea9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19e954a8f4731fea785abe0defa0ac44"><td class="memTemplParams" colspan="2"><a id="a19e954a8f4731fea785abe0defa0ac44"></a>
template&lt;typename SourceAllocator &gt; </td></tr>
<tr class="memitem:a19e954a8f4731fea785abe0defa0ac44"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><b>StringEqual</b> (const <a class="el" href="classrapidjson_1_1_generic_value.html">GenericValue</a>&lt; <a class="el" href="classrapidjson_1_1_encoding.html">Encoding</a>, SourceAllocator &gt; &amp;rhs) const</td></tr>
<tr class="separator:a19e954a8f4731fea785abe0defa0ac44"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c26a47d781359b9bd0e4b7b91948bc6"><td class="memItemLeft" align="right" valign="top"><a id="a2c26a47d781359b9bd0e4b7b91948bc6"></a>
static const RAPIDJSON_FORCEINLINE <a class="el" href="classrapidjson_1_1_generic_value.html#adcdbc7fa85a9a41b78966d7e0dcc2ac4">Ch</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>DataString</b> (const <a class="el" href="unionrapidjson_1_1_generic_value_1_1_data.html">Data</a> &amp;data)</td></tr>
<tr class="separator:a2c26a47d781359b9bd0e4b7b91948bc6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0012e161e17ef746c31b1985a3e34cc6"><td class="memItemLeft" align="right" valign="top"><a id="a0012e161e17ef746c31b1985a3e34cc6"></a>
static RAPIDJSON_FORCEINLINE <a class="el" href="namespacerapidjson.html#a44eb33eaa523e36d466b1ced64b85c84">SizeType</a>&#160;</td><td class="memItemRight" valign="bottom"><b>DataStringLength</b> (const <a class="el" href="unionrapidjson_1_1_generic_value_1_1_data.html">Data</a> &amp;data)</td></tr>
<tr class="separator:a0012e161e17ef746c31b1985a3e34cc6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename Encoding, typename Allocator = RAPIDJSON_DEFAULT_ALLOCATOR&gt;<br />
class rapidjson::GenericValue&lt; Encoding, Allocator &gt;</h3>
<p>Represents a JSON value. Use Value for <a class="el" href="structrapidjson_1_1_u_t_f8.html" title="UTF-8 encoding.">UTF8</a> encoding and default allocator. </p>
<p>A JSON value can be one of 7 types. This class is a variant type supporting these types.</p>
<p>Use the Value if <a class="el" href="structrapidjson_1_1_u_t_f8.html" title="UTF-8 encoding.">UTF8</a> and default allocator</p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname"><a class="el" href="classrapidjson_1_1_encoding.html" title="Concept for encoding of Unicode characters.">Encoding</a></td><td><a class="el" href="classrapidjson_1_1_encoding.html" title="Concept for encoding of Unicode characters.">Encoding</a> of the value. (Even non-string values need to have the same encoding in a document) </td></tr>
<tr><td class="paramname"><a class="el" href="classrapidjson_1_1_allocator.html" title="Concept for allocating, resizing and freeing memory block.">Allocator</a></td><td><a class="el" href="classrapidjson_1_1_allocator.html" title="Concept for allocating, resizing and freeing memory block.">Allocator</a> type for allocating memory of object, array and string. </td></tr>
</table>
</dd>
</dl>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a646b6d4d3d98799a0926d96ffa127a58"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a646b6d4d3d98799a0926d96ffa127a58">&#9670;&nbsp;</a></span>GenericValue() <span class="overload">[1/6]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Encoding, typename Allocator = RAPIDJSON_DEFAULT_ALLOCATOR&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classrapidjson_1_1_generic_value.html">rapidjson::GenericValue</a>&lt; <a class="el" href="classrapidjson_1_1_encoding.html">Encoding</a>, <a class="el" href="classrapidjson_1_1_allocator.html">Allocator</a> &gt;::<a class="el" href="classrapidjson_1_1_generic_value.html">GenericValue</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespacerapidjson.html#ae79a4751c1c460ff0de5ecc07874f3e4">Type</a>&#160;</td>
<td class="paramname"><em>type</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructor with JSON value type. </p>
<p>This creates a Value of specified type with default content. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">type</td><td>Type of the value. </td></tr>
</table>
</dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>Default content for number is zero. </dd></dl>
</div>
</div>
<a id="adca019775f68f012643781cd2c2515ac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adca019775f68f012643781cd2c2515ac">&#9670;&nbsp;</a></span>GenericValue() <span class="overload">[2/6]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Encoding, typename Allocator = RAPIDJSON_DEFAULT_ALLOCATOR&gt; </div>
<div class="memtemplate">
template&lt;typename SourceAllocator &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classrapidjson_1_1_generic_value.html">rapidjson::GenericValue</a>&lt; <a class="el" href="classrapidjson_1_1_encoding.html">Encoding</a>, <a class="el" href="classrapidjson_1_1_allocator.html">Allocator</a> &gt;::<a class="el" href="classrapidjson_1_1_generic_value.html">GenericValue</a> </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classrapidjson_1_1_generic_value.html">GenericValue</a>&lt; <a class="el" href="classrapidjson_1_1_encoding.html">Encoding</a>, SourceAllocator &gt; &amp;&#160;</td>
<td class="paramname"><em>rhs</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classrapidjson_1_1_allocator.html">Allocator</a> &amp;&#160;</td>
<td class="paramname"><em>allocator</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>copyConstStrings</em> = <code>false</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Explicit copy constructor (with allocator) </p>
<p>Creates a copy of a Value by using the given <a class="el" href="classrapidjson_1_1_allocator.html" title="Concept for allocating, resizing and freeing memory block.">Allocator</a> </p><dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">SourceAllocator</td><td>allocator of <code>rhs</code> </td></tr>
</table>
</dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">rhs</td><td>Value to copy from (read-only) </td></tr>
<tr><td class="paramname">allocator</td><td><a class="el" href="classrapidjson_1_1_allocator.html" title="Concept for allocating, resizing and freeing memory block.">Allocator</a> for allocating copied elements and buffers. Commonly use <a class="el" href="classrapidjson_1_1_generic_document.html#ad92c6cd025d411258d1f2ad890e2ee3f" title="Get the allocator of this document.">GenericDocument::GetAllocator()</a>. </td></tr>
<tr><td class="paramname">copyConstStrings</td><td>Force copying of constant strings (e.g. referencing an in-situ buffer) </td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd>CopyFrom() </dd></dl>
</div>
</div>
<a id="ab933ad7ff8c9d08f73cebaecb700dbe9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab933ad7ff8c9d08f73cebaecb700dbe9">&#9670;&nbsp;</a></span>GenericValue() <span class="overload">[3/6]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Encoding, typename Allocator = RAPIDJSON_DEFAULT_ALLOCATOR&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classrapidjson_1_1_generic_value.html">rapidjson::GenericValue</a>&lt; <a class="el" href="classrapidjson_1_1_encoding.html">Encoding</a>, <a class="el" href="classrapidjson_1_1_allocator.html">Allocator</a> &gt;::<a class="el" href="classrapidjson_1_1_generic_value.html">GenericValue</a> </td>
<td>(</td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>b</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructor for boolean value. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">b</td><td>Boolean value </td></tr>
</table>
</dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>This constructor is limited to <em>real</em> boolean values and rejects implicitly converted types like arbitrary pointers. Use an explicit cast to <code>bool</code>, if you want to construct a boolean JSON value in such cases. </dd></dl>
</div>
</div>
<a id="a852788b35257762cd8d6c4bf5c5d77bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a852788b35257762cd8d6c4bf5c5d77bc">&#9670;&nbsp;</a></span>GenericValue() <span class="overload">[4/6]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Encoding, typename Allocator = RAPIDJSON_DEFAULT_ALLOCATOR&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classrapidjson_1_1_generic_value.html">rapidjson::GenericValue</a>&lt; <a class="el" href="classrapidjson_1_1_encoding.html">Encoding</a>, <a class="el" href="classrapidjson_1_1_allocator.html">Allocator</a> &gt;::<a class="el" href="classrapidjson_1_1_generic_value.html">GenericValue</a> </td>
<td>(</td>
<td class="paramtype">const std::basic_string&lt; <a class="el" href="classrapidjson_1_1_generic_value.html#adcdbc7fa85a9a41b78966d7e0dcc2ac4">Ch</a> &gt; &amp;&#160;</td>
<td class="paramname"><em>s</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classrapidjson_1_1_allocator.html">Allocator</a> &amp;&#160;</td>
<td class="paramname"><em>allocator</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructor for copy-string from a string object (i.e. do make a copy of string) </p>
<dl class="section note"><dt>Note</dt><dd>Requires the definition of the preprocessor symbol <a class="el" href="group___r_a_p_i_d_j_s_o_n___c_o_n_f_i_g.html#ga2f2eef0ee4477f3fe5874703a66e997f">RAPIDJSON_HAS_STDSTRING</a>. </dd></dl>
</div>
</div>
<a id="a77b0f41557b3c34b57a180698312c4a8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a77b0f41557b3c34b57a180698312c4a8">&#9670;&nbsp;</a></span>GenericValue() <span class="overload">[5/6]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Encoding, typename Allocator = RAPIDJSON_DEFAULT_ALLOCATOR&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classrapidjson_1_1_generic_value.html">rapidjson::GenericValue</a>&lt; <a class="el" href="classrapidjson_1_1_encoding.html">Encoding</a>, <a class="el" href="classrapidjson_1_1_allocator.html">Allocator</a> &gt;::<a class="el" href="classrapidjson_1_1_generic_value.html">GenericValue</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classrapidjson_1_1_generic_array.html">Array</a>&#160;</td>
<td class="paramname"><em>a</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructor for Array. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">a</td><td>An array obtained by <code>GetArray()</code>. </td></tr>
</table>
</dd>
</dl>
<dl class="section note"><dt>Note</dt><dd><code>Array</code> is always pass-by-value. </dd>
<dd>
the source array is moved into this value and the sourec array becomes empty. </dd></dl>
</div>
</div>
<a id="a893da1069660536fd3943a0149206a6e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a893da1069660536fd3943a0149206a6e">&#9670;&nbsp;</a></span>GenericValue() <span class="overload">[6/6]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Encoding, typename Allocator = RAPIDJSON_DEFAULT_ALLOCATOR&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classrapidjson_1_1_generic_value.html">rapidjson::GenericValue</a>&lt; <a class="el" href="classrapidjson_1_1_encoding.html">Encoding</a>, <a class="el" href="classrapidjson_1_1_allocator.html">Allocator</a> &gt;::<a class="el" href="classrapidjson_1_1_generic_value.html">GenericValue</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classrapidjson_1_1_generic_object.html">Object</a>&#160;</td>
<td class="paramname"><em>o</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructor for Object. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">o</td><td>An object obtained by <code>GetObject()</code>. </td></tr>
</table>
</dd>
</dl>
<dl class="section note"><dt>Note</dt><dd><code>Object</code> is always pass-by-value. </dd>
<dd>
the source object is moved into this value and the sourec object becomes empty. </dd></dl>
</div>
</div>
<a id="a433a64b466c80cadf7d1acaa6f065437"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a433a64b466c80cadf7d1acaa6f065437">&#9670;&nbsp;</a></span>~GenericValue()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Encoding, typename Allocator = RAPIDJSON_DEFAULT_ALLOCATOR&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classrapidjson_1_1_generic_value.html">rapidjson::GenericValue</a>&lt; <a class="el" href="classrapidjson_1_1_encoding.html">Encoding</a>, <a class="el" href="classrapidjson_1_1_allocator.html">Allocator</a> &gt;::~<a class="el" href="classrapidjson_1_1_generic_value.html">GenericValue</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> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Destructor. </p>
<p>Need to destruct elements of array, members of object, or copy-string. </p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ae8bcedd951f50b69786aaaa1828e9fac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae8bcedd951f50b69786aaaa1828e9fac">&#9670;&nbsp;</a></span>operator=() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Encoding, typename Allocator = RAPIDJSON_DEFAULT_ALLOCATOR&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classrapidjson_1_1_generic_value.html">GenericValue</a>&amp; <a class="el" href="classrapidjson_1_1_generic_value.html">rapidjson::GenericValue</a>&lt; <a class="el" href="classrapidjson_1_1_encoding.html">Encoding</a>, <a class="el" href="classrapidjson_1_1_allocator.html">Allocator</a> &gt;::operator= </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classrapidjson_1_1_generic_value.html">GenericValue</a>&lt; <a class="el" href="classrapidjson_1_1_encoding.html">Encoding</a>, <a class="el" href="classrapidjson_1_1_allocator.html">Allocator</a> &gt; &amp;&#160;</td>
<td class="paramname"><em>rhs</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Assignment with move semantics. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">rhs</td><td>Source of the assignment. It will become a null value after assignment. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="aecc9d0a6aafe31f4fdf9f6e75e5f089c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aecc9d0a6aafe31f4fdf9f6e75e5f089c">&#9670;&nbsp;</a></span>operator=() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Encoding, typename Allocator = RAPIDJSON_DEFAULT_ALLOCATOR&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classrapidjson_1_1_generic_value.html">GenericValue</a>&amp; <a class="el" href="classrapidjson_1_1_generic_value.html">rapidjson::GenericValue</a>&lt; <a class="el" href="classrapidjson_1_1_encoding.html">Encoding</a>, <a class="el" href="classrapidjson_1_1_allocator.html">Allocator</a> &gt;::operator= </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classrapidjson_1_1_generic_value.html#a559eb9cea54364a35518b02f6d74f379">StringRefType</a>&#160;</td>
<td class="paramname"><em>str</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Assignment of constant string reference (no copy) </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">str</td><td>Constant string reference to be assigned </td></tr>
</table>
</dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>This overload is needed to avoid clashes with the generic primitive type assignment overload below. </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="structrapidjson_1_1_generic_string_ref.html" title="Reference to a constant string (not taking a copy)">GenericStringRef</a>, operator=(T) </dd></dl>
</div>
</div>
<a id="a5490b1fdb725744a6defb14ed7c238f0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5490b1fdb725744a6defb14ed7c238f0">&#9670;&nbsp;</a></span>RAPIDJSON_DISABLEIF_RETURN()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Encoding, typename Allocator = RAPIDJSON_DEFAULT_ALLOCATOR&gt; </div>
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classrapidjson_1_1_generic_value.html">rapidjson::GenericValue</a>&lt; <a class="el" href="classrapidjson_1_1_encoding.html">Encoding</a>, <a class="el" href="classrapidjson_1_1_allocator.html">Allocator</a> &gt;::RAPIDJSON_DISABLEIF_RETURN </td>
<td>(</td>
<td class="paramtype">(internal::IsPointer&lt; T &gt;)&#160;</td>
<td class="paramname">, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">(<a class="el" href="classrapidjson_1_1_generic_value.html">GenericValue</a>&lt; <a class="el" href="classrapidjson_1_1_encoding.html">Encoding</a>, <a class="el" href="classrapidjson_1_1_allocator.html">Allocator</a> &gt; &amp;)&#160;</td>
<td class="paramname">&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Assignment with primitive types. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">T</td><td>Either <a class="el" href="namespacerapidjson.html#ae79a4751c1c460ff0de5ecc07874f3e4">Type</a>, <code>int</code>, <code>unsigned</code>, <code>int64_t</code>, <code>uint64_t</code> </td></tr>
</table>
</dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">value</td><td>The value to be assigned.</td></tr>
</table>
</dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>The source type <code>T</code> explicitly disallows all pointer types, especially (<code>const</code>) <a class="el" href="classrapidjson_1_1_generic_value.html#adcdbc7fa85a9a41b78966d7e0dcc2ac4">Ch</a>*. This helps avoiding implicitly referencing character strings with insufficient lifetime, use SetString(const Ch*, Allocator&amp;) (for copying) or <a class="el" href="namespacerapidjson.html#aa6b9fd9f6aa49405a574c362ba9af6b5">StringRef()</a> (to explicitly mark the pointer as constant) instead. All other pointer types would implicitly convert to <code>bool</code>, use SetBool() instead. Set boolean value </dd></dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/rapidjson/<a class="el" href="document_8h_source.html">document.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.7-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespacerapidjson.html">rapidjson</a></li><li class="navelem"><a class="el" href="classrapidjson_1_1_generic_value.html">GenericValue</a></li>
</ul>
</div>
</body>
</html>