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. More...
Public Member Functions | |
io_req () | |
Default constructor. | |
io_req (const io_req &o) | |
Copy constructor. | |
io_req (io_req &&o) noexcept | |
Move constructor. | |
io_req (const io_req< void > &o) | |
Copy constructor. | |
io_req (io_req< void > &&o) noexcept | |
Move constructor. | |
io_req & | operator= (const io_req &o) |
Copy assignment. | |
io_req & | operator= (io_req &&o) noexcept |
Move assignment. | |
io_req (future<> _precondition, const void *v, size_t _length, off_t _where) | |
Constructs an instance. | |
bool | validate () const |
Validates contents for correctness. | |
Public Attributes | |
future | precondition |
A precondition containing an open file handle for this operation. | |
std::vector< asio::const_buffer > | buffers |
A sequence of const Boost.ASIO buffers to write from. | |
off_t | where |
The offset at which to write. |
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.
boost::afio::io_req< const void >::io_req | ( | ) |
boost::afio::io_req< const void >::io_req | ( | const io_req< const void > & | o | ) |
boost::afio::io_req< const void >::io_req | ( | io_req< const void > && | o | ) |
boost::afio::io_req< const void >::io_req | ( | const io_req< void > & | o | ) |
boost::afio::io_req< const void >::io_req | ( | io_req< void > && | o | ) |
boost::afio::io_req< const void >::io_req | ( | future<> | _precondition, |
const void * | v, | ||
size_t | _length, | ||
off_t | _where | ||
) |
io_req& boost::afio::io_req< const void >::operator= | ( | const io_req< const void > & | o | ) |
io_req& boost::afio::io_req< const void >::operator= | ( | io_req< const void > && | o | ) |
bool boost::afio::detail::io_req_impl< true >::validate | ( | ) | const [inherited] |
future boost::afio::io_req< const void >::precondition |
A precondition containing an open file handle for this operation.
Reimplemented from boost::afio::detail::io_req_impl< true >.
std::vector<asio::const_buffer> boost::afio::io_req< const void >::buffers |
A sequence of const Boost.ASIO buffers to write from.
Reimplemented from boost::afio::detail::io_req_impl< true >.
off_t boost::afio::io_req< const void >::where |
The offset at which to write.
Reimplemented from boost::afio::detail::io_req_impl< true >.
January, 2014 |
Copyright © 2013-2014 Niall Douglas, Cork, Ireland Copyright © 2013 Paul Kirth, California |