#include <flatbuffers.h>
Public Member Functions | |
virtual uint8_t * | allocate (size_t size)=0 |
virtual void | deallocate (uint8_t *p, size_t size)=0 |
virtual uint8_t * | reallocate_downward (uint8_t *old_p, size_t old_size, size_t new_size, size_t in_use_back, size_t in_use_front) |
virtual | ~Allocator () |
Protected Member Functions | |
void | memcpy_downward (uint8_t *old_p, size_t old_size, uint8_t *new_p, size_t new_size, size_t in_use_back, size_t in_use_front) |
Definition at line 362 of file flatbuffers.h.
virtual flatbuffers::Allocator::~Allocator | ( | ) | [inline, virtual] |
Definition at line 364 of file flatbuffers.h.
virtual uint8_t* flatbuffers::Allocator::allocate | ( | size_t | size | ) | [pure virtual] |
Implemented in flatbuffers::DefaultAllocator.
virtual void flatbuffers::Allocator::deallocate | ( | uint8_t * | p, |
size_t | size | ||
) | [pure virtual] |
Implemented in flatbuffers::DefaultAllocator.
void flatbuffers::Allocator::memcpy_downward | ( | uint8_t * | old_p, |
size_t | old_size, | ||
uint8_t * | new_p, | ||
size_t | new_size, | ||
size_t | in_use_back, | ||
size_t | in_use_front | ||
) | [inline, protected] |
Definition at line 393 of file flatbuffers.h.
virtual uint8_t* flatbuffers::Allocator::reallocate_downward | ( | uint8_t * | old_p, |
size_t | old_size, | ||
size_t | new_size, | ||
size_t | in_use_back, | ||
size_t | in_use_front | ||
) | [inline, virtual] |
Definition at line 377 of file flatbuffers.h.