$search

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)
size_type capacity () const
void clear ()
 Clear the buffer.
void consume (size_type count)
const byte_typedata () const
byte_typedata ()
bool empty () const
void resize (size_type length)
size_type size () const

Private Attributes

size_type begin_offset_
std::vector< byte_typebuffer_
size_type end_offset_

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

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

Definition at line 97 of file buffered_stream_storage.hpp.

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

Clear the buffer.

Definition at line 49 of file buffered_stream_storage.hpp.

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

Definition at line 103 of file buffered_stream_storage.hpp.

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

Definition at line 62 of file buffered_stream_storage.hpp.

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

Definition at line 56 of file buffered_stream_storage.hpp.

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

Definition at line 68 of file buffered_stream_storage.hpp.

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

Definition at line 80 of file buffered_stream_storage.hpp.

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

Definition at line 74 of file buffered_stream_storage.hpp.


Member Data Documentation

Definition at line 113 of file buffered_stream_storage.hpp.

Definition at line 119 of file buffered_stream_storage.hpp.

Definition at line 116 of file buffered_stream_storage.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


Castor
Author(s): Carpe Noctem
autogenerated on Fri Mar 1 14:41:43 2013