1 // automatically generated by the FlatBuffers compiler, do not modify
2
3 #ifndef FLATBUFFERS_GENERATED_MODULEUNITTEST_BLUETOOTH_H_
4 #define FLATBUFFERS_GENERATED_MODULEUNITTEST_BLUETOOTH_H_
5
6 #include "flatbuffers/flatbuffers.h"
7
8 namespace bluetooth {
9
10 struct ModuleUnitTestData;
11 struct ModuleUnitTestDataBuilder;
12
13 struct ModuleUnitTestData FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
14 typedef ModuleUnitTestDataBuilder Builder;
15 enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { VT_TITLE = 4 };
titleFLATBUFFERS_FINAL_CLASS16 const flatbuffers::String* title() const {
17 return GetPointer<const flatbuffers::String*>(VT_TITLE);
18 }
VerifyFLATBUFFERS_FINAL_CLASS19 bool Verify(flatbuffers::Verifier& verifier) const {
20 return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_TITLE) && verifier.VerifyString(title()) &&
21 verifier.EndTable();
22 }
23 };
24
25 struct ModuleUnitTestDataBuilder {
26 typedef ModuleUnitTestData Table;
27 flatbuffers::FlatBufferBuilder& fbb_;
28 flatbuffers::uoffset_t start_;
add_titleModuleUnitTestDataBuilder29 void add_title(flatbuffers::Offset<flatbuffers::String> title) {
30 fbb_.AddOffset(ModuleUnitTestData::VT_TITLE, title);
31 }
ModuleUnitTestDataBuilderModuleUnitTestDataBuilder32 explicit ModuleUnitTestDataBuilder(flatbuffers::FlatBufferBuilder& _fbb) : fbb_(_fbb) {
33 start_ = fbb_.StartTable();
34 }
35 ModuleUnitTestDataBuilder& operator=(const ModuleUnitTestDataBuilder&);
FinishModuleUnitTestDataBuilder36 flatbuffers::Offset<ModuleUnitTestData> Finish() {
37 const auto end = fbb_.EndTable(start_);
38 auto o = flatbuffers::Offset<ModuleUnitTestData>(end);
39 return o;
40 }
41 };
42
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();
48 }
49
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__);
54 }
55
GetModuleUnitTestData(const void * buf)56 inline const bluetooth::ModuleUnitTestData* GetModuleUnitTestData(const void* buf) {
57 return flatbuffers::GetRoot<bluetooth::ModuleUnitTestData>(buf);
58 }
59
GetSizePrefixedModuleUnitTestData(const void * buf)60 inline const bluetooth::ModuleUnitTestData* GetSizePrefixedModuleUnitTestData(const void* buf) {
61 return flatbuffers::GetSizePrefixedRoot<bluetooth::ModuleUnitTestData>(buf);
62 }
63
VerifyModuleUnitTestDataBuffer(flatbuffers::Verifier & verifier)64 inline bool VerifyModuleUnitTestDataBuffer(flatbuffers::Verifier& verifier) {
65 return verifier.VerifyBuffer<bluetooth::ModuleUnitTestData>(nullptr);
66 }
67
VerifySizePrefixedModuleUnitTestDataBuffer(flatbuffers::Verifier & verifier)68 inline bool VerifySizePrefixedModuleUnitTestDataBuffer(flatbuffers::Verifier& verifier) {
69 return verifier.VerifySizePrefixedBuffer<bluetooth::ModuleUnitTestData>(nullptr);
70 }
71
FinishModuleUnitTestDataBuffer(flatbuffers::FlatBufferBuilder & fbb,flatbuffers::Offset<bluetooth::ModuleUnitTestData> root)72 inline void FinishModuleUnitTestDataBuffer(
73 flatbuffers::FlatBufferBuilder& fbb, flatbuffers::Offset<bluetooth::ModuleUnitTestData> root) {
74 fbb.Finish(root);
75 }
76
FinishSizePrefixedModuleUnitTestDataBuffer(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);
80 }
81
82 } // namespace bluetooth
83
84 #endif // FLATBUFFERS_GENERATED_MODULEUNITTEST_BLUETOOTH_H_
85