1 // automatically generated by the FlatBuffers compiler, do not modify
3 #ifndef FLATBUFFERS_GENERATED_MODULEUNITTEST_BLUETOOTH_H_
4 #define FLATBUFFERS_GENERATED_MODULEUNITTEST_BLUETOOTH_H_
6 #include "flatbuffers/flatbuffers.h"
10 struct ModuleUnitTestData;
11 struct ModuleUnitTestDataBuilder;
13 struct ModuleUnitTestData FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
14 typedef ModuleUnitTestDataBuilder Builder;
15 enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_TITLE = 4 };
16 const flatbuffers::String* title() const {
17 return GetPointer<const flatbuffers::String*>(VT_TITLE);
19 bool Verify(flatbuffers::Verifier& verifier) const {
20 return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_TITLE) && verifier.VerifyString(title()) &&
25 struct ModuleUnitTestDataBuilder {
26 typedef ModuleUnitTestData Table;
27 flatbuffers::FlatBufferBuilder& fbb_;
28 flatbuffers::uoffset_t start_;
29 void add_title(flatbuffers::Offset<flatbuffers::String> title) {
30 fbb_.AddOffset(ModuleUnitTestData::VT_TITLE, title);
32 explicit ModuleUnitTestDataBuilder(flatbuffers::FlatBufferBuilder& _fbb) : fbb_(_fbb) {
33 start_ = fbb_.StartTable();
35 ModuleUnitTestDataBuilder& operator=(const ModuleUnitTestDataBuilder&);
36 flatbuffers::Offset<ModuleUnitTestData> Finish() {
37 const auto end = fbb_.EndTable(start_);
38 auto o = flatbuffers::Offset<ModuleUnitTestData>(end);
43 inline flatbuffers::Offset<ModuleUnitTestData> CreateModuleUnitTestData(
44 flatbuffers::FlatBufferBuilder& _fbb, flatbuffers::Offset<flatbuffers::String> title = 0) {
45 ModuleUnitTestDataBuilder builder_(_fbb);
46 builder_.add_title(title);
47 return builder_.Finish();
50 inline flatbuffers::Offset<ModuleUnitTestData> CreateModuleUnitTestDataDirect(
51 flatbuffers::FlatBufferBuilder& _fbb, const char* title = nullptr) {
52 auto title__ = title ? _fbb.CreateString(title) : 0;
53 return bluetooth::CreateModuleUnitTestData(_fbb, title__);
56 inline const bluetooth::ModuleUnitTestData* GetModuleUnitTestData(const void* buf) {
57 return flatbuffers::GetRoot<bluetooth::ModuleUnitTestData>(buf);
60 inline const bluetooth::ModuleUnitTestData* GetSizePrefixedModuleUnitTestData(const void* buf) {
61 return flatbuffers::GetSizePrefixedRoot<bluetooth::ModuleUnitTestData>(buf);
64 inline bool VerifyModuleUnitTestDataBuffer(flatbuffers::Verifier& verifier) {
65 return verifier.VerifyBuffer<bluetooth::ModuleUnitTestData>(nullptr);
68 inline bool VerifySizePrefixedModuleUnitTestDataBuffer(flatbuffers::Verifier& verifier) {
69 return verifier.VerifySizePrefixedBuffer<bluetooth::ModuleUnitTestData>(nullptr);
72 inline void FinishModuleUnitTestDataBuffer(
73 flatbuffers::FlatBufferBuilder& fbb, flatbuffers::Offset<bluetooth::ModuleUnitTestData> root) {
77 inline void FinishSizePrefixedModuleUnitTestDataBuffer(
78 flatbuffers::FlatBufferBuilder& fbb, flatbuffers::Offset<bluetooth::ModuleUnitTestData> root) {
79 fbb.FinishSizePrefixed(root);
82 } // namespace bluetooth
84 #endif // FLATBUFFERS_GENERATED_MODULEUNITTEST_BLUETOOTH_H_