#ifndef FLATBUFFERS_GENERATED_OPTIONALSCALARS_OPTIONAL_SCALARS_H_
#define FLATBUFFERS_GENERATED_OPTIONALSCALARS_OPTIONAL_SCALARS_H_
#include "flatbuffers/flatbuffers.h"
static_assert …;
namespace optional_scalars {
struct ScalarStuff;
struct ScalarStuffBuilder;
struct ScalarStuffT;
bool operator==(const ScalarStuffT &lhs, const ScalarStuffT &rhs);
bool operator!=(const ScalarStuffT &lhs, const ScalarStuffT &rhs);
inline const ::flatbuffers::TypeTable *ScalarStuffTypeTable();
enum OptionalByte : int8_t { … };
inline const OptionalByte (&EnumValuesOptionalByte())[3] { … }
inline const char * const *EnumNamesOptionalByte() { … }
inline const char *EnumNameOptionalByte(OptionalByte e) { … }
struct ScalarStuffT : public ::flatbuffers::NativeTable { … };
struct ScalarStuff FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { … };
struct ScalarStuffBuilder { … };
inline ::flatbuffers::Offset<ScalarStuff> CreateScalarStuff(
::flatbuffers::FlatBufferBuilder &_fbb,
int8_t just_i8 = 0,
::flatbuffers::Optional<int8_t> maybe_i8 = ::flatbuffers::nullopt,
int8_t default_i8 = 42,
uint8_t just_u8 = 0,
::flatbuffers::Optional<uint8_t> maybe_u8 = ::flatbuffers::nullopt,
uint8_t default_u8 = 42,
int16_t just_i16 = 0,
::flatbuffers::Optional<int16_t> maybe_i16 = ::flatbuffers::nullopt,
int16_t default_i16 = 42,
uint16_t just_u16 = 0,
::flatbuffers::Optional<uint16_t> maybe_u16 = ::flatbuffers::nullopt,
uint16_t default_u16 = 42,
int32_t just_i32 = 0,
::flatbuffers::Optional<int32_t> maybe_i32 = ::flatbuffers::nullopt,
int32_t default_i32 = 42,
uint32_t just_u32 = 0,
::flatbuffers::Optional<uint32_t> maybe_u32 = ::flatbuffers::nullopt,
uint32_t default_u32 = 42,
int64_t just_i64 = 0,
::flatbuffers::Optional<int64_t> maybe_i64 = ::flatbuffers::nullopt,
int64_t default_i64 = 42LL,
uint64_t just_u64 = 0,
::flatbuffers::Optional<uint64_t> maybe_u64 = ::flatbuffers::nullopt,
uint64_t default_u64 = 42ULL,
float just_f32 = 0.0f,
::flatbuffers::Optional<float> maybe_f32 = ::flatbuffers::nullopt,
float default_f32 = 42.0f,
double just_f64 = 0.0,
::flatbuffers::Optional<double> maybe_f64 = ::flatbuffers::nullopt,
double default_f64 = 42.0,
bool just_bool = false,
::flatbuffers::Optional<bool> maybe_bool = ::flatbuffers::nullopt,
bool default_bool = true,
optional_scalars::OptionalByte just_enum = optional_scalars::OptionalByte_None,
::flatbuffers::Optional<optional_scalars::OptionalByte> maybe_enum = ::flatbuffers::nullopt,
optional_scalars::OptionalByte default_enum = optional_scalars::OptionalByte_One) { … }
::flatbuffers::Offset<ScalarStuff> CreateScalarStuff(::flatbuffers::FlatBufferBuilder &_fbb, const ScalarStuffT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
inline bool operator==(const ScalarStuffT &lhs, const ScalarStuffT &rhs) { … }
inline bool operator!=(const ScalarStuffT &lhs, const ScalarStuffT &rhs) { … }
inline ScalarStuffT *ScalarStuff::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const { … }
inline void ScalarStuff::UnPackTo(ScalarStuffT *_o, const ::flatbuffers::resolver_function_t *_resolver) const { … }
inline ::flatbuffers::Offset<ScalarStuff> ScalarStuff::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const ScalarStuffT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) { … }
inline ::flatbuffers::Offset<ScalarStuff> CreateScalarStuff(::flatbuffers::FlatBufferBuilder &_fbb, const ScalarStuffT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) { … }
inline const ::flatbuffers::TypeTable *OptionalByteTypeTable() { … }
inline const ::flatbuffers::TypeTable *ScalarStuffTypeTable() { … }
inline const optional_scalars::ScalarStuff *GetScalarStuff(const void *buf) { … }
inline const optional_scalars::ScalarStuff *GetSizePrefixedScalarStuff(const void *buf) { … }
inline ScalarStuff *GetMutableScalarStuff(void *buf) { … }
inline optional_scalars::ScalarStuff *GetMutableSizePrefixedScalarStuff(void *buf) { … }
inline const char *ScalarStuffIdentifier() { … }
inline bool ScalarStuffBufferHasIdentifier(const void *buf) { … }
inline bool SizePrefixedScalarStuffBufferHasIdentifier(const void *buf) { … }
inline bool VerifyScalarStuffBuffer(
::flatbuffers::Verifier &verifier) { … }
inline bool VerifySizePrefixedScalarStuffBuffer(
::flatbuffers::Verifier &verifier) { … }
inline const char *ScalarStuffExtension() { … }
inline void FinishScalarStuffBuffer(
::flatbuffers::FlatBufferBuilder &fbb,
::flatbuffers::Offset<optional_scalars::ScalarStuff> root) { … }
inline void FinishSizePrefixedScalarStuffBuffer(
::flatbuffers::FlatBufferBuilder &fbb,
::flatbuffers::Offset<optional_scalars::ScalarStuff> root) { … }
inline std::unique_ptr<optional_scalars::ScalarStuffT> UnPackScalarStuff(
const void *buf,
const ::flatbuffers::resolver_function_t *res = nullptr) { … }
inline std::unique_ptr<optional_scalars::ScalarStuffT> UnPackSizePrefixedScalarStuff(
const void *buf,
const ::flatbuffers::resolver_function_t *res = nullptr) { … }
}
#endif