Files
rippled/classbeast_1_1field__t.html
2025-01-21 19:58:08 +00:00

319 lines
17 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" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>rippled: beast::field_t&lt; CharT, Traits, 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="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 id="projectrow">
<td id="projectalign">
<div id="projectname">rippled
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.5 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @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:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(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">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespacebeast.html">beast</a></li><li class="navelem"><a class="el" href="classbeast_1_1field__t.html">field_t</a></li> </ul>
</div>
</div><!-- top -->
<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="classbeast_1_1field__t-members.html">List of all members</a> </div>
<div class="headertitle"><div class="title">beast::field_t&lt; CharT, Traits, Allocator &gt; Class Template Reference</div></div>
</div><!--header-->
<div class="contents">
<p>Justifies a field at the specified width.
<a href="classbeast_1_1field__t.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="iosformat_8h_source.html">iosformat.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for beast::field_t&lt; CharT, Traits, Allocator &gt;:</div>
<div class="dyncontent">
<div class="center"><img src="classbeast_1_1field__t__coll__graph.png" border="0" usemap="#abeast_1_1field__t_3_01CharT_00_01Traits_00_01Allocator_01_4_coll__map" alt="Collaboration graph"/></div>
<map name="abeast_1_1field__t_3_01CharT_00_01Traits_00_01Allocator_01_4_coll__map" id="abeast_1_1field__t_3_01CharT_00_01Traits_00_01Allocator_01_4_coll__map">
<area shape="rect" title="Justifies a field at the specified width." alt="" coords="5,108,168,148"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/string/basic_string.html" title=" " alt="" coords="17,5,156,45"/>
</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 id="pub-types" name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:afca7c68bec764570a3d221d06c574811"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1field__t.html#afca7c68bec764570a3d221d06c574811">string_t</a> = <a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::basic_string</a>&lt; CharT, Traits, Allocator &gt;</td></tr>
<tr class="separator:afca7c68bec764570a3d221d06c574811"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a2978387afe0fbd26792fe6f515c117e4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1field__t.html#a2978387afe0fbd26792fe6f515c117e4">field_t</a> (<a class="el" href="classbeast_1_1field__t.html#afca7c68bec764570a3d221d06c574811">string_t</a> const &amp;text_, int width_, int pad_, bool right_)</td></tr>
<tr class="separator:a2978387afe0fbd26792fe6f515c117e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:aff1eb47686d0d237a0b4877456dd00e0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classbeast_1_1field__t.html#afca7c68bec764570a3d221d06c574811">string_t</a> const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1field__t.html#aff1eb47686d0d237a0b4877456dd00e0">text</a></td></tr>
<tr class="separator:aff1eb47686d0d237a0b4877456dd00e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0192692b95dc30e1511205450e23d02f"><td class="memItemLeft" align="right" valign="top">int const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1field__t.html#a0192692b95dc30e1511205450e23d02f">width</a></td></tr>
<tr class="separator:a0192692b95dc30e1511205450e23d02f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7239dd1688fbada2f797693337a1115d"><td class="memItemLeft" align="right" valign="top">int const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1field__t.html#a7239dd1688fbada2f797693337a1115d">pad</a></td></tr>
<tr class="separator:a7239dd1688fbada2f797693337a1115d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a492409566c57e088b0e5c8dec09e87d6"><td class="memItemLeft" align="right" valign="top">bool const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1field__t.html#a492409566c57e088b0e5c8dec09e87d6">right</a></td></tr>
<tr class="separator:a492409566c57e088b0e5c8dec09e87d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="friends" name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:ada07160a499dae3b9a2ed53557ccb5ac"><td class="memTemplParams" colspan="2">template&lt;class CharT2 , class Traits2 &gt; </td></tr>
<tr class="memitem:ada07160a499dae3b9a2ed53557ccb5ac"><td class="memTemplItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::basic_ostream</a>&lt; CharT2, Traits2 &gt; &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classbeast_1_1field__t.html#ada07160a499dae3b9a2ed53557ccb5ac">operator&lt;&lt;</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::basic_ostream</a>&lt; CharT2, Traits2 &gt; &amp;os, <a class="el" href="classbeast_1_1field__t.html">field_t</a>&lt; CharT, Traits, Allocator &gt; const &amp;f)</td></tr>
<tr class="separator:ada07160a499dae3b9a2ed53557ccb5ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;class CharT, class Traits = std::char_traits&lt;CharT&gt;, class Allocator = std::allocator&lt;CharT&gt;&gt;<br />
class beast::field_t&lt; CharT, Traits, Allocator &gt;</div><p >Justifies a field at the specified width. </p>
<p class="definition">Definition at line <a class="el" href="iosformat_8h_source.html#l00121">121</a> of file <a class="el" href="iosformat_8h_source.html">iosformat.h</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="afca7c68bec764570a3d221d06c574811" name="afca7c68bec764570a3d221d06c574811"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afca7c68bec764570a3d221d06c574811">&#9670;&#160;</a></span>string_t</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class CharT , class Traits = std::char_traits&lt;CharT&gt;, class Allocator = std::allocator&lt;CharT&gt;&gt; </div>
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="classbeast_1_1field__t.html">beast::field_t</a>&lt; CharT, Traits, Allocator &gt;::string_t = <a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::basic_string</a>&lt;CharT, Traits, Allocator&gt;</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="iosformat_8h_source.html#l00124">124</a> of file <a class="el" href="iosformat_8h_source.html">iosformat.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a2978387afe0fbd26792fe6f515c117e4" name="a2978387afe0fbd26792fe6f515c117e4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2978387afe0fbd26792fe6f515c117e4">&#9670;&#160;</a></span>field_t()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class CharT , class Traits = std::char_traits&lt;CharT&gt;, class Allocator = std::allocator&lt;CharT&gt;&gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classbeast_1_1field__t.html">beast::field_t</a>&lt; CharT, Traits, Allocator &gt;::field_t </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classbeast_1_1field__t.html#afca7c68bec764570a3d221d06c574811">string_t</a> const &amp;&#160;</td>
<td class="paramname"><em>text_</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>width_</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>pad_</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>right_</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="iosformat_8h_source.html#l00125">125</a> of file <a class="el" href="iosformat_8h_source.html">iosformat.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a id="ada07160a499dae3b9a2ed53557ccb5ac" name="ada07160a499dae3b9a2ed53557ccb5ac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ada07160a499dae3b9a2ed53557ccb5ac">&#9670;&#160;</a></span>operator&lt;&lt;</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class CharT , class Traits = std::char_traits&lt;CharT&gt;, class Allocator = std::allocator&lt;CharT&gt;&gt; </div>
<div class="memtemplate">
template&lt;class CharT2 , class Traits2 &gt; </div>
<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/io/basic_ostream.html">std::basic_ostream</a>&lt; CharT2, Traits2 &gt; &amp; operator&lt;&lt; </td>
<td>(</td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::basic_ostream</a>&lt; CharT2, Traits2 &gt; &amp;&#160;</td>
<td class="paramname"><em>os</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classbeast_1_1field__t.html">field_t</a>&lt; CharT, Traits, Allocator &gt; const &amp;&#160;</td>
<td class="paramname"><em>f</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="iosformat_8h_source.html#l00134">134</a> of file <a class="el" href="iosformat_8h_source.html">iosformat.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="aff1eb47686d0d237a0b4877456dd00e0" name="aff1eb47686d0d237a0b4877456dd00e0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aff1eb47686d0d237a0b4877456dd00e0">&#9670;&#160;</a></span>text</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class CharT , class Traits = std::char_traits&lt;CharT&gt;, class Allocator = std::allocator&lt;CharT&gt;&gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classbeast_1_1field__t.html#afca7c68bec764570a3d221d06c574811">string_t</a> const <a class="el" href="classbeast_1_1field__t.html">beast::field_t</a>&lt; CharT, Traits, Allocator &gt;::text</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="iosformat_8h_source.html#l00129">129</a> of file <a class="el" href="iosformat_8h_source.html">iosformat.h</a>.</p>
</div>
</div>
<a id="a0192692b95dc30e1511205450e23d02f" name="a0192692b95dc30e1511205450e23d02f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0192692b95dc30e1511205450e23d02f">&#9670;&#160;</a></span>width</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class CharT , class Traits = std::char_traits&lt;CharT&gt;, class Allocator = std::allocator&lt;CharT&gt;&gt; </div>
<table class="memname">
<tr>
<td class="memname">int const <a class="el" href="classbeast_1_1field__t.html">beast::field_t</a>&lt; CharT, Traits, Allocator &gt;::width</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="iosformat_8h_source.html#l00130">130</a> of file <a class="el" href="iosformat_8h_source.html">iosformat.h</a>.</p>
</div>
</div>
<a id="a7239dd1688fbada2f797693337a1115d" name="a7239dd1688fbada2f797693337a1115d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7239dd1688fbada2f797693337a1115d">&#9670;&#160;</a></span>pad</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class CharT , class Traits = std::char_traits&lt;CharT&gt;, class Allocator = std::allocator&lt;CharT&gt;&gt; </div>
<table class="memname">
<tr>
<td class="memname">int const <a class="el" href="classbeast_1_1field__t.html">beast::field_t</a>&lt; CharT, Traits, Allocator &gt;::pad</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="iosformat_8h_source.html#l00131">131</a> of file <a class="el" href="iosformat_8h_source.html">iosformat.h</a>.</p>
</div>
</div>
<a id="a492409566c57e088b0e5c8dec09e87d6" name="a492409566c57e088b0e5c8dec09e87d6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a492409566c57e088b0e5c8dec09e87d6">&#9670;&#160;</a></span>right</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class CharT , class Traits = std::char_traits&lt;CharT&gt;, class Allocator = std::allocator&lt;CharT&gt;&gt; </div>
<table class="memname">
<tr>
<td class="memname">bool const <a class="el" href="classbeast_1_1field__t.html">beast::field_t</a>&lt; CharT, Traits, Allocator &gt;::right</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="iosformat_8h_source.html#l00132">132</a> of file <a class="el" href="iosformat_8h_source.html">iosformat.h</a>.</p>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
</small></address>
</body>
</html>