ONE - On-device Neural Engine
Loading...
Searching...
No Matches
reflection.h File Reference
#include "flatbuffers/reflection_generated.h"

Go to the source code of this file.

Data Structures

class  flatbuffers::pointer_inside_vector< T, U >
 

Namespaces

namespace  flatbuffers
 

Functions

bool flatbuffers::IsScalar (reflection::BaseType t)
 
bool flatbuffers::IsInteger (reflection::BaseType t)
 
bool flatbuffers::IsFloat (reflection::BaseType t)
 
bool flatbuffers::IsLong (reflection::BaseType t)
 
size_t flatbuffers::GetTypeSize (reflection::BaseType base_type)
 
size_t flatbuffers::GetTypeSizeInline (reflection::BaseType base_type, int type_index, const reflection::Schema &schema)
 
Table * flatbuffers::GetAnyRoot (uint8_t *flatbuf)
 
const Table * flatbuffers::GetAnyRoot (const uint8_t *flatbuf)
 
template<typename T >
flatbuffers::GetFieldDefaultI (const reflection::Field &field)
 
template<typename T >
flatbuffers::GetFieldDefaultF (const reflection::Field &field)
 
template<typename T >
flatbuffers::GetFieldI (const Table &table, const reflection::Field &field)
 
template<typename T >
flatbuffers::GetFieldF (const Table &table, const reflection::Field &field)
 
const Stringflatbuffers::GetFieldS (const Table &table, const reflection::Field &field)
 
template<typename T >
Vector< T > * flatbuffers::GetFieldV (const Table &table, const reflection::Field &field)
 
VectorOfAnyflatbuffers::GetFieldAnyV (const Table &table, const reflection::Field &field)
 
Table * flatbuffers::GetFieldT (const Table &table, const reflection::Field &field)
 
const Struct * flatbuffers::GetFieldStruct (const Table &table, const reflection::Field &field)
 
const Struct * flatbuffers::GetFieldStruct (const Struct &structure, const reflection::Field &field)
 
int64_t flatbuffers::GetAnyValueI (reflection::BaseType type, const uint8_t *data)
 
double flatbuffers::GetAnyValueF (reflection::BaseType type, const uint8_t *data)
 
std::string flatbuffers::GetAnyValueS (reflection::BaseType type, const uint8_t *data, const reflection::Schema *schema, int type_index)
 
int64_t flatbuffers::GetAnyFieldI (const Table &table, const reflection::Field &field)
 
double flatbuffers::GetAnyFieldF (const Table &table, const reflection::Field &field)
 
std::string flatbuffers::GetAnyFieldS (const Table &table, const reflection::Field &field, const reflection::Schema *schema)
 
int64_t flatbuffers::GetAnyFieldI (const Struct &st, const reflection::Field &field)
 
double flatbuffers::GetAnyFieldF (const Struct &st, const reflection::Field &field)
 
std::string flatbuffers::GetAnyFieldS (const Struct &st, const reflection::Field &field)
 
int64_t flatbuffers::GetAnyVectorElemI (const VectorOfAny *vec, reflection::BaseType elem_type, size_t i)
 
double flatbuffers::GetAnyVectorElemF (const VectorOfAny *vec, reflection::BaseType elem_type, size_t i)
 
std::string flatbuffers::GetAnyVectorElemS (const VectorOfAny *vec, reflection::BaseType elem_type, size_t i)
 
template<typename T >
T * flatbuffers::GetAnyVectorElemPointer (const VectorOfAny *vec, size_t i)
 
template<typename T >
T * flatbuffers::GetAnyVectorElemAddressOf (const VectorOfAny *vec, size_t i, size_t elem_size)
 
template<typename T >
T * flatbuffers::GetAnyFieldAddressOf (const Table &table, const reflection::Field &field)
 
template<typename T >
T * flatbuffers::GetAnyFieldAddressOf (const Struct &st, const reflection::Field &field)
 
template<typename T >
bool flatbuffers::SetField (Table *table, const reflection::Field &field, T val)
 
void flatbuffers::SetAnyValueI (reflection::BaseType type, uint8_t *data, int64_t val)
 
void flatbuffers::SetAnyValueF (reflection::BaseType type, uint8_t *data, double val)
 
void flatbuffers::SetAnyValueS (reflection::BaseType type, uint8_t *data, const char *val)
 
bool flatbuffers::SetAnyFieldI (Table *table, const reflection::Field &field, int64_t val)
 
bool flatbuffers::SetAnyFieldF (Table *table, const reflection::Field &field, double val)
 
bool flatbuffers::SetAnyFieldS (Table *table, const reflection::Field &field, const char *val)
 
void flatbuffers::SetAnyFieldI (Struct *st, const reflection::Field &field, int64_t val)
 
void flatbuffers::SetAnyFieldF (Struct *st, const reflection::Field &field, double val)
 
void flatbuffers::SetAnyFieldS (Struct *st, const reflection::Field &field, const char *val)
 
void flatbuffers::SetAnyVectorElemI (VectorOfAny *vec, reflection::BaseType elem_type, size_t i, int64_t val)
 
void flatbuffers::SetAnyVectorElemF (VectorOfAny *vec, reflection::BaseType elem_type, size_t i, double val)
 
void flatbuffers::SetAnyVectorElemS (VectorOfAny *vec, reflection::BaseType elem_type, size_t i, const char *val)
 
template<typename T , typename U >
pointer_inside_vector< T, U > flatbuffers::piv (T *ptr, std::vector< U > &vec)
 
const char * flatbuffers::UnionTypeFieldSuffix ()
 
const reflection::Object & flatbuffers::GetUnionType (const reflection::Schema &schema, const reflection::Object &parent, const reflection::Field &unionfield, const Table &table)
 
void flatbuffers::SetString (const reflection::Schema &schema, const std::string &val, const String *str, std::vector< uint8_t > *flatbuf, const reflection::Object *root_table=nullptr)
 
uint8_t * flatbuffers::ResizeAnyVector (const reflection::Schema &schema, uoffset_t newsize, const VectorOfAny *vec, uoffset_t num_elems, uoffset_t elem_size, std::vector< uint8_t > *flatbuf, const reflection::Object *root_table=nullptr)
 
template<typename T >
void flatbuffers::ResizeVector (const reflection::Schema &schema, uoffset_t newsize, T val, const Vector< T > *vec, std::vector< uint8_t > *flatbuf, const reflection::Object *root_table=nullptr)
 
const uint8_t * flatbuffers::AddFlatBuffer (std::vector< uint8_t > &flatbuf, const uint8_t *newbuf, size_t newlen)
 
bool flatbuffers::SetFieldT (Table *table, const reflection::Field &field, const uint8_t *val)
 
Offset< const Table * > flatbuffers::CopyTable (FlatBufferBuilder &fbb, const reflection::Schema &schema, const reflection::Object &objectdef, const Table &table, bool use_string_pooling=false)
 
bool flatbuffers::Verify (const reflection::Schema &schema, const reflection::Object &root, const uint8_t *buf, size_t length, uoffset_t max_depth=64, uoffset_t max_tables=1000000)