asio::detail::buffered_stream_storage Class Reference

#include <buffered_stream_storage.hpp>

List of all members.

Public Types

typedef unsigned char byte_type
typedef std::size_t size_type

Public Member Functions

 buffered_stream_storage (std::size_t capacity)
void clear ()
 Clear the buffer.
byte_typedata ()
const byte_typedata () const
bool empty () const
size_type size () const
void resize (size_type length)
size_type capacity () const
void consume (size_type count)

Private Attributes

size_type begin_offset_
size_type end_offset_
std::vector< byte_typebuffer_


Detailed Description

Definition at line 31 of file buffered_stream_storage.hpp.


Member Typedef Documentation

Definition at line 35 of file buffered_stream_storage.hpp.

Definition at line 38 of file buffered_stream_storage.hpp.


Constructor & Destructor Documentation

asio::detail::buffered_stream_storage::buffered_stream_storage ( std::size_t  capacity  )  [inline, explicit]

Definition at line 41 of file buffered_stream_storage.hpp.


Member Function Documentation

void asio::detail::buffered_stream_storage::clear (  )  [inline]

Clear the buffer.

Definition at line 49 of file buffered_stream_storage.hpp.

References begin_offset_, and end_offset_.

Referenced by consume().

byte_type* asio::detail::buffered_stream_storage::data (  )  [inline]

const byte_type* asio::detail::buffered_stream_storage::data (  )  const [inline]

Definition at line 62 of file buffered_stream_storage.hpp.

References begin_offset_, and buffer_.

bool asio::detail::buffered_stream_storage::empty (  )  const [inline]

size_type asio::detail::buffered_stream_storage::size (  )  const [inline]

void asio::detail::buffered_stream_storage::resize ( size_type  length  )  [inline]

size_type asio::detail::buffered_stream_storage::capacity (  )  const [inline]

void asio::detail::buffered_stream_storage::consume ( size_type  count  )  [inline]


Member Data Documentation

Definition at line 113 of file buffered_stream_storage.hpp.

Referenced by clear(), consume(), data(), empty(), resize(), and size().

Definition at line 116 of file buffered_stream_storage.hpp.

Referenced by clear(), consume(), empty(), resize(), and size().

Definition at line 119 of file buffered_stream_storage.hpp.

Referenced by capacity(), data(), and resize().


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

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