ONE - On-device Neural Engine
|
#include <idl.h>
Public Member Functions | |
Type (BaseType _base_type=BASE_TYPE_NONE, StructDef *_sd=nullptr, EnumDef *_ed=nullptr, uint16_t _fixed_length=0) | |
bool | operator== (const Type &o) |
Type | VectorType () const |
Offset< reflection::Type > | Serialize (FlatBufferBuilder *builder) const |
bool | Deserialize (const Parser &parser, const reflection::Type *type) |
Data Fields | |
BaseType | base_type |
BaseType | element |
StructDef * | struct_def |
EnumDef * | enum_def |
uint16_t | fixed_length |
|
inlineexplicit |
bool flatbuffers::Type::Deserialize | ( | const Parser & | parser, |
const reflection::Type * | type | ||
) |
|
inline |
Offset< reflection::Type > flatbuffers::Type::Serialize | ( | FlatBufferBuilder * | builder | ) | const |
|
inline |
Definition at line 178 of file idl.h.
References element, enum_def, fixed_length, and struct_def.
BaseType flatbuffers::Type::base_type |
Definition at line 184 of file idl.h.
Referenced by flatbuffers::EqualByName(), flatbuffers::FieldDef::IsScalarOptional(), and operator==().
BaseType flatbuffers::Type::element |
Definition at line 185 of file idl.h.
Referenced by flatbuffers::EqualByName(), operator==(), and VectorType().
EnumDef* flatbuffers::Type::enum_def |
Definition at line 187 of file idl.h.
Referenced by flatbuffers::EqualByName(), operator==(), and VectorType().
uint16_t flatbuffers::Type::fixed_length |
Definition at line 189 of file idl.h.
Referenced by VectorType().
StructDef* flatbuffers::Type::struct_def |
Definition at line 186 of file idl.h.
Referenced by flatbuffers::EqualByName(), operator==(), and VectorType().