#include <Iguana/Utilities/classlib/iotools/PushBackBuffer.h>
Public Types | |
enum | { DEFAULT_SIZE = 100 } |
Public Member Functions | |
IOSize | capacity (void) const |
unsigned char * | current (void) const |
unsigned char * | end (void) const |
void | get (void *into, IOSize n) |
PushBackBuffer & | operator= (const PushBackBuffer &x) |
PushBackBuffer (const PushBackBuffer &x) | |
PushBackBuffer (IOSize bufsize=DEFAULT_SIZE) | |
void | reset (void) |
IOSize | size (void) const |
void | skip (IOSize n) |
void | unget (const void *data, IOSize n) |
~PushBackBuffer (void) | |
Private Attributes | |
unsigned char * | m_buffer |
unsigned char * | m_current |
unsigned char * | m_limit |
Definition at line 16 of file PushBackBuffer.h.
anonymous enum |
Definition at line 19 of file PushBackBuffer.h.
00019 { DEFAULT_SIZE = 100 }; //< Default buffer size.
lat::PushBackBuffer::PushBackBuffer | ( | IOSize | bufsize = DEFAULT_SIZE |
) |
lat::PushBackBuffer::PushBackBuffer | ( | const PushBackBuffer & | x | ) |
lat::PushBackBuffer::~PushBackBuffer | ( | void | ) |
unsigned char* lat::PushBackBuffer::current | ( | void | ) | const |
unsigned char* lat::PushBackBuffer::end | ( | void | ) | const |
PushBackBuffer& lat::PushBackBuffer::operator= | ( | const PushBackBuffer & | x | ) |
unsigned char* lat::PushBackBuffer::m_buffer [private] |
Definition at line 38 of file PushBackBuffer.h.
unsigned char* lat::PushBackBuffer::m_current [private] |
Definition at line 39 of file PushBackBuffer.h.
unsigned char* lat::PushBackBuffer::m_limit [private] |
Definition at line 40 of file PushBackBuffer.h.