// automatically generated by the FlatBuffers compiler, do not modify #ifndef FLATBUFFERS_GENERATED_MODULEUNITTEST_BLUETOOTH_H_ #define FLATBUFFERS_GENERATED_MODULEUNITTEST_BLUETOOTH_H_ #include "flatbuffers/flatbuffers.h" namespace bluetooth { struct ModuleUnitTestData; struct ModuleUnitTestDataBuilder; struct ModuleUnitTestData FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table { typedef ModuleUnitTestDataBuilder Builder; enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_TITLE = 4 }; const flatbuffers::String* title() const { return GetPointer(VT_TITLE); } bool Verify(flatbuffers::Verifier& verifier) const { return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_TITLE) && verifier.VerifyString(title()) && verifier.EndTable(); } }; struct ModuleUnitTestDataBuilder { typedef ModuleUnitTestData Table; flatbuffers::FlatBufferBuilder& fbb_; flatbuffers::uoffset_t start_; void add_title(flatbuffers::Offset title) { fbb_.AddOffset(ModuleUnitTestData::VT_TITLE, title); } explicit ModuleUnitTestDataBuilder(flatbuffers::FlatBufferBuilder& _fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); } ModuleUnitTestDataBuilder& operator=(const ModuleUnitTestDataBuilder&); flatbuffers::Offset Finish() { const auto end = fbb_.EndTable(start_); auto o = flatbuffers::Offset(end); return o; } }; inline flatbuffers::Offset CreateModuleUnitTestData( flatbuffers::FlatBufferBuilder& _fbb, flatbuffers::Offset title = 0) { ModuleUnitTestDataBuilder builder_(_fbb); builder_.add_title(title); return builder_.Finish(); } inline flatbuffers::Offset CreateModuleUnitTestDataDirect( flatbuffers::FlatBufferBuilder& _fbb, const char* title = nullptr) { auto title__ = title ? _fbb.CreateString(title) : 0; return bluetooth::CreateModuleUnitTestData(_fbb, title__); } inline const bluetooth::ModuleUnitTestData* GetModuleUnitTestData(const void* buf) { return flatbuffers::GetRoot(buf); } inline const bluetooth::ModuleUnitTestData* GetSizePrefixedModuleUnitTestData(const void* buf) { return flatbuffers::GetSizePrefixedRoot(buf); } inline bool VerifyModuleUnitTestDataBuffer(flatbuffers::Verifier& verifier) { return verifier.VerifyBuffer(nullptr); } inline bool VerifySizePrefixedModuleUnitTestDataBuffer(flatbuffers::Verifier& verifier) { return verifier.VerifySizePrefixedBuffer(nullptr); } inline void FinishModuleUnitTestDataBuffer( flatbuffers::FlatBufferBuilder& fbb, flatbuffers::Offset root) { fbb.Finish(root); } inline void FinishSizePrefixedModuleUnitTestDataBuffer( flatbuffers::FlatBufferBuilder& fbb, flatbuffers::Offset root) { fbb.FinishSizePrefixed(root); } } // namespace bluetooth #endif // FLATBUFFERS_GENERATED_MODULEUNITTEST_BLUETOOTH_H_