• Home
  • Raw
  • Download

Lines Matching full:flatbuffers

1 // automatically generated by the FlatBuffers compiler, do not modify
7 #include "flatbuffers/flatbuffers.h"
9 // Ensure the included flatbuffers.h is the same version as when this file was
14 "Non-compatible flatbuffers version included");
16 namespace flatbuffers {
25 struct Galaxy FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
33 bool Verify(::flatbuffers::Verifier &verifier) const { in Verify()
42 ::flatbuffers::FlatBufferBuilder &fbb_;
43 ::flatbuffers::uoffset_t start_;
47 explicit GalaxyBuilder(::flatbuffers::FlatBufferBuilder &_fbb) in GalaxyBuilder()
51 ::flatbuffers::Offset<Galaxy> Finish() { in Finish()
53 auto o = ::flatbuffers::Offset<Galaxy>(end); in Finish()
58 inline ::flatbuffers::Offset<Galaxy> CreateGalaxy(
59 ::flatbuffers::FlatBufferBuilder &_fbb,
66 struct Universe FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
75 …const ::flatbuffers::Vector<::flatbuffers::Offset<flatbuffers::goldens::Galaxy>> *galaxies() const… in galaxies()
76 …return GetPointer<const ::flatbuffers::Vector<::flatbuffers::Offset<flatbuffers::goldens::Galaxy>>… in galaxies()
78 bool Verify(::flatbuffers::Verifier &verifier) const { in Verify()
90 ::flatbuffers::FlatBufferBuilder &fbb_;
91 ::flatbuffers::uoffset_t start_;
95 …void add_galaxies(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<flatbuffers::g… in add_galaxies()
98 explicit UniverseBuilder(::flatbuffers::FlatBufferBuilder &_fbb) in UniverseBuilder()
102 ::flatbuffers::Offset<Universe> Finish() { in Finish()
104 auto o = ::flatbuffers::Offset<Universe>(end); in Finish()
109 inline ::flatbuffers::Offset<Universe> CreateUniverse(
110 ::flatbuffers::FlatBufferBuilder &_fbb,
112 …::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<flatbuffers::goldens::Galaxy>>> …
119 inline ::flatbuffers::Offset<Universe> CreateUniverseDirect(
120 ::flatbuffers::FlatBufferBuilder &_fbb,
122 const std::vector<::flatbuffers::Offset<flatbuffers::goldens::Galaxy>> *galaxies = nullptr) {
123 …auto galaxies__ = galaxies ? _fbb.CreateVector<::flatbuffers::Offset<flatbuffers::goldens::Galaxy>…
124 return flatbuffers::goldens::CreateUniverse(
130 inline const flatbuffers::goldens::Universe *GetUniverse(const void *buf) { in GetUniverse()
131 return ::flatbuffers::GetRoot<flatbuffers::goldens::Universe>(buf); in GetUniverse()
134 inline const flatbuffers::goldens::Universe *GetSizePrefixedUniverse(const void *buf) { in GetSizePrefixedUniverse()
135 return ::flatbuffers::GetSizePrefixedRoot<flatbuffers::goldens::Universe>(buf); in GetSizePrefixedUniverse()
139 ::flatbuffers::Verifier &verifier) { in VerifyUniverseBuffer()
140 return verifier.VerifyBuffer<flatbuffers::goldens::Universe>(nullptr); in VerifyUniverseBuffer()
144 ::flatbuffers::Verifier &verifier) { in VerifySizePrefixedUniverseBuffer()
145 return verifier.VerifySizePrefixedBuffer<flatbuffers::goldens::Universe>(nullptr); in VerifySizePrefixedUniverseBuffer()
149 ::flatbuffers::FlatBufferBuilder &fbb, in FinishUniverseBuffer()
150 ::flatbuffers::Offset<flatbuffers::goldens::Universe> root) { in FinishUniverseBuffer()
155 ::flatbuffers::FlatBufferBuilder &fbb, in FinishSizePrefixedUniverseBuffer()
156 ::flatbuffers::Offset<flatbuffers::goldens::Universe> root) { in FinishSizePrefixedUniverseBuffer()
161 } // namespace flatbuffers