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_allocator ()
 
void clear_buffer ()
 
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_custom_allocator ()
 
uint8_t * make_space (size_t len)
 
vector_downwardoperator= (vector_downward &&other)
 
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 ()
 
uint8_t * release_raw (size_t &allocated_bytes, size_t &offset)
 
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
 
void swap (vector_downward &other)
 
void swap_allocator (vector_downward &other)
 
 vector_downward (size_t initial_size, Allocator *allocator, bool own_allocator, size_t buffer_minalign)
 
 vector_downward (vector_downward &&other)
 
 ~vector_downward ()
 

Private Member Functions

 FLATBUFFERS_DELETE_FUNC (vector_downward(const vector_downward &))
 
 FLATBUFFERS_DELETE_FUNC (vector_downward &operator=(const vector_downward &))
 
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 862 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 864 of file flatbuffers.h.

flatbuffers::vector_downward::vector_downward ( vector_downward &&  other)
inline

Definition at line 877 of file flatbuffers.h.

flatbuffers::vector_downward::~vector_downward ( )
inline

Definition at line 913 of file flatbuffers.h.

Member Function Documentation

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

Definition at line 999 of file flatbuffers.h.

void flatbuffers::vector_downward::clear ( )
inline

Definition at line 923 of file flatbuffers.h.

void flatbuffers::vector_downward::clear_allocator ( )
inline

Definition at line 935 of file flatbuffers.h.

void flatbuffers::vector_downward::clear_buffer ( )
inline

Definition at line 941 of file flatbuffers.h.

void flatbuffers::vector_downward::clear_scratch ( )
inline

Definition at line 933 of file flatbuffers.h.

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

Definition at line 1001 of file flatbuffers.h.

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

Definition at line 1016 of file flatbuffers.h.

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

Definition at line 973 of file flatbuffers.h.

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

Definition at line 1036 of file flatbuffers.h.

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

Definition at line 1043 of file flatbuffers.h.

flatbuffers::vector_downward::FLATBUFFERS_DELETE_FUNC ( vector_downward(const vector_downward &)  )
private
flatbuffers::vector_downward::FLATBUFFERS_DELETE_FUNC ( vector_downward operator = (const vector_downward &))
private
Allocator* flatbuffers::vector_downward::get_custom_allocator ( )
inline

Definition at line 989 of file flatbuffers.h.

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

Definition at line 982 of file flatbuffers.h.

vector_downward& flatbuffers::vector_downward::operator= ( vector_downward &&  other)
inline

Definition at line 903 of file flatbuffers.h.

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

Definition at line 1047 of file flatbuffers.h.

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

Definition at line 1018 of file flatbuffers.h.

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

Definition at line 1023 of file flatbuffers.h.

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

Definition at line 1082 of file flatbuffers.h.

DetachedBuffer flatbuffers::vector_downward::release ( )
inline

Definition at line 960 of file flatbuffers.h.

uint8_t* flatbuffers::vector_downward::release_raw ( size_t &  allocated_bytes,
size_t &  offset 
)
inline

Definition at line 947 of file flatbuffers.h.

void flatbuffers::vector_downward::reset ( )
inline

Definition at line 918 of file flatbuffers.h.

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

Definition at line 1006 of file flatbuffers.h.

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

Definition at line 1011 of file flatbuffers.h.

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

Definition at line 1048 of file flatbuffers.h.

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

Definition at line 1028 of file flatbuffers.h.

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

Definition at line 995 of file flatbuffers.h.

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

Definition at line 991 of file flatbuffers.h.

void flatbuffers::vector_downward::swap ( vector_downward other)
inline

Definition at line 1050 of file flatbuffers.h.

void flatbuffers::vector_downward::swap_allocator ( vector_downward other)
inline

Definition at line 1062 of file flatbuffers.h.

Member Data Documentation

Allocator* flatbuffers::vector_downward::allocator_
private

Definition at line 1073 of file flatbuffers.h.

uint8_t* flatbuffers::vector_downward::buf_
private

Definition at line 1078 of file flatbuffers.h.

size_t flatbuffers::vector_downward::buffer_minalign_
private

Definition at line 1076 of file flatbuffers.h.

uint8_t* flatbuffers::vector_downward::cur_
private

Definition at line 1079 of file flatbuffers.h.

size_t flatbuffers::vector_downward::initial_size_
private

Definition at line 1075 of file flatbuffers.h.

bool flatbuffers::vector_downward::own_allocator_
private

Definition at line 1074 of file flatbuffers.h.

size_t flatbuffers::vector_downward::reserved_
private

Definition at line 1077 of file flatbuffers.h.

uint8_t* flatbuffers::vector_downward::scratch_
private

Definition at line 1080 of file flatbuffers.h.


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


behaviotree_cpp_v3
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Tue May 4 2021 02:56:26