ONE - On-device Neural Engine
Loading...
Searching...
No Matches
flatbuffers.h File Reference
#include "flatbuffers/base.h"
#include "flatbuffers/stl_emulation.h"
#include <functional>

Go to the source code of this file.

Data Structures

struct  flatbuffers::Offset< T >
 
struct  flatbuffers::IndirectHelper< T >
 
struct  flatbuffers::IndirectHelper< Offset< T > >
 
struct  flatbuffers::IndirectHelper< const T * >
 
struct  flatbuffers::VectorIterator< T, IT >
 
struct  flatbuffers::VectorReverseIterator< Iterator >
 
class  flatbuffers::Vector< T >
 
class  flatbuffers::VectorOfAny
 
class  flatbuffers::Array< T, length >
 
class  flatbuffers::Array< Offset< T >, length >
 
struct  flatbuffers::String
 
class  flatbuffers::Allocator
 
class  flatbuffers::DefaultAllocator
 
class  flatbuffers::DetachedBuffer
 
class  flatbuffers::vector_downward
 
class  flatbuffers::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...
 
struct  flatbuffers::FlatBufferBuilder::FieldLoc
 
struct  flatbuffers::FlatBufferBuilder::StringOffsetCompare
 

Namespaces

namespace  flatbuffers
 

Functions

template<typename T >
bool flatbuffers::IsTheSameAs (T e, T def)
 
template<typename T >
bool flatbuffers::IsOutRange (const T &v, const T &low, const T &high)
 
template<typename T >
bool flatbuffers::IsInRange (const T &v, const T &low, const T &high)
 
void flatbuffers::EndianCheck ()
 
template<typename T >
FLATBUFFERS_CONSTEXPR size_t flatbuffers::AlignOf ()
 
template<typename T , typename U >
Vector< Offset< T > > * flatbuffers::VectorCast (Vector< Offset< U > > *ptr)
 
template<typename T , typename U >
const Vector< Offset< T > > * flatbuffers::VectorCast (const Vector< Offset< U > > *ptr)
 
template<typename T , uint16_t length>
Array< T, length > & flatbuffers::CastToArray (T(&arr)[length])
 
template<typename T , uint16_t length>
const Array< T, length > & flatbuffers::CastToArray (const T(&arr)[length])
 
template<typename E , typename T , uint16_t length>
Array< E, length > & flatbuffers::CastToArrayOfEnum (T(&arr)[length])
 
template<typename E , typename T , uint16_t length>
const Array< E, length > & flatbuffers::CastToArrayOfEnum (const T(&arr)[length])
 
uint8_t * flatbuffers::Allocate (Allocator *allocator, size_t size)
 
void flatbuffers::Deallocate (Allocator *allocator, uint8_t *p, size_t size)
 
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)
 
voffset_t flatbuffers::FieldIndexToOffset (voffset_t field_id)
 
template<typename T , typename Alloc >
const T * flatbuffers::data (const std::vector< T, Alloc > &v)
 
template<typename T , typename Alloc >
T * flatbuffers::data (std::vector< T, Alloc > &v)