-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAddressSegment_8h_source.html
265 lines (265 loc) · 50.9 KB
/
AddressSegment_8h_source.html
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
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
<!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.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ROSE: AddressSegment.h Source File</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/search.js"></script>
<link rel="search" href="search_opensearch.php?v=opensearch.xml" type="application/opensearchdescription+xml" title="ROSE"/>
<link href="roseDoxygen.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">ROSE<span id="projectnumber"> 0.11.145.141</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&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&dn=expat.txt MIT */
$(function() {
initMenu('',true,true,'search.html','Search');
$(document).ready(function() {
if ($('.searchresults').length > 0) { searchBox.DOMSearchField().focus(); }
});
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(document).ready(function() { init_codefold(0); });
/* @license-end */
</script>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_859fdbd7312fa6fbda59c78acaef4f65.html">Sawyer</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle"><div class="title">AddressSegment.h</div></div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="comment">// WARNING: Changes to this file must be contributed back to Sawyer or else they will</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="comment">// be clobbered by the next update from Sawyer. The Sawyer repository is at</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="comment">// https://gitlab.com/charger7534/sawyer.git.</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span> </div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span> </div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span> </div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span> </div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#ifndef Sawyer_AddressSegment_H</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="preprocessor">#define Sawyer_AddressSegment_H</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span> </div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="preprocessor">#include <Sawyer/Access.h></span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="preprocessor">#include <Sawyer/AllocatingBuffer.h></span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="preprocessor">#include <Sawyer/MappedBuffer.h></span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="preprocessor">#include <Sawyer/NullBuffer.h></span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="preprocessor">#include <Sawyer/StaticBuffer.h></span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="preprocessor">#include <Sawyer/Sawyer.h></span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span> </div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="preprocessor">#include <boost/cstdint.hpp></span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> </div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="preprocessor">#ifdef SAWYER_HAVE_BOOST_SERIALIZATION</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span><span class="preprocessor">#include <boost/serialization/string.hpp></span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> </div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span><span class="preprocessor">#ifdef SAWYER_HAVE_CEREAL</span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="preprocessor">#include <cereal/types/string.hpp></span></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> </div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceSawyer.html">Sawyer</a> {</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="keyword">namespace </span>Container {</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> </div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span><span class="keyword">template</span><<span class="keyword">class</span> A = <span class="keywordtype">size_t</span>, <span class="keyword">class</span> T = boost::u<span class="keywordtype">int</span>8_t></div>
<div class="foldopen" id="foldopen00042" data-start="{" data-end="};">
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"><a class="line" href="classSawyer_1_1Container_1_1AddressSegment.html"> 42</a></span><span class="keyword">class </span><a class="code hl_class" href="classSawyer_1_1Container_1_1AddressSegment.html">AddressSegment</a> {</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> <span class="keyword">typename</span> <a class="code hl_class" href="classSawyer_1_1SharedPointer.html">Buffer<A, T>::Ptr</a> buffer_; <span class="comment">// reference counted buffer</span></div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> A offset_; <span class="comment">// initial offset into buffer</span></div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> <span class="keywordtype">unsigned</span> accessibility_; <span class="comment">// uninterpreted bit mask</span></div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> std::string name_; <span class="comment">// for debugging</span></div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> </div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"><a class="line" href="classSawyer_1_1Container_1_1AddressSegment.html#a64cbbcda56a8f4e953f5bc9b003d9a1d"> 49</a></span> <span class="keyword">typedef</span> A <a class="code hl_typedef" href="classSawyer_1_1Container_1_1AddressSegment.html#a64cbbcda56a8f4e953f5bc9b003d9a1d">Address</a>; </div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"><a class="line" href="classSawyer_1_1Container_1_1AddressSegment.html#afa561618ad5781ffc46e63a9f7e618ff"> 50</a></span> <span class="keyword">typedef</span> T <a class="code hl_typedef" href="classSawyer_1_1Container_1_1AddressSegment.html#afa561618ad5781ffc46e63a9f7e618ff">Value</a>; </div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> <span class="comment">//-------------------------------------------------------------------------------------------------------------------</span></div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> <span class="comment">// Serialization</span></div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> <span class="comment">//-------------------------------------------------------------------------------------------------------------------</span></div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span><span class="preprocessor">#ifdef SAWYER_HAVE_BOOST_SERIALIZATION</span></div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> <span class="keyword">friend</span> <span class="keyword">class </span>boost::serialization::access;</div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> </div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> <span class="comment">// Users: You'll need to register the subclass once you know its type, such as</span></div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> <span class="comment">// BOOST_CLASS_REGISTER(Sawyer::Container::AddressSegment<size_t,uint8_t>);</span></div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> <span class="comment">// You'll also need to register the most-derived buffer type.</span></div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> <span class="keyword">template</span><<span class="keyword">class</span> S></div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> <span class="keywordtype">void</span> serialize(S &s, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="comment">/*version*/</span>) {</div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> s & BOOST_SERIALIZATION_NVP(buffer_);</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> s & BOOST_SERIALIZATION_NVP(offset_);</div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> s & BOOST_SERIALIZATION_NVP(accessibility_);</div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> s & BOOST_SERIALIZATION_NVP(name_);</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> }</div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> </div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span><span class="preprocessor">#ifdef SAWYER_HAVE_CEREAL</span></div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> <span class="keyword">friend</span> <span class="keyword">class </span>cereal::access;</div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> </div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> <span class="keyword">template</span><<span class="keyword">class</span> Archive></div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> <span class="keywordtype">void</span> CEREAL_SERIALIZE_FUNCTION_NAME(Archive &archive) {</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> archive(CEREAL_NVP(buffer_));</div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> archive(CEREAL_NVP(offset_));</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> archive(CEREAL_NVP(accessibility_));</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> archive(CEREAL_NVP(name_));</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> }</div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> </div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> <span class="comment">//-------------------------------------------------------------------------------------------------------------------</span></div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> <span class="comment">// Constructors</span></div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> <span class="comment">//-------------------------------------------------------------------------------------------------------------------</span></div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> </div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"><a class="line" href="classSawyer_1_1Container_1_1AddressSegment.html#a76d383d90e22a14fbb0c8571dd85a1ee"> 94</a></span> <a class="code hl_function" href="classSawyer_1_1Container_1_1AddressSegment.html#a76d383d90e22a14fbb0c8571dd85a1ee">AddressSegment</a>(): offset_(0), accessibility_(0) {}</div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> </div>
<div class="foldopen" id="foldopen00100" data-start="{" data-end="}">
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"><a class="line" href="classSawyer_1_1Container_1_1AddressSegment.html#aafa116357bccd55a62297ff344e15b53"> 100</a></span> <a class="code hl_function" href="classSawyer_1_1Container_1_1AddressSegment.html#aafa116357bccd55a62297ff344e15b53">AddressSegment</a>(<span class="keyword">const</span> <a class="code hl_class" href="classSawyer_1_1Container_1_1AddressSegment.html">AddressSegment</a> &other)</div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> : buffer_(other.buffer_), offset_(other.offset_), accessibility_(other.accessibility_), name_(other.name_) {}</div>
</div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span> </div>
<div class="foldopen" id="foldopen00106" data-start="{" data-end="}">
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"><a class="line" href="classSawyer_1_1Container_1_1AddressSegment.html#a98b1c8db5624f2e3b08ccd3747232cc9"> 106</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="classSawyer_1_1Container_1_1AddressSegment.html#a98b1c8db5624f2e3b08ccd3747232cc9">AddressSegment</a>(<span class="keyword">const</span> <span class="keyword">typename</span> <a class="code hl_class" href="classSawyer_1_1SharedPointer.html">Buffer<Address, Value>::Ptr</a> &<a class="code hl_function" href="classSawyer_1_1Container_1_1AddressSegment.html#abc5975012bece2bf3c2cae7299a53554">buffer</a>, <a class="code hl_typedef" href="classSawyer_1_1Container_1_1AddressSegment.html#a64cbbcda56a8f4e953f5bc9b003d9a1d">Address</a> <a class="code hl_function" href="classSawyer_1_1Container_1_1AddressSegment.html#a970398df59bd3f5b326d072185afad23">offset</a>=0, <span class="keywordtype">unsigned</span> accessBits=0,</div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> <span class="keyword">const</span> std::string &<a class="code hl_function" href="classSawyer_1_1Container_1_1AddressSegment.html#a349033e7359b3e8290d07d62ebff2fa7">name</a>=<span class="stringliteral">""</span>)</div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span> : buffer_(<a class="code hl_function" href="classSawyer_1_1Container_1_1AddressSegment.html#abc5975012bece2bf3c2cae7299a53554">buffer</a>), offset_(<a class="code hl_function" href="classSawyer_1_1Container_1_1AddressSegment.html#a970398df59bd3f5b326d072185afad23">offset</a>), accessibility_(accessBits), name_(<a class="code hl_function" href="classSawyer_1_1Container_1_1AddressSegment.html#a349033e7359b3e8290d07d62ebff2fa7">name</a>) {}</div>
</div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> </div>
<div class="foldopen" id="foldopen00111" data-start="{" data-end="}">
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"><a class="line" href="classSawyer_1_1Container_1_1AddressSegment.html#a7bfb7ebb9cd46a700d6c645503bced9c"> 111</a></span> <a class="code hl_class" href="classSawyer_1_1Container_1_1AddressSegment.html">AddressSegment</a>& <a class="code hl_function" href="classSawyer_1_1Container_1_1AddressSegment.html#a7bfb7ebb9cd46a700d6c645503bced9c">operator=</a>(<span class="keyword">const</span> <a class="code hl_class" href="classSawyer_1_1Container_1_1AddressSegment.html">AddressSegment</a> &other) {</div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span> buffer_ = other.buffer_;</div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span> offset_ = other.offset_;</div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> accessibility_ = other.accessibility_;</div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span> name_ = other.name_;</div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span> <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span> }</div>
</div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span> </div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> <span class="comment">//-------------------------------------------------------------------------------------------------------------------</span></div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> <span class="comment">// The following static methods are convenience wrappers around various buffer types.</span></div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span> <span class="comment">//-------------------------------------------------------------------------------------------------------------------</span></div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> </div>
<div class="foldopen" id="foldopen00129" data-start="{" data-end="}">
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"><a class="line" href="classSawyer_1_1Container_1_1AddressSegment.html#a03dba60b3e167f95db911bc6ec8fc75a"> 129</a></span> <span class="keyword">static</span> <a class="code hl_class" href="classSawyer_1_1Container_1_1AddressSegment.html">AddressSegment</a> <a class="code hl_function" href="classSawyer_1_1Container_1_1AddressSegment.html#a03dba60b3e167f95db911bc6ec8fc75a">nullInstance</a>(<a class="code hl_typedef" href="classSawyer_1_1Container_1_1AddressSegment.html#a64cbbcda56a8f4e953f5bc9b003d9a1d">Address</a> size, <span class="keywordtype">unsigned</span> accessBits=0, <span class="keyword">const</span> std::string &<a class="code hl_function" href="classSawyer_1_1Container_1_1AddressSegment.html#a349033e7359b3e8290d07d62ebff2fa7">name</a>=<span class="stringliteral">""</span>) {</div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span> <span class="keywordflow">return</span> <a class="code hl_function" href="classSawyer_1_1Container_1_1AddressSegment.html#a76d383d90e22a14fbb0c8571dd85a1ee">AddressSegment</a>(<a class="code hl_class" href="classSawyer_1_1Container_1_1NullBuffer.html">NullBuffer<A, T>::instance</a>(size), 0, accessBits, <a class="code hl_function" href="classSawyer_1_1Container_1_1AddressSegment.html#a349033e7359b3e8290d07d62ebff2fa7">name</a>);</div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span> }</div>
</div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span> </div>
<div class="foldopen" id="foldopen00137" data-start="{" data-end="}">
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"><a class="line" href="classSawyer_1_1Container_1_1AddressSegment.html#a3f153c5d12e5ba1d1feb956fc10cf5da"> 137</a></span> <span class="keyword">static</span> <a class="code hl_class" href="classSawyer_1_1Container_1_1AddressSegment.html">AddressSegment</a> <a class="code hl_function" href="classSawyer_1_1Container_1_1AddressSegment.html#a3f153c5d12e5ba1d1feb956fc10cf5da">anonymousInstance</a>(<a class="code hl_typedef" href="classSawyer_1_1Container_1_1AddressSegment.html#a64cbbcda56a8f4e953f5bc9b003d9a1d">Address</a> size, <span class="keywordtype">unsigned</span> accessBits=0, <span class="keyword">const</span> std::string &<a class="code hl_function" href="classSawyer_1_1Container_1_1AddressSegment.html#a349033e7359b3e8290d07d62ebff2fa7">name</a>=<span class="stringliteral">""</span>) {</div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span> <span class="keywordflow">return</span> <a class="code hl_function" href="classSawyer_1_1Container_1_1AddressSegment.html#a76d383d90e22a14fbb0c8571dd85a1ee">AddressSegment</a>(<a class="code hl_class" href="classSawyer_1_1Container_1_1AllocatingBuffer.html">AllocatingBuffer<A, T>::instance</a>(size), 0, accessBits, <a class="code hl_function" href="classSawyer_1_1Container_1_1AddressSegment.html#a349033e7359b3e8290d07d62ebff2fa7">name</a>);</div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span> }</div>
</div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span> </div>
<div class="foldopen" id="foldopen00146" data-start="{" data-end="}">
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"><a class="line" href="classSawyer_1_1Container_1_1AddressSegment.html#acf2c6ac9df6aeacd7cdfe6cc16efc6f7"> 146</a></span> <span class="keyword">static</span> <a class="code hl_class" href="classSawyer_1_1Container_1_1AddressSegment.html">AddressSegment</a> <a class="code hl_function" href="classSawyer_1_1Container_1_1AddressSegment.html#acf2c6ac9df6aeacd7cdfe6cc16efc6f7">staticInstance</a>(<a class="code hl_typedef" href="classSawyer_1_1Container_1_1AddressSegment.html#afa561618ad5781ffc46e63a9f7e618ff">Value</a> *<a class="code hl_function" href="classSawyer_1_1Container_1_1AddressSegment.html#abc5975012bece2bf3c2cae7299a53554">buffer</a>, <a class="code hl_typedef" href="classSawyer_1_1Container_1_1AddressSegment.html#a64cbbcda56a8f4e953f5bc9b003d9a1d">Address</a> size, <span class="keywordtype">unsigned</span> accessBits=0, <span class="keyword">const</span> std::string &<a class="code hl_function" href="classSawyer_1_1Container_1_1AddressSegment.html#a349033e7359b3e8290d07d62ebff2fa7">name</a>=<span class="stringliteral">""</span>) {</div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</span> <span class="keywordflow">return</span> <a class="code hl_function" href="classSawyer_1_1Container_1_1AddressSegment.html#a76d383d90e22a14fbb0c8571dd85a1ee">AddressSegment</a>(<a class="code hl_class" href="classSawyer_1_1Container_1_1StaticBuffer.html">StaticBuffer<A, T>::instance</a>(<a class="code hl_function" href="classSawyer_1_1Container_1_1AddressSegment.html#abc5975012bece2bf3c2cae7299a53554">buffer</a>, size), 0, accessBits, <a class="code hl_function" href="classSawyer_1_1Container_1_1AddressSegment.html#a349033e7359b3e8290d07d62ebff2fa7">name</a>);</div>
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"> 148</span> }</div>
</div>
<div class="foldopen" id="foldopen00149" data-start="{" data-end="}">
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"><a class="line" href="classSawyer_1_1Container_1_1AddressSegment.html#a291163d0c7f78b26d2b28f56191c7add"> 149</a></span> <span class="keyword">static</span> <a class="code hl_class" href="classSawyer_1_1Container_1_1AddressSegment.html">AddressSegment</a> <a class="code hl_function" href="classSawyer_1_1Container_1_1AddressSegment.html#a291163d0c7f78b26d2b28f56191c7add">staticInstance</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classSawyer_1_1Container_1_1AddressSegment.html#afa561618ad5781ffc46e63a9f7e618ff">Value</a> *<a class="code hl_function" href="classSawyer_1_1Container_1_1AddressSegment.html#abc5975012bece2bf3c2cae7299a53554">buffer</a>, <a class="code hl_typedef" href="classSawyer_1_1Container_1_1AddressSegment.html#a64cbbcda56a8f4e953f5bc9b003d9a1d">Address</a> size, <span class="keywordtype">unsigned</span> accessBits=0, <span class="keyword">const</span> std::string &<a class="code hl_function" href="classSawyer_1_1Container_1_1AddressSegment.html#a349033e7359b3e8290d07d62ebff2fa7">name</a>=<span class="stringliteral">""</span>) {</div>
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span> <span class="keywordflow">return</span> <a class="code hl_function" href="classSawyer_1_1Container_1_1AddressSegment.html#a76d383d90e22a14fbb0c8571dd85a1ee">AddressSegment</a>(<a class="code hl_class" href="classSawyer_1_1Container_1_1StaticBuffer.html">StaticBuffer<A, T>::instance</a>(<a class="code hl_function" href="classSawyer_1_1Container_1_1AddressSegment.html#abc5975012bece2bf3c2cae7299a53554">buffer</a>, size), 0, accessBits|Access::IMMUTABLE, <a class="code hl_function" href="classSawyer_1_1Container_1_1AddressSegment.html#a349033e7359b3e8290d07d62ebff2fa7">name</a>);</div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span> }</div>
</div>
<div class="foldopen" id="foldopen00155" data-start="{" data-end="}">
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"><a class="line" href="classSawyer_1_1Container_1_1AddressSegment.html#a09db806ef68637c5b44271cc9eca865f"> 155</a></span> <span class="keyword">static</span> <a class="code hl_class" href="classSawyer_1_1Container_1_1AddressSegment.html">AddressSegment</a> <a class="code hl_function" href="classSawyer_1_1Container_1_1AddressSegment.html#a09db806ef68637c5b44271cc9eca865f">fileInstance</a>(<span class="keyword">const</span> std::string &fileName, <span class="keywordtype">unsigned</span> accessBits=Access::READABLE,</div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span> <span class="keyword">const</span> std::string &<a class="code hl_function" href="classSawyer_1_1Container_1_1AddressSegment.html#a349033e7359b3e8290d07d62ebff2fa7">name</a>=<span class="stringliteral">""</span>) {</div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span> boost::iostreams::mapped_file::mapmode mode = (accessBits & Access::PRIVATE ? boost::iostreams::mapped_file::priv</div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"> 158</span> : (accessBits & Access::WRITABLE ? boost::iostreams::mapped_file::readwrite</div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span> : boost::iostreams::mapped_file::readonly));</div>
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"> 160</span> <span class="keywordflow">return</span> <a class="code hl_function" href="classSawyer_1_1Container_1_1AddressSegment.html#a76d383d90e22a14fbb0c8571dd85a1ee">AddressSegment</a>(<a class="code hl_class" href="classSawyer_1_1Container_1_1MappedBuffer.html">MappedBuffer<A, T>::instance</a>(fileName, mode), 0, accessBits, <a class="code hl_function" href="classSawyer_1_1Container_1_1AddressSegment.html#a349033e7359b3e8290d07d62ebff2fa7">name</a>);</div>
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"> 161</span> }</div>
</div>
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"> 162</span> </div>
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"> 163</span> <span class="comment">//-------------------------------------------------------------------------------------------------------------------</span></div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"> 164</span> <span class="comment">// Properties</span></div>
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</span> <span class="comment">//-------------------------------------------------------------------------------------------------------------------</span></div>
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"> 166</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"><a class="line" href="classSawyer_1_1Container_1_1AddressSegment.html#abc5975012bece2bf3c2cae7299a53554"> 174</a></span> <span class="keyword">typename</span> <a class="code hl_class" href="classSawyer_1_1SharedPointer.html">Buffer<A, T>::Ptr</a> <a class="code hl_function" href="classSawyer_1_1Container_1_1AddressSegment.html#abc5975012bece2bf3c2cae7299a53554">buffer</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> buffer_; }</div>
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"><a class="line" href="classSawyer_1_1Container_1_1AddressSegment.html#ae9ec8df173520417f5ceceeda165d14f"> 175</a></span> <a class="code hl_class" href="classSawyer_1_1Container_1_1AddressSegment.html">AddressSegment</a>& <a class="code hl_function" href="classSawyer_1_1Container_1_1AddressSegment.html#ae9ec8df173520417f5ceceeda165d14f">buffer</a>(<span class="keyword">const</span> <span class="keyword">typename</span> <a class="code hl_class" href="classSawyer_1_1SharedPointer.html">Buffer<A, T>::Ptr</a> &b) { buffer_ = b; <span class="keywordflow">return</span> *<span class="keyword">this</span>; }</div>
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"><a class="line" href="classSawyer_1_1Container_1_1AddressSegment.html#a970398df59bd3f5b326d072185afad23"> 183</a></span> A <a class="code hl_function" href="classSawyer_1_1Container_1_1AddressSegment.html#a970398df59bd3f5b326d072185afad23">offset</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> offset_; }</div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"><a class="line" href="classSawyer_1_1Container_1_1AddressSegment.html#a21376360d66f29b9863e1a69b420db78"> 184</a></span> <a class="code hl_class" href="classSawyer_1_1Container_1_1AddressSegment.html">AddressSegment</a>& <a class="code hl_function" href="classSawyer_1_1Container_1_1AddressSegment.html#a21376360d66f29b9863e1a69b420db78">offset</a>(A n) { offset_ = n; <span class="keywordflow">return</span> *<span class="keyword">this</span>; }</div>
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno"><a class="line" href="classSawyer_1_1Container_1_1AddressSegment.html#a9cec5b7fe7b13aba6d8fc9fbcc962f6a"> 193</a></span> <span class="keywordtype">unsigned</span> <a class="code hl_function" href="classSawyer_1_1Container_1_1AddressSegment.html#a9cec5b7fe7b13aba6d8fc9fbcc962f6a">accessibility</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> accessibility_; }</div>
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno"><a class="line" href="classSawyer_1_1Container_1_1AddressSegment.html#a7df71ba570a6cbd901f9cae858f6bc5a"> 194</a></span> <a class="code hl_class" href="classSawyer_1_1Container_1_1AddressSegment.html">AddressSegment</a>& <a class="code hl_function" href="classSawyer_1_1Container_1_1AddressSegment.html#a7df71ba570a6cbd901f9cae858f6bc5a">accessibility</a>(<span class="keywordtype">unsigned</span> bits) { accessibility_ = bits; <span class="keywordflow">return</span> *<span class="keyword">this</span>; }</div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno"><a class="line" href="classSawyer_1_1Container_1_1AddressSegment.html#a349033e7359b3e8290d07d62ebff2fa7"> 202</a></span> <span class="keyword">const</span> std::string &<a class="code hl_function" href="classSawyer_1_1Container_1_1AddressSegment.html#a349033e7359b3e8290d07d62ebff2fa7">name</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> name_; }</div>
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"><a class="line" href="classSawyer_1_1Container_1_1AddressSegment.html#a1c049b2a5804ec9ec73436d683ea2c55"> 203</a></span> <a class="code hl_class" href="classSawyer_1_1Container_1_1AddressSegment.html">AddressSegment</a>& <a class="code hl_function" href="classSawyer_1_1Container_1_1AddressSegment.html#a1c049b2a5804ec9ec73436d683ea2c55">name</a>(<span class="keyword">const</span> std::string &s) { name_ = s; <span class="keywordflow">return</span> *<span class="keyword">this</span>; }</div>
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno"> 206</span> <span class="comment">//-------------------------------------------------------------------------------------------------------------------</span></div>
<div class="line"><a id="l00207" name="l00207"></a><span class="lineno"> 207</span> <span class="comment">// Other methods</span></div>
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno"> 208</span> <span class="comment">//-------------------------------------------------------------------------------------------------------------------</span></div>
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno"> 209</span><span class="keyword">public</span>:</div>
<div class="foldopen" id="foldopen00214" data-start="{" data-end="}">
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno"><a class="line" href="classSawyer_1_1Container_1_1AddressSegment.html#a0e1347e48c9c5bf8792b0c5853e44dad"> 214</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classSawyer_1_1Container_1_1AddressSegment.html#a0e1347e48c9c5bf8792b0c5853e44dad">isAccessible</a>(<span class="keywordtype">unsigned</span> requiredAccess, <span class="keywordtype">unsigned</span> prohibitedAccess)<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno"> 215</span> <span class="keywordflow">return</span> requiredAccess==(accessibility_ & requiredAccess) && 0==(accessibility_ & prohibitedAccess);</div>
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno"> 216</span> }</div>
</div>
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno"> 217</span> </div>
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno"> 218</span>};</div>
</div>
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno"> 219</span> </div>
<div class="line"><a id="l00220" name="l00220"></a><span class="lineno"> 220</span>} <span class="comment">// namespace</span></div>
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno"> 221</span>} <span class="comment">// namespace</span></div>
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno"> 222</span> </div>
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno"> 223</span><span class="preprocessor">#endif</span></div>
<div class="ttc" id="aclassSawyer_1_1Container_1_1AddressSegment_html"><div class="ttname"><a href="classSawyer_1_1Container_1_1AddressSegment.html">Sawyer::Container::AddressSegment</a></div><div class="ttdoc">A homogeneous interval of an address space.</div><div class="ttdef"><b>Definition</b> <a href="AddressSegment_8h_source.html#l00042">AddressSegment.h:42</a></div></div>
<div class="ttc" id="aclassSawyer_1_1Container_1_1AddressSegment_html_a03dba60b3e167f95db911bc6ec8fc75a"><div class="ttname"><a href="classSawyer_1_1Container_1_1AddressSegment.html#a03dba60b3e167f95db911bc6ec8fc75a">Sawyer::Container::AddressSegment::nullInstance</a></div><div class="ttdeci">static AddressSegment nullInstance(Address size, unsigned accessBits=0, const std::string &name="")</div><div class="ttdoc">Create a segment that points to no data.</div><div class="ttdef"><b>Definition</b> <a href="AddressSegment_8h_source.html#l00129">AddressSegment.h:129</a></div></div>
<div class="ttc" id="aclassSawyer_1_1Container_1_1AddressSegment_html_a09db806ef68637c5b44271cc9eca865f"><div class="ttname"><a href="classSawyer_1_1Container_1_1AddressSegment.html#a09db806ef68637c5b44271cc9eca865f">Sawyer::Container::AddressSegment::fileInstance</a></div><div class="ttdeci">static AddressSegment fileInstance(const std::string &fileName, unsigned accessBits=Access::READABLE, const std::string &name="")</div><div class="ttdoc">Map a file into an address space.</div><div class="ttdef"><b>Definition</b> <a href="AddressSegment_8h_source.html#l00155">AddressSegment.h:155</a></div></div>
<div class="ttc" id="aclassSawyer_1_1Container_1_1AddressSegment_html_a0e1347e48c9c5bf8792b0c5853e44dad"><div class="ttname"><a href="classSawyer_1_1Container_1_1AddressSegment.html#a0e1347e48c9c5bf8792b0c5853e44dad">Sawyer::Container::AddressSegment::isAccessible</a></div><div class="ttdeci">bool isAccessible(unsigned requiredAccess, unsigned prohibitedAccess) const</div><div class="ttdoc">Determines whether this segment is accessible.</div><div class="ttdef"><b>Definition</b> <a href="AddressSegment_8h_source.html#l00214">AddressSegment.h:214</a></div></div>
<div class="ttc" id="aclassSawyer_1_1Container_1_1AddressSegment_html_a1c049b2a5804ec9ec73436d683ea2c55"><div class="ttname"><a href="classSawyer_1_1Container_1_1AddressSegment.html#a1c049b2a5804ec9ec73436d683ea2c55">Sawyer::Container::AddressSegment::name</a></div><div class="ttdeci">AddressSegment & name(const std::string &s)</div><div class="ttdoc">Property: name.</div><div class="ttdef"><b>Definition</b> <a href="AddressSegment_8h_source.html#l00203">AddressSegment.h:203</a></div></div>
<div class="ttc" id="aclassSawyer_1_1Container_1_1AddressSegment_html_a21376360d66f29b9863e1a69b420db78"><div class="ttname"><a href="classSawyer_1_1Container_1_1AddressSegment.html#a21376360d66f29b9863e1a69b420db78">Sawyer::Container::AddressSegment::offset</a></div><div class="ttdeci">AddressSegment & offset(A n)</div><div class="ttdoc">Property: buffer offset.</div><div class="ttdef"><b>Definition</b> <a href="AddressSegment_8h_source.html#l00184">AddressSegment.h:184</a></div></div>
<div class="ttc" id="aclassSawyer_1_1Container_1_1AddressSegment_html_a291163d0c7f78b26d2b28f56191c7add"><div class="ttname"><a href="classSawyer_1_1Container_1_1AddressSegment.html#a291163d0c7f78b26d2b28f56191c7add">Sawyer::Container::AddressSegment::staticInstance</a></div><div class="ttdeci">static AddressSegment staticInstance(const Value *buffer, Address size, unsigned accessBits=0, const std::string &name="")</div><div class="ttdoc">Create a segment that points to a static buffer.</div><div class="ttdef"><b>Definition</b> <a href="AddressSegment_8h_source.html#l00149">AddressSegment.h:149</a></div></div>
<div class="ttc" id="aclassSawyer_1_1Container_1_1AddressSegment_html_a349033e7359b3e8290d07d62ebff2fa7"><div class="ttname"><a href="classSawyer_1_1Container_1_1AddressSegment.html#a349033e7359b3e8290d07d62ebff2fa7">Sawyer::Container::AddressSegment::name</a></div><div class="ttdeci">const std::string & name() const</div><div class="ttdoc">Property: name.</div><div class="ttdef"><b>Definition</b> <a href="AddressSegment_8h_source.html#l00202">AddressSegment.h:202</a></div></div>
<div class="ttc" id="aclassSawyer_1_1Container_1_1AddressSegment_html_a3f153c5d12e5ba1d1feb956fc10cf5da"><div class="ttname"><a href="classSawyer_1_1Container_1_1AddressSegment.html#a3f153c5d12e5ba1d1feb956fc10cf5da">Sawyer::Container::AddressSegment::anonymousInstance</a></div><div class="ttdeci">static AddressSegment anonymousInstance(Address size, unsigned accessBits=0, const std::string &name="")</div><div class="ttdoc">Create a segment with no backing store.</div><div class="ttdef"><b>Definition</b> <a href="AddressSegment_8h_source.html#l00137">AddressSegment.h:137</a></div></div>
<div class="ttc" id="aclassSawyer_1_1Container_1_1AddressSegment_html_a64cbbcda56a8f4e953f5bc9b003d9a1d"><div class="ttname"><a href="classSawyer_1_1Container_1_1AddressSegment.html#a64cbbcda56a8f4e953f5bc9b003d9a1d">Sawyer::Container::AddressSegment::Address</a></div><div class="ttdeci">A Address</div><div class="ttdoc">Address types expected to be used by the underlying buffer.</div><div class="ttdef"><b>Definition</b> <a href="AddressSegment_8h_source.html#l00049">AddressSegment.h:49</a></div></div>
<div class="ttc" id="aclassSawyer_1_1Container_1_1AddressSegment_html_a76d383d90e22a14fbb0c8571dd85a1ee"><div class="ttname"><a href="classSawyer_1_1Container_1_1AddressSegment.html#a76d383d90e22a14fbb0c8571dd85a1ee">Sawyer::Container::AddressSegment::AddressSegment</a></div><div class="ttdeci">AddressSegment()</div><div class="ttdoc">Default constructor.</div><div class="ttdef"><b>Definition</b> <a href="AddressSegment_8h_source.html#l00094">AddressSegment.h:94</a></div></div>
<div class="ttc" id="aclassSawyer_1_1Container_1_1AddressSegment_html_a7bfb7ebb9cd46a700d6c645503bced9c"><div class="ttname"><a href="classSawyer_1_1Container_1_1AddressSegment.html#a7bfb7ebb9cd46a700d6c645503bced9c">Sawyer::Container::AddressSegment::operator=</a></div><div class="ttdeci">AddressSegment & operator=(const AddressSegment &other)</div><div class="ttdoc">Assignment.</div><div class="ttdef"><b>Definition</b> <a href="AddressSegment_8h_source.html#l00111">AddressSegment.h:111</a></div></div>
<div class="ttc" id="aclassSawyer_1_1Container_1_1AddressSegment_html_a7df71ba570a6cbd901f9cae858f6bc5a"><div class="ttname"><a href="classSawyer_1_1Container_1_1AddressSegment.html#a7df71ba570a6cbd901f9cae858f6bc5a">Sawyer::Container::AddressSegment::accessibility</a></div><div class="ttdeci">AddressSegment & accessibility(unsigned bits)</div><div class="ttdoc">Property: access rights.</div><div class="ttdef"><b>Definition</b> <a href="AddressSegment_8h_source.html#l00194">AddressSegment.h:194</a></div></div>
<div class="ttc" id="aclassSawyer_1_1Container_1_1AddressSegment_html_a970398df59bd3f5b326d072185afad23"><div class="ttname"><a href="classSawyer_1_1Container_1_1AddressSegment.html#a970398df59bd3f5b326d072185afad23">Sawyer::Container::AddressSegment::offset</a></div><div class="ttdeci">A offset() const</div><div class="ttdoc">Property: buffer offset.</div><div class="ttdef"><b>Definition</b> <a href="AddressSegment_8h_source.html#l00183">AddressSegment.h:183</a></div></div>
<div class="ttc" id="aclassSawyer_1_1Container_1_1AddressSegment_html_a98b1c8db5624f2e3b08ccd3747232cc9"><div class="ttname"><a href="classSawyer_1_1Container_1_1AddressSegment.html#a98b1c8db5624f2e3b08ccd3747232cc9">Sawyer::Container::AddressSegment::AddressSegment</a></div><div class="ttdeci">AddressSegment(const typename Buffer< Address, Value >::Ptr &buffer, Address offset=0, unsigned accessBits=0, const std::string &name="")</div><div class="ttdoc">Construct a segment with buffer.</div><div class="ttdef"><b>Definition</b> <a href="AddressSegment_8h_source.html#l00106">AddressSegment.h:106</a></div></div>
<div class="ttc" id="aclassSawyer_1_1Container_1_1AddressSegment_html_a9cec5b7fe7b13aba6d8fc9fbcc962f6a"><div class="ttname"><a href="classSawyer_1_1Container_1_1AddressSegment.html#a9cec5b7fe7b13aba6d8fc9fbcc962f6a">Sawyer::Container::AddressSegment::accessibility</a></div><div class="ttdeci">unsigned accessibility() const</div><div class="ttdoc">Property: access rights.</div><div class="ttdef"><b>Definition</b> <a href="AddressSegment_8h_source.html#l00193">AddressSegment.h:193</a></div></div>
<div class="ttc" id="aclassSawyer_1_1Container_1_1AddressSegment_html_aafa116357bccd55a62297ff344e15b53"><div class="ttname"><a href="classSawyer_1_1Container_1_1AddressSegment.html#aafa116357bccd55a62297ff344e15b53">Sawyer::Container::AddressSegment::AddressSegment</a></div><div class="ttdeci">AddressSegment(const AddressSegment &other)</div><div class="ttdoc">Copy constructor.</div><div class="ttdef"><b>Definition</b> <a href="AddressSegment_8h_source.html#l00100">AddressSegment.h:100</a></div></div>
<div class="ttc" id="aclassSawyer_1_1Container_1_1AddressSegment_html_abc5975012bece2bf3c2cae7299a53554"><div class="ttname"><a href="classSawyer_1_1Container_1_1AddressSegment.html#abc5975012bece2bf3c2cae7299a53554">Sawyer::Container::AddressSegment::buffer</a></div><div class="ttdeci">Buffer< A, T >::Ptr buffer() const</div><div class="ttdoc">Property: buffer.</div><div class="ttdef"><b>Definition</b> <a href="AddressSegment_8h_source.html#l00174">AddressSegment.h:174</a></div></div>
<div class="ttc" id="aclassSawyer_1_1Container_1_1AddressSegment_html_acf2c6ac9df6aeacd7cdfe6cc16efc6f7"><div class="ttname"><a href="classSawyer_1_1Container_1_1AddressSegment.html#acf2c6ac9df6aeacd7cdfe6cc16efc6f7">Sawyer::Container::AddressSegment::staticInstance</a></div><div class="ttdeci">static AddressSegment staticInstance(Value *buffer, Address size, unsigned accessBits=0, const std::string &name="")</div><div class="ttdoc">Create a segment that points to a static buffer.</div><div class="ttdef"><b>Definition</b> <a href="AddressSegment_8h_source.html#l00146">AddressSegment.h:146</a></div></div>
<div class="ttc" id="aclassSawyer_1_1Container_1_1AddressSegment_html_ae9ec8df173520417f5ceceeda165d14f"><div class="ttname"><a href="classSawyer_1_1Container_1_1AddressSegment.html#ae9ec8df173520417f5ceceeda165d14f">Sawyer::Container::AddressSegment::buffer</a></div><div class="ttdeci">AddressSegment & buffer(const typename Buffer< A, T >::Ptr &b)</div><div class="ttdoc">Property: buffer.</div><div class="ttdef"><b>Definition</b> <a href="AddressSegment_8h_source.html#l00175">AddressSegment.h:175</a></div></div>
<div class="ttc" id="aclassSawyer_1_1Container_1_1AddressSegment_html_afa561618ad5781ffc46e63a9f7e618ff"><div class="ttname"><a href="classSawyer_1_1Container_1_1AddressSegment.html#afa561618ad5781ffc46e63a9f7e618ff">Sawyer::Container::AddressSegment::Value</a></div><div class="ttdeci">T Value</div><div class="ttdoc">Type of values stored by the underlying buffer.</div><div class="ttdef"><b>Definition</b> <a href="AddressSegment_8h_source.html#l00050">AddressSegment.h:50</a></div></div>
<div class="ttc" id="aclassSawyer_1_1Container_1_1AllocatingBuffer_html"><div class="ttname"><a href="classSawyer_1_1Container_1_1AllocatingBuffer.html">Sawyer::Container::AllocatingBuffer</a></div><div class="ttdoc">Allocates memory as needed.</div><div class="ttdef"><b>Definition</b> <a href="AllocatingBuffer_8h_source.html#l00035">AllocatingBuffer.h:35</a></div></div>
<div class="ttc" id="aclassSawyer_1_1Container_1_1MappedBuffer_html"><div class="ttname"><a href="classSawyer_1_1Container_1_1MappedBuffer.html">Sawyer::Container::MappedBuffer</a></div><div class="ttdoc">Memory mapped file.</div><div class="ttdef"><b>Definition</b> <a href="MappedBuffer_8h_source.html#l00046">MappedBuffer.h:46</a></div></div>
<div class="ttc" id="aclassSawyer_1_1Container_1_1NullBuffer_html"><div class="ttname"><a href="classSawyer_1_1Container_1_1NullBuffer.html">Sawyer::Container::NullBuffer</a></div><div class="ttdoc">Buffer that has no data.</div><div class="ttdef"><b>Definition</b> <a href="NullBuffer_8h_source.html#l00022">NullBuffer.h:22</a></div></div>
<div class="ttc" id="aclassSawyer_1_1Container_1_1StaticBuffer_html"><div class="ttname"><a href="classSawyer_1_1Container_1_1StaticBuffer.html">Sawyer::Container::StaticBuffer</a></div><div class="ttdoc">Points to static data.</div><div class="ttdef"><b>Definition</b> <a href="StaticBuffer_8h_source.html#l00032">StaticBuffer.h:32</a></div></div>
<div class="ttc" id="aclassSawyer_1_1SharedPointer_html"><div class="ttname"><a href="classSawyer_1_1SharedPointer.html">Sawyer::SharedPointer</a></div><div class="ttdoc">Reference-counting intrusive smart pointer.</div><div class="ttdef"><b>Definition</b> <a href="SharedPointer_8h_source.html#l00065">SharedPointer.h:65</a></div></div>
<div class="ttc" id="anamespaceSawyer_html"><div class="ttname"><a href="namespaceSawyer.html">Sawyer</a></div><div class="ttdoc">Sawyer support library.</div><div class="ttdef"><b>Definition</b> <a href="FeasiblePath_8h_source.html#l00767">FeasiblePath.h:767</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Oct 2 2024 00:08:26 for ROSE by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>