ZeroBuf  0.1.0
ZeroBuf is a replacement for FlatBuffers
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
zerobuf::BaseVector< A, T > Class Template Reference
+ Collaboration diagram for zerobuf::BaseVector< A, T >:

Public Member Functions

 BaseVector (A *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
 

Protected Member Functions

size_t _getSize () const
 

Protected Attributes

A * _parent
 
const size_t _index
 

Detailed Description

template<class A, class T>
class zerobuf::BaseVector< A, T >

Definition at line 25 of file BaseVector.h.

Constructor & Destructor Documentation

template<class A, class T >
zerobuf::BaseVector< A, T >::BaseVector ( A *  alloc,
size_t  index 
)
inline
Parameters
allocThe parent allocator that contains the data.
indexIndex of the vector in the parent allocator dynamic storage

Definition at line 55 of file BaseVector.h.


The documentation for this class was generated from the following file: