#ifndef FLATBUFFERS_GENERATED_REFLECTION_REFLECTION_H_
#define FLATBUFFERS_GENERATED_REFLECTION_REFLECTION_H_
#include "flatbuffers/flatbuffers.h"
static_assert …;
namespace reflection {
struct Type;
struct TypeBuilder;
struct KeyValue;
struct KeyValueBuilder;
struct EnumVal;
struct EnumValBuilder;
struct Enum;
struct EnumBuilder;
struct Field;
struct FieldBuilder;
struct Object;
struct ObjectBuilder;
struct RPCCall;
struct RPCCallBuilder;
struct Service;
struct ServiceBuilder;
struct SchemaFile;
struct SchemaFileBuilder;
struct Schema;
struct SchemaBuilder;
enum BaseType { … };
inline const BaseType (&EnumValuesBaseType())[20] { … }
inline const char * const *EnumNamesBaseType() { … }
inline const char *EnumNameBaseType(BaseType e) { … }
enum AdvancedFeatures { … };
inline const AdvancedFeatures (&EnumValuesAdvancedFeatures())[4] { … }
inline const char * const *EnumNamesAdvancedFeatures() { … }
inline const char *EnumNameAdvancedFeatures(AdvancedFeatures e) { … }
struct Type FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { … };
struct TypeBuilder { … };
inline ::flatbuffers::Offset<Type> CreateType(
::flatbuffers::FlatBufferBuilder &_fbb,
reflection::BaseType base_type = reflection::None,
reflection::BaseType element = reflection::None,
int32_t index = -1,
uint16_t fixed_length = 0,
uint32_t base_size = 4,
uint32_t element_size = 0) { … }
struct KeyValue FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { … };
struct KeyValueBuilder { … };
inline ::flatbuffers::Offset<KeyValue> CreateKeyValue(
::flatbuffers::FlatBufferBuilder &_fbb,
::flatbuffers::Offset<::flatbuffers::String> key = 0,
::flatbuffers::Offset<::flatbuffers::String> value = 0) { … }
inline ::flatbuffers::Offset<KeyValue> CreateKeyValueDirect(
::flatbuffers::FlatBufferBuilder &_fbb,
const char *key = nullptr,
const char *value = nullptr) { … }
struct EnumVal FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { … };
struct EnumValBuilder { … };
inline ::flatbuffers::Offset<EnumVal> CreateEnumVal(
::flatbuffers::FlatBufferBuilder &_fbb,
::flatbuffers::Offset<::flatbuffers::String> name = 0,
int64_t value = 0,
::flatbuffers::Offset<reflection::Type> union_type = 0,
::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<::flatbuffers::String>>> documentation = 0,
::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<reflection::KeyValue>>> attributes = 0) { … }
inline ::flatbuffers::Offset<EnumVal> CreateEnumValDirect(
::flatbuffers::FlatBufferBuilder &_fbb,
const char *name = nullptr,
int64_t value = 0,
::flatbuffers::Offset<reflection::Type> union_type = 0,
const std::vector<::flatbuffers::Offset<::flatbuffers::String>> *documentation = nullptr,
std::vector<::flatbuffers::Offset<reflection::KeyValue>> *attributes = nullptr) { … }
struct Enum FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { … };
struct EnumBuilder { … };
inline ::flatbuffers::Offset<Enum> CreateEnum(
::flatbuffers::FlatBufferBuilder &_fbb,
::flatbuffers::Offset<::flatbuffers::String> name = 0,
::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<reflection::EnumVal>>> values = 0,
bool is_union = false,
::flatbuffers::Offset<reflection::Type> underlying_type = 0,
::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<reflection::KeyValue>>> attributes = 0,
::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<::flatbuffers::String>>> documentation = 0,
::flatbuffers::Offset<::flatbuffers::String> declaration_file = 0) { … }
inline ::flatbuffers::Offset<Enum> CreateEnumDirect(
::flatbuffers::FlatBufferBuilder &_fbb,
const char *name = nullptr,
std::vector<::flatbuffers::Offset<reflection::EnumVal>> *values = nullptr,
bool is_union = false,
::flatbuffers::Offset<reflection::Type> underlying_type = 0,
std::vector<::flatbuffers::Offset<reflection::KeyValue>> *attributes = nullptr,
const std::vector<::flatbuffers::Offset<::flatbuffers::String>> *documentation = nullptr,
const char *declaration_file = nullptr) { … }
struct Field FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { … };
struct FieldBuilder { … };
inline ::flatbuffers::Offset<Field> CreateField(
::flatbuffers::FlatBufferBuilder &_fbb,
::flatbuffers::Offset<::flatbuffers::String> name = 0,
::flatbuffers::Offset<reflection::Type> type = 0,
uint16_t id = 0,
uint16_t offset = 0,
int64_t default_integer = 0,
double default_real = 0.0,
bool deprecated = false,
bool required = false,
bool key = false,
::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<reflection::KeyValue>>> attributes = 0,
::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<::flatbuffers::String>>> documentation = 0,
bool optional = false,
uint16_t padding = 0,
bool offset64 = false) { … }
inline ::flatbuffers::Offset<Field> CreateFieldDirect(
::flatbuffers::FlatBufferBuilder &_fbb,
const char *name = nullptr,
::flatbuffers::Offset<reflection::Type> type = 0,
uint16_t id = 0,
uint16_t offset = 0,
int64_t default_integer = 0,
double default_real = 0.0,
bool deprecated = false,
bool required = false,
bool key = false,
std::vector<::flatbuffers::Offset<reflection::KeyValue>> *attributes = nullptr,
const std::vector<::flatbuffers::Offset<::flatbuffers::String>> *documentation = nullptr,
bool optional = false,
uint16_t padding = 0,
bool offset64 = false) { … }
struct Object FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { … };
struct ObjectBuilder { … };
inline ::flatbuffers::Offset<Object> CreateObject(
::flatbuffers::FlatBufferBuilder &_fbb,
::flatbuffers::Offset<::flatbuffers::String> name = 0,
::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<reflection::Field>>> fields = 0,
bool is_struct = false,
int32_t minalign = 0,
int32_t bytesize = 0,
::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<reflection::KeyValue>>> attributes = 0,
::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<::flatbuffers::String>>> documentation = 0,
::flatbuffers::Offset<::flatbuffers::String> declaration_file = 0) { … }
inline ::flatbuffers::Offset<Object> CreateObjectDirect(
::flatbuffers::FlatBufferBuilder &_fbb,
const char *name = nullptr,
std::vector<::flatbuffers::Offset<reflection::Field>> *fields = nullptr,
bool is_struct = false,
int32_t minalign = 0,
int32_t bytesize = 0,
std::vector<::flatbuffers::Offset<reflection::KeyValue>> *attributes = nullptr,
const std::vector<::flatbuffers::Offset<::flatbuffers::String>> *documentation = nullptr,
const char *declaration_file = nullptr) { … }
struct RPCCall FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { … };
struct RPCCallBuilder { … };
inline ::flatbuffers::Offset<RPCCall> CreateRPCCall(
::flatbuffers::FlatBufferBuilder &_fbb,
::flatbuffers::Offset<::flatbuffers::String> name = 0,
::flatbuffers::Offset<reflection::Object> request = 0,
::flatbuffers::Offset<reflection::Object> response = 0,
::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<reflection::KeyValue>>> attributes = 0,
::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<::flatbuffers::String>>> documentation = 0) { … }
inline ::flatbuffers::Offset<RPCCall> CreateRPCCallDirect(
::flatbuffers::FlatBufferBuilder &_fbb,
const char *name = nullptr,
::flatbuffers::Offset<reflection::Object> request = 0,
::flatbuffers::Offset<reflection::Object> response = 0,
std::vector<::flatbuffers::Offset<reflection::KeyValue>> *attributes = nullptr,
const std::vector<::flatbuffers::Offset<::flatbuffers::String>> *documentation = nullptr) { … }
struct Service FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { … };
struct ServiceBuilder { … };
inline ::flatbuffers::Offset<Service> CreateService(
::flatbuffers::FlatBufferBuilder &_fbb,
::flatbuffers::Offset<::flatbuffers::String> name = 0,
::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<reflection::RPCCall>>> calls = 0,
::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<reflection::KeyValue>>> attributes = 0,
::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<::flatbuffers::String>>> documentation = 0,
::flatbuffers::Offset<::flatbuffers::String> declaration_file = 0) { … }
inline ::flatbuffers::Offset<Service> CreateServiceDirect(
::flatbuffers::FlatBufferBuilder &_fbb,
const char *name = nullptr,
std::vector<::flatbuffers::Offset<reflection::RPCCall>> *calls = nullptr,
std::vector<::flatbuffers::Offset<reflection::KeyValue>> *attributes = nullptr,
const std::vector<::flatbuffers::Offset<::flatbuffers::String>> *documentation = nullptr,
const char *declaration_file = nullptr) { … }
struct SchemaFile FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { … };
struct SchemaFileBuilder { … };
inline ::flatbuffers::Offset<SchemaFile> CreateSchemaFile(
::flatbuffers::FlatBufferBuilder &_fbb,
::flatbuffers::Offset<::flatbuffers::String> filename = 0,
::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<::flatbuffers::String>>> included_filenames = 0) { … }
inline ::flatbuffers::Offset<SchemaFile> CreateSchemaFileDirect(
::flatbuffers::FlatBufferBuilder &_fbb,
const char *filename = nullptr,
const std::vector<::flatbuffers::Offset<::flatbuffers::String>> *included_filenames = nullptr) { … }
struct Schema FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { … };
struct SchemaBuilder { … };
inline ::flatbuffers::Offset<Schema> CreateSchema(
::flatbuffers::FlatBufferBuilder &_fbb,
::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<reflection::Object>>> objects = 0,
::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<reflection::Enum>>> enums = 0,
::flatbuffers::Offset<::flatbuffers::String> file_ident = 0,
::flatbuffers::Offset<::flatbuffers::String> file_ext = 0,
::flatbuffers::Offset<reflection::Object> root_table = 0,
::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<reflection::Service>>> services = 0,
reflection::AdvancedFeatures advanced_features = static_cast<reflection::AdvancedFeatures>(0),
::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<reflection::SchemaFile>>> fbs_files = 0) { … }
inline ::flatbuffers::Offset<Schema> CreateSchemaDirect(
::flatbuffers::FlatBufferBuilder &_fbb,
std::vector<::flatbuffers::Offset<reflection::Object>> *objects = nullptr,
std::vector<::flatbuffers::Offset<reflection::Enum>> *enums = nullptr,
const char *file_ident = nullptr,
const char *file_ext = nullptr,
::flatbuffers::Offset<reflection::Object> root_table = 0,
std::vector<::flatbuffers::Offset<reflection::Service>> *services = nullptr,
reflection::AdvancedFeatures advanced_features = static_cast<reflection::AdvancedFeatures>(0),
std::vector<::flatbuffers::Offset<reflection::SchemaFile>> *fbs_files = nullptr) { … }
inline const reflection::Schema *GetSchema(const void *buf) { … }
inline const reflection::Schema *GetSizePrefixedSchema(const void *buf) { … }
inline const char *SchemaIdentifier() { … }
inline bool SchemaBufferHasIdentifier(const void *buf) { … }
inline bool SizePrefixedSchemaBufferHasIdentifier(const void *buf) { … }
inline bool VerifySchemaBuffer(
::flatbuffers::Verifier &verifier) { … }
inline bool VerifySizePrefixedSchemaBuffer(
::flatbuffers::Verifier &verifier) { … }
inline const char *SchemaExtension() { … }
inline void FinishSchemaBuffer(
::flatbuffers::FlatBufferBuilder &fbb,
::flatbuffers::Offset<reflection::Schema> root) { … }
inline void FinishSizePrefixedSchemaBuffer(
::flatbuffers::FlatBufferBuilder &fbb,
::flatbuffers::Offset<reflection::Schema> root) { … }
}
#endif