Welcome to mirror list, hosted at ThFree Co, Russian Federation.

struct_io_req_3_01void_01_4.qbk « generated « doc « attic - github.com/windirstat/llfio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ff41450390a1f677433a59c49c819c2319560da4 (plain)
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
[/============================================================================
  Boost.AFIO

  Use, modification and distribution is subject to the Boost Software License,
  Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  http://www.boost.org/LICENSE_1_0.txt)
=============================================================================/]


[/ Generated by doxygen_xml2qbk 1.1.1, don't change, will be overwritten automatically]
[/ Generated from doxy/doxygen_output/xml\structboost_1_1afio_1_1io__req_3_01void_01_4.xml]
[section:io_req_void_ io_req< void >]
'''<?dbhtml-include href="disqus_identifiers/io_req_void_.html"?>'''

'''<indexterm><primary>io_req&lt; void &gt;</primary></indexterm>'''
A convenience bundle of precondition, data and where for reading into a T as specified by its to_asio_buffers() overload. Data [*MUST] stay around until the operation completes. 

[heading Synopsis]
``struct io_req< void >
      : public detail::io_req_impl< false >
{
  future precondition;                          // A precondition containing an open file handle for this operation. 
  std::vector< asio::mutable_buffer > buffers;  // A sequence of mutable Boost.ASIO buffers to read into. 
  off_t where;                                  // The offset from which to read. 
};
``

[heading Member Function(s)]
[table
[[Function] [Description] [Parameters]  [Returns]]
[[``bool validate()``

] [Validates contents for correctness. ] [

][
True if contents are correct 

]
]
[[`` io_req()``

] [Default constructor. ] [

][

]
]
[[`` io_req(const io_req & o)``

] [Copy constructor. ] [[* const io_req &]: ['o]:  



][

]
]
[[`` io_req(io_req && o)``

] [Move constructor. ] [[* io_req &&]: ['o]:  



][

]
]
[[``io_req & operator=(const io_req & o)``

] [Copy assignment. ] [[* const io_req &]: ['o]:  



][

]
]
[[``io_req & operator=(io_req && o)``

] [Move assignment. ] [[* io_req &&]: ['o]:  



][

]
]
[[`` io_req(future<> _precondition, void * v, size_t _length,
        off_t _where)``

] [Constructs an instance. ] [[* future<>]: ['_precondition]:  An optional precondition for this operation

[* void *]: ['v]:  A pointer to memory or reference to object into which to read or write

[* size_t]: ['_length]:  The number of items to transfer 

[* off_t]: ['_where]:  The offset at which to transfer



][

]
]
]

[heading Header]
`#include <boost/afio/v2/afio.hpp>`

'''<?dbhtml-include href="disqus_comments.html"?>'''
[endsect]