DtMemoryBuffer manages a memory allocation.
More...
|
| | ~DtMemoryBuffer () |
| |
| void * | data () |
| | get a pointer to the memory More...
|
| |
| size_t | size () const |
| | get the size in bytes of the buffer More...
|
| |
| void | resize (size_t newDesiredSize) |
| | Resize the buffer (without loss of data) After the resize the buffer is guaranteed to be ATLEAST the newSize. More...
|
| |
DtMemoryBuffer manages a memory allocation.
| MAKLogger::DtMemoryBuffer::DtMemoryBuffer |
( |
size_t |
size | ) |
|
|
explicitprotected |
| MAKLogger::DtMemoryBuffer::~DtMemoryBuffer |
( |
| ) |
|
| static DtMemoryBufferSP MAKLogger::DtMemoryBuffer::createMemoryBuffer |
( |
size_t |
size | ) |
|
|
static |
| void* MAKLogger::DtMemoryBuffer::data |
( |
| ) |
|
get a pointer to the memory
| void MAKLogger::DtMemoryBuffer::resize |
( |
size_t |
newDesiredSize | ) |
|
Resize the buffer (without loss of data) After the resize the buffer is guaranteed to be ATLEAST the newSize.
| size_t MAKLogger::DtMemoryBuffer::size |
( |
| ) |
const |
get the size in bytes of the buffer
| char* MAKLogger::DtMemoryBuffer::myData |
|
protected |
| size_t MAKLogger::DtMemoryBuffer::mySize |
|
protected |
The documentation for this class was generated from the following file: