Lines Matching full:flatbuffers
1 // automatically generated by the FlatBuffers compiler, do not modify
7 #include "flatbuffers/flatbuffers.h"
110 bool VerifyUnion(flatbuffers::Verifier &verifier, const void *obj, Union type);
111 …l VerifyUnionVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector<flatbuffers::Offset…
124 : a_(flatbuffers::EndianScalar(_a)),
126 b_(flatbuffers::EndianScalar(_b)) {
130 return flatbuffers::EndianScalar(a_);
133 return flatbuffers::EndianScalar(b_);
138 struct TableA FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
150 const flatbuffers::String *c() const {
151 return GetPointer<const flatbuffers::String *>(VT_C);
153 bool Verify(flatbuffers::Verifier &verifier) const {
164 flatbuffers::FlatBufferBuilder &fbb_;
165 flatbuffers::uoffset_t start_;
172 void add_c(flatbuffers::Offset<flatbuffers::String> c) {
175 explicit TableABuilder(flatbuffers::FlatBufferBuilder &_fbb)
180 flatbuffers::Offset<TableA> Finish() {
182 auto o = flatbuffers::Offset<TableA>(end);
187 inline flatbuffers::Offset<TableA> CreateTableA(
188 flatbuffers::FlatBufferBuilder &_fbb,
191 flatbuffers::Offset<flatbuffers::String> c = 0) {
199 inline flatbuffers::Offset<TableA> CreateTableADirect(
200 flatbuffers::FlatBufferBuilder &_fbb,
212 struct TableB FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
219 bool Verify(flatbuffers::Verifier &verifier) const {
227 flatbuffers::FlatBufferBuilder &fbb_;
228 flatbuffers::uoffset_t start_;
232 explicit TableBBuilder(flatbuffers::FlatBufferBuilder &_fbb)
237 flatbuffers::Offset<TableB> Finish() {
239 auto o = flatbuffers::Offset<TableB>(end);
244 inline flatbuffers::Offset<TableB> CreateTableB(
245 flatbuffers::FlatBufferBuilder &_fbb,
252 struct TableC FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
260 const flatbuffers::String *b() const {
261 return GetPointer<const flatbuffers::String *>(VT_B);
263 bool Verify(flatbuffers::Verifier &verifier) const {
273 flatbuffers::FlatBufferBuilder &fbb_;
274 flatbuffers::uoffset_t start_;
278 void add_b(flatbuffers::Offset<flatbuffers::String> b) {
281 explicit TableCBuilder(flatbuffers::FlatBufferBuilder &_fbb)
286 flatbuffers::Offset<TableC> Finish() {
288 auto o = flatbuffers::Offset<TableC>(end);
293 inline flatbuffers::Offset<TableC> CreateTableC(
294 flatbuffers::FlatBufferBuilder &_fbb,
296 flatbuffers::Offset<flatbuffers::String> b = 0) {
303 inline flatbuffers::Offset<TableC> CreateTableCDirect(
304 flatbuffers::FlatBufferBuilder &_fbb,
314 struct Root FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
356 const flatbuffers::Vector<int32_t> *g() const {
357 return GetPointer<const flatbuffers::Vector<int32_t> *>(VT_G);
359 const flatbuffers::Vector<flatbuffers::Offset<Evolution::V2::TableB>> *h() const {
360 … return GetPointer<const flatbuffers::Vector<flatbuffers::Offset<Evolution::V2::TableB>> *>(VT_H);
371 bool Verify(flatbuffers::Verifier &verifier) const {
407 flatbuffers::FlatBufferBuilder &fbb_;
408 flatbuffers::uoffset_t start_;
415 void add_c(flatbuffers::Offset<void> c) {
421 void add_e(flatbuffers::Offset<Evolution::V2::TableA> e) {
427 void add_g(flatbuffers::Offset<flatbuffers::Vector<int32_t>> g) {
430 …void add_h(flatbuffers::Offset<flatbuffers::Vector<flatbuffers::Offset<Evolution::V2::TableB>>> h)…
436 void add_j(flatbuffers::Offset<Evolution::V2::TableC> j) {
442 explicit RootBuilder(flatbuffers::FlatBufferBuilder &_fbb)
447 flatbuffers::Offset<Root> Finish() {
449 auto o = flatbuffers::Offset<Root>(end);
454 inline flatbuffers::Offset<Root> CreateRoot(
455 flatbuffers::FlatBufferBuilder &_fbb,
458 flatbuffers::Offset<void> c = 0,
460 flatbuffers::Offset<Evolution::V2::TableA> e = 0,
462 flatbuffers::Offset<flatbuffers::Vector<int32_t>> g = 0,
463 flatbuffers::Offset<flatbuffers::Vector<flatbuffers::Offset<Evolution::V2::TableB>>> h = 0,
465 flatbuffers::Offset<Evolution::V2::TableC> j = 0,
482 inline flatbuffers::Offset<Root> CreateRootDirect(
483 flatbuffers::FlatBufferBuilder &_fbb,
486 flatbuffers::Offset<void> c = 0,
488 flatbuffers::Offset<Evolution::V2::TableA> e = 0,
491 const std::vector<flatbuffers::Offset<Evolution::V2::TableB>> *h = nullptr,
493 flatbuffers::Offset<Evolution::V2::TableC> j = 0,
496 auto h__ = h ? _fbb.CreateVector<flatbuffers::Offset<Evolution::V2::TableB>>(*h) : 0;
512 inline bool VerifyUnion(flatbuffers::Verifier &verifier, const void *obj, Union type) {
533 …l VerifyUnionVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector<flatbuffers::Offset…
536 for (flatbuffers::uoffset_t i = 0; i < values->size(); ++i) {
546 return flatbuffers::GetRoot<Evolution::V2::Root>(buf);
550 return flatbuffers::GetSizePrefixedRoot<Evolution::V2::Root>(buf);
554 flatbuffers::Verifier &verifier) {
559 flatbuffers::Verifier &verifier) {
564 flatbuffers::FlatBufferBuilder &fbb,
565 flatbuffers::Offset<Evolution::V2::Root> root) {
570 flatbuffers::FlatBufferBuilder &fbb,
571 flatbuffers::Offset<Evolution::V2::Root> root) {