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
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.3.1"/>
<title>Boost.AFIO: boost::afio::v2_xxx::section_handle Class 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="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
$(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</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 style="padding-left: 0.5em;">
<div id="projectname">Boost.AFIO
 <span id="projectnumber">v2.00 early alpha</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.3.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="classes.html"><span>Class Index</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classboost_1_1afio_1_1v2__xxx_1_1section__handle.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark"> </span>Pages</a></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 class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> |
<a href="#pub-types">Public Types</a> |
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pub-static-methods">Static Public Member Functions</a> |
<a href="#pro-attribs">Protected Attributes</a> |
<a href="classboost_1_1afio_1_1v2__xxx_1_1section__handle-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">boost::afio::v2_xxx::section_handle Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>A handle to a source of mapped memory.
<a href="classboost_1_1afio_1_1v2__xxx_1_1section__handle.html#details">More...</a></p>
<p><code>#include "map_handle.hpp"</code></p>
<div class="dynheader">
Inheritance diagram for boost::afio::v2_xxx::section_handle:</div>
<div class="dyncontent">
<div class="center">
<img src="classboost_1_1afio_1_1v2__xxx_1_1section__handle.png" usemap="#boost::afio::v2_xxx::section_handle_map" alt=""/>
<map id="boost::afio::v2_xxx::section_handle_map" name="boost::afio::v2_xxx::section_handle_map">
<area href="classboost_1_1afio_1_1v2__xxx_1_1handle.html" title="A native_handle_type which is managed by the lifetime of this object instance." alt="boost::afio::v2_xxx::handle" shape="rect" coords="0,0,205,24"/>
</map>
</div></div>
<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">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structboost_1_1afio_1_1v2__xxx_1_1section__handle_1_1flag__base.html">flag_base</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">The behaviour of the memory section. <a href="structboost_1_1afio_1_1v2__xxx_1_1section__handle_1_1flag__base.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:add93e9bb6b358daefd88696598b5d372"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="add93e9bb6b358daefd88696598b5d372"></a>
using </td><td class="memItemRight" valign="bottom"><b>extent_type</b> = <a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#a617ab627aa596b325d7bfef5210a43f3">handle::extent_type</a></td></tr>
<tr class="separator:add93e9bb6b358daefd88696598b5d372"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7a2b1215d07fc84508b2d4577c775cfa"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7a2b1215d07fc84508b2d4577c775cfa"></a>
using </td><td class="memItemRight" valign="bottom"><b>size_type</b> = <a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#aee8d98d7f979e312f5e18dfcebfc6870">handle::size_type</a></td></tr>
<tr class="separator:a7a2b1215d07fc84508b2d4577c775cfa"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:adf184c9c456bb78dfeab54b8c4c57146"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adf184c9c456bb78dfeab54b8c4c57146"></a>
using </td><td class="memItemRight" valign="bottom"><b>flag</b> = boost_lite::_faea95cc::bitfield::bitfield< <a class="el" href="structboost_1_1afio_1_1v2__xxx_1_1section__handle_1_1flag__base.html">flag_base</a> ></td></tr>
<tr class="separator:adf184c9c456bb78dfeab54b8c4c57146"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acd7f0c039e94c7ad40937fe32a2cabad"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#acd7f0c039e94c7ad40937fe32a2cabad">mode</a> : unsigned char { <br/>
  <b>unchanged</b> = 0,
<a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#acd7f0c039e94c7ad40937fe32a2cabada334c4a4c42fdb79d7ebc3e73b517e6f8">none</a> = 2,
<a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#acd7f0c039e94c7ad40937fe32a2cabadaa4daf6d1e8da35af49c33bbe9ee91d79">attr_read</a> = 4,
<a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#acd7f0c039e94c7ad40937fe32a2cabada9f56aff64cb748e078ab221474132d19">attr_write</a> = 5,
<br/>
  <a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#acd7f0c039e94c7ad40937fe32a2cabadaecae13117d6f0584c25a9da6c8f8415e">read</a> = 6,
<a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#acd7f0c039e94c7ad40937fe32a2cabadaefb2a684e4afb7d55e6147fbe5a332ee">write</a> = 7,
<a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#acd7f0c039e94c7ad40937fe32a2cabada9516dfb15f51c7ee19a4d46b8c0dbe1d">append</a> = 9
<br/>
}</td></tr>
<tr class="memdesc:acd7f0c039e94c7ad40937fe32a2cabad"><td class="mdescLeft"> </td><td class="mdescRight">The behaviour of the handle: does it read, read and write, or atomic append? <a href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#acd7f0c039e94c7ad40937fe32a2cabad">More...</a><br/></td></tr>
<tr class="separator:acd7f0c039e94c7ad40937fe32a2cabad"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab7acaf4e9155f8ad4023813354de5357"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#ab7acaf4e9155f8ad4023813354de5357">creation</a> : unsigned char { <b>open_existing</b> = 0,
<b>only_if_not_exist</b>,
<b>if_needed</b>,
<a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#ab7acaf4e9155f8ad4023813354de5357a244f58cf07c35fd48d7524b289551e5c">truncate</a>
}</td></tr>
<tr class="memdesc:ab7acaf4e9155f8ad4023813354de5357"><td class="mdescLeft"> </td><td class="mdescRight">On opening, do we also create a new file or truncate an existing one? <a href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#ab7acaf4e9155f8ad4023813354de5357">More...</a><br/></td></tr>
<tr class="separator:ab7acaf4e9155f8ad4023813354de5357"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a81c7de194feaa88684ca9851d0d527ca"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#a81c7de194feaa88684ca9851d0d527ca">caching</a> : unsigned char { <br/>
  <b>unchanged</b> = 0,
<a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#a81c7de194feaa88684ca9851d0d527caa334c4a4c42fdb79d7ebc3e73b517e6f8">none</a> = 1,
<a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#a81c7de194feaa88684ca9851d0d527caab8a61dd00ce6fc5888706bda8fab2e98">only_metadata</a> = 2,
<a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#a81c7de194feaa88684ca9851d0d527caa0fb9cf5f04f61bb6f1151da57ceb1ca1">reads</a> = 3,
<br/>
  <a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#a81c7de194feaa88684ca9851d0d527caadec4ecca8ae1593f84eea4656599a693">reads_and_metadata</a> = 5,
<a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#a81c7de194feaa88684ca9851d0d527caaa181a603769c1f98ad927e7367c7aa51">all</a> = 4,
<a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#a81c7de194feaa88684ca9851d0d527caadfa4d35596e04e042a53c64b25c22db3">safety_fsyncs</a> = 7,
<a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#a81c7de194feaa88684ca9851d0d527caad5197d93c063a2b1e22d1630a39b7aef">temporary</a> = 6
<br/>
}</td></tr>
<tr class="memdesc:a81c7de194feaa88684ca9851d0d527ca"><td class="mdescLeft"> </td><td class="mdescRight">What i/o on the handle will complete immediately due to kernel caching. <a href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#a81c7de194feaa88684ca9851d0d527ca">More...</a><br/></td></tr>
<tr class="separator:a81c7de194feaa88684ca9851d0d527ca"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa28b35a32f1292b6126a82bba20a2c90"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa28b35a32f1292b6126a82bba20a2c90"></a>
using </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#aa28b35a32f1292b6126a82bba20a2c90">path_type</a> = fixme_path</td></tr>
<tr class="memdesc:aa28b35a32f1292b6126a82bba20a2c90"><td class="mdescLeft"> </td><td class="mdescRight">The path type used by this handle. <br/></td></tr>
<tr class="separator:aa28b35a32f1292b6126a82bba20a2c90"><td class="memSeparator" colspan="2"> </td></tr>
</table><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:a4d11de5e7fe8fee158829a024c8fdda4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4d11de5e7fe8fee158829a024c8fdda4"></a>
 </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1section__handle.html#a4d11de5e7fe8fee158829a024c8fdda4">section_handle</a> ()</td></tr>
<tr class="memdesc:a4d11de5e7fe8fee158829a024c8fdda4"><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <br/></td></tr>
<tr class="separator:a4d11de5e7fe8fee158829a024c8fdda4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af17b4f0410fa9dbe6d551d7a255b6d42"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af17b4f0410fa9dbe6d551d7a255b6d42"></a>
 </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1section__handle.html#af17b4f0410fa9dbe6d551d7a255b6d42">section_handle</a> (<a class="el" href="structboost_1_1afio_1_1v2__xxx_1_1native__handle__type.html">native_handle_type</a> sectionh, <a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1io__handle.html">io_handle</a> *backing, <a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#a617ab627aa596b325d7bfef5210a43f3">extent_type</a> maximum_size, flag __flag)</td></tr>
<tr class="memdesc:af17b4f0410fa9dbe6d551d7a255b6d42"><td class="mdescLeft"> </td><td class="mdescRight">Construct a section handle using the given native handle type for the section and the given i/o handle for the backing storage. <br/></td></tr>
<tr class="separator:af17b4f0410fa9dbe6d551d7a255b6d42"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aac2ebb1d0f361f4178bb5802598f0234"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aac2ebb1d0f361f4178bb5802598f0234"></a>
 </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1section__handle.html#aac2ebb1d0f361f4178bb5802598f0234">section_handle</a> (<a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1section__handle.html">section_handle</a> &&o) noexcept</td></tr>
<tr class="memdesc:aac2ebb1d0f361f4178bb5802598f0234"><td class="mdescLeft"> </td><td class="mdescRight">Implicit move construction of section_handle permitted. <br/></td></tr>
<tr class="separator:aac2ebb1d0f361f4178bb5802598f0234"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4b8a67f1d2da5bb2123da30835b0f894"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4b8a67f1d2da5bb2123da30835b0f894"></a>
<a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1section__handle.html">section_handle</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1section__handle.html#a4b8a67f1d2da5bb2123da30835b0f894">operator=</a> (<a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1section__handle.html">section_handle</a> &&o) noexcept</td></tr>
<tr class="memdesc:a4b8a67f1d2da5bb2123da30835b0f894"><td class="mdescLeft"> </td><td class="mdescRight">Move assignment of section_handle permitted. <br/></td></tr>
<tr class="separator:a4b8a67f1d2da5bb2123da30835b0f894"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae0e0965229c5c6486352867c4284bffe"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae0e0965229c5c6486352867c4284bffe"></a>
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1section__handle.html#ae0e0965229c5c6486352867c4284bffe">swap</a> (<a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1section__handle.html">section_handle</a> &o) noexcept</td></tr>
<tr class="memdesc:ae0e0965229c5c6486352867c4284bffe"><td class="mdescLeft"> </td><td class="mdescRight">Swap with another instance. <br/></td></tr>
<tr class="separator:ae0e0965229c5c6486352867c4284bffe"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a049964a4397f858e9b1be60c60113b13"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a049964a4397f858e9b1be60c60113b13"></a>
flag </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1section__handle.html#a049964a4397f858e9b1be60c60113b13">section_flags</a> () const noexcept</td></tr>
<tr class="memdesc:a049964a4397f858e9b1be60c60113b13"><td class="mdescLeft"> </td><td class="mdescRight">Returns the memory section's flags. <br/></td></tr>
<tr class="separator:a049964a4397f858e9b1be60c60113b13"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a78fc51ac881ae0fc42327de1f9604ee7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a78fc51ac881ae0fc42327de1f9604ee7"></a>
<a class="el" href="structboost_1_1afio_1_1v2__xxx_1_1native__handle__type.html">native_handle_type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1section__handle.html#a78fc51ac881ae0fc42327de1f9604ee7">backing_native_handle</a> () const noexcept</td></tr>
<tr class="memdesc:a78fc51ac881ae0fc42327de1f9604ee7"><td class="mdescLeft"> </td><td class="mdescRight">Returns the borrowed native handle backing this section, if any. <br/></td></tr>
<tr class="separator:a78fc51ac881ae0fc42327de1f9604ee7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aeb4ddb14354a7098f3d8d5e351095570"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aeb4ddb14354a7098f3d8d5e351095570"></a>
<a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#a617ab627aa596b325d7bfef5210a43f3">extent_type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1section__handle.html#aeb4ddb14354a7098f3d8d5e351095570">length</a> () const noexcept</td></tr>
<tr class="memdesc:aeb4ddb14354a7098f3d8d5e351095570"><td class="mdescLeft"> </td><td class="mdescRight">Return the current maximum permitted extent of the memory section. <br/></td></tr>
<tr class="separator:aeb4ddb14354a7098f3d8d5e351095570"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5a4ed3e38634ee4378133c7ccbb882d6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceboost_1_1afio_1_1v2__xxx.html#ac8d06ecaa9660e7251c1251d88c1305c">result</a>< <a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#a617ab627aa596b325d7bfef5210a43f3">extent_type</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1section__handle.html#a5a4ed3e38634ee4378133c7ccbb882d6">truncate</a> (<a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#a617ab627aa596b325d7bfef5210a43f3">extent_type</a> newsize) noexcept</td></tr>
<tr class="separator:a5a4ed3e38634ee4378133c7ccbb882d6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a461355ae526806b338fd2eaadc564a43"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a461355ae526806b338fd2eaadc564a43"></a>
virtual <a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#aa28b35a32f1292b6126a82bba20a2c90">path_type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#a461355ae526806b338fd2eaadc564a43">path</a> () const noexcept</td></tr>
<tr class="memdesc:a461355ae526806b338fd2eaadc564a43"><td class="mdescLeft"> </td><td class="mdescRight">The path this handle refers to, if any. <br/></td></tr>
<tr class="separator:a461355ae526806b338fd2eaadc564a43"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a651ff10099e7522df784507aca8b8f0f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a651ff10099e7522df784507aca8b8f0f"></a>
virtual <a class="el" href="namespaceboost_1_1afio_1_1v2__xxx.html#ac8d06ecaa9660e7251c1251d88c1305c">result</a>< void > </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#a651ff10099e7522df784507aca8b8f0f">close</a> () noexcept</td></tr>
<tr class="memdesc:a651ff10099e7522df784507aca8b8f0f"><td class="mdescLeft"> </td><td class="mdescRight">Immediately close the native handle type managed by this handle. <br/></td></tr>
<tr class="separator:a651ff10099e7522df784507aca8b8f0f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a59c9bc1338196095a028b2870dcfb61d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a59c9bc1338196095a028b2870dcfb61d"></a>
virtual <a class="el" href="structboost_1_1afio_1_1v2__xxx_1_1native__handle__type.html">native_handle_type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#a59c9bc1338196095a028b2870dcfb61d">release</a> () noexcept</td></tr>
<tr class="memdesc:a59c9bc1338196095a028b2870dcfb61d"><td class="mdescLeft"> </td><td class="mdescRight">Release the native handle type managed by this handle. <br/></td></tr>
<tr class="separator:a59c9bc1338196095a028b2870dcfb61d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a72da822cb2e7c406aaa40be0f44b16fa"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a72da822cb2e7c406aaa40be0f44b16fa"></a>
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#a72da822cb2e7c406aaa40be0f44b16fa">is_valid</a> () const noexcept</td></tr>
<tr class="memdesc:a72da822cb2e7c406aaa40be0f44b16fa"><td class="mdescLeft"> </td><td class="mdescRight">True if the handle is valid (and usually open) <br/></td></tr>
<tr class="separator:a72da822cb2e7c406aaa40be0f44b16fa"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af2d9387a79e320e2902880fee38b392a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af2d9387a79e320e2902880fee38b392a"></a>
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#af2d9387a79e320e2902880fee38b392a">is_readable</a> () const noexcept</td></tr>
<tr class="memdesc:af2d9387a79e320e2902880fee38b392a"><td class="mdescLeft"> </td><td class="mdescRight">True if the handle is readable. <br/></td></tr>
<tr class="separator:af2d9387a79e320e2902880fee38b392a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac847865f7370c00ca1e7d0b2ac8ee4e7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac847865f7370c00ca1e7d0b2ac8ee4e7"></a>
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#ac847865f7370c00ca1e7d0b2ac8ee4e7">is_writable</a> () const noexcept</td></tr>
<tr class="memdesc:ac847865f7370c00ca1e7d0b2ac8ee4e7"><td class="mdescLeft"> </td><td class="mdescRight">True if the handle is writable. <br/></td></tr>
<tr class="separator:ac847865f7370c00ca1e7d0b2ac8ee4e7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abef3375ff35a72bd780cbee0b600b26d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abef3375ff35a72bd780cbee0b600b26d"></a>
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#abef3375ff35a72bd780cbee0b600b26d">is_append_only</a> () const noexcept</td></tr>
<tr class="memdesc:abef3375ff35a72bd780cbee0b600b26d"><td class="mdescLeft"> </td><td class="mdescRight">True if the handle is append only. <br/></td></tr>
<tr class="separator:abef3375ff35a72bd780cbee0b600b26d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:adf964e787e0666fc5b7d94c2715ee6f5"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespaceboost_1_1afio_1_1v2__xxx.html#ac8d06ecaa9660e7251c1251d88c1305c">result</a>< void > </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#adf964e787e0666fc5b7d94c2715ee6f5">set_append_only</a> (bool enable) noexcept</td></tr>
<tr class="separator:adf964e787e0666fc5b7d94c2715ee6f5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8d4b2f3b095a80e651c18143246ee4e9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8d4b2f3b095a80e651c18143246ee4e9"></a>
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#a8d4b2f3b095a80e651c18143246ee4e9">is_overlapped</a> () const noexcept</td></tr>
<tr class="memdesc:a8d4b2f3b095a80e651c18143246ee4e9"><td class="mdescLeft"> </td><td class="mdescRight">True if overlapped. <br/></td></tr>
<tr class="separator:a8d4b2f3b095a80e651c18143246ee4e9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3c14ec910a3eac02b44688807c9b7511"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3c14ec910a3eac02b44688807c9b7511"></a>
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#a3c14ec910a3eac02b44688807c9b7511">is_seekable</a> () const noexcept</td></tr>
<tr class="memdesc:a3c14ec910a3eac02b44688807c9b7511"><td class="mdescLeft"> </td><td class="mdescRight">True if seekable. <br/></td></tr>
<tr class="separator:a3c14ec910a3eac02b44688807c9b7511"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7d1fa70986dc1edea222e17fbabc6425"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7d1fa70986dc1edea222e17fbabc6425"></a>
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#a7d1fa70986dc1edea222e17fbabc6425">requires_aligned_io</a> () const noexcept</td></tr>
<tr class="memdesc:a7d1fa70986dc1edea222e17fbabc6425"><td class="mdescLeft"> </td><td class="mdescRight">True if requires aligned i/o. <br/></td></tr>
<tr class="separator:a7d1fa70986dc1edea222e17fbabc6425"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a81b36f2dcb205e049f3c3781c7973b6e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a81b36f2dcb205e049f3c3781c7973b6e"></a>
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#a81b36f2dcb205e049f3c3781c7973b6e">is_regular</a> () const noexcept</td></tr>
<tr class="memdesc:a81b36f2dcb205e049f3c3781c7973b6e"><td class="mdescLeft"> </td><td class="mdescRight">True if a regular file or device. <br/></td></tr>
<tr class="separator:a81b36f2dcb205e049f3c3781c7973b6e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a75d78e5591cafbc68e8ba4e2b2deffa9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a75d78e5591cafbc68e8ba4e2b2deffa9"></a>
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#a75d78e5591cafbc68e8ba4e2b2deffa9">is_directory</a> () const noexcept</td></tr>
<tr class="memdesc:a75d78e5591cafbc68e8ba4e2b2deffa9"><td class="mdescLeft"> </td><td class="mdescRight">True if a directory. <br/></td></tr>
<tr class="separator:a75d78e5591cafbc68e8ba4e2b2deffa9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6aa861f1403424bf5768d6dd25da402f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6aa861f1403424bf5768d6dd25da402f"></a>
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#a6aa861f1403424bf5768d6dd25da402f">is_symlink</a> () const noexcept</td></tr>
<tr class="memdesc:a6aa861f1403424bf5768d6dd25da402f"><td class="mdescLeft"> </td><td class="mdescRight">True if a symlink. <br/></td></tr>
<tr class="separator:a6aa861f1403424bf5768d6dd25da402f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad6cbdfbe64d09ec03829144a137bc865"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad6cbdfbe64d09ec03829144a137bc865"></a>
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#ad6cbdfbe64d09ec03829144a137bc865">is_multiplexer</a> () const noexcept</td></tr>
<tr class="memdesc:ad6cbdfbe64d09ec03829144a137bc865"><td class="mdescLeft"> </td><td class="mdescRight">True if a multiplexer like BSD kqueues, Linux epoll or Windows IOCP. <br/></td></tr>
<tr class="separator:ad6cbdfbe64d09ec03829144a137bc865"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3460c3419d165c7d9e8aaee8db3c7f2c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3460c3419d165c7d9e8aaee8db3c7f2c"></a>
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#a3460c3419d165c7d9e8aaee8db3c7f2c">is_process</a> () const noexcept</td></tr>
<tr class="memdesc:a3460c3419d165c7d9e8aaee8db3c7f2c"><td class="mdescLeft"> </td><td class="mdescRight">True if a process. <br/></td></tr>
<tr class="separator:a3460c3419d165c7d9e8aaee8db3c7f2c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a75bedfc2b14073a20ac359edc29f9cc9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a75bedfc2b14073a20ac359edc29f9cc9"></a>
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#a75bedfc2b14073a20ac359edc29f9cc9">is_section</a> () const noexcept</td></tr>
<tr class="memdesc:a75bedfc2b14073a20ac359edc29f9cc9"><td class="mdescLeft"> </td><td class="mdescRight">True if a memory section. <br/></td></tr>
<tr class="separator:a75bedfc2b14073a20ac359edc29f9cc9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad4ee22cfec00551e1f71ff23962280be"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad4ee22cfec00551e1f71ff23962280be"></a>
<a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#a81c7de194feaa88684ca9851d0d527ca">caching</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#ad4ee22cfec00551e1f71ff23962280be">kernel_caching</a> () const noexcept</td></tr>
<tr class="memdesc:ad4ee22cfec00551e1f71ff23962280be"><td class="mdescLeft"> </td><td class="mdescRight">Kernel cache strategy used by this handle. <br/></td></tr>
<tr class="separator:ad4ee22cfec00551e1f71ff23962280be"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a70998344e2234961c5ad64491d042ff8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a70998344e2234961c5ad64491d042ff8"></a>
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#a70998344e2234961c5ad64491d042ff8">are_reads_from_cache</a> () const noexcept</td></tr>
<tr class="memdesc:a70998344e2234961c5ad64491d042ff8"><td class="mdescLeft"> </td><td class="mdescRight">True if the handle uses the kernel page cache for reads. <br/></td></tr>
<tr class="separator:a70998344e2234961c5ad64491d042ff8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae446e9a32283991f58f8f27dbed083d1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae446e9a32283991f58f8f27dbed083d1"></a>
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#ae446e9a32283991f58f8f27dbed083d1">are_writes_durable</a> () const noexcept</td></tr>
<tr class="memdesc:ae446e9a32283991f58f8f27dbed083d1"><td class="mdescLeft"> </td><td class="mdescRight">True if writes are safely on storage on completion. <br/></td></tr>
<tr class="separator:ae446e9a32283991f58f8f27dbed083d1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3e08545dd29f09a40ff8439ac774ae1e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3e08545dd29f09a40ff8439ac774ae1e"></a>
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#a3e08545dd29f09a40ff8439ac774ae1e">are_safety_fsyncs_issued</a> () const noexcept</td></tr>
<tr class="memdesc:a3e08545dd29f09a40ff8439ac774ae1e"><td class="mdescLeft"> </td><td class="mdescRight">True if issuing safety fsyncs is on. <br/></td></tr>
<tr class="separator:a3e08545dd29f09a40ff8439ac774ae1e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa8de6675205db68de70bf9075a6c649f"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespaceboost_1_1afio_1_1v2__xxx.html#ac8d06ecaa9660e7251c1251d88c1305c">result</a>< void > </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#aa8de6675205db68de70bf9075a6c649f">set_kernel_caching</a> (<a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#a81c7de194feaa88684ca9851d0d527ca">caching</a> <a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#a81c7de194feaa88684ca9851d0d527ca">caching</a>) noexcept</td></tr>
<tr class="separator:aa8de6675205db68de70bf9075a6c649f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:add27fa17cd6356b49a26a8b6dafb6a6d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="add27fa17cd6356b49a26a8b6dafb6a6d"></a>
flag </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#add27fa17cd6356b49a26a8b6dafb6a6d">flags</a> () const noexcept</td></tr>
<tr class="memdesc:add27fa17cd6356b49a26a8b6dafb6a6d"><td class="mdescLeft"> </td><td class="mdescRight">The flags this handle was opened with. <br/></td></tr>
<tr class="separator:add27fa17cd6356b49a26a8b6dafb6a6d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae600069dc662d837c36f42802791c7f4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae600069dc662d837c36f42802791c7f4"></a>
<a class="el" href="structboost_1_1afio_1_1v2__xxx_1_1native__handle__type.html">native_handle_type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#ae600069dc662d837c36f42802791c7f4">native_handle</a> () const noexcept</td></tr>
<tr class="memdesc:ae600069dc662d837c36f42802791c7f4"><td class="mdescLeft"> </td><td class="mdescRight">The native handle used by this handle. <br/></td></tr>
<tr class="separator:ae600069dc662d837c36f42802791c7f4"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a09eab0e7e479b3c3a07a57567ae3e354"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespaceboost_1_1afio_1_1v2__xxx.html#ac8d06ecaa9660e7251c1251d88c1305c">result</a>< <a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1section__handle.html">section_handle</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1section__handle.html#a09eab0e7e479b3c3a07a57567ae3e354">section</a> (<a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1file__handle.html">file_handle</a> &backing, <a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#a617ab627aa596b325d7bfef5210a43f3">extent_type</a> maximum_size=0, flag _flag=flag::read|flag::write) noexcept</td></tr>
<tr class="memdesc:a09eab0e7e479b3c3a07a57567ae3e354"><td class="mdescLeft"> </td><td class="mdescRight">Create a memory section. <a href="#a09eab0e7e479b3c3a07a57567ae3e354">More...</a><br/></td></tr>
<tr class="separator:a09eab0e7e479b3c3a07a57567ae3e354"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2ce0e07e5e48578bae21dcaafbaf033a"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespaceboost_1_1afio_1_1v2__xxx.html#ac8d06ecaa9660e7251c1251d88c1305c">result</a>< <a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1section__handle.html">section_handle</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1section__handle.html#a2ce0e07e5e48578bae21dcaafbaf033a">section</a> (<a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#a617ab627aa596b325d7bfef5210a43f3">extent_type</a> maximum_size, <a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1file__handle.html">file_handle</a> &backing, flag _flag=flag::read|flag::write) noexcept</td></tr>
<tr class="separator:a2ce0e07e5e48578bae21dcaafbaf033a"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a121212f4f90b641353eb6a1c55ce6c82"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a121212f4f90b641353eb6a1c55ce6c82"></a>
<a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1io__handle.html">io_handle</a> * </td><td class="memItemRight" valign="bottom"><b>_backing</b></td></tr>
<tr class="separator:a121212f4f90b641353eb6a1c55ce6c82"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a62a912a33ba00b6e4a6536d15af260e4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a62a912a33ba00b6e4a6536d15af260e4"></a>
<a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#a617ab627aa596b325d7bfef5210a43f3">extent_type</a> </td><td class="memItemRight" valign="bottom"><b>_length</b></td></tr>
<tr class="separator:a62a912a33ba00b6e4a6536d15af260e4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abe273f17a7504e8247846f3b300df9d1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abe273f17a7504e8247846f3b300df9d1"></a>
flag </td><td class="memItemRight" valign="bottom"><b>_flag</b></td></tr>
<tr class="separator:abe273f17a7504e8247846f3b300df9d1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae19418f14d1dd86e75214eda7644d42f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae19418f14d1dd86e75214eda7644d42f"></a>
<a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#a81c7de194feaa88684ca9851d0d527ca">caching</a> </td><td class="memItemRight" valign="bottom"><b>_caching</b></td></tr>
<tr class="separator:ae19418f14d1dd86e75214eda7644d42f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5037b058e4f8ef02a776d870b10d379a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5037b058e4f8ef02a776d870b10d379a"></a>
flag </td><td class="memItemRight" valign="bottom"><b>_flags</b></td></tr>
<tr class="separator:a5037b058e4f8ef02a776d870b10d379a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8d3193d192d5de93d3ea781b93ea398b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8d3193d192d5de93d3ea781b93ea398b"></a>
<a class="el" href="structboost_1_1afio_1_1v2__xxx_1_1native__handle__type.html">native_handle_type</a> </td><td class="memItemRight" valign="bottom"><b>_v</b></td></tr>
<tr class="separator:a8d3193d192d5de93d3ea781b93ea398b"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A handle to a source of mapped memory. </p>
<dl class="section note"><dt>Note</dt><dd>On Windows the native handle of this handle is that of the NT kernel section object. On POSIX it is a cloned file descriptor of the backing storage. </dd></dl>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a class="anchor" id="a81c7de194feaa88684ca9851d0d527ca"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#a81c7de194feaa88684ca9851d0d527ca">boost::afio::v2_xxx::handle::caching</a> : unsigned char</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>What i/o on the handle will complete immediately due to kernel caching. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="a81c7de194feaa88684ca9851d0d527caa334c4a4c42fdb79d7ebc3e73b517e6f8"></a>none</em> </td><td class="fielddoc">
<p>No caching whatsoever, all reads and writes come from storage (i.e. <code>O_DIRECT|O_SYNC</code>). Align all i/o to 4Kb boundaries for this to work. <code>flag_disable_safety_fsyncs</code> can be used here. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a81c7de194feaa88684ca9851d0d527caab8a61dd00ce6fc5888706bda8fab2e98"></a>only_metadata</em> </td><td class="fielddoc">
<p>Cache reads and writes of metadata but avoid caching data (<code>O_DIRECT</code>), thus i/o here does not affect other cached data for other handles. Align all i/o to 4Kb boundaries for this to work. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a81c7de194feaa88684ca9851d0d527caa0fb9cf5f04f61bb6f1151da57ceb1ca1"></a>reads</em> </td><td class="fielddoc">
<p>Cache reads only. Writes of data and metadata do not complete until reaching storage (<code>O_SYNC</code>). <code>flag_disable_safety_fsyncs</code> can be used here. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a81c7de194feaa88684ca9851d0d527caadec4ecca8ae1593f84eea4656599a693"></a>reads_and_metadata</em> </td><td class="fielddoc">
<p>Cache reads and writes of metadata, but writes of data do not complete until reaching storage (<code>O_DSYNC</code>). <code>flag_disable_safety_fsyncs</code> can be used here. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a81c7de194feaa88684ca9851d0d527caaa181a603769c1f98ad927e7367c7aa51"></a>all</em> </td><td class="fielddoc">
<p>Cache reads and writes of data and metadata so they complete immediately, sending writes to storage at some point when the kernel decides (this is the default file system caching on a system). </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a81c7de194feaa88684ca9851d0d527caadfa4d35596e04e042a53c64b25c22db3"></a>safety_fsyncs</em> </td><td class="fielddoc">
<p>Cache reads and writes of data and metadata so they complete immediately, but issue safety fsyncs at certain points. See documentation for <code>flag_disable_safety_fsyncs</code>. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a81c7de194feaa88684ca9851d0d527caad5197d93c063a2b1e22d1630a39b7aef"></a>temporary</em> </td><td class="fielddoc">
<p>Cache reads and writes of data and metadata so they complete immediately, only sending any updates to storage on last handle close in the system or if memory becomes tight as this file is expected to be temporary (Windows only). </p>
</td></tr>
</table>
<div class="fragment"><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  : <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <span class="comment">// bit 0 set means safety fsyncs enabled</span></div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  {</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  unchanged = 0,</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <a class="code" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#acd7f0c039e94c7ad40937fe32a2cabada334c4a4c42fdb79d7ebc3e73b517e6f8" title="No ability to read or write anything, but can synchronise (SYNCHRONIZE or 0)">none</a> = 1, <span class="comment">//!< No caching whatsoever, all reads and writes come from storage (i.e. <tt>O_DIRECT|O_SYNC</tt>). Align all i/o to 4Kb boundaries for this to work. <tt>flag_disable_safety_fsyncs</tt> can be used here.</span></div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <span class="comment"></span> <a class="code" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#a81c7de194feaa88684ca9851d0d527caab8a61dd00ce6fc5888706bda8fab2e98" title="Cache reads and writes of metadata but avoid caching data (O_DIRECT), thus i/o here does not affect o...">only_metadata</a> = 2, <span class="comment">//!< Cache reads and writes of metadata but avoid caching data (<tt>O_DIRECT</tt>), thus i/o here does not affect other cached data for other handles. Align all i/o to 4Kb boundaries for this to work.</span></div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span> <span class="comment"></span> <a class="code" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#a81c7de194feaa88684ca9851d0d527caa0fb9cf5f04f61bb6f1151da57ceb1ca1" title="Cache reads only. Writes of data and metadata do not complete until reaching storage (O_SYNC)...">reads</a> = 3, <span class="comment">//!< Cache reads only. Writes of data and metadata do not complete until reaching storage (<tt>O_SYNC</tt>). <tt>flag_disable_safety_fsyncs</tt> can be used here.</span></div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span> <span class="comment"></span> <a class="code" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#a81c7de194feaa88684ca9851d0d527caadec4ecca8ae1593f84eea4656599a693" title="Cache reads and writes of metadata, but writes of data do not complete until reaching storage (O_DSYN...">reads_and_metadata</a> = 5, <span class="comment">//!< Cache reads and writes of metadata, but writes of data do not complete until reaching storage (<tt>O_DSYNC</tt>). <tt>flag_disable_safety_fsyncs</tt> can be used here.</span></div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span> <span class="comment"></span> <a class="code" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#a81c7de194feaa88684ca9851d0d527caaa181a603769c1f98ad927e7367c7aa51" title="Cache reads and writes of data and metadata so they complete immediately, sending writes to storage a...">all</a> = 4, <span class="comment">//!< Cache reads and writes of data and metadata so they complete immediately, sending writes to storage at some point when the kernel decides (this is the default file system caching on a system).</span></div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span> <span class="comment"></span> <a class="code" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#a81c7de194feaa88684ca9851d0d527caadfa4d35596e04e042a53c64b25c22db3" title="Cache reads and writes of data and metadata so they complete immediately, but issue safety fsyncs at ...">safety_fsyncs</a> = 7, <span class="comment">//!< Cache reads and writes of data and metadata so they complete immediately, but issue safety fsyncs at certain points. See documentation for <tt>flag_disable_safety_fsyncs</tt>.</span></div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span> <span class="comment"></span> <a class="code" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#a81c7de194feaa88684ca9851d0d527caad5197d93c063a2b1e22d1630a39b7aef" title="Cache reads and writes of data and metadata so they complete immediately, only sending any updates to...">temporary</a> = 6 <span class="comment">//!< Cache reads and writes of data and metadata so they complete immediately, only sending any updates to storage on last handle close in the system or if memory becomes tight as this file is expected to be temporary (Windows only).</span></div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span> <span class="comment"></span> <span class="comment">// NOTE: IF UPDATING THIS UPDATE THE std::ostream PRINTER BELOW!!!</span></div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  };</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="ab7acaf4e9155f8ad4023813354de5357"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#ab7acaf4e9155f8ad4023813354de5357">boost::afio::v2_xxx::handle::creation</a> : unsigned char</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>On opening, do we also create a new file or truncate an existing one? </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="ab7acaf4e9155f8ad4023813354de5357a244f58cf07c35fd48d7524b289551e5c"></a>truncate</em> </td><td class="fielddoc">
<p>Atomically truncate on open, leaving creation date unmodified. </p>
</td></tr>
</table>
<div class="fragment"><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  : <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span></div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  {</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  open_existing = 0,</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  only_if_not_exist,</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  if_needed,</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <a class="code" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#ab7acaf4e9155f8ad4023813354de5357a244f58cf07c35fd48d7524b289551e5c" title="Atomically truncate on open, leaving creation date unmodified.">truncate</a> <span class="comment">//!< Atomically truncate on open, leaving creation date unmodified.</span></div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span> <span class="comment"></span> <span class="comment">// NOTE: IF UPDATING THIS UPDATE THE std::ostream PRINTER BELOW!!!</span></div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  };</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="acd7f0c039e94c7ad40937fe32a2cabad"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#acd7f0c039e94c7ad40937fe32a2cabad">boost::afio::v2_xxx::handle::mode</a> : unsigned char</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>The behaviour of the handle: does it read, read and write, or atomic append? </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="acd7f0c039e94c7ad40937fe32a2cabada334c4a4c42fdb79d7ebc3e73b517e6f8"></a>none</em> </td><td class="fielddoc">
<p>No ability to read or write anything, but can synchronise (SYNCHRONIZE or 0) </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="acd7f0c039e94c7ad40937fe32a2cabadaa4daf6d1e8da35af49c33bbe9ee91d79"></a>attr_read</em> </td><td class="fielddoc">
<p>Ability to read attributes (FILE_READ_ATTRIBUTES|SYNCHRONIZE or O_RDONLY) </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="acd7f0c039e94c7ad40937fe32a2cabada9f56aff64cb748e078ab221474132d19"></a>attr_write</em> </td><td class="fielddoc">
<p>Ability to read and write attributes (FILE_READ_ATTRIBUTES|FILE_WRITE_ATTRIBUTES|SYNCHRONIZE or O_RDONLY) </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="acd7f0c039e94c7ad40937fe32a2cabadaecae13117d6f0584c25a9da6c8f8415e"></a>read</em> </td><td class="fielddoc">
<p>Ability to read (READ_CONTROL|FILE_READ_DATA|FILE_READ_ATTRIBUTES|FILE_READ_EA|SYNCHRONISE or O_RDONLY) </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="acd7f0c039e94c7ad40937fe32a2cabadaefb2a684e4afb7d55e6147fbe5a332ee"></a>write</em> </td><td class="fielddoc">
<p>Ability to read and write (READ_CONTROL|FILE_READ_DATA|FILE_READ_ATTRIBUTES|FILE_READ_EA|FILE_WRITE_DATA|FILE_WRITE_ATTRIBUTES|FILE_WRITE_EA|FILE_APPEND_DATA|SYNCHRONISE or O_RDWR) </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="acd7f0c039e94c7ad40937fe32a2cabada9516dfb15f51c7ee19a4d46b8c0dbe1d"></a>append</em> </td><td class="fielddoc">
<p>All mainstream OSs and CIFS guarantee this is atomic with respect to all other appenders (FILE_APPEND_DATA|SYNCHRONISE or O_APPEND) </p>
</td></tr>
</table>
<div class="fragment"><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  : <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <span class="comment">// bit 0 set means writable</span></div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  {</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  unchanged = 0,</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <a class="code" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#acd7f0c039e94c7ad40937fe32a2cabada334c4a4c42fdb79d7ebc3e73b517e6f8" title="No ability to read or write anything, but can synchronise (SYNCHRONIZE or 0)">none</a> = 2, <span class="comment">//!< No ability to read or write anything, but can synchronise (SYNCHRONIZE or 0)</span></div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <span class="comment"></span> <a class="code" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#acd7f0c039e94c7ad40937fe32a2cabadaa4daf6d1e8da35af49c33bbe9ee91d79" title="Ability to read attributes (FILE_READ_ATTRIBUTES|SYNCHRONIZE or O_RDONLY)">attr_read</a> = 4, <span class="comment">//!< Ability to read attributes (FILE_READ_ATTRIBUTES|SYNCHRONIZE or O_RDONLY)</span></div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span> <span class="comment"></span> <a class="code" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#acd7f0c039e94c7ad40937fe32a2cabada9f56aff64cb748e078ab221474132d19" title="Ability to read and write attributes (FILE_READ_ATTRIBUTES|FILE_WRITE_ATTRIBUTES|SYNCHRONIZE or O_RDO...">attr_write</a> = 5, <span class="comment">//!< Ability to read and write attributes (FILE_READ_ATTRIBUTES|FILE_WRITE_ATTRIBUTES|SYNCHRONIZE or O_RDONLY)</span></div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="comment"></span> <a class="code" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#acd7f0c039e94c7ad40937fe32a2cabadaecae13117d6f0584c25a9da6c8f8415e" title="Ability to read (READ_CONTROL|FILE_READ_DATA|FILE_READ_ATTRIBUTES|FILE_READ_EA|SYNCHRONISE or O_RDONL...">read</a> = 6, <span class="comment">//!< Ability to read (READ_CONTROL|FILE_READ_DATA|FILE_READ_ATTRIBUTES|FILE_READ_EA|SYNCHRONISE or O_RDONLY)</span></div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <span class="comment"></span> <a class="code" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#acd7f0c039e94c7ad40937fe32a2cabadaefb2a684e4afb7d55e6147fbe5a332ee" title="Ability to read and write (READ_CONTROL|FILE_READ_DATA|FILE_READ_ATTRIBUTES|FILE_READ_EA|FILE_WRITE_D...">write</a> = 7, <span class="comment">//!< Ability to read and write (READ_CONTROL|FILE_READ_DATA|FILE_READ_ATTRIBUTES|FILE_READ_EA|FILE_WRITE_DATA|FILE_WRITE_ATTRIBUTES|FILE_WRITE_EA|FILE_APPEND_DATA|SYNCHRONISE or O_RDWR)</span></div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <span class="comment"></span> <a class="code" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#acd7f0c039e94c7ad40937fe32a2cabada9516dfb15f51c7ee19a4d46b8c0dbe1d" title="All mainstream OSs and CIFS guarantee this is atomic with respect to all other appenders (FILE_APPEND...">append</a> = 9 <span class="comment">//!< All mainstream OSs and CIFS guarantee this is atomic with respect to all other appenders (FILE_APPEND_DATA|SYNCHRONISE or O_APPEND)</span></div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> <span class="comment"></span> <span class="comment">// NOTE: IF UPDATING THIS UPDATE THE std::ostream PRINTER BELOW!!!</span></div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  };</div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a09eab0e7e479b3c3a07a57567ae3e354"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="namespaceboost_1_1afio_1_1v2__xxx.html#ac8d06ecaa9660e7251c1251d88c1305c">result</a><<a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1section__handle.html">section_handle</a>> boost::afio::v2_xxx::section_handle::section </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1file__handle.html">file_handle</a> & </td>
<td class="paramname"><em>backing</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#a617ab627aa596b325d7bfef5210a43f3">extent_type</a> </td>
<td class="paramname"><em>maximum_size</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">flag </td>
<td class="paramname"><em>_flag</em> = <code>flag::read|flag::write</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Create a memory section. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">backing</td><td>The handle to use as backing storage. An invalid handle means to use the system page file as the backing storage. </td></tr>
<tr><td class="paramname">maximum_size</td><td>The maximum size this section can ever be. Zero means to use backing.length(). </td></tr>
<tr><td class="paramname">_flag</td><td>How to create the section.</td></tr>
</table>
</dd>
</dl>
<dl class="section user"><dt>Errors returnable</dt><dd>Any of the values POSIX dup() or NtCreateSection() can return. </dd></dl>
</div>
</div>
<a class="anchor" id="a2ce0e07e5e48578bae21dcaafbaf033a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="namespaceboost_1_1afio_1_1v2__xxx.html#ac8d06ecaa9660e7251c1251d88c1305c">result</a><<a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1section__handle.html">section_handle</a>> boost::afio::v2_xxx::section_handle::section </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#a617ab627aa596b325d7bfef5210a43f3">extent_type</a> </td>
<td class="paramname"><em>maximum_size</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1file__handle.html">file_handle</a> & </td>
<td class="paramname"><em>backing</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">flag </td>
<td class="paramname"><em>_flag</em> = <code>flag::read | flag::write</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>
<div class="fragment"><div class="line"><a name="l00128"></a><span class="lineno"> 128</span> { <span class="keywordflow">return</span> <a class="code" href="classboost_1_1afio_1_1v2__xxx_1_1section__handle.html#a09eab0e7e479b3c3a07a57567ae3e354" title="Create a memory section.">section</a>(backing, maximum_size, _flag); }</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="adf964e787e0666fc5b7d94c2715ee6f5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="namespaceboost_1_1afio_1_1v2__xxx.html#ac8d06ecaa9660e7251c1251d88c1305c">result</a><void> boost::afio::v2_xxx::handle::set_append_only </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>enable</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span><span class="mlabel">noexcept</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Changes whether this handle is append only or not.</p>
<dl class="section warning"><dt>Warning</dt><dd>On Windows this is implemented as a bit of a hack to make it fast like on POSIX, so make sure you open the handle for read/write originally. Note unlike on POSIX the append_only disposition will be the only one toggled, seekable and readable will remain turned on.</dd></dl>
<dl class="section user"><dt>Errors returnable</dt><dd>Whatever POSIX fcntl() returns. On Windows nothing is changed on the handle. </dd></dl>
<dl class="section user"><dt>Memory Allocations</dt><dd>No memory allocation. </dd></dl>
</div>
</div>
<a class="anchor" id="aa8de6675205db68de70bf9075a6c649f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="namespaceboost_1_1afio_1_1v2__xxx.html#ac8d06ecaa9660e7251c1251d88c1305c">result</a><void> boost::afio::v2_xxx::handle::set_kernel_caching </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#a81c7de194feaa88684ca9851d0d527ca">caching</a> </td>
<td class="paramname"><em>caching</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span><span class="mlabel">noexcept</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Changes the kernel cache strategy used by this handle. Note most OSs impose severe restrictions on what can be changed and will error out, it may be easier to simply create a new handle.</p>
<dl class="section warning"><dt>Warning</dt><dd>On Windows this reopens the file, it is no slower than opening the file fresh but equally it is vastly slower than on POSIX.</dd></dl>
<dl class="section user"><dt>Errors returnable</dt><dd>Whatever POSIX fcntl() or ReOpenFile() returns. </dd></dl>
<dl class="section user"><dt>Memory Allocations</dt><dd>No memory allocation. </dd></dl>
</div>
</div>
<a class="anchor" id="a5a4ed3e38634ee4378133c7ccbb882d6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceboost_1_1afio_1_1v2__xxx.html#ac8d06ecaa9660e7251c1251d88c1305c">result</a><<a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#a617ab627aa596b325d7bfef5210a43f3">extent_type</a>> boost::afio::v2_xxx::section_handle::truncate </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1handle.html#a617ab627aa596b325d7bfef5210a43f3">extent_type</a> </td>
<td class="paramname"><em>newsize</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Resize the current maximum permitted extent of the memory section to the given extent.</p>
<dl class="section user"><dt>Errors returnable</dt><dd>Any of the values NtExtendSection() can return. On POSIX this is a no op. </dd></dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/boost/afio/v2.0/<a class="el" href="map__handle_8hpp.html">map_handle.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespaceboost.html">boost</a></li><li class="navelem"><a class="el" href="namespaceboost_1_1afio.html">afio</a></li><li class="navelem"><a class="el" href="namespaceboost_1_1afio_1_1v2__xxx.html">v2_xxx</a></li><li class="navelem"><a class="el" href="classboost_1_1afio_1_1v2__xxx_1_1section__handle.html">section_handle</a></li>
<li class="footer">Generated by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.3.1 </li>
</ul>
</div>
</body>
</html>
|