Public Member Functions | Private Member Functions | Private Attributes | List of all members
flatbuffers::vector_downward Class Reference

#include <flatbuffers.h>

Public Member Functions

size_t capacity () const
 
void clear ()
 
void clear_scratch ()
 
uint8_t * data () const
 
uint8_t * data_at (size_t offset) const
 
size_t ensure_space (size_t len)
 
void fill (size_t zero_pad_bytes)
 
void fill_big (size_t zero_pad_bytes)
 
Allocatorget_allocator ()
 
uint8_t * make_space (size_t len)
 
void pop (size_t bytes_to_remove)
 
void push (const uint8_t *bytes, size_t num)
 
template<typename T >
void push_small (const T &little_endian_t)
 
DetachedBuffer release ()
 
void reset ()
 
uint8_t * scratch_data () const
 
uint8_t * scratch_end () const
 
void scratch_pop (size_t bytes_to_remove)
 
template<typename T >
void scratch_push_small (const T &t)
 
uoffset_t scratch_size () const
 
uoffset_t size () const
 
 vector_downward (size_t initial_size, Allocator *allocator, bool own_allocator, size_t buffer_minalign)
 
 ~vector_downward ()
 

Private Member Functions

void reallocate (size_t len)
 

Private Attributes

Allocatorallocator_
 
uint8_t * buf_
 
size_t buffer_minalign_
 
uint8_t * cur_
 
size_t initial_size_
 
bool own_allocator_
 
size_t reserved_
 
uint8_t * scratch_
 

Detailed Description

Definition at line 535 of file flatbuffers.h.

Constructor & Destructor Documentation

flatbuffers::vector_downward::vector_downward ( size_t  initial_size,
Allocator allocator,
bool  own_allocator,
size_t  buffer_minalign 
)
inlineexplicit

Definition at line 537 of file flatbuffers.h.

flatbuffers::vector_downward::~vector_downward ( )
inline

Definition at line 552 of file flatbuffers.h.

Member Function Documentation

size_t flatbuffers::vector_downward::capacity ( ) const
inline

Definition at line 618 of file flatbuffers.h.

void flatbuffers::vector_downward::clear ( )
inline

Definition at line 569 of file flatbuffers.h.

void flatbuffers::vector_downward::clear_scratch ( )
inline

Definition at line 579 of file flatbuffers.h.

uint8_t* flatbuffers::vector_downward::data ( ) const
inline

Definition at line 620 of file flatbuffers.h.

uint8_t* flatbuffers::vector_downward::data_at ( size_t  offset) const
inline

Definition at line 635 of file flatbuffers.h.

size_t flatbuffers::vector_downward::ensure_space ( size_t  len)
inline

Definition at line 594 of file flatbuffers.h.

void flatbuffers::vector_downward::fill ( size_t  zero_pad_bytes)
inline

Definition at line 655 of file flatbuffers.h.

void flatbuffers::vector_downward::fill_big ( size_t  zero_pad_bytes)
inline

Definition at line 661 of file flatbuffers.h.

Allocator& flatbuffers::vector_downward::get_allocator ( )
inline

Definition at line 608 of file flatbuffers.h.

uint8_t* flatbuffers::vector_downward::make_space ( size_t  len)
inline

Definition at line 603 of file flatbuffers.h.

void flatbuffers::vector_downward::pop ( size_t  bytes_to_remove)
inline

Definition at line 665 of file flatbuffers.h.

void flatbuffers::vector_downward::push ( const uint8_t *  bytes,
size_t  num 
)
inline

Definition at line 637 of file flatbuffers.h.

template<typename T >
void flatbuffers::vector_downward::push_small ( const T &  little_endian_t)
inline

Definition at line 642 of file flatbuffers.h.

void flatbuffers::vector_downward::reallocate ( size_t  len)
inlineprivate

Definition at line 682 of file flatbuffers.h.

DetachedBuffer flatbuffers::vector_downward::release ( )
inline

Definition at line 584 of file flatbuffers.h.

void flatbuffers::vector_downward::reset ( )
inline

Definition at line 560 of file flatbuffers.h.

uint8_t* flatbuffers::vector_downward::scratch_data ( ) const
inline

Definition at line 625 of file flatbuffers.h.

uint8_t* flatbuffers::vector_downward::scratch_end ( ) const
inline

Definition at line 630 of file flatbuffers.h.

void flatbuffers::vector_downward::scratch_pop ( size_t  bytes_to_remove)
inline

Definition at line 666 of file flatbuffers.h.

template<typename T >
void flatbuffers::vector_downward::scratch_push_small ( const T &  t)
inline

Definition at line 647 of file flatbuffers.h.

uoffset_t flatbuffers::vector_downward::scratch_size ( ) const
inline

Definition at line 614 of file flatbuffers.h.

uoffset_t flatbuffers::vector_downward::size ( ) const
inline

Definition at line 610 of file flatbuffers.h.

Member Data Documentation

Allocator* flatbuffers::vector_downward::allocator_
private

Definition at line 673 of file flatbuffers.h.

uint8_t* flatbuffers::vector_downward::buf_
private

Definition at line 678 of file flatbuffers.h.

size_t flatbuffers::vector_downward::buffer_minalign_
private

Definition at line 676 of file flatbuffers.h.

uint8_t* flatbuffers::vector_downward::cur_
private

Definition at line 679 of file flatbuffers.h.

size_t flatbuffers::vector_downward::initial_size_
private

Definition at line 675 of file flatbuffers.h.

bool flatbuffers::vector_downward::own_allocator_
private

Definition at line 674 of file flatbuffers.h.

size_t flatbuffers::vector_downward::reserved_
private

Definition at line 677 of file flatbuffers.h.

uint8_t* flatbuffers::vector_downward::scratch_
private

Definition at line 680 of file flatbuffers.h.


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


behaviortree_cpp
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Sat Feb 2 2019 04:01:55