msgpack/cpp/v1_2pack_8hpp.html
2021-08-31 15:12:16 +09:00

201 lines
14 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.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MessagePack for C++: msgpack/v1/pack.hpp File 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">MessagePack for C++
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<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','.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: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="dir_34fe0060e19d01bea8daf072c0f69c00.html">msgpack</a></li><li class="navelem"><a class="el" href="dir_5aa584ddc247af2b72f60595c4897ede.html">v1</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#namespaces">Namespaces</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">pack.hpp File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="v1_2pack__decl_8hpp_source.html">msgpack/v1/pack_decl.hpp</a>&quot;</code><br />
<code>#include &lt;stdexcept&gt;</code><br />
<code>#include &lt;limits&gt;</code><br />
<code>#include &lt;cstring&gt;</code><br />
<code>#include &lt;climits&gt;</code><br />
<code>#include &lt;ostream&gt;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for pack.hpp:</div>
<div class="dyncontent">
<div class="center"><img src="v1_2pack_8hpp__incl.png" border="0" usemap="#amsgpack_2v1_2pack_8hpp" alt=""/></div>
<map name="amsgpack_2v1_2pack_8hpp" id="amsgpack_2v1_2pack_8hpp">
<area shape="rect" title=" " alt="" coords="479,5,633,32"/>
<area shape="rect" href="v1_2pack__decl_8hpp.html" title=" " alt="" coords="154,80,345,107"/>
<area shape="rect" title=" " alt="" coords="369,80,455,107"/>
<area shape="rect" title=" " alt="" coords="479,80,543,107"/>
<area shape="rect" title=" " alt="" coords="567,80,638,107"/>
<area shape="rect" title=" " alt="" coords="662,80,733,107"/>
<area shape="rect" title=" " alt="" coords="757,80,827,107"/>
<area shape="rect" href="versioning_8hpp.html" title=" " alt="" coords="93,676,269,703"/>
<area shape="rect" href="cpp__config_8hpp.html" title=" " alt="" coords="161,155,337,181"/>
<area shape="rect" href="sysdep_8hpp.html" title=" " alt="" coords="543,155,691,181"/>
<area shape="rect" href="cpp__version_8hpp.html" title=" " alt="" coords="386,751,569,777"/>
<area shape="rect" href="cpp__config__decl_8hpp.html" title=" " alt="" coords="247,319,395,360"/>
<area shape="rect" href="v1_2cpp__config_8hpp.html" title=" " alt="" coords="83,237,280,263"/>
<area shape="rect" href="v1_2cpp__config__decl_8hpp.html" title=" " alt="" coords="281,587,450,628"/>
<area shape="rect" href="v2_2cpp__config__decl_8hpp.html" title=" " alt="" coords="363,497,533,539"/>
<area shape="rect" href="v3_2cpp__config__decl_8hpp.html" title=" " alt="" coords="410,408,579,449"/>
<area shape="rect" title=" " alt="" coords="293,676,357,703"/>
<area shape="rect" title=" " alt="" coords="382,676,439,703"/>
<area shape="rect" title=" " alt="" coords="527,237,606,263"/>
<area shape="rect" title=" " alt="" coords="630,237,709,263"/>
<area shape="rect" title=" " alt="" coords="733,237,811,263"/>
<area shape="rect" title=" " alt="" coords="836,237,921,263"/>
<area shape="rect" title=" " alt="" coords="355,229,503,271"/>
</map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="v1_2pack_8hpp__dep__incl.png" border="0" usemap="#amsgpack_2v1_2pack_8hppdep" alt=""/></div>
<map name="amsgpack_2v1_2pack_8hppdep" id="amsgpack_2v1_2pack_8hppdep">
<area shape="rect" title=" " alt="" coords="5333,5,5487,32"/>
<area shape="rect" href="pack_8hpp.html" title=" " alt="" coords="5343,80,5477,107"/>
<area shape="rect" href="v1_2adaptor_2adaptor__base__decl_8hpp.html" title=" " alt="" coords="3013,155,3189,196"/>
<area shape="rect" href="cpp11__msgpack__tuple_8hpp.html" title=" " alt="" coords="5548,601,5717,657"/>
<area shape="rect" href="v1_2object__decl_8hpp.html" title=" " alt="" coords="5217,616,5421,643"/>
<area shape="rect" href="msgpack_8hpp.html" title=" " alt="" coords="4789,1152,4887,1179"/>
<area shape="rect" href="adaptor_2adaptor__base__decl_8hpp.html" title=" " alt="" coords="2800,423,2983,464"/>
<area shape="rect" href="v1_2adaptor_2adaptor__base_8hpp.html" title=" " alt="" coords="3100,423,3248,464"/>
<area shape="rect" href="v2_2adaptor_2adaptor__base__decl_8hpp.html" title=" " alt="" coords="2925,244,3101,285"/>
<area shape="rect" href="adaptor_2adaptor__base_8hpp.html" title=" " alt="" coords="2879,512,3061,553"/>
<area shape="rect" href="adaptor_2tr1_2unordered__map_8hpp.html" title=" " alt="" coords="2671,609,2826,650"/>
<area shape="rect" href="adaptor_2tr1_2unordered__set_8hpp.html" title=" " alt="" coords="3919,609,4074,650"/>
<area shape="rect" href="v1_2adaptor_2array__ref__decl_8hpp.html" title=" " alt="" coords="4149,609,4303,650"/>
<area shape="rect" href="v1_2adaptor_2bool_8hpp.html" title=" " alt="" coords="5,609,153,650"/>
<area shape="rect" href="v1_2adaptor_2boost_2fusion_8hpp.html" title=" " alt="" coords="177,609,325,650"/>
<area shape="rect" href="v1_2adaptor_2boost_2msgpack__variant__decl_8hpp.html" title=" " alt="" coords="350,601,526,657"/>
<area shape="rect" href="v1_2adaptor_2boost_2optional_8hpp.html" title=" " alt="" coords="550,609,705,650"/>
<area shape="rect" href="v1_2adaptor_2carray_8hpp.html" title=" " alt="" coords="729,609,877,650"/>
<area shape="rect" href="v1_2adaptor_2char__ptr_8hpp.html" title=" " alt="" coords="901,609,1049,650"/>
<area shape="rect" href="v1_2adaptor_2complex_8hpp.html" title=" " alt="" coords="1073,609,1221,650"/>
<area shape="rect" href="v1_2adaptor_2cpp11_2array_8hpp.html" title=" " alt="" coords="1245,609,1393,650"/>
<area shape="rect" href="v1_2adaptor_2cpp11_2array__char_8hpp.html" title=" " alt="" coords="1417,609,1587,650"/>
<area shape="rect" href="v1_2adaptor_2cpp11_2array__unsigned__char_8hpp.html" title=" " alt="" coords="1611,601,1780,657"/>
<area shape="rect" href="v1_2adaptor_2cpp11_2chrono_8hpp.html" title=" " alt="" coords="1804,609,1952,650"/>
<area shape="rect" href="v1_2adaptor_2cpp11_2forward__list_8hpp.html" title=" " alt="" coords="1976,609,2159,650"/>
<area shape="rect" href="v1_2adaptor_2cpp11_2reference__wrapper_8hpp.html" title=" " alt="" coords="2183,609,2402,650"/>
<area shape="rect" href="v1_2adaptor_2cpp11_2shared__ptr_8hpp.html" title=" " alt="" coords="2427,609,2596,650"/>
<area shape="rect" href="v1_2adaptor_2cpp11_2timespec_8hpp.html" title=" " alt="" coords="2842,1145,2997,1186"/>
<area shape="rect" href="v1_2adaptor_2cpp11_2tuple_8hpp.html" title=" " alt="" coords="2952,609,3100,650"/>
<area shape="rect" href="v1_2adaptor_2cpp11_2unique__ptr_8hpp.html" title=" " alt="" coords="3124,609,3293,650"/>
<area shape="rect" href="v1_2adaptor_2cpp11_2unordered__map_8hpp.html" title=" " alt="" coords="3317,609,3508,650"/>
<area shape="rect" href="v1_2adaptor_2cpp11_2unordered__set_8hpp.html" title=" " alt="" coords="3532,609,3723,650"/>
<area shape="rect" href="v1_2adaptor_2deque_8hpp.html" title=" " alt="" coords="3747,609,3895,650"/>
<area shape="rect" href="cpp03__define__array_8hpp.html" title=" " alt="" coords="5366,884,5529,940"/>
<area shape="rect" href="cpp03__define__map_8hpp.html" title=" " alt="" coords="5554,884,5717,940"/>
<area shape="rect" href="v1_2adaptor_2detail_2cpp03__msgpack__tuple__decl_8hpp.html" title=" " alt="" coords="3307,1137,3476,1193"/>
<area shape="rect" href="v1_2adaptor_2detail_2cpp11__define__array__decl_8hpp.html" title=" " alt="" coords="4327,601,4490,657"/>
<area shape="rect" href="v1_2adaptor_2detail_2cpp11__define__map__decl_8hpp.html" title=" " alt="" coords="4514,601,4677,657"/>
<area shape="rect" href="v1_2adaptor_2ext__decl_8hpp.html" title=" " alt="" coords="4701,609,4849,650"/>
<area shape="rect" href="v1_2adaptor_2fixint__decl_8hpp.html" title=" " alt="" coords="4873,609,5021,650"/>
<area shape="rect" href="v1_2adaptor_2int__decl_8hpp.html" title=" " alt="" coords="5045,609,5193,650"/>
<area shape="rect" href="v2_2object__decl_8hpp.html" title=" " alt="" coords="4009,713,4213,739"/>
<area shape="rect" href="v3_2object__decl_8hpp.html" title=" " alt="" coords="3869,802,4073,829"/>
<area shape="rect" href="v1_2adaptor_2msgpack__tuple_8hpp.html" title=" " alt="" coords="5553,705,5701,747"/>
<area shape="rect" href="adaptor_2msgpack__tuple_8hpp.html" title=" " alt="" coords="5484,795,5667,836"/>
<area shape="rect" href="object__decl_8hpp.html" title=" " alt="" coords="3951,899,4133,925"/>
<area shape="rect" href="object_8hpp.html" title=" " alt="" coords="3845,1063,3993,1089"/>
<area shape="rect" href="v1_2object_8hpp.html" title=" " alt="" coords="3957,988,4127,1015"/>
<area shape="rect" href="v2_2adaptor_2adaptor__base_8hpp.html" title=" " alt="" coords="3001,333,3149,375"/>
<area shape="rect" href="v3_2adaptor_2adaptor__base__decl_8hpp.html" title=" " alt="" coords="2750,333,2926,375"/>
</map>
</div>
</div>
<p><a href="v1_2pack_8hpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmsgpack_1_1packer.html">msgpack::packer&lt; Stream &gt;</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">The class template that supports continuous packing. <a href="classmsgpack_1_1packer.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespacemsgpack"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemsgpack.html">msgpack</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a3a643bd4bc6e81ddf0bdd3ab79402eb5"><td class="memTemplParams" colspan="2">template&lt;typename Stream , typename T &gt; </td></tr>
<tr class="memitem:a3a643bd4bc6e81ddf0bdd3ab79402eb5"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacemsgpack.html#a3a643bd4bc6e81ddf0bdd3ab79402eb5">msgpack::pack</a> (Stream *s, const T &amp;v)</td></tr>
<tr class="memdesc:a3a643bd4bc6e81ddf0bdd3ab79402eb5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pack the value as MessagePack format into the stream. <a href="namespacemsgpack.html#a3a643bd4bc6e81ddf0bdd3ab79402eb5">More...</a><br /></td></tr>
<tr class="separator:a3a643bd4bc6e81ddf0bdd3ab79402eb5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb0d5514b0618ebde91469fa148e5813"><td class="memTemplParams" colspan="2">template&lt;typename Stream , typename T &gt; </td></tr>
<tr class="memitem:afb0d5514b0618ebde91469fa148e5813"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacemsgpack.html#afb0d5514b0618ebde91469fa148e5813">msgpack::pack</a> (Stream &amp;s, const T &amp;v)</td></tr>
<tr class="memdesc:afb0d5514b0618ebde91469fa148e5813"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pack the value as MessagePack format into the stream. <a href="namespacemsgpack.html#afb0d5514b0618ebde91469fa148e5813">More...</a><br /></td></tr>
<tr class="separator:afb0d5514b0618ebde91469fa148e5813"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</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.1
</small></address>
</body>
</html>