File: bmsparsevec__serial_8h.html

package info (click to toggle)
bmagic 6.3.0-1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 49,956 kB
  • sloc: cpp: 84,298; ansic: 9,703; sh: 1,664; makefile: 742
file content (176 lines) | stat: -rwxr-xr-x 14,735 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
<!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>BitMagic-C++: bmsparsevec_serial.h 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="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">BitMagic-C++
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<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('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#namespaces">Namespaces</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">bmsparsevec_serial.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Serialization for sparse_vector&lt;&gt;  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="bmsparsevec_8h_source.html">bmsparsevec.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="bmserial_8h_source.html">bmserial.h</a>&quot;</code><br />
<code>#include &quot;bmbuffer.h&quot;</code><br />
<code>#include &quot;<a class="el" href="bmdef_8h_source.html">bmdef.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="bmundef_8h_source.html">bmundef.h</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for bmsparsevec_serial.h:</div>
<div class="dyncontent">
<div class="center"><img src="bmsparsevec__serial_8h__incl.png" border="0" usemap="#bmsparsevec__serial_8h" alt=""/></div>
<map name="bmsparsevec__serial_8h" id="bmsparsevec__serial_8h">
<area shape="rect" title="Serialization for sparse_vector&lt;&gt;" alt="" coords="2085,5,2232,32"/>
<area shape="rect" href="bmsparsevec_8h.html" title="Sparse constainer sparse_vector&lt;&gt; for integer types using bit&#45;transposition transform." alt="" coords="1744,80,1853,107"/>
<area shape="rect" href="bmdef_8h.html" title="Definitions(internal)" alt="" coords="1729,557,1797,584"/>
<area shape="rect" title=" " alt="" coords="1937,311,2020,338"/>
<area shape="rect" title=" " alt="" coords="1935,393,2091,435"/>
<area shape="rect" href="bmserial_8h.html" title="Serialization / compression of bvector&lt;&gt;. Set theoretical operations on compressed BLOBs." alt="" coords="2117,229,2200,256"/>
<area shape="rect" title=" " alt="" coords="1525,483,1605,509"/>
<area shape="rect" title=" " alt="" coords="1629,311,1707,338"/>
<area shape="rect" href="bmtrans_8h.html" title="Utilities for bit transposition (internal) (experimental!)" alt="" coords="1783,311,1863,338"/>
<area shape="rect" href="bmalgo__impl_8h.html" title="Algorithms for bvector&lt;&gt;" alt="" coords="1435,401,1541,427"/>
<area shape="rect" href="bmbmatrix_8h.html" title="basic bit&#45;matrix class and utilities" alt="" coords="1599,155,1694,181"/>
<area shape="rect" title=" " alt="" coords="1689,632,1749,659"/>
<area shape="rect" title=" " alt="" coords="1773,632,1838,659"/>
<area shape="rect" href="bmutil_8h.html" title="Bit manipulation primitives (internal)" alt="" coords="1630,483,1698,509"/>
<area shape="rect" href="bmconst_8h.html" title="Constants, tables and typedefs." alt="" coords="116,557,199,584"/>
<area shape="rect" title=" " alt="" coords="929,557,1020,584"/>
<area shape="rect" title=" " alt="" coords="127,632,188,659"/>
<area shape="rect" title=" " alt="" coords="1537,311,1605,338"/>
<area shape="rect" href="bm_8h.html" title="Compressed bit&#45;vector bvector&lt;&gt; container, set algebraic methods, traversal iterators." alt="" coords="1093,229,1144,256"/>
<area shape="rect" title=" " alt="" coords="1087,311,1150,338"/>
<area shape="rect" title=" " alt="" coords="1174,311,1271,338"/>
<area shape="rect" title=" " alt="" coords="1296,311,1360,338"/>
<area shape="rect" href="bmsimd_8h.html" title="SIMD target version definitions." alt="" coords="298,311,377,338"/>
<area shape="rect" title=" " alt="" coords="453,311,523,338"/>
<area shape="rect" href="bmfunc_8h.html" title="Bit manipulation primitives (internal)" alt="" coords="1725,401,1800,427"/>
<area shape="rect" href="encoding_8h.html" title="Encoding utilities for serialization (internal)" alt="" coords="1565,401,1651,427"/>
<area shape="rect" href="bmalloc_8h.html" title="Default SIMD friendly allocator." alt="" coords="195,311,274,338"/>
<area shape="rect" title=" " alt="" coords="547,311,637,338"/>
<area shape="rect" title=" " alt="" coords="661,304,817,345"/>
<area shape="rect" title=" " alt="" coords="841,311,924,338"/>
<area shape="rect" title=" " alt="" coords="949,311,1011,338"/>
<area shape="rect" href="bmsse4_8h.html" title="Compute functions for SSE4.2 SIMD instruction set (internal)" alt="" coords="1018,401,1097,427"/>
<area shape="rect" href="bmsse2_8h.html" title="Compute functions for SSE2 SIMD instruction set (internal)" alt="" coords="701,401,779,427"/>
<area shape="rect" title=" " alt="" coords="855,483,937,509"/>
<area shape="rect" title=" " alt="" coords="1239,483,1329,509"/>
<area shape="rect" title=" " alt="" coords="1012,483,1103,509"/>
<area shape="rect" title=" " alt="" coords="1127,483,1214,509"/>
<area shape="rect" href="bmsse__util_8h.html" title="Compute functions for SSE SIMD instruction set (internal)" alt="" coords="735,483,831,509"/>
<area shape="rect" title=" " alt="" coords="245,401,309,427"/>
<area shape="rect" title=" " alt="" coords="333,401,379,427"/>
<area shape="rect" href="bmalgo_8h.html" title="Algorithms for bvector&lt;&gt; (main include)" alt="" coords="2196,311,2271,338"/>
<area shape="rect" href="bmxor_8h.html" title="Functions and utilities for XOR filters (internal)" alt="" coords="2116,401,2185,427"/>
</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="bmsparsevec__serial_8h__dep__incl.png" border="0" usemap="#bmsparsevec__serial_8hdep" alt=""/></div>
<map name="bmsparsevec__serial_8hdep" id="bmsparsevec__serial_8hdep">
<area shape="rect" title="Serialization for sparse_vector&lt;&gt;" alt="" coords="614,5,761,32"/>
<area shape="rect" href="xsample01_8cpp.html" title="Example: Example: memory consumption techniques." alt="" coords="5,80,116,107"/>
<area shape="rect" href="xsample03_8cpp.html" title="Example: SNP search in human genome." alt="" coords="140,80,251,107"/>
<area shape="rect" href="xsample05_8cpp.html" title="Example: Example on how to use bit&#45;transposed string sparse vector." alt="" coords="275,80,385,107"/>
<area shape="rect" href="xsample06_8cpp.html" title="Example: Use of sparse vector for compressed DNA strings." alt="" coords="409,80,520,107"/>
<area shape="rect" href="strsvsample03_8cpp.html" title="Example: str_sparse_vector&lt;&gt; back insert iterator example." alt="" coords="545,80,675,107"/>
<area shape="rect" href="strsvsample05_8cpp.html" title="Example: str_sparse_vector&lt;&gt; gather deserialization example." alt="" coords="699,80,830,107"/>
<area shape="rect" href="svsample02_8cpp.html" title="Example: sparse_vector&lt;&gt; serialization." alt="" coords="854,80,969,107"/>
<area shape="rect" href="svsample08_8cpp.html" title="Example: sparse_vector&lt;&gt; selective de&#45;serialization (gather) and range deserialization." alt="" coords="993,80,1107,107"/>
<area shape="rect" href="rscsample01_8cpp.html" title="Example: rsc_sparse_vector&lt;&gt; usage." alt="" coords="1132,80,1253,107"/>
<area shape="rect" href="rscsample02_8cpp.html" title="Example: rsc_sparse_vector&lt;&gt; selective and range de&#45;serialization." alt="" coords="1277,80,1399,107"/>
</map>
</div>
</div>
<p><a href="bmsparsevec__serial_8h_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>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbm_1_1sparse__vector__serial__layout.html">bm::sparse_vector_serial_layout&lt; SV &gt;</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">layout class for serialization buffer structure  <a href="structbm_1_1sparse__vector__serial__layout.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbm_1_1sparse__vector__serializer.html">bm::sparse_vector_serializer&lt; SV &gt;</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbm_1_1sparse__vector__deserializer.html">bm::sparse_vector_deserializer&lt; SV &gt;</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">sparse vector de-serializer  <a href="classbm_1_1sparse__vector__deserializer.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbm_1_1compressed__collection__serializer.html">bm::compressed_collection_serializer&lt; CBC &gt;</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Seriaizer for compressed collections.  <a href="classbm_1_1compressed__collection__serializer.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbm_1_1compressed__collection__deserializer.html">bm::compressed_collection_deserializer&lt; CBC &gt;</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deseriaizer for compressed collections.  <a href="classbm_1_1compressed__collection__deserializer.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:namespacebm"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacebm.html">bm</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:ga358d9cdc693676c83730f9fdb0cf922e"><td class="memTemplParams" colspan="2">template&lt;class SV &gt; </td></tr>
<tr class="memitem:ga358d9cdc693676c83730f9fdb0cf922e"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__svserial.html#ga358d9cdc693676c83730f9fdb0cf922e">bm::sparse_vector_serialize</a> (const SV &amp;sv, sparse_vector_serial_layout&lt; SV &gt; &amp;sv_layout, <a class="el" href="namespacebm.html#a17fd5ba52db3ddda05e6f8dd5000a1a4">bm::word_t</a> *temp_block=0)</td></tr>
<tr class="memdesc:ga358d9cdc693676c83730f9fdb0cf922e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Serialize sparse vector into a memory buffer(s) structure.  <a href="group__svserial.html#ga358d9cdc693676c83730f9fdb0cf922e">More...</a><br /></td></tr>
<tr class="separator:ga358d9cdc693676c83730f9fdb0cf922e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9a06b8c24ce8cd1ec82f598b80149178"><td class="memTemplParams" colspan="2">template&lt;class SV &gt; </td></tr>
<tr class="memitem:ga9a06b8c24ce8cd1ec82f598b80149178"><td class="memTemplItemLeft" align="right" valign="top">int&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__svserial.html#ga9a06b8c24ce8cd1ec82f598b80149178">bm::sparse_vector_deserialize</a> (SV &amp;sv, const unsigned char *buf, <a class="el" href="namespacebm.html#a17fd5ba52db3ddda05e6f8dd5000a1a4">bm::word_t</a> *temp_block=0)</td></tr>
<tr class="memdesc:ga9a06b8c24ce8cd1ec82f598b80149178"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deserialize sparse vector.  <a href="group__svserial.html#ga9a06b8c24ce8cd1ec82f598b80149178">More...</a><br /></td></tr>
<tr class="separator:ga9a06b8c24ce8cd1ec82f598b80149178"><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>Serialization for sparse_vector&lt;&gt; </p>

<p class="definition">Definition in file <a class="el" href="bmsparsevec__serial_8h_source.html">bmsparsevec_serial.h</a>.</p>
</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>