Main Page | Class Hierarchy | Data Structures | File List | Data Fields | Globals

cbBuffer Class Reference

#include <cbbuffer.h>

Public Member Functions

 cbBuffer ()
 cbBuffer (cbBuffer &buf)
 cbBuffer (cbsize size)
 ~cbBuffer ()
cbbool SetWritePos (cbuint pos)
cbuint GetWritePos ()
void Write (void *p_data, cbsize size)
cbbool AllocMem (cbsize size)
cbbool Copy (cbBuffer &buf)
void FreeMem ()
int GetSize ()
char * GetData ()
unsigned char & operator[] (cbuint id)

Protected Attributes

cbuint m_curWritePos
cbuint m_len

Constructor & Destructor Documentation

cbBuffer::cbBuffer  ) 

cbBuffer::cbBuffer cbBuffer buf  ) 

cbBuffer::cbBuffer cbsize  size  ) 

cbBuffer::~cbBuffer  ) 

Member Function Documentation

cbbool cbBuffer::AllocMem cbsize  size  ) 

cbbool cbBuffer::Copy cbBuffer buf  ) 

void cbBuffer::FreeMem  ) 

char* cbBuffer::GetData  )  [inline]

int cbBuffer::GetSize  )  [inline]

cbuint cbBuffer::GetWritePos  )  [inline]

cbuint8 & cbBuffer::operator[] cbuint  id  ) 

cbbool cbBuffer::SetWritePos cbuint  pos  )  [inline]

void cbBuffer::Write void *  p_data,
cbsize  size

Field Documentation

cbuint cbBuffer::m_curWritePos [protected]

cbuint cbBuffer::m_len [protected]

cbchr* cbBuffer::m_p_data [protected]

The documentation for this class was generated from the following files:
Generated on Mon Mar 8 23:30:09 2004 for CBCCL by doxygen 1.3.4