Clementine
Public Types | Public Member Functions | List of all members
asio::mutable_buffers_1 Class Reference

(Deprecated: Use mutable_buffer.) Adapts a single modifiable buffer so that it meets the requirements of the MutableBufferSequence concept. More...

#include <buffer.hpp>

Inheritance diagram for asio::mutable_buffers_1:
Inheritance graph
[legend]
Collaboration diagram for asio::mutable_buffers_1:
Collaboration graph
[legend]

Public Types

typedef mutable_buffer value_type
 The type for each element in the list of buffers.
 
typedef const mutable_bufferconst_iterator
 A random-access iterator type that may be used to read elements.
 

Public Member Functions

 mutable_buffers_1 (void *data, std::size_t size) ASIO_NOEXCEPT
 Construct to represent a given memory range.
 
 mutable_buffers_1 (const mutable_buffer &b) ASIO_NOEXCEPT
 Construct to represent a single modifiable buffer.
 
const_iterator begin () const ASIO_NOEXCEPT
 Get a random-access iterator to the first element.
 
const_iterator end () const ASIO_NOEXCEPT
 Get a random-access iterator for one past the last element.
 
- Public Member Functions inherited from asio::mutable_buffer
 mutable_buffer () ASIO_NOEXCEPT
 Construct an empty buffer.
 
 mutable_buffer (void *data, std::size_t size) ASIO_NOEXCEPT
 Construct a buffer to represent a given memory range.
 
void * data () const ASIO_NOEXCEPT
 Get a pointer to the beginning of the memory range.
 
std::size_t size () const ASIO_NOEXCEPT
 Get the size of the memory range.
 
mutable_bufferoperator+= (std::size_t n) ASIO_NOEXCEPT
 Move the start of the buffer by the specified number of bytes.
 

Additional Inherited Members

Detailed Description

(Deprecated: Use mutable_buffer.) Adapts a single modifiable buffer so that it meets the requirements of the MutableBufferSequence concept.


The documentation for this class was generated from the following file: