#include <buffer.h>
|
| Data () throw () |
|
| Data (size_t size) |
|
| Data (void *buf, size_t size, bool own=true) |
|
| Data (const void *buf, size_t size) |
|
| ~Data () |
|
void | ref () const throw () |
| Increment the reference count for this object. More...
|
|
bool | unref () const throw () |
| Decrement the reference count for this object, returning true when it reaches 0. More...
|
|
void | resize (size_t size) |
| Resize (enlarging or shrinking it) the buffer to ‘size’ bytes. More...
|
|
bool | operator== (const Data &d) const throw () |
| Compare the contents of two buffers. More...
|
|
bool | operator< (const Data &d) const throw () |
| Compare the contents of two buffers. More...
|
|
◆ Data() [1/4]
wibble::sys::Buffer::Data::Data |
( |
| ) |
|
throw | ( | |
| ) | | |
|
inline |
◆ Data() [2/4]
wibble::sys::Buffer::Data::Data |
( |
size_t |
size | ) |
|
◆ Data() [3/4]
wibble::sys::Buffer::Data::Data |
( |
void * |
buf, |
|
|
size_t |
size, |
|
|
bool |
own = true |
|
) |
| |
◆ Data() [4/4]
wibble::sys::Buffer::Data::Data |
( |
const void * |
buf, |
|
|
size_t |
size |
|
) |
| |
◆ ~Data()
wibble::sys::Buffer::Data::~Data |
( |
| ) |
|
◆ operator<()
bool wibble::sys::Buffer::Data::operator< |
( |
const Data & |
d | ) |
const |
throw | ( | |
| ) | | |
Compare the contents of two buffers.
◆ operator==()
bool wibble::sys::Buffer::Data::operator== |
( |
const Data & |
d | ) |
const |
throw | ( | |
| ) | | |
Compare the contents of two buffers.
◆ ref()
void wibble::sys::Buffer::Data::ref |
( |
| ) |
const |
throw | ( | |
| ) | | |
|
inline |
◆ resize()
void wibble::sys::Buffer::Data::resize |
( |
size_t |
size | ) |
|
◆ unref()
bool wibble::sys::Buffer::Data::unref |
( |
| ) |
const |
throw | ( | |
| ) | | |
|
inline |
◆ Buffer
◆ _data
void* wibble::sys::Buffer::Data::_data |
|
protected |
◆ _ref
int wibble::sys::Buffer::Data::_ref |
|
mutableprotected |
◆ _size
size_t wibble::sys::Buffer::Data::_size |
|
protected |
The documentation for this class was generated from the following files: