ZeroBuf
0.1.0
ZeroBuf is a replacement for FlatBuffers
|
Const vector. More...
#include <ConstVector.h>
Public Member Functions | |
ConstVector (const Allocator *alloc, size_t index) | |
Public Member Functions inherited from zerobuf::BaseVector< const Allocator, T > | |
BaseVector (const Allocator *alloc, size_t index) | |
const T & | operator[] (size_t index) const |
bool | empty () const |
uint64_t | size () const |
const T * | data () const |
bool | operator== (const BaseVector &rhs) const |
bool | operator!= (const BaseVector &rhs) const |
Additional Inherited Members | |
Protected Member Functions inherited from zerobuf::BaseVector< const Allocator, T > | |
size_t | _getSize () const |
Protected Attributes inherited from zerobuf::BaseVector< const Allocator, T > | |
const Allocator * | _parent |
const size_t | _index |
Const vector.
T | element type |
Definition at line 20 of file ConstVector.h.
|
inline |
alloc | The parent allocator that contains the data. |
index | Index of the vector in the parent allocator dynamic storage |
Definition at line 42 of file ConstVector.h.