File: structdata__model.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 (231 lines) | stat: -rwxr-xr-x 12,252 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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
<!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++: data_model Struct 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><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">data_model Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Data frame object, sued to buid succinct data model.  
 <a href="structdata__model.html#details">More...</a></p>
<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:a0444be6631839b756ec5b9f16c5f0567"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdata__model.html#a0444be6631839b756ec5b9f16c5f0567">optimize</a> ()</td></tr>
<tr class="memdesc:a0444be6631839b756ec5b9f16c5f0567"><td class="mdescLeft">&#160;</td><td class="mdescRight">Optimize memory layoput, build index for faster read access.  <a href="structdata__model.html#a0444be6631839b756ec5b9f16c5f0567">More...</a><br /></td></tr>
<tr class="separator:a0444be6631839b756ec5b9f16c5f0567"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c626772440999a94b6f3ce851bc916f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdata__model.html#a5c626772440999a94b6f3ce851bc916f">add_layout</a> (size_t plane, <a class="el" href="classbm_1_1bvector.html">bm::bvector</a>&lt;&gt; *bv)</td></tr>
<tr class="separator:a5c626772440999a94b6f3ce851bc916f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b5714a796e1485b7ea503d6c9f8ba02"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdata__model.html#a2b5714a796e1485b7ea503d6c9f8ba02">add_strand</a> (size_t plane, <a class="el" href="xsample08_8cpp.html#a624e05d875c1dd02606ea289d96d9c62">rsc_vector_u8</a> *strand)</td></tr>
<tr class="separator:a2b5714a796e1485b7ea503d6c9f8ba02"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:ad02501c19c47ee7f99a74a7cd8a6f2da"><td class="memItemLeft" align="right" valign="top"><a class="el" href="xsample08_8cpp.html#af276e5a029922cc9fe0803b63a8eb363">layout_vector_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdata__model.html#ad02501c19c47ee7f99a74a7cd8a6f2da">layout_v</a></td></tr>
<tr class="memdesc:ad02501c19c47ee7f99a74a7cd8a6f2da"><td class="mdescLeft">&#160;</td><td class="mdescRight">layout vector  <a href="structdata__model.html#ad02501c19c47ee7f99a74a7cd8a6f2da">More...</a><br /></td></tr>
<tr class="separator:ad02501c19c47ee7f99a74a7cd8a6f2da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae98a6571059d2235083b08aca3957cfc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="xsample08_8cpp.html#a570a10a183b6108efc4df372793d0563">starnds_vector_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdata__model.html#ae98a6571059d2235083b08aca3957cfc">strand_v</a></td></tr>
<tr class="memdesc:ae98a6571059d2235083b08aca3957cfc"><td class="mdescLeft">&#160;</td><td class="mdescRight">strand planes vector  <a href="structdata__model.html#ae98a6571059d2235083b08aca3957cfc">More...</a><br /></td></tr>
<tr class="separator:ae98a6571059d2235083b08aca3957cfc"><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>Data frame object, sued to buid succinct data model. </p>
<dl class="section examples"><dt>Examples</dt><dd><a class="el" href="xsample08_8cpp-example.html#_a8">xsample08.cpp</a>.</dd>
</dl>

<p class="definition">Definition at line <a class="el" href="xsample08_8cpp_source.html#l00076">76</a> of file <a class="el" href="xsample08_8cpp_source.html">xsample08.cpp</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a5c626772440999a94b6f3ce851bc916f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5c626772440999a94b6f3ce851bc916f">&#9670;&nbsp;</a></span>add_layout()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void data_model::add_layout </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>plane</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classbm_1_1bvector.html">bm::bvector</a>&lt;&gt; *&#160;</td>
          <td class="paramname"><em>bv</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="section examples"><dt>Examples</dt><dd><a class="el" href="xsample08_8cpp-example.html#a12">xsample08.cpp</a>.</dd>
</dl>

<p class="definition">Definition at line <a class="el" href="xsample08_8cpp_source.html#l00109">109</a> of file <a class="el" href="xsample08_8cpp_source.html">xsample08.cpp</a>.</p>

<p class="reference">References <a class="el" href="bmconst_8h_source.html#l00144">bm::BM_GAP</a>.</p>

<p class="reference">Referenced by <a class="el" href="xsample08_8cpp_source.html#l00208">splice_model()</a>.</p>

</div>
</div>
<a id="a2b5714a796e1485b7ea503d6c9f8ba02"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2b5714a796e1485b7ea503d6c9f8ba02">&#9670;&nbsp;</a></span>add_strand()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void data_model::add_strand </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>plane</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xsample08_8cpp.html#a624e05d875c1dd02606ea289d96d9c62">rsc_vector_u8</a> *&#160;</td>
          <td class="paramname"><em>strand</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="section examples"><dt>Examples</dt><dd><a class="el" href="xsample08_8cpp-example.html#a14">xsample08.cpp</a>.</dd>
</dl>

<p class="definition">Definition at line <a class="el" href="xsample08_8cpp_source.html#l00124">124</a> of file <a class="el" href="xsample08_8cpp_source.html">xsample08.cpp</a>.</p>

<p class="reference">Referenced by <a class="el" href="xsample08_8cpp_source.html#l00208">splice_model()</a>.</p>

</div>
</div>
<a id="a0444be6631839b756ec5b9f16c5f0567"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0444be6631839b756ec5b9f16c5f0567">&#9670;&nbsp;</a></span>optimize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void data_model::optimize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Optimize memory layoput, build index for faster read access. </p>
<dl class="section examples"><dt>Examples</dt><dd><a class="el" href="xsample08_8cpp-example.html#a10">xsample08.cpp</a>.</dd>
</dl>

<p class="definition">Definition at line <a class="el" href="xsample08_8cpp_source.html#l00089">89</a> of file <a class="el" href="xsample08_8cpp_source.html">xsample08.cpp</a>.</p>

<p class="reference">References <a class="el" href="bm_8h_source.html#l00047">BM_DECLARE_TEMP_BLOCK</a>.</p>

<p class="reference">Referenced by <a class="el" href="xsample08_8cpp_source.html#l00324">main()</a>.</p>

</div>
</div>
<h2 class="groupheader">Field Documentation</h2>
<a id="ad02501c19c47ee7f99a74a7cd8a6f2da"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad02501c19c47ee7f99a74a7cd8a6f2da">&#9670;&nbsp;</a></span>layout_v</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="xsample08_8cpp.html#af276e5a029922cc9fe0803b63a8eb363">layout_vector_type</a> data_model::layout_v</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>layout vector </p>
<dl class="section examples"><dt>Examples</dt><dd><a class="el" href="xsample08_8cpp-example.html#a20">xsample08.cpp</a>.</dd>
</dl>

<p class="definition">Definition at line <a class="el" href="xsample08_8cpp_source.html#l00085">85</a> of file <a class="el" href="xsample08_8cpp_source.html">xsample08.cpp</a>.</p>

<p class="reference">Referenced by <a class="el" href="xsample08_8cpp_source.html#l00166">add_object()</a>, <a class="el" href="xsample08_8cpp_source.html#l00265">print_model()</a>, and <a class="el" href="xsample08_8cpp_source.html#l00208">splice_model()</a>.</p>

</div>
</div>
<a id="ae98a6571059d2235083b08aca3957cfc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae98a6571059d2235083b08aca3957cfc">&#9670;&nbsp;</a></span>strand_v</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="xsample08_8cpp.html#a570a10a183b6108efc4df372793d0563">starnds_vector_type</a> data_model::strand_v</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>strand planes vector </p>
<dl class="section examples"><dt>Examples</dt><dd><a class="el" href="xsample08_8cpp-example.html#a16">xsample08.cpp</a>.</dd>
</dl>

<p class="definition">Definition at line <a class="el" href="xsample08_8cpp_source.html#l00086">86</a> of file <a class="el" href="xsample08_8cpp_source.html">xsample08.cpp</a>.</p>

<p class="reference">Referenced by <a class="el" href="xsample08_8cpp_source.html#l00265">print_model()</a>, <a class="el" href="xsample08_8cpp_source.html#l00142">set_feature_strand()</a>, and <a class="el" href="xsample08_8cpp_source.html#l00208">splice_model()</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="xsample08_8cpp_source.html">xsample08.cpp</a></li>
</ul>
</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>