Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

indri::utility::Buffer Class Reference

#include <Buffer.hpp>

List of all members.

Public Member Functions

 Buffer (size_t length)
 Buffer ()
 ~Buffer ()
size_t size () const
size_t position () const
void clear ()
char * front ()
char * write (size_t length)
void unwrite (size_t length)
void grow (size_t newSize)
void grow ()
size_t remaining ()
void remove (size_t start)
void detach ()

Private Attributes

char * _buffer
size_t _size
size_t _position

Constructor & Destructor Documentation

indri::utility::Buffer::Buffer size_t  length  )  [inline]

indri::utility::Buffer::Buffer  )  [inline]

indri::utility::Buffer::~Buffer  )  [inline]

Member Function Documentation

void indri::utility::Buffer::clear void   )  [inline]

void indri::utility::Buffer::detach  )  [inline]

char* indri::utility::Buffer::front  )  [inline]

void indri::utility::Buffer::grow  )  [inline]

void indri::utility::Buffer::grow size_t  newSize  )  [inline]

size_t indri::utility::Buffer::position  )  const [inline]

size_t indri::utility::Buffer::remaining  )  [inline]

void indri::utility::Buffer::remove size_t  start  )  [inline]

size_t indri::utility::Buffer::size  )  const [inline]

void indri::utility::Buffer::unwrite size_t  length  )  [inline]

char* indri::utility::Buffer::write size_t  length  )  [inline]

Member Data Documentation

char* indri::utility::Buffer::_buffer [private]

size_t indri::utility::Buffer::_position [private]

size_t indri::utility::Buffer::_size [private]

The documentation for this class was generated from the following file:
Generated on Tue Jun 15 11:03:03 2010 for Lemur by doxygen 1.3.4