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 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.

Definition at line 344 of file buffer.hpp.


Member Typedef Documentation

The type for each element in the list of buffers.

Definition at line 349 of file buffer.hpp.

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

Definition at line 352 of file buffer.hpp.


Constructor & Destructor Documentation

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

Construct to represent a single non-modifiable buffer.

Definition at line 355 of file buffer.hpp.


Member Function Documentation

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

Get a random-access iterator to the first element.

Definition at line 361 of file buffer.hpp.

Referenced by end().

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

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

Definition at line 367 of file buffer.hpp.

References begin().


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

Generated on Sun May 25 00:21:28 2008 by  doxygen 1.5.6