blob: fc89f95a5c407c78bc96705dd950b29e0fb0973d [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::GenericMemberIterator&lt; Const, 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_member_iterator.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="#friends">Friends</a> &#124;
<a href="classrapidjson_1_1_generic_member_iterator-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">rapidjson::GenericMemberIterator&lt; Const, Encoding, Allocator &gt; Class Template Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>(Constant) member iterator for a JSON object value
<a href="classrapidjson_1_1_generic_member_iterator.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:a37091c3dd8470486ef5188f3c1108653"><td class="memItemLeft" align="right" valign="top"><a id="a37091c3dd8470486ef5188f3c1108653"></a>
typedef <a class="el" href="classrapidjson_1_1_generic_member_iterator.html">GenericMemberIterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrapidjson_1_1_generic_member_iterator.html#a37091c3dd8470486ef5188f3c1108653">Iterator</a></td></tr>
<tr class="memdesc:a37091c3dd8470486ef5188f3c1108653"><td class="mdescLeft">&#160;</td><td class="mdescRight">Iterator type itself. <br /></td></tr>
<tr class="separator:a37091c3dd8470486ef5188f3c1108653"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61b9a9ba8a5917d90406532f104605cc"><td class="memItemLeft" align="right" valign="top"><a id="a61b9a9ba8a5917d90406532f104605cc"></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;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrapidjson_1_1_generic_member_iterator.html#a61b9a9ba8a5917d90406532f104605cc">ConstIterator</a></td></tr>
<tr class="memdesc:a61b9a9ba8a5917d90406532f104605cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constant iterator type. <br /></td></tr>
<tr class="separator:a61b9a9ba8a5917d90406532f104605cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a91868fa388664bb301061e3e24badb"><td class="memItemLeft" align="right" valign="top"><a id="a1a91868fa388664bb301061e3e24badb"></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;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrapidjson_1_1_generic_member_iterator.html#a1a91868fa388664bb301061e3e24badb">NonConstIterator</a></td></tr>
<tr class="memdesc:a1a91868fa388664bb301061e3e24badb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Non-constant iterator type. <br /></td></tr>
<tr class="separator:a1a91868fa388664bb301061e3e24badb"><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><td colspan="2"><div class="groupHeader">stepping</div></td></tr>
<tr class="memitem:a0854c7e305fa3b9c509a85bcba7c37b1"><td class="memItemLeft" align="right" valign="top"><a id="a0854c7e305fa3b9c509a85bcba7c37b1"></a>
<a class="el" href="classrapidjson_1_1_generic_member_iterator.html#a37091c3dd8470486ef5188f3c1108653">Iterator</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator++</b> ()</td></tr>
<tr class="separator:a0854c7e305fa3b9c509a85bcba7c37b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b29025a0fe480332fa24922ef5852c0"><td class="memItemLeft" align="right" valign="top"><a id="a5b29025a0fe480332fa24922ef5852c0"></a>
<a class="el" href="classrapidjson_1_1_generic_member_iterator.html#a37091c3dd8470486ef5188f3c1108653">Iterator</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator--</b> ()</td></tr>
<tr class="separator:a5b29025a0fe480332fa24922ef5852c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38a9b2515b32b47183948bc76449cd18"><td class="memItemLeft" align="right" valign="top"><a id="a38a9b2515b32b47183948bc76449cd18"></a>
<a class="el" href="classrapidjson_1_1_generic_member_iterator.html#a37091c3dd8470486ef5188f3c1108653">Iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><b>operator++</b> (int)</td></tr>
<tr class="separator:a38a9b2515b32b47183948bc76449cd18"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb9ae9faaca1608e9ee93ebb50892839"><td class="memItemLeft" align="right" valign="top"><a id="aeb9ae9faaca1608e9ee93ebb50892839"></a>
<a class="el" href="classrapidjson_1_1_generic_member_iterator.html#a37091c3dd8470486ef5188f3c1108653">Iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><b>operator--</b> (int)</td></tr>
<tr class="separator:aeb9ae9faaca1608e9ee93ebb50892839"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">increment/decrement</div></td></tr>
<tr class="memitem:ace89a84c151b8346cfc9ade17b5bac21"><td class="memItemLeft" align="right" valign="top"><a id="ace89a84c151b8346cfc9ade17b5bac21"></a>
<a class="el" href="classrapidjson_1_1_generic_member_iterator.html#a37091c3dd8470486ef5188f3c1108653">Iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><b>operator+</b> (<a class="el" href="classrapidjson_1_1_generic_member_iterator.html#aff2739a9265639a7a4be8c3e6216b31a">DifferenceType</a> n) const</td></tr>
<tr class="separator:ace89a84c151b8346cfc9ade17b5bac21"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a36f7e485594c44a81a7c501cafb1cbf7"><td class="memItemLeft" align="right" valign="top"><a id="a36f7e485594c44a81a7c501cafb1cbf7"></a>
<a class="el" href="classrapidjson_1_1_generic_member_iterator.html#a37091c3dd8470486ef5188f3c1108653">Iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><b>operator-</b> (<a class="el" href="classrapidjson_1_1_generic_member_iterator.html#aff2739a9265639a7a4be8c3e6216b31a">DifferenceType</a> n) const</td></tr>
<tr class="separator:a36f7e485594c44a81a7c501cafb1cbf7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f531c899039358b2a5cd1873d71beb2"><td class="memItemLeft" align="right" valign="top"><a id="a7f531c899039358b2a5cd1873d71beb2"></a>
<a class="el" href="classrapidjson_1_1_generic_member_iterator.html#a37091c3dd8470486ef5188f3c1108653">Iterator</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator+=</b> (<a class="el" href="classrapidjson_1_1_generic_member_iterator.html#aff2739a9265639a7a4be8c3e6216b31a">DifferenceType</a> n)</td></tr>
<tr class="separator:a7f531c899039358b2a5cd1873d71beb2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38d0f8a8d55d86b0b2f49b308978ba0e"><td class="memItemLeft" align="right" valign="top"><a id="a38d0f8a8d55d86b0b2f49b308978ba0e"></a>
<a class="el" href="classrapidjson_1_1_generic_member_iterator.html#a37091c3dd8470486ef5188f3c1108653">Iterator</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator-=</b> (<a class="el" href="classrapidjson_1_1_generic_member_iterator.html#aff2739a9265639a7a4be8c3e6216b31a">DifferenceType</a> n)</td></tr>
<tr class="separator:a38d0f8a8d55d86b0b2f49b308978ba0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">relations</div></td></tr>
<tr class="memitem:a98b8bf48582aecb2c88ddc96f734ddcf"><td class="memTemplParams" colspan="2"><a id="a98b8bf48582aecb2c88ddc96f734ddcf"></a>
template&lt;bool Const_&gt; </td></tr>
<tr class="memitem:a98b8bf48582aecb2c88ddc96f734ddcf"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><b>operator==</b> (const <a class="el" href="classrapidjson_1_1_generic_member_iterator.html">GenericMemberIterator</a>&lt; Const_, <a class="el" href="classrapidjson_1_1_encoding.html">Encoding</a>, <a class="el" href="classrapidjson_1_1_allocator.html">Allocator</a> &gt; &amp;that) const</td></tr>
<tr class="separator:a98b8bf48582aecb2c88ddc96f734ddcf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7fa8df5ea048deac16938c6f7104788d"><td class="memTemplParams" colspan="2"><a id="a7fa8df5ea048deac16938c6f7104788d"></a>
template&lt;bool Const_&gt; </td></tr>
<tr class="memitem:a7fa8df5ea048deac16938c6f7104788d"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><b>operator!=</b> (const <a class="el" href="classrapidjson_1_1_generic_member_iterator.html">GenericMemberIterator</a>&lt; Const_, <a class="el" href="classrapidjson_1_1_encoding.html">Encoding</a>, <a class="el" href="classrapidjson_1_1_allocator.html">Allocator</a> &gt; &amp;that) const</td></tr>
<tr class="separator:a7fa8df5ea048deac16938c6f7104788d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2252927a033d5314a5608acabaf15eee"><td class="memTemplParams" colspan="2"><a id="a2252927a033d5314a5608acabaf15eee"></a>
template&lt;bool Const_&gt; </td></tr>
<tr class="memitem:a2252927a033d5314a5608acabaf15eee"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><b>operator&lt;=</b> (const <a class="el" href="classrapidjson_1_1_generic_member_iterator.html">GenericMemberIterator</a>&lt; Const_, <a class="el" href="classrapidjson_1_1_encoding.html">Encoding</a>, <a class="el" href="classrapidjson_1_1_allocator.html">Allocator</a> &gt; &amp;that) const</td></tr>
<tr class="separator:a2252927a033d5314a5608acabaf15eee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ba808f8c09121d441b93552cab43272"><td class="memTemplParams" colspan="2"><a id="a4ba808f8c09121d441b93552cab43272"></a>
template&lt;bool Const_&gt; </td></tr>
<tr class="memitem:a4ba808f8c09121d441b93552cab43272"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><b>operator&gt;=</b> (const <a class="el" href="classrapidjson_1_1_generic_member_iterator.html">GenericMemberIterator</a>&lt; Const_, <a class="el" href="classrapidjson_1_1_encoding.html">Encoding</a>, <a class="el" href="classrapidjson_1_1_allocator.html">Allocator</a> &gt; &amp;that) const</td></tr>
<tr class="separator:a4ba808f8c09121d441b93552cab43272"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a83ec49cd9fa79e307f7608f48d225b"><td class="memTemplParams" colspan="2"><a id="a8a83ec49cd9fa79e307f7608f48d225b"></a>
template&lt;bool Const_&gt; </td></tr>
<tr class="memitem:a8a83ec49cd9fa79e307f7608f48d225b"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><b>operator&lt;</b> (const <a class="el" href="classrapidjson_1_1_generic_member_iterator.html">GenericMemberIterator</a>&lt; Const_, <a class="el" href="classrapidjson_1_1_encoding.html">Encoding</a>, <a class="el" href="classrapidjson_1_1_allocator.html">Allocator</a> &gt; &amp;that) const</td></tr>
<tr class="separator:a8a83ec49cd9fa79e307f7608f48d225b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af3ab30ddef2c96ae84395a91fdb92c3e"><td class="memTemplParams" colspan="2"><a id="af3ab30ddef2c96ae84395a91fdb92c3e"></a>
template&lt;bool Const_&gt; </td></tr>
<tr class="memitem:af3ab30ddef2c96ae84395a91fdb92c3e"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><b>operator&gt;</b> (const <a class="el" href="classrapidjson_1_1_generic_member_iterator.html">GenericMemberIterator</a>&lt; Const_, <a class="el" href="classrapidjson_1_1_encoding.html">Encoding</a>, <a class="el" href="classrapidjson_1_1_allocator.html">Allocator</a> &gt; &amp;that) const</td></tr>
<tr class="separator:af3ab30ddef2c96ae84395a91fdb92c3e"><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:a82bdd5798f1a5ac0e3e7ba4bd6938cfc"><td class="memItemLeft" align="right" valign="top"><a id="a82bdd5798f1a5ac0e3e7ba4bd6938cfc"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>GenericValue&lt; Encoding, Allocator &gt;</b></td></tr>
<tr class="separator:a82bdd5798f1a5ac0e3e7ba4bd6938cfc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa375aeb1ffac85cddc3a72a6c24ec6e1"><td class="memTemplParams" colspan="2"><a id="aa375aeb1ffac85cddc3a72a6c24ec6e1"></a>
template&lt;bool , typename , typename &gt; </td></tr>
<tr class="memitem:aa375aeb1ffac85cddc3a72a6c24ec6e1"><td class="memTemplItemLeft" align="right" valign="top">class&#160;</td><td class="memTemplItemRight" valign="bottom"><b>GenericMemberIterator</b></td></tr>
<tr class="separator:aa375aeb1ffac85cddc3a72a6c24ec6e1"><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>
std::iterator_traits support</h2></td></tr>
<tr class="memitem:afc86203583390c3b719a2c9298866a7e"><td class="memItemLeft" align="right" valign="top"><a id="afc86203583390c3b719a2c9298866a7e"></a>
typedef ValueType&#160;</td><td class="memItemRight" valign="bottom"><b>value_type</b></td></tr>
<tr class="separator:afc86203583390c3b719a2c9298866a7e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72c5c50dc9df5622b0be822dad59e372"><td class="memItemLeft" align="right" valign="top"><a id="a72c5c50dc9df5622b0be822dad59e372"></a>
typedef ValueType *&#160;</td><td class="memItemRight" valign="bottom"><b>pointer</b></td></tr>
<tr class="separator:a72c5c50dc9df5622b0be822dad59e372"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7d2d79f74f084b9b5abd42ef891536d"><td class="memItemLeft" align="right" valign="top"><a id="ab7d2d79f74f084b9b5abd42ef891536d"></a>
typedef ValueType &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>reference</b></td></tr>
<tr class="separator:ab7d2d79f74f084b9b5abd42ef891536d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a981caecbc8b48968bccd6c3fa7513d"><td class="memItemLeft" align="right" valign="top"><a id="a2a981caecbc8b48968bccd6c3fa7513d"></a>
typedef std::ptrdiff_t&#160;</td><td class="memItemRight" valign="bottom"><b>difference_type</b></td></tr>
<tr class="separator:a2a981caecbc8b48968bccd6c3fa7513d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38b75fd16d115b5230b373207ac05b27"><td class="memItemLeft" align="right" valign="top"><a id="a38b75fd16d115b5230b373207ac05b27"></a>
typedef std::random_access_iterator_tag&#160;</td><td class="memItemRight" valign="bottom"><b>iterator_category</b></td></tr>
<tr class="separator:a38b75fd16d115b5230b373207ac05b27"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9d53504374c7c6bdf46775482c5b107"><td class="memItemLeft" align="right" valign="top"><a id="aa9d53504374c7c6bdf46775482c5b107"></a>
typedef pointer&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrapidjson_1_1_generic_member_iterator.html#aa9d53504374c7c6bdf46775482c5b107">Pointer</a></td></tr>
<tr class="memdesc:aa9d53504374c7c6bdf46775482c5b107"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pointer to (const) <a class="el" href="classrapidjson_1_1_generic_member.html" title="Name-value pair in a JSON object value.">GenericMember</a>. <br /></td></tr>
<tr class="separator:aa9d53504374c7c6bdf46775482c5b107"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe27838f8dc71fdb38028ef27ae0b4f2"><td class="memItemLeft" align="right" valign="top"><a id="abe27838f8dc71fdb38028ef27ae0b4f2"></a>
typedef reference&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrapidjson_1_1_generic_member_iterator.html#abe27838f8dc71fdb38028ef27ae0b4f2">Reference</a></td></tr>
<tr class="memdesc:abe27838f8dc71fdb38028ef27ae0b4f2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reference to (const) <a class="el" href="classrapidjson_1_1_generic_member.html" title="Name-value pair in a JSON object value.">GenericMember</a>. <br /></td></tr>
<tr class="separator:abe27838f8dc71fdb38028ef27ae0b4f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff2739a9265639a7a4be8c3e6216b31a"><td class="memItemLeft" align="right" valign="top"><a id="aff2739a9265639a7a4be8c3e6216b31a"></a>
typedef difference_type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrapidjson_1_1_generic_member_iterator.html#aff2739a9265639a7a4be8c3e6216b31a">DifferenceType</a></td></tr>
<tr class="memdesc:aff2739a9265639a7a4be8c3e6216b31a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Signed integer type (e.g. <code>ptrdiff_t</code>) <br /></td></tr>
<tr class="separator:aff2739a9265639a7a4be8c3e6216b31a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac920af483c9e31a6746c22acf0dffc50"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrapidjson_1_1_generic_member_iterator.html#ac920af483c9e31a6746c22acf0dffc50">GenericMemberIterator</a> ()</td></tr>
<tr class="memdesc:ac920af483c9e31a6746c22acf0dffc50"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor (singular value) <a href="classrapidjson_1_1_generic_member_iterator.html#ac920af483c9e31a6746c22acf0dffc50">More...</a><br /></td></tr>
<tr class="separator:ac920af483c9e31a6746c22acf0dffc50"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa30ffef74b3f4978b403024d81b484e4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrapidjson_1_1_generic_member_iterator.html#aa30ffef74b3f4978b403024d81b484e4">GenericMemberIterator</a> (const <a class="el" href="classrapidjson_1_1_generic_member_iterator.html#a1a91868fa388664bb301061e3e24badb">NonConstIterator</a> &amp;it)</td></tr>
<tr class="memdesc:aa30ffef74b3f4978b403024d81b484e4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Iterator conversions to more const. <a href="classrapidjson_1_1_generic_member_iterator.html#aa30ffef74b3f4978b403024d81b484e4">More...</a><br /></td></tr>
<tr class="separator:aa30ffef74b3f4978b403024d81b484e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a192f924969f2b9d99ed1ec4ec2552884"><td class="memItemLeft" align="right" valign="top"><a id="a192f924969f2b9d99ed1ec4ec2552884"></a>
<a class="el" href="classrapidjson_1_1_generic_member_iterator.html#a37091c3dd8470486ef5188f3c1108653">Iterator</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classrapidjson_1_1_generic_member_iterator.html#a1a91868fa388664bb301061e3e24badb">NonConstIterator</a> &amp;it)</td></tr>
<tr class="separator:a192f924969f2b9d99ed1ec4ec2552884"><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>
dereference</h2></td></tr>
<tr class="memitem:a21d762a5d9641cde856336ac439a20e1"><td class="memItemLeft" align="right" valign="top"><a id="a21d762a5d9641cde856336ac439a20e1"></a>
<a class="el" href="classrapidjson_1_1_generic_member_iterator.html#abe27838f8dc71fdb38028ef27ae0b4f2">Reference</a>&#160;</td><td class="memItemRight" valign="bottom"><b>operator*</b> () const</td></tr>
<tr class="separator:a21d762a5d9641cde856336ac439a20e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e6cf49338db1c15b9e2bb93005b7597"><td class="memItemLeft" align="right" valign="top"><a id="a0e6cf49338db1c15b9e2bb93005b7597"></a>
<a class="el" href="classrapidjson_1_1_generic_member_iterator.html#aa9d53504374c7c6bdf46775482c5b107">Pointer</a>&#160;</td><td class="memItemRight" valign="bottom"><b>operator-&gt;</b> () const</td></tr>
<tr class="separator:a0e6cf49338db1c15b9e2bb93005b7597"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76a73a0206437a1318bb93af83f0b7ec"><td class="memItemLeft" align="right" valign="top"><a id="a76a73a0206437a1318bb93af83f0b7ec"></a>
<a class="el" href="classrapidjson_1_1_generic_member_iterator.html#abe27838f8dc71fdb38028ef27ae0b4f2">Reference</a>&#160;</td><td class="memItemRight" valign="bottom"><b>operator[]</b> (<a class="el" href="classrapidjson_1_1_generic_member_iterator.html#aff2739a9265639a7a4be8c3e6216b31a">DifferenceType</a> n) const</td></tr>
<tr class="separator:a76a73a0206437a1318bb93af83f0b7ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abfad2c34a97f82178cbf9464e958e2c2"><td class="memItemLeft" align="right" valign="top"><a id="abfad2c34a97f82178cbf9464e958e2c2"></a>
<a class="el" href="classrapidjson_1_1_generic_member_iterator.html#aff2739a9265639a7a4be8c3e6216b31a">DifferenceType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrapidjson_1_1_generic_member_iterator.html#abfad2c34a97f82178cbf9464e958e2c2">operator-</a> (<a class="el" href="classrapidjson_1_1_generic_member_iterator.html#a61b9a9ba8a5917d90406532f104605cc">ConstIterator</a> that) const</td></tr>
<tr class="memdesc:abfad2c34a97f82178cbf9464e958e2c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Distance. <br /></td></tr>
<tr class="separator:abfad2c34a97f82178cbf9464e958e2c2"><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 Encoding, typename Allocator&gt;<br />
class rapidjson::GenericMemberIterator&lt; Const, Encoding, Allocator &gt;</h3>
<p>(Constant) member iterator for a JSON object value </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">Const</td><td>Is this a constant iterator? </td></tr>
<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>
<p>This class implements a Random Access Iterator for <a class="el" href="classrapidjson_1_1_generic_member.html" title="Name-value pair in a JSON object value.">GenericMember</a> elements of a <a class="el" href="classrapidjson_1_1_generic_value.html" title="Represents a JSON value. Use Value for UTF8 encoding and default allocator.">GenericValue</a>, see ISO/IEC 14882:2003(E) C++ standard, 24.1 [lib.iterator.requirements].</p>
<dl class="section note"><dt>Note</dt><dd>This iterator implementation is mainly intended to avoid implicit conversions from iterator values to <code>NULL</code>, e.g. from GenericValue::FindMember.</dd>
<dd>
Define <code>RAPIDJSON_NOMEMBERITERATORCLASS</code> to fall back to a pointer-based implementation, if your platform doesn't provide the C++ &lt;iterator&gt; header.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classrapidjson_1_1_generic_member.html" title="Name-value pair in a JSON object value.">GenericMember</a>, <a class="el" href="classrapidjson_1_1_generic_value.html#aca5596987335016c1a7c2a9467baf80b" title="Member iterator for iterating in object.">GenericValue::MemberIterator</a>, <a class="el" href="classrapidjson_1_1_generic_value.html#a6cd2b09795c48d2892bebc0ae350d51f" title="Constant member iterator for iterating in object.">GenericValue::ConstMemberIterator</a> </dd></dl>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ac920af483c9e31a6746c22acf0dffc50"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac920af483c9e31a6746c22acf0dffc50">&#9670;&nbsp;</a></span>GenericMemberIterator() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;bool Const, typename Encoding, typename 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_member_iterator.html">rapidjson::GenericMemberIterator</a>&lt; Const, <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_member_iterator.html">GenericMemberIterator</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>Default constructor (singular value) </p>
<p>Creates an iterator pointing to no element. </p><dl class="section note"><dt>Note</dt><dd>All operations, except for comparisons, are undefined on such values. </dd></dl>
</div>
</div>
<a id="aa30ffef74b3f4978b403024d81b484e4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa30ffef74b3f4978b403024d81b484e4">&#9670;&nbsp;</a></span>GenericMemberIterator() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;bool Const, typename Encoding, typename 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_member_iterator.html">rapidjson::GenericMemberIterator</a>&lt; Const, <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_member_iterator.html">GenericMemberIterator</a> </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classrapidjson_1_1_generic_member_iterator.html#a1a91868fa388664bb301061e3e24badb">NonConstIterator</a> &amp;&#160;</td>
<td class="paramname"><em>it</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>Iterator conversions to more const. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">it</td><td>(Non-const) iterator to copy from</td></tr>
</table>
</dd>
</dl>
<p>Allows the creation of an iterator from another <a class="el" href="classrapidjson_1_1_generic_member_iterator.html" title="(Constant) member iterator for a JSON object value">GenericMemberIterator</a> that is "less const". Especially, creating a non-constant iterator from a constant iterator are disabled: </p><ul>
<li>const -&gt; non-const (not ok) </li>
<li>const -&gt; const (ok) </li>
<li>non-const -&gt; const (ok) </li>
<li>non-const -&gt; non-const (ok)</li>
</ul>
<dl class="section note"><dt>Note</dt><dd>If the <code>Const</code> template parameter is already <code>false</code>, this constructor effectively defines a regular copy-constructor. Otherwise, the copy constructor is implicitly defined. </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_member_iterator.html">GenericMemberIterator</a></li>
</ul>
</div>
</body>
</html>