Files
rippled/classripple_1_1InnerObjectFormats.html
2022-05-11 23:57:28 +00:00

552 lines
31 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>rippled: ripple::InnerObjectFormats Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">rippled
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespaceripple.html">ripple</a></li><li class="navelem"><a class="el" href="classripple_1_1InnerObjectFormats.html">InnerObjectFormats</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classripple_1_1InnerObjectFormats-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">ripple::InnerObjectFormats Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Manages the list of known inner object formats.
<a href="classripple_1_1InnerObjectFormats.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for ripple::InnerObjectFormats:</div>
<div class="dyncontent">
<div class="center"><img src="classripple_1_1InnerObjectFormats__inherit__graph.png" border="0" usemap="#ripple_1_1InnerObjectFormats_inherit__map" alt="Inheritance graph"/></div>
<map name="ripple_1_1InnerObjectFormats_inherit__map" id="ripple_1_1InnerObjectFormats_inherit__map">
<area shape="rect" title="Manages the list of known inner object formats." alt="" coords="11,95,205,121"/>
<area shape="rect" href="classripple_1_1KnownFormats.html" title=" " alt="" coords="5,5,211,47"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for ripple::InnerObjectFormats:</div>
<div class="dyncontent">
<div class="center"><img src="classripple_1_1InnerObjectFormats__coll__graph.png" border="0" usemap="#ripple_1_1InnerObjectFormats_coll__map" alt="Collaboration graph"/></div>
<map name="ripple_1_1InnerObjectFormats_coll__map" id="ripple_1_1InnerObjectFormats_coll__map">
<area shape="rect" title="Manages the list of known inner object formats." alt="" coords="11,705,205,732"/>
<area shape="rect" href="classripple_1_1KnownFormats.html" title=" " alt="" coords="5,615,211,656"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/string/basic_string.html" title="STL class." alt="" coords="43,303,130,329"/>
<area shape="rect" href="classripple_1_1KnownFormats_1_1Item.html" title="A known format." alt="" coords="124,392,327,433"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/forward_list.html" title=" " alt="" coords="132,496,300,552"/>
<area shape="rect" href="classripple_1_1SOTemplate.html" title="Defines the fields and their attributes within a STObject." alt="" coords="154,303,299,329"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/vector.html" title=" " alt="" coords="95,206,233,233"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/vector.html" title=" " alt="" coords="258,199,401,240"/>
<area shape="rect" href="classripple_1_1SOElement.html" title="An element in a SOTemplate." alt="" coords="260,109,399,136"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/utility/functional/reference_wrapper.html" title=" " alt="" coords="242,5,417,47"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a5d946acc2637ba9031007888980c3764"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1SOTemplate.html">SOTemplate</a> const *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1InnerObjectFormats.html#a5d946acc2637ba9031007888980c3764">findSOTemplateBySField</a> (<a class="el" href="classripple_1_1SField.html">SField</a> const &amp;sField) const</td></tr>
<tr class="separator:a5d946acc2637ba9031007888980c3764"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada9068218e1faea42c017e3e405243bf"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1KnownFormats.html#ada9068218e1faea42c017e3e405243bf">findTypeByName</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &amp;name) const</td></tr>
<tr class="memdesc:ada9068218e1faea42c017e3e405243bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve the type for a format specified by name. <a href="classripple_1_1KnownFormats.html#ada9068218e1faea42c017e3e405243bf">More...</a><br /></td></tr>
<tr class="separator:ada9068218e1faea42c017e3e405243bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade6a26cf3ce1aaecbbbb575552dffd2d"><td class="memItemLeft" align="right" valign="top">Item const *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1KnownFormats.html#ade6a26cf3ce1aaecbbbb575552dffd2d">findByType</a> (int type) const</td></tr>
<tr class="memdesc:ade6a26cf3ce1aaecbbbb575552dffd2d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve a format based on its type. <a href="classripple_1_1KnownFormats.html#ade6a26cf3ce1aaecbbbb575552dffd2d">More...</a><br /></td></tr>
<tr class="separator:ade6a26cf3ce1aaecbbbb575552dffd2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f2f67b1766fd70e42ce0f2f2a33cf87"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/forward_list.html">std::forward_list</a>&lt; Item &gt;::<a class="el" href="namespaceripple.html#aa2ccf44248af5be8a81db7091ad4d019">const_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1KnownFormats.html#a0f2f67b1766fd70e42ce0f2f2a33cf87">begin</a> () const</td></tr>
<tr class="separator:a0f2f67b1766fd70e42ce0f2f2a33cf87"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa0e781ea6b2d6d26df1e2191ae70b1f"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/forward_list.html">std::forward_list</a>&lt; Item &gt;::<a class="el" href="namespaceripple.html#aa2ccf44248af5be8a81db7091ad4d019">const_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1KnownFormats.html#aaa0e781ea6b2d6d26df1e2191ae70b1f">end</a> () const</td></tr>
<tr class="separator:aaa0e781ea6b2d6d26df1e2191ae70b1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:ac8a2a46e333d5db2ecaff032e3eacc2f"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classripple_1_1InnerObjectFormats.html">InnerObjectFormats</a> const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1InnerObjectFormats.html#ac8a2a46e333d5db2ecaff032e3eacc2f">getInstance</a> ()</td></tr>
<tr class="separator:ac8a2a46e333d5db2ecaff032e3eacc2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:af28b1372f603e684787adf1b3ccf288a"><td class="memItemLeft" align="right" valign="top">Item const *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1KnownFormats.html#af28b1372f603e684787adf1b3ccf288a">findByName</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &amp;name) const</td></tr>
<tr class="memdesc:af28b1372f603e684787adf1b3ccf288a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve a format based on its name. <a href="classripple_1_1KnownFormats.html#af28b1372f603e684787adf1b3ccf288a">More...</a><br /></td></tr>
<tr class="separator:af28b1372f603e684787adf1b3ccf288a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae6c413b859a4a9b5f6400be65b8715b3"><td class="memItemLeft" align="right" valign="top">Item const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1KnownFormats.html#ae6c413b859a4a9b5f6400be65b8715b3">add</a> (char const *name, int type, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/initializer_list.html">std::initializer_list</a>&lt; <a class="el" href="classripple_1_1SOElement.html">SOElement</a> &gt; uniqueFields, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/initializer_list.html">std::initializer_list</a>&lt; <a class="el" href="classripple_1_1SOElement.html">SOElement</a> &gt; commonFields={})</td></tr>
<tr class="memdesc:ae6c413b859a4a9b5f6400be65b8715b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add a new format. <a href="classripple_1_1KnownFormats.html#ae6c413b859a4a9b5f6400be65b8715b3">More...</a><br /></td></tr>
<tr class="separator:ae6c413b859a4a9b5f6400be65b8715b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:a266521cb88032dda52a171334123a7b1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1InnerObjectFormats.html#a266521cb88032dda52a171334123a7b1">InnerObjectFormats</a> ()</td></tr>
<tr class="memdesc:a266521cb88032dda52a171334123a7b1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create the object. <a href="classripple_1_1InnerObjectFormats.html#a266521cb88032dda52a171334123a7b1">More...</a><br /></td></tr>
<tr class="separator:a266521cb88032dda52a171334123a7b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a14d410347c0fb394583c85623b9e4db6"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1KnownFormats.html#a14d410347c0fb394583c85623b9e4db6">name_</a></td></tr>
<tr class="separator:a14d410347c0fb394583c85623b9e4db6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa4cce4b8fc4934a93a6482621885232"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/forward_list.html">std::forward_list</a>&lt; Item &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1KnownFormats.html#aaa4cce4b8fc4934a93a6482621885232">formats_</a></td></tr>
<tr class="separator:aaa4cce4b8fc4934a93a6482621885232"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab9e4bba4155bc0404a583b9a04b4193b"><td class="memItemLeft" align="right" valign="top">boost::container::flat_map&lt; <a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>, Item const * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1KnownFormats.html#ab9e4bba4155bc0404a583b9a04b4193b">names_</a></td></tr>
<tr class="separator:ab9e4bba4155bc0404a583b9a04b4193b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8af5a92ed877ac672e2c4cff1949141"><td class="memItemLeft" align="right" valign="top">boost::container::flat_map&lt; int, Item const * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1KnownFormats.html#ad8af5a92ed877ac672e2c4cff1949141">types_</a></td></tr>
<tr class="separator:ad8af5a92ed877ac672e2c4cff1949141"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Manages the list of known inner object formats. </p>
<p class="definition">Definition at line <a class="el" href="InnerObjectFormats_8h_source.html#l00029">29</a> of file <a class="el" href="InnerObjectFormats_8h_source.html">InnerObjectFormats.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a266521cb88032dda52a171334123a7b1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a266521cb88032dda52a171334123a7b1">&#9670;&nbsp;</a></span>InnerObjectFormats()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">ripple::InnerObjectFormats::InnerObjectFormats </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Create the object. </p>
<p>This will load the object with all the known inner object formats. </p>
<p class="definition">Definition at line <a class="el" href="InnerObjectFormats_8cpp_source.html#l00024">24</a> of file <a class="el" href="InnerObjectFormats_8cpp_source.html">InnerObjectFormats.cpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ac8a2a46e333d5db2ecaff032e3eacc2f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac8a2a46e333d5db2ecaff032e3eacc2f">&#9670;&nbsp;</a></span>getInstance()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classripple_1_1InnerObjectFormats.html">InnerObjectFormats</a> const &amp; ripple::InnerObjectFormats::getInstance </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="InnerObjectFormats_8cpp_source.html#l00065">65</a> of file <a class="el" href="InnerObjectFormats_8cpp_source.html">InnerObjectFormats.cpp</a>.</p>
</div>
</div>
<a id="a5d946acc2637ba9031007888980c3764"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5d946acc2637ba9031007888980c3764">&#9670;&nbsp;</a></span>findSOTemplateBySField()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classripple_1_1SOTemplate.html">SOTemplate</a> const * ripple::InnerObjectFormats::findSOTemplateBySField </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1SField.html">SField</a> const &amp;&#160;</td>
<td class="paramname"><em>sField</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="InnerObjectFormats_8cpp_source.html#l00072">72</a> of file <a class="el" href="InnerObjectFormats_8cpp_source.html">InnerObjectFormats.cpp</a>.</p>
</div>
</div>
<a id="ada9068218e1faea42c017e3e405243bf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ada9068218e1faea42c017e3e405243bf">&#9670;&nbsp;</a></span>findTypeByName()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="classripple_1_1KnownFormats.html">ripple::KnownFormats</a>&lt; int , <a class="el" href="classripple_1_1InnerObjectFormats.html">InnerObjectFormats</a> &gt;::findTypeByName </td>
<td>(</td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &amp;&#160;</td>
<td class="paramname"><em>name</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Retrieve the type for a format specified by name. </p>
<p>If the format name is unknown, an exception is thrown.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">name</td><td>The name of the type. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The type. </dd></dl>
<p class="definition">Definition at line <a class="el" href="KnownFormats_8h_source.html#l00115">115</a> of file <a class="el" href="KnownFormats_8h_source.html">KnownFormats.h</a>.</p>
</div>
</div>
<a id="ade6a26cf3ce1aaecbbbb575552dffd2d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ade6a26cf3ce1aaecbbbb575552dffd2d">&#9670;&nbsp;</a></span>findByType()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">Item const* <a class="el" href="classripple_1_1KnownFormats.html">ripple::KnownFormats</a>&lt; int , <a class="el" href="classripple_1_1InnerObjectFormats.html">InnerObjectFormats</a> &gt;::findByType </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>type</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Retrieve a format based on its type. </p>
<p class="definition">Definition at line <a class="el" href="KnownFormats_8h_source.html#l00127">127</a> of file <a class="el" href="KnownFormats_8h_source.html">KnownFormats.h</a>.</p>
</div>
</div>
<a id="a0f2f67b1766fd70e42ce0f2f2a33cf87"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0f2f67b1766fd70e42ce0f2f2a33cf87">&#9670;&nbsp;</a></span>begin()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/forward_list.html">std::forward_list</a>&lt;Item&gt;::<a class="el" href="namespaceripple.html#aa2ccf44248af5be8a81db7091ad4d019">const_iterator</a> <a class="el" href="classripple_1_1KnownFormats.html">ripple::KnownFormats</a>&lt; int , <a class="el" href="classripple_1_1InnerObjectFormats.html">InnerObjectFormats</a> &gt;::begin</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="KnownFormats_8h_source.html#l00137">137</a> of file <a class="el" href="KnownFormats_8h_source.html">KnownFormats.h</a>.</p>
</div>
</div>
<a id="aaa0e781ea6b2d6d26df1e2191ae70b1f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaa0e781ea6b2d6d26df1e2191ae70b1f">&#9670;&nbsp;</a></span>end()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/forward_list.html">std::forward_list</a>&lt;Item&gt;::<a class="el" href="namespaceripple.html#aa2ccf44248af5be8a81db7091ad4d019">const_iterator</a> <a class="el" href="classripple_1_1KnownFormats.html">ripple::KnownFormats</a>&lt; int , <a class="el" href="classripple_1_1InnerObjectFormats.html">InnerObjectFormats</a> &gt;::end</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="KnownFormats_8h_source.html#l00143">143</a> of file <a class="el" href="KnownFormats_8h_source.html">KnownFormats.h</a>.</p>
</div>
</div>
<a id="af28b1372f603e684787adf1b3ccf288a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af28b1372f603e684787adf1b3ccf288a">&#9670;&nbsp;</a></span>findByName()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">Item const* <a class="el" href="classripple_1_1KnownFormats.html">ripple::KnownFormats</a>&lt; int , <a class="el" href="classripple_1_1InnerObjectFormats.html">InnerObjectFormats</a> &gt;::findByName </td>
<td>(</td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &amp;&#160;</td>
<td class="paramname"><em>name</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Retrieve a format based on its name. </p>
<p class="definition">Definition at line <a class="el" href="KnownFormats_8h_source.html#l00152">152</a> of file <a class="el" href="KnownFormats_8h_source.html">KnownFormats.h</a>.</p>
</div>
</div>
<a id="ae6c413b859a4a9b5f6400be65b8715b3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae6c413b859a4a9b5f6400be65b8715b3">&#9670;&nbsp;</a></span>add()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">Item const&amp; <a class="el" href="classripple_1_1KnownFormats.html">ripple::KnownFormats</a>&lt; int , <a class="el" href="classripple_1_1InnerObjectFormats.html">InnerObjectFormats</a> &gt;::add </td>
<td>(</td>
<td class="paramtype">char const *&#160;</td>
<td class="paramname"><em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/initializer_list.html">std::initializer_list</a>&lt; <a class="el" href="classripple_1_1SOElement.html">SOElement</a> &gt;&#160;</td>
<td class="paramname"><em>uniqueFields</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/initializer_list.html">std::initializer_list</a>&lt; <a class="el" href="classripple_1_1SOElement.html">SOElement</a> &gt;&#160;</td>
<td class="paramname"><em>commonFields</em> = <code>{}</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">protected</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Add a new format. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">name</td><td>The name of this format. </td></tr>
<tr><td class="paramname">type</td><td>The type of this format. </td></tr>
<tr><td class="paramname">uniqueFields</td><td>An <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/initializer_list.html">std::initializer_list</a> of unique fields </td></tr>
<tr><td class="paramname">commonFields</td><td>An <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/initializer_list.html">std::initializer_list</a> of common fields</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The created format. </dd></dl>
<p class="definition">Definition at line <a class="el" href="KnownFormats_8h_source.html#l00170">170</a> of file <a class="el" href="KnownFormats_8h_source.html">KnownFormats.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a14d410347c0fb394583c85623b9e4db6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a14d410347c0fb394583c85623b9e4db6">&#9670;&nbsp;</a></span>name_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <a class="el" href="classripple_1_1KnownFormats.html">ripple::KnownFormats</a>&lt; int , <a class="el" href="classripple_1_1InnerObjectFormats.html">InnerObjectFormats</a> &gt;::name_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="KnownFormats_8h_source.html#l00192">192</a> of file <a class="el" href="KnownFormats_8h_source.html">KnownFormats.h</a>.</p>
</div>
</div>
<a id="aaa4cce4b8fc4934a93a6482621885232"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaa4cce4b8fc4934a93a6482621885232">&#9670;&nbsp;</a></span>formats_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/forward_list.html">std::forward_list</a>&lt;Item&gt; <a class="el" href="classripple_1_1KnownFormats.html">ripple::KnownFormats</a>&lt; int , <a class="el" href="classripple_1_1InnerObjectFormats.html">InnerObjectFormats</a> &gt;::formats_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="KnownFormats_8h_source.html#l00197">197</a> of file <a class="el" href="KnownFormats_8h_source.html">KnownFormats.h</a>.</p>
</div>
</div>
<a id="ab9e4bba4155bc0404a583b9a04b4193b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab9e4bba4155bc0404a583b9a04b4193b">&#9670;&nbsp;</a></span>names_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">boost::container::flat_map&lt;<a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>, Item const*&gt; <a class="el" href="classripple_1_1KnownFormats.html">ripple::KnownFormats</a>&lt; int , <a class="el" href="classripple_1_1InnerObjectFormats.html">InnerObjectFormats</a> &gt;::names_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="KnownFormats_8h_source.html#l00199">199</a> of file <a class="el" href="KnownFormats_8h_source.html">KnownFormats.h</a>.</p>
</div>
</div>
<a id="ad8af5a92ed877ac672e2c4cff1949141"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad8af5a92ed877ac672e2c4cff1949141">&#9670;&nbsp;</a></span>types_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">boost::container::flat_map&lt;int , Item const*&gt; <a class="el" href="classripple_1_1KnownFormats.html">ripple::KnownFormats</a>&lt; int , <a class="el" href="classripple_1_1InnerObjectFormats.html">InnerObjectFormats</a> &gt;::types_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="KnownFormats_8h_source.html#l00200">200</a> of file <a class="el" href="KnownFormats_8h_source.html">KnownFormats.h</a>.</p>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>