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

(Deprecated: Use const_buffer.) Adapts a single non-modifiable buffer so that it meets the requirements of the ConstBufferSequence concept. More...

#include <buffer.hpp>

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

Public Types

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

Public Member Functions

 const_buffers_1 (const void *data, std::size_t size) ASIO_NOEXCEPT
 Construct to represent a given memory range.
 
 const_buffers_1 (const const_buffer &b) ASIO_NOEXCEPT
 Construct to represent a single non-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::const_buffer
 const_buffer () ASIO_NOEXCEPT
 Construct an empty buffer.
 
 const_buffer (const void *data, std::size_t size) ASIO_NOEXCEPT
 Construct a buffer to represent a given memory range.
 
 const_buffer (const mutable_buffer &b) ASIO_NOEXCEPT
 Construct a non-modifiable buffer from a modifiable one.
 
const 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.
 
const_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 const_buffer.) Adapts a single non-modifiable buffer so that it meets the requirements of the ConstBufferSequence concept.


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