| ZeroBuf
    0.5.0
    Zero-copy, zero-serialize, zero-hassle protocol buffers | 
A zerobuf child allocator which manages a dynamic allocation of statically-sized members. More...
#include <DynamicSubAllocator.h>
 Inheritance diagram for zerobuf::DynamicSubAllocatorBase< A >:
 Inheritance diagram for zerobuf::DynamicSubAllocatorBase< A >: Collaboration diagram for zerobuf::DynamicSubAllocatorBase< A >:
 Collaboration diagram for zerobuf::DynamicSubAllocatorBase< A >:| Public Member Functions | |
| DynamicSubAllocatorBase (A &parent, size_t headerIndex, size_t elementIndex, size_t size) | |
| uint8_t * | getData () final | 
| const uint8_t * | getData () const final | 
| size_t | getSize () const final | 
| void | copyBuffer (const void *data, size_t size) final | 
| bool | isMutable () const final | 
|  Public Member Functions inherited from zerobuf::Allocator | |
| virtual void | compact (float) | 
| virtual bool | isMovable () const | 
| virtual uint8_t * | updateAllocation (size_t, bool, size_t) | 
| Update allocation of the dynamic elem at index to have newSize bytes.  More... | |
| template<class T > | |
| T * | getItemPtr (const size_t offset) | 
| template<class T > | |
| const T * | getItemPtr (const size_t offset) const | 
| template<class T > | |
| T & | getItem (const size_t offset) | 
| template<class T > | |
| T | getItem (const size_t offset) const | 
| template<class T > | |
| T * | getDynamic (const size_t index) | 
| template<class T > | |
| const T * | getDynamic (const size_t index) const | 
| uint64_t | getDynamicOffset (const size_t index) const | 
| size_t | getDynamicSize (const size_t index) const | 
| void | check (const size_t numDynamics) const | 
| Additional Inherited Members | |
|  Protected Member Functions inherited from zerobuf::Allocator | |
| uint64_t & | _getOffset (const size_t i) | 
| uint64_t | _getOffset (const size_t i) const | 
| uint64_t & | _getSize (const size_t i) | 
| uint64_t | _getSize (const size_t i) const | 
| void | _checkIndex (const size_t i) const | 
A zerobuf child allocator which manages a dynamic allocation of statically-sized members.
Definition at line 19 of file DynamicSubAllocator.h.