Namespaces | Classes | Functions | Variables
flatbuffers Namespace Reference

Namespaces

 internal
 

Classes

class  Allocator
 
class  Array
 
class  Array< Offset< T >, length >
 
struct  bool_constant
 
struct  conditional
 
class  DefaultAllocator
 
class  DetachedBuffer
 
class  FlatBufferBuilder
 Helper class to hold data needed in creation of a FlatBuffer. To serialize data, you typically call one of the Create*() functions in the generated code, which in turn call a sequence of StartTable/ PushElement/AddElement/EndTable, or the builtin CreateString/ CreateVector functions. Do this is depth-first order to build up a tree to the root. Finish() wraps up the buffer ready for transport. More...
 
class  FLATBUFFERS_FINAL_CLASS
 
struct  IndirectHelper
 
struct  IndirectHelper< const T * >
 
struct  IndirectHelper< Offset< T > >
 
struct  integral_constant
 
struct  is_enum
 
struct  is_floating_point
 
struct  is_same
 
struct  is_scalar
 
struct  is_unsigned
 
struct  make_unsigned
 
struct  nullopt_t
 
class  numeric_limits
 
struct  Offset
 
struct  String
 
class  unique_ptr
 
class  Vector
 
class  vector_downward
 
struct  VectorIterator
 
class  VectorOfAny
 
struct  VectorReverseIterator
 

Functions

template<typename T >
FLATBUFFERS_CONSTEXPR size_t AlignOf ()
 
uint8_t * Allocate (Allocator *allocator, size_t size)
 
template<typename T , uint16_t length>
Array< T, length > & CastToArray (T(&arr)[length])
 
template<typename T , uint16_t length>
const Array< T, length > & CastToArray (const T(&arr)[length])
 
template<typename E , typename T , uint16_t length>
Array< E, length > & CastToArrayOfEnum (T(&arr)[length])
 
template<typename E , typename T , uint16_t length>
const Array< E, length > & CastToArrayOfEnum (const T(&arr)[length])
 
template<typename T , typename Alloc >
const T * data (const std::vector< T, Alloc > &v)
 
template<typename T , typename Alloc >
T * data (std::vector< T, Alloc > &v)
 
void Deallocate (Allocator *allocator, uint8_t *p, size_t size)
 
void EndianCheck ()
 
voffset_t FieldIndexToOffset (voffset_t field_id)
 
static const char * GetCstring (const String *str)
 
static std::string GetString (const String *str)
 
template<typename T >
bool IsInRange (const T &v, const T &low, const T &high)
 
template<typename T >
bool IsOutRange (const T &v, const T &low, const T &high)
 
template<typename T >
bool IsTheSameAs (T e, T def)
 
template<class T >
FLATBUFFERS_CONSTEXPR_CPP11 bool operator== (const Optional< T > &opt, nullopt_t) FLATBUFFERS_NOEXCEPT
 
template<class T >
FLATBUFFERS_CONSTEXPR_CPP11 bool operator== (nullopt_t, const Optional< T > &opt) FLATBUFFERS_NOEXCEPT
 
template<class T , class U >
FLATBUFFERS_CONSTEXPR_CPP11 bool operator== (const Optional< T > &lhs, const U &rhs) FLATBUFFERS_NOEXCEPT
 
template<class T , class U >
FLATBUFFERS_CONSTEXPR_CPP11 bool operator== (const T &lhs, const Optional< U > &rhs) FLATBUFFERS_NOEXCEPT
 
template<class T , class U >
FLATBUFFERS_CONSTEXPR_CPP11 bool operator== (const Optional< T > &lhs, const Optional< U > &rhs) FLATBUFFERS_NOEXCEPT
 
uint8_t * ReallocateDownward (Allocator *allocator, uint8_t *old_p, size_t old_size, size_t new_size, size_t in_use_back, size_t in_use_front)
 
char & string_back (std::string &value)
 
char string_back (const std::string &value)
 
static bool StringLessThan (const char *a_data, uoffset_t a_size, const char *b_data, uoffset_t b_size)
 
template<typename T >
T * vector_data (std::vector< T > &vector)
 
template<typename T >
const T * vector_data (const std::vector< T > &vector)
 
template<typename T , typename V >
void vector_emplace_back (std::vector< T > *vector, V &&data)
 
template<typename T , typename U >
Vector< Offset< T > > * VectorCast (Vector< Offset< U >> *ptr)
 
template<typename T , typename U >
const Vector< Offset< T > > * VectorCast (const Vector< Offset< U >> *ptr)
 
template<typename T >
static size_t VectorLength (const Vector< T > *v)
 

Variables

FLATBUFFERS_CONSTEXPR std::size_t dynamic_extent = static_cast<std::size_t>(-1)
 
static const nullopt_tnullopt = internal::nullopt_holder<void>::instance_
 

Function Documentation

template<typename T >
FLATBUFFERS_CONSTEXPR size_t flatbuffers::AlignOf ( )

Definition at line 83 of file flatbuffers.h.

uint8_t* flatbuffers::Allocate ( Allocator allocator,
size_t  size 
)
inline

Definition at line 711 of file flatbuffers.h.

template<typename T , uint16_t length>
Array<T, length>& flatbuffers::CastToArray ( T(&)  arr[length])

Definition at line 587 of file flatbuffers.h.

template<typename T , uint16_t length>
const Array<T, length>& flatbuffers::CastToArray ( const T(&)  arr[length])

Definition at line 592 of file flatbuffers.h.

template<typename E , typename T , uint16_t length>
Array<E, length>& flatbuffers::CastToArrayOfEnum ( T(&)  arr[length])

Definition at line 597 of file flatbuffers.h.

template<typename E , typename T , uint16_t length>
const Array<E, length>& flatbuffers::CastToArrayOfEnum ( const T(&)  arr[length])

Definition at line 603 of file flatbuffers.h.

template<typename T , typename Alloc >
const T* flatbuffers::data ( const std::vector< T, Alloc > &  v)

Definition at line 1108 of file flatbuffers.h.

template<typename T , typename Alloc >
T* flatbuffers::data ( std::vector< T, Alloc > &  v)

Definition at line 1114 of file flatbuffers.h.

void flatbuffers::Deallocate ( Allocator allocator,
uint8_t *  p,
size_t  size 
)
inline

Definition at line 716 of file flatbuffers.h.

void flatbuffers::EndianCheck ( )
inline

Definition at line 75 of file flatbuffers.h.

voffset_t flatbuffers::FieldIndexToOffset ( voffset_t  field_id)
inline

Definition at line 1101 of file flatbuffers.h.

static const char* flatbuffers::GetCstring ( const String str)
inlinestatic

Definition at line 641 of file flatbuffers.h.

static std::string flatbuffers::GetString ( const String str)
inlinestatic

Definition at line 635 of file flatbuffers.h.

template<typename T >
bool flatbuffers::IsInRange ( const T &  v,
const T &  low,
const T &  high 
)
inline

Definition at line 61 of file flatbuffers.h.

template<typename T >
bool flatbuffers::IsOutRange ( const T &  v,
const T &  low,
const T &  high 
)
inline

Definition at line 55 of file flatbuffers.h.

template<typename T >
bool flatbuffers::IsTheSameAs ( e,
def 
)
inline

Definition at line 35 of file flatbuffers.h.

template<class T >
FLATBUFFERS_CONSTEXPR_CPP11 bool flatbuffers::operator== ( const Optional< T > &  opt,
nullopt_t   
)

Definition at line 445 of file stl_emulation.h.

template<class T >
FLATBUFFERS_CONSTEXPR_CPP11 bool flatbuffers::operator== ( nullopt_t  ,
const Optional< T > &  opt 
)

Definition at line 449 of file stl_emulation.h.

template<class T , class U >
FLATBUFFERS_CONSTEXPR_CPP11 bool flatbuffers::operator== ( const Optional< T > &  lhs,
const U &  rhs 
)

Definition at line 454 of file stl_emulation.h.

template<class T , class U >
FLATBUFFERS_CONSTEXPR_CPP11 bool flatbuffers::operator== ( const T &  lhs,
const Optional< U > &  rhs 
)

Definition at line 459 of file stl_emulation.h.

template<class T , class U >
FLATBUFFERS_CONSTEXPR_CPP11 bool flatbuffers::operator== ( const Optional< T > &  lhs,
const Optional< U > &  rhs 
)

Definition at line 464 of file stl_emulation.h.

uint8_t* flatbuffers::ReallocateDownward ( Allocator allocator,
uint8_t *  old_p,
size_t  old_size,
size_t  new_size,
size_t  in_use_back,
size_t  in_use_front 
)
inline

Definition at line 723 of file flatbuffers.h.

char& flatbuffers::string_back ( std::string &  value)
inline

Definition at line 71 of file stl_emulation.h.

char flatbuffers::string_back ( const std::string &  value)
inline

Definition at line 75 of file stl_emulation.h.

static bool flatbuffers::StringLessThan ( const char *  a_data,
uoffset_t  a_size,
const char *  b_data,
uoffset_t  b_size 
)
inlinestatic

Definition at line 610 of file flatbuffers.h.

template<typename T >
T* flatbuffers::vector_data ( std::vector< T > &  vector)
inline

Definition at line 81 of file stl_emulation.h.

template<typename T >
const T* flatbuffers::vector_data ( const std::vector< T > &  vector)
inline

Definition at line 87 of file stl_emulation.h.

template<typename T , typename V >
void flatbuffers::vector_emplace_back ( std::vector< T > *  vector,
V &&  data 
)
inline

Definition at line 93 of file stl_emulation.h.

template<typename T , typename U >
Vector<Offset<T> >* flatbuffers::VectorCast ( Vector< Offset< U >> *  ptr)

Definition at line 410 of file flatbuffers.h.

template<typename T , typename U >
const Vector<Offset<T> >* flatbuffers::VectorCast ( const Vector< Offset< U >> *  ptr)

Definition at line 416 of file flatbuffers.h.

template<typename T >
static size_t flatbuffers::VectorLength ( const Vector< T > *  v)
inlinestatic

Definition at line 424 of file flatbuffers.h.

Variable Documentation

FLATBUFFERS_CONSTEXPR std::size_t flatbuffers::dynamic_extent = static_cast<std::size_t>(-1)

Definition at line 479 of file stl_emulation.h.

const nullopt_t& flatbuffers::nullopt = internal::nullopt_holder<void>::instance_
static

Definition at line 365 of file stl_emulation.h.



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