blob: ec08c44187ea0462a79159e6d5b8235cb2691d6f [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::GenericObject&lt; Const, ValueT &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_object.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="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="classrapidjson_1_1_generic_object-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">rapidjson::GenericObject&lt; Const, ValueT &gt; Class Template Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Helper class for accessing Value of object type.
<a href="classrapidjson_1_1_generic_object.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="document_8h_source.html">document.h</a>&gt;</code></p>
<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:a00d71a7ee4d903e74fdc5a83750dd0f7"><td class="memItemLeft" align="right" valign="top"><a id="a00d71a7ee4d903e74fdc5a83750dd0f7"></a>
typedef <a class="el" href="classrapidjson_1_1_generic_object.html">GenericObject</a>&lt; true, ValueT &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>ConstObject</b></td></tr>
<tr class="separator:a00d71a7ee4d903e74fdc5a83750dd0f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a046e47c2bc624f677603d34d0f108347"><td class="memItemLeft" align="right" valign="top"><a id="a046e47c2bc624f677603d34d0f108347"></a>
typedef <a class="el" href="classrapidjson_1_1_generic_object.html">GenericObject</a>&lt; false, ValueT &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Object</b></td></tr>
<tr class="separator:a046e47c2bc624f677603d34d0f108347"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46c7868bddba87a819cccca94bbdbda9"><td class="memItemLeft" align="right" valign="top"><a id="a46c7868bddba87a819cccca94bbdbda9"></a>
typedef ValueT&#160;</td><td class="memItemRight" valign="bottom"><b>PlainType</b></td></tr>
<tr class="separator:a46c7868bddba87a819cccca94bbdbda9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a282660500748eff5ebab93b88a9d478f"><td class="memItemLeft" align="right" valign="top"><a id="a282660500748eff5ebab93b88a9d478f"></a>
typedef internal::MaybeAddConst&lt; Const, PlainType &gt;::<a class="el" href="namespacerapidjson.html#ae79a4751c1c460ff0de5ecc07874f3e4">Type</a>&#160;</td><td class="memItemRight" valign="bottom"><b>ValueType</b></td></tr>
<tr class="separator:a282660500748eff5ebab93b88a9d478f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a598fd1d5f55289eca275847f0e8ef295"><td class="memItemLeft" align="right" valign="top"><a id="a598fd1d5f55289eca275847f0e8ef295"></a>
typedef <a class="el" href="classrapidjson_1_1_generic_member_iterator.html">GenericMemberIterator</a>&lt; Const, typename ValueT::EncodingType, typename ValueT::AllocatorType &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>MemberIterator</b></td></tr>
<tr class="separator:a598fd1d5f55289eca275847f0e8ef295"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a579a7d7ab7102bcf86c948d0df3d2f2d"><td class="memItemLeft" align="right" valign="top"><a id="a579a7d7ab7102bcf86c948d0df3d2f2d"></a>
typedef <a class="el" href="classrapidjson_1_1_generic_member_iterator.html">GenericMemberIterator</a>&lt; true, typename ValueT::EncodingType, typename ValueT::AllocatorType &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>ConstMemberIterator</b></td></tr>
<tr class="separator:a579a7d7ab7102bcf86c948d0df3d2f2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae30003e248368737382eed69ec8fe1eb"><td class="memItemLeft" align="right" valign="top"><a id="ae30003e248368737382eed69ec8fe1eb"></a>
typedef ValueType::AllocatorType&#160;</td><td class="memItemRight" valign="bottom"><b>AllocatorType</b></td></tr>
<tr class="separator:ae30003e248368737382eed69ec8fe1eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab47bc8d841321d77c140e9df729f5233"><td class="memItemLeft" align="right" valign="top"><a id="ab47bc8d841321d77c140e9df729f5233"></a>
typedef ValueType::StringRefType&#160;</td><td class="memItemRight" valign="bottom"><b>StringRefType</b></td></tr>
<tr class="separator:ab47bc8d841321d77c140e9df729f5233"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac412c8d073aa02f622b3904e4195425c"><td class="memItemLeft" align="right" valign="top"><a id="ac412c8d073aa02f622b3904e4195425c"></a>
typedef ValueType::EncodingType&#160;</td><td class="memItemRight" valign="bottom"><b>EncodingType</b></td></tr>
<tr class="separator:ac412c8d073aa02f622b3904e4195425c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a947f543afbdd5e6d1c5b2dd1fe5a6e60"><td class="memItemLeft" align="right" valign="top"><a id="a947f543afbdd5e6d1c5b2dd1fe5a6e60"></a>
typedef ValueType::Ch&#160;</td><td class="memItemRight" valign="bottom"><b>Ch</b></td></tr>
<tr class="separator:a947f543afbdd5e6d1c5b2dd1fe5a6e60"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><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:aae420e2eac920ff10d5c749f567e4905"><td class="memItemLeft" align="right" valign="top"><a id="aae420e2eac920ff10d5c749f567e4905"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>GenericObject</b> (const <a class="el" href="classrapidjson_1_1_generic_object.html">GenericObject</a> &amp;rhs)</td></tr>
<tr class="separator:aae420e2eac920ff10d5c749f567e4905"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af94485b6c52b821203fe2c23a92c282f"><td class="memItemLeft" align="right" valign="top"><a id="af94485b6c52b821203fe2c23a92c282f"></a>
<a class="el" href="classrapidjson_1_1_generic_object.html">GenericObject</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classrapidjson_1_1_generic_object.html">GenericObject</a> &amp;rhs)</td></tr>
<tr class="separator:af94485b6c52b821203fe2c23a92c282f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae9dddf91b1527b9773fd3d9c69fbef9d"><td class="memItemLeft" align="right" valign="top"><a id="ae9dddf91b1527b9773fd3d9c69fbef9d"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>operator ValueType &amp;</b> () const</td></tr>
<tr class="separator:ae9dddf91b1527b9773fd3d9c69fbef9d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a583962734202dfdf22ab851d78f24d92"><td class="memItemLeft" align="right" valign="top"><a id="a583962734202dfdf22ab851d78f24d92"></a>
<a class="el" href="namespacerapidjson.html#a44eb33eaa523e36d466b1ced64b85c84">SizeType</a>&#160;</td><td class="memItemRight" valign="bottom"><b>MemberCount</b> () const</td></tr>
<tr class="separator:a583962734202dfdf22ab851d78f24d92"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae48a240f8168be407c6dd40864bee0f1"><td class="memItemLeft" align="right" valign="top"><a id="ae48a240f8168be407c6dd40864bee0f1"></a>
<a class="el" href="namespacerapidjson.html#a44eb33eaa523e36d466b1ced64b85c84">SizeType</a>&#160;</td><td class="memItemRight" valign="bottom"><b>MemberCapacity</b> () const</td></tr>
<tr class="separator:ae48a240f8168be407c6dd40864bee0f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5ad0ae2038d629f17b10b2b11ced58b"><td class="memItemLeft" align="right" valign="top"><a id="ad5ad0ae2038d629f17b10b2b11ced58b"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>ObjectEmpty</b> () const</td></tr>
<tr class="separator:ad5ad0ae2038d629f17b10b2b11ced58b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a158d16b9052e356436211158f2fb0638"><td class="memTemplParams" colspan="2"><a id="a158d16b9052e356436211158f2fb0638"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:a158d16b9052e356436211158f2fb0638"><td class="memTemplItemLeft" align="right" valign="top">ValueType &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><b>operator[]</b> (T *name) const</td></tr>
<tr class="separator:a158d16b9052e356436211158f2fb0638"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a920c32f4acd1f8a896c467777452595a"><td class="memTemplParams" colspan="2"><a id="a920c32f4acd1f8a896c467777452595a"></a>
template&lt;typename SourceAllocator &gt; </td></tr>
<tr class="memitem:a920c32f4acd1f8a896c467777452595a"><td class="memTemplItemLeft" align="right" valign="top">ValueType &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><b>operator[]</b> (const <a class="el" href="classrapidjson_1_1_generic_value.html">GenericValue</a>&lt; EncodingType, SourceAllocator &gt; &amp;name) const</td></tr>
<tr class="separator:a920c32f4acd1f8a896c467777452595a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab9a78993f69240bff0744f05436aaf80"><td class="memItemLeft" align="right" valign="top"><a id="ab9a78993f69240bff0744f05436aaf80"></a>
ValueType &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator[]</b> (const std::basic_string&lt; Ch &gt; &amp;name) const</td></tr>
<tr class="separator:ab9a78993f69240bff0744f05436aaf80"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3410e31a3a38bd7004daf8e76d5327c"><td class="memItemLeft" align="right" valign="top"><a id="ac3410e31a3a38bd7004daf8e76d5327c"></a>
<a class="el" href="classrapidjson_1_1_generic_member_iterator.html">MemberIterator</a>&#160;</td><td class="memItemRight" valign="bottom"><b>MemberBegin</b> () const</td></tr>
<tr class="separator:ac3410e31a3a38bd7004daf8e76d5327c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a446032e977f37638cf3c44eb3a972fdd"><td class="memItemLeft" align="right" valign="top"><a id="a446032e977f37638cf3c44eb3a972fdd"></a>
<a class="el" href="classrapidjson_1_1_generic_member_iterator.html">MemberIterator</a>&#160;</td><td class="memItemRight" valign="bottom"><b>MemberEnd</b> () const</td></tr>
<tr class="separator:a446032e977f37638cf3c44eb3a972fdd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afcd9124531e6c55ba44c2de99b2f9bf1"><td class="memItemLeft" align="right" valign="top"><a id="afcd9124531e6c55ba44c2de99b2f9bf1"></a>
<a class="el" href="classrapidjson_1_1_generic_object.html">GenericObject</a>&#160;</td><td class="memItemRight" valign="bottom"><b>MemberReserve</b> (<a class="el" href="namespacerapidjson.html#a44eb33eaa523e36d466b1ced64b85c84">SizeType</a> newCapacity, AllocatorType &amp;allocator) const</td></tr>
<tr class="separator:afcd9124531e6c55ba44c2de99b2f9bf1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10fd0c5b5ef61479725590b78c006234"><td class="memItemLeft" align="right" valign="top"><a id="a10fd0c5b5ef61479725590b78c006234"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>HasMember</b> (const Ch *name) const</td></tr>
<tr class="separator:a10fd0c5b5ef61479725590b78c006234"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5cd5126d5965b6dfe0b630e53ad6cff"><td class="memItemLeft" align="right" valign="top"><a id="aa5cd5126d5965b6dfe0b630e53ad6cff"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>HasMember</b> (const std::basic_string&lt; Ch &gt; &amp;name) const</td></tr>
<tr class="separator:aa5cd5126d5965b6dfe0b630e53ad6cff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05c6698dd3203dbbe537942d63073fcc"><td class="memTemplParams" colspan="2"><a id="a05c6698dd3203dbbe537942d63073fcc"></a>
template&lt;typename SourceAllocator &gt; </td></tr>
<tr class="memitem:a05c6698dd3203dbbe537942d63073fcc"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><b>HasMember</b> (const <a class="el" href="classrapidjson_1_1_generic_value.html">GenericValue</a>&lt; EncodingType, SourceAllocator &gt; &amp;name) const</td></tr>
<tr class="separator:a05c6698dd3203dbbe537942d63073fcc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afaa41ea8c0ed91b7e064d31f6a6ab9ef"><td class="memItemLeft" align="right" valign="top"><a id="afaa41ea8c0ed91b7e064d31f6a6ab9ef"></a>
<a class="el" href="classrapidjson_1_1_generic_member_iterator.html">MemberIterator</a>&#160;</td><td class="memItemRight" valign="bottom"><b>FindMember</b> (const Ch *name) const</td></tr>
<tr class="separator:afaa41ea8c0ed91b7e064d31f6a6ab9ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae4681bdff872d25f5100bc53d8a48bb3"><td class="memTemplParams" colspan="2"><a id="ae4681bdff872d25f5100bc53d8a48bb3"></a>
template&lt;typename SourceAllocator &gt; </td></tr>
<tr class="memitem:ae4681bdff872d25f5100bc53d8a48bb3"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classrapidjson_1_1_generic_member_iterator.html">MemberIterator</a>&#160;</td><td class="memTemplItemRight" valign="bottom"><b>FindMember</b> (const <a class="el" href="classrapidjson_1_1_generic_value.html">GenericValue</a>&lt; EncodingType, SourceAllocator &gt; &amp;name) const</td></tr>
<tr class="separator:ae4681bdff872d25f5100bc53d8a48bb3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac238b3e856310ca7f8622e1252ea7f0f"><td class="memItemLeft" align="right" valign="top"><a id="ac238b3e856310ca7f8622e1252ea7f0f"></a>
<a class="el" href="classrapidjson_1_1_generic_member_iterator.html">MemberIterator</a>&#160;</td><td class="memItemRight" valign="bottom"><b>FindMember</b> (const std::basic_string&lt; Ch &gt; &amp;name) const</td></tr>
<tr class="separator:ac238b3e856310ca7f8622e1252ea7f0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae811070cbc37cc67bb80a8bdb7d6db14"><td class="memItemLeft" align="right" valign="top"><a id="ae811070cbc37cc67bb80a8bdb7d6db14"></a>
<a class="el" href="classrapidjson_1_1_generic_object.html">GenericObject</a>&#160;</td><td class="memItemRight" valign="bottom"><b>AddMember</b> (ValueType &amp;name, ValueType &amp;value, AllocatorType &amp;allocator) const</td></tr>
<tr class="separator:ae811070cbc37cc67bb80a8bdb7d6db14"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aebd8b710e89673cd279b798ba2f3cf85"><td class="memItemLeft" align="right" valign="top"><a id="aebd8b710e89673cd279b798ba2f3cf85"></a>
<a class="el" href="classrapidjson_1_1_generic_object.html">GenericObject</a>&#160;</td><td class="memItemRight" valign="bottom"><b>AddMember</b> (ValueType &amp;name, StringRefType value, AllocatorType &amp;allocator) const</td></tr>
<tr class="separator:aebd8b710e89673cd279b798ba2f3cf85"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a414fb36461847d576c8d0b2386655703"><td class="memItemLeft" align="right" valign="top"><a id="a414fb36461847d576c8d0b2386655703"></a>
<a class="el" href="classrapidjson_1_1_generic_object.html">GenericObject</a>&#160;</td><td class="memItemRight" valign="bottom"><b>AddMember</b> (ValueType &amp;name, std::basic_string&lt; Ch &gt; &amp;value, AllocatorType &amp;allocator) const</td></tr>
<tr class="separator:a414fb36461847d576c8d0b2386655703"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90e43c69c44aba575dd7a662155bd6d2"><td class="memTemplParams" colspan="2"><a id="a90e43c69c44aba575dd7a662155bd6d2"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:a90e43c69c44aba575dd7a662155bd6d2"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><b>RAPIDJSON_DISABLEIF_RETURN</b> ((internal::OrExpr&lt; internal::IsPointer&lt; T &gt;, internal::IsGenericValue&lt; T &gt; &gt;),(ValueType &amp;)) AddMember(ValueType &amp;name</td></tr>
<tr class="separator:a90e43c69c44aba575dd7a662155bd6d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0bc0d524c95b4e7eb816843ac40f264"><td class="memItemLeft" align="right" valign="top"><a id="ad0bc0d524c95b4e7eb816843ac40f264"></a>
<a class="el" href="classrapidjson_1_1_generic_object.html">GenericObject</a>&#160;</td><td class="memItemRight" valign="bottom"><b>AddMember</b> (StringRefType name, ValueType &amp;value, AllocatorType &amp;allocator) const</td></tr>
<tr class="separator:ad0bc0d524c95b4e7eb816843ac40f264"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2222165c8e1d29b8a6f534a8b54a2115"><td class="memItemLeft" align="right" valign="top"><a id="a2222165c8e1d29b8a6f534a8b54a2115"></a>
<a class="el" href="classrapidjson_1_1_generic_object.html">GenericObject</a>&#160;</td><td class="memItemRight" valign="bottom"><b>AddMember</b> (StringRefType name, StringRefType value, AllocatorType &amp;allocator) const</td></tr>
<tr class="separator:a2222165c8e1d29b8a6f534a8b54a2115"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a37ca81cfe9b1f26856ebae811dd5d65f"><td class="memTemplParams" colspan="2"><a id="a37ca81cfe9b1f26856ebae811dd5d65f"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:a37ca81cfe9b1f26856ebae811dd5d65f"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><b>RAPIDJSON_DISABLEIF_RETURN</b> ((internal::OrExpr&lt; internal::IsPointer&lt; T &gt;, internal::IsGenericValue&lt; T &gt; &gt;),(<a class="el" href="classrapidjson_1_1_generic_object.html">GenericObject</a>)) AddMember(StringRefType name</td></tr>
<tr class="separator:a37ca81cfe9b1f26856ebae811dd5d65f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adce47ea944260d77171c710f34d4e402"><td class="memItemLeft" align="right" valign="top"><a id="adce47ea944260d77171c710f34d4e402"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>RemoveAllMembers</b> ()</td></tr>
<tr class="separator:adce47ea944260d77171c710f34d4e402"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa96ab7566d9d7cce166d8b51cd072b92"><td class="memItemLeft" align="right" valign="top"><a id="aa96ab7566d9d7cce166d8b51cd072b92"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>RemoveMember</b> (const Ch *name) const</td></tr>
<tr class="separator:aa96ab7566d9d7cce166d8b51cd072b92"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77468ae046c9366a52e1baa75d963f6d"><td class="memItemLeft" align="right" valign="top"><a id="a77468ae046c9366a52e1baa75d963f6d"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>RemoveMember</b> (const std::basic_string&lt; Ch &gt; &amp;name) const</td></tr>
<tr class="separator:a77468ae046c9366a52e1baa75d963f6d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af2fa07494d817effd1b50c0a84e442cf"><td class="memTemplParams" colspan="2"><a id="af2fa07494d817effd1b50c0a84e442cf"></a>
template&lt;typename SourceAllocator &gt; </td></tr>
<tr class="memitem:af2fa07494d817effd1b50c0a84e442cf"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><b>RemoveMember</b> (const <a class="el" href="classrapidjson_1_1_generic_value.html">GenericValue</a>&lt; EncodingType, SourceAllocator &gt; &amp;name) const</td></tr>
<tr class="separator:af2fa07494d817effd1b50c0a84e442cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9227df396b62534391cd9a52ab7cdf37"><td class="memItemLeft" align="right" valign="top"><a id="a9227df396b62534391cd9a52ab7cdf37"></a>
<a class="el" href="classrapidjson_1_1_generic_member_iterator.html">MemberIterator</a>&#160;</td><td class="memItemRight" valign="bottom"><b>RemoveMember</b> (<a class="el" href="classrapidjson_1_1_generic_member_iterator.html">MemberIterator</a> m) const</td></tr>
<tr class="separator:a9227df396b62534391cd9a52ab7cdf37"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8569180721b7194fffb0f289c0f8956"><td class="memItemLeft" align="right" valign="top"><a id="ad8569180721b7194fffb0f289c0f8956"></a>
<a class="el" href="classrapidjson_1_1_generic_member_iterator.html">MemberIterator</a>&#160;</td><td class="memItemRight" valign="bottom"><b>EraseMember</b> (<a class="el" href="classrapidjson_1_1_generic_member_iterator.html">ConstMemberIterator</a> pos) const</td></tr>
<tr class="separator:ad8569180721b7194fffb0f289c0f8956"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5d1661531777782d90249fe5ee748cb"><td class="memItemLeft" align="right" valign="top"><a id="af5d1661531777782d90249fe5ee748cb"></a>
<a class="el" href="classrapidjson_1_1_generic_member_iterator.html">MemberIterator</a>&#160;</td><td class="memItemRight" valign="bottom"><b>EraseMember</b> (<a class="el" href="classrapidjson_1_1_generic_member_iterator.html">ConstMemberIterator</a> first, <a class="el" href="classrapidjson_1_1_generic_member_iterator.html">ConstMemberIterator</a> last) const</td></tr>
<tr class="separator:af5d1661531777782d90249fe5ee748cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1bdc4fd5a89c27b4e8aa5d7e39ece85b"><td class="memItemLeft" align="right" valign="top"><a id="a1bdc4fd5a89c27b4e8aa5d7e39ece85b"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>EraseMember</b> (const Ch *name) const</td></tr>
<tr class="separator:a1bdc4fd5a89c27b4e8aa5d7e39ece85b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a50a9c9ee7e8a8321de28390f5290f89c"><td class="memItemLeft" align="right" valign="top"><a id="a50a9c9ee7e8a8321de28390f5290f89c"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>EraseMember</b> (const std::basic_string&lt; Ch &gt; &amp;name) const</td></tr>
<tr class="separator:a50a9c9ee7e8a8321de28390f5290f89c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5df619ffdefc3a7e1f6f7c2670c305f7"><td class="memTemplParams" colspan="2"><a id="a5df619ffdefc3a7e1f6f7c2670c305f7"></a>
template&lt;typename SourceAllocator &gt; </td></tr>
<tr class="memitem:a5df619ffdefc3a7e1f6f7c2670c305f7"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><b>EraseMember</b> (const <a class="el" href="classrapidjson_1_1_generic_value.html">GenericValue</a>&lt; EncodingType, SourceAllocator &gt; &amp;name) const</td></tr>
<tr class="separator:a5df619ffdefc3a7e1f6f7c2670c305f7"><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:afdba35584d4b33d5ab8c0c460f49c0a4"><td class="memItemLeft" align="right" valign="top"><a id="afdba35584d4b33d5ab8c0c460f49c0a4"></a>
T&#160;</td><td class="memItemRight" valign="bottom"><b>value</b></td></tr>
<tr class="separator:afdba35584d4b33d5ab8c0c460f49c0a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4ae70db51a0670c4278670fc3360276"><td class="memItemLeft" align="right" valign="top"><a id="ad4ae70db51a0670c4278670fc3360276"></a>
T AllocatorType &amp;const&#160;</td><td class="memItemRight" valign="bottom"><b>allocator</b> { value_.AddMember(name, value, allocator)</td></tr>
<tr class="separator:ad4ae70db51a0670c4278670fc3360276"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a16b86f62bb90bec993009f61b62a3210"><td class="memItemLeft" align="right" valign="top"><a id="a16b86f62bb90bec993009f61b62a3210"></a>
return *&#160;</td><td class="memItemRight" valign="bottom"><b>this</b></td></tr>
<tr class="separator:a16b86f62bb90bec993009f61b62a3210"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a899449e1a645b5e377af059fb61113d8"><td class="memTemplParams" colspan="2"><a id="a899449e1a645b5e377af059fb61113d8"></a>
template&lt;typename , typename &gt; </td></tr>
<tr class="memitem:a899449e1a645b5e377af059fb61113d8"><td class="memTemplItemLeft" align="right" valign="top">class&#160;</td><td class="memTemplItemRight" valign="bottom"><b>GenericValue</b></td></tr>
<tr class="separator:a899449e1a645b5e377af059fb61113d8"><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;bool Const, typename ValueT&gt;<br />
class rapidjson::GenericObject&lt; Const, ValueT &gt;</h3>
<p>Helper class for accessing Value of object type. </p>
<p>Instance of this helper class is obtained by <code>GenericValue::GetObject()</code>. In addition to all APIs for array type, it provides range-based for loop if <code>RAPIDJSON_HAS_CXX11_RANGE_FOR=1</code>. </p>
</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_object.html">GenericObject</a></li>
</ul>
</div>
</body>
</html>