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 1105 of file flatbuffers.h.

Constructor & Destructor Documentation

◆ vector_downward() [1/2]

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

Definition at line 1108 of file flatbuffers.h.

◆ vector_downward() [2/2]

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

Definition at line 1122 of file flatbuffers.h.

◆ ~vector_downward()

flatbuffers::vector_downward::~vector_downward ( )
inline

Definition at line 1161 of file flatbuffers.h.

Member Function Documentation

◆ capacity()

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

Definition at line 1274 of file flatbuffers.h.

◆ clear()

void flatbuffers::vector_downward::clear ( )
inline

Definition at line 1173 of file flatbuffers.h.

◆ clear_allocator()

void flatbuffers::vector_downward::clear_allocator ( )
inline

Definition at line 1192 of file flatbuffers.h.

◆ clear_buffer()

void flatbuffers::vector_downward::clear_buffer ( )
inline

Definition at line 1202 of file flatbuffers.h.

◆ clear_scratch()

void flatbuffers::vector_downward::clear_scratch ( )
inline

Definition at line 1187 of file flatbuffers.h.

◆ data()

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

Definition at line 1279 of file flatbuffers.h.

◆ data_at()

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

Definition at line 1297 of file flatbuffers.h.

◆ ensure_space()

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

Definition at line 1238 of file flatbuffers.h.

◆ fill()

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

Definition at line 1328 of file flatbuffers.h.

◆ fill_big()

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

Definition at line 1337 of file flatbuffers.h.

◆ FLATBUFFERS_DELETE_FUNC() [1/2]

flatbuffers::vector_downward::FLATBUFFERS_DELETE_FUNC ( vector_downward(const vector_downward &)  )
private

◆ FLATBUFFERS_DELETE_FUNC() [2/2]

flatbuffers::vector_downward::FLATBUFFERS_DELETE_FUNC ( vector_downward operator = (const vector_downward &))
private

◆ get_custom_allocator()

Allocator* flatbuffers::vector_downward::get_custom_allocator ( )
inline

Definition at line 1259 of file flatbuffers.h.

◆ make_space()

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

Definition at line 1251 of file flatbuffers.h.

◆ operator=()

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

Definition at line 1150 of file flatbuffers.h.

◆ pop()

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

Definition at line 1342 of file flatbuffers.h.

◆ push()

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

Definition at line 1302 of file flatbuffers.h.

◆ push_small()

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

Definition at line 1312 of file flatbuffers.h.

◆ reallocate()

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

Definition at line 1385 of file flatbuffers.h.

◆ release()

DetachedBuffer flatbuffers::vector_downward::release ( )
inline

Definition at line 1224 of file flatbuffers.h.

◆ release_raw()

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

Definition at line 1210 of file flatbuffers.h.

◆ reset()

void flatbuffers::vector_downward::reset ( )
inline

Definition at line 1167 of file flatbuffers.h.

◆ scratch_data()

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

Definition at line 1285 of file flatbuffers.h.

◆ scratch_end()

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

Definition at line 1291 of file flatbuffers.h.

◆ scratch_pop()

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

Definition at line 1346 of file flatbuffers.h.

◆ scratch_push_small()

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

Definition at line 1319 of file flatbuffers.h.

◆ scratch_size()

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

Definition at line 1269 of file flatbuffers.h.

◆ size()

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

Definition at line 1264 of file flatbuffers.h.

◆ swap()

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

Definition at line 1351 of file flatbuffers.h.

◆ swap_allocator()

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

Definition at line 1364 of file flatbuffers.h.

Member Data Documentation

◆ allocator_

Allocator* flatbuffers::vector_downward::allocator_
private

Definition at line 1376 of file flatbuffers.h.

◆ buf_

uint8_t* flatbuffers::vector_downward::buf_
private

Definition at line 1381 of file flatbuffers.h.

◆ buffer_minalign_

size_t flatbuffers::vector_downward::buffer_minalign_
private

Definition at line 1379 of file flatbuffers.h.

◆ cur_

uint8_t* flatbuffers::vector_downward::cur_
private

Definition at line 1382 of file flatbuffers.h.

◆ initial_size_

size_t flatbuffers::vector_downward::initial_size_
private

Definition at line 1378 of file flatbuffers.h.

◆ own_allocator_

bool flatbuffers::vector_downward::own_allocator_
private

Definition at line 1377 of file flatbuffers.h.

◆ reserved_

size_t flatbuffers::vector_downward::reserved_
private

Definition at line 1380 of file flatbuffers.h.

◆ scratch_

uint8_t* flatbuffers::vector_downward::scratch_
private

Definition at line 1383 of file flatbuffers.h.


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


behaviortree_cpp_v3
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Mon Jul 3 2023 02:50:15