#include <ZeBuffer.h>
Public Member Functions | |
ZeBuffer (uint initial=0) throw (std::nomem_error) | |
ZeBuffer (T *ptr, uint _size) throw (std::nomem_error) | |
ZeBuffer (const ZeBuffer &other) | |
virtual | ~ZeBuffer () |
void | operator= (const ZeBuffer &other) |
void | append (T *ptr, uint _size) throw (std::nomem_error) |
ZeBuffer & | operator+= (const ZeBuffer ©) throw (std::nomem_error) |
ZeBuffer | operator+ (const ZeBuffer ©) const throw (std::nomem_error) |
ZeBuffer & | operator+= (const T &data) throw (std::nomem_error) |
ZeBuffer | operator+ (const T &data) const |
uint | size () const |
uint | allocated () const |
const T * | data () const |
T * | data () |
std::string | str () const |
Private Member Functions | |
void | release () |
void | copy () throw (std::nomem_error) |
void | realloc (uint newsize) throw (std::nomem_error) |
Private Attributes | |
uint | m_size |
uint | m_allocated |
uint * | m_pCounter |
T * | m_ptr |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|