asio::const_buffers_1 Class Reference

#include <buffer.hpp>

Inheritance diagram for asio::const_buffers_1:

asio::const_buffer

List of all members.

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)
 Construct to represent a given memory range.
 const_buffers_1 (const const_buffer &b)
 Construct to represent a single non-modifiable buffer.
const_iterator begin () const
 Get a random-access iterator to the first element.
const_iterator end () const
 Get a random-access iterator for one past the last element.


Detailed Description

Adapts a single non-modifiable buffer so that it meets the requirements of the ConstBufferSequence concept.

Member Typedef Documentation

typedef const_buffer asio::const_buffers_1::value_type

The type for each element in the list of buffers.

typedef const const_buffer* asio::const_buffers_1::const_iterator

A random-access iterator type that may be used to read elements.


Constructor & Destructor Documentation

asio::const_buffers_1::const_buffers_1 ( const void *  data,
std::size_t  size 
) [inline]

Construct to represent a given memory range.

asio::const_buffers_1::const_buffers_1 ( const const_buffer b  )  [inline, explicit]

Construct to represent a single non-modifiable buffer.


Member Function Documentation

const_iterator asio::const_buffers_1::begin (  )  const [inline]

Get a random-access iterator to the first element.

const_iterator asio::const_buffers_1::end (  )  const [inline]

Get a random-access iterator for one past the last element.


The documentation for this class was generated from the following file:
Generated on Fri Jul 30 03:00:08 2010 for rphp by  doxygen 1.5.4