Lines Matching full:flatbuffers

1 // automatically generated by the FlatBuffers compiler, do not modify
7 #include "flatbuffers/flatbuffers.h"
18 inline const flatbuffers::TypeTable *MonsterExtraTypeTable();
20 struct MonsterExtraT : public flatbuffers::NativeTable {
63 struct MonsterExtra FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
66 static const flatbuffers::TypeTable *MiniReflectTypeTable() { in MiniReflectTypeTable()
129 const flatbuffers::Vector<double> *dvec() const { in dvec()
130 return GetPointer<const flatbuffers::Vector<double> *>(VT_DVEC); in dvec()
132 flatbuffers::Vector<double> *mutable_dvec() { in mutable_dvec()
133 return GetPointer<flatbuffers::Vector<double> *>(VT_DVEC); in mutable_dvec()
135 const flatbuffers::Vector<float> *fvec() const { in fvec()
136 return GetPointer<const flatbuffers::Vector<float> *>(VT_FVEC); in fvec()
138 flatbuffers::Vector<float> *mutable_fvec() { in mutable_fvec()
139 return GetPointer<flatbuffers::Vector<float> *>(VT_FVEC); in mutable_fvec()
141 bool Verify(flatbuffers::Verifier &verifier) const { in Verify()
157 MonsterExtraT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
158 …void UnPackTo(MonsterExtraT *_o, const flatbuffers::resolver_function_t *_resolver = nullptr) cons…
159 …static flatbuffers::Offset<MonsterExtra> Pack(flatbuffers::FlatBufferBuilder &_fbb, const MonsterE…
164 flatbuffers::FlatBufferBuilder &fbb_;
165 flatbuffers::uoffset_t start_;
190 void add_dvec(flatbuffers::Offset<flatbuffers::Vector<double>> dvec) { in add_dvec()
193 void add_fvec(flatbuffers::Offset<flatbuffers::Vector<float>> fvec) { in add_fvec()
196 explicit MonsterExtraBuilder(flatbuffers::FlatBufferBuilder &_fbb) in MonsterExtraBuilder()
201 flatbuffers::Offset<MonsterExtra> Finish() { in Finish()
203 auto o = flatbuffers::Offset<MonsterExtra>(end); in Finish()
208 inline flatbuffers::Offset<MonsterExtra> CreateMonsterExtra(
209 flatbuffers::FlatBufferBuilder &_fbb,
218 flatbuffers::Offset<flatbuffers::Vector<double>> dvec = 0,
219 flatbuffers::Offset<flatbuffers::Vector<float>> fvec = 0) {
234 inline flatbuffers::Offset<MonsterExtra> CreateMonsterExtraDirect(
235 flatbuffers::FlatBufferBuilder &_fbb,
262 flatbuffers::Offset<MonsterExtra> CreateMonsterExtra(flatbuffers::FlatBufferBuilder &_fbb, const Mo…
264 inline MonsterExtraT *MonsterExtra::UnPack(const flatbuffers::resolver_function_t *_resolver) const… in UnPack()
265flatbuffers::unique_ptr<MyGame::MonsterExtraT> _o = flatbuffers::unique_ptr<MyGame::MonsterExtraT>… in UnPack()
270 inline void MonsterExtra::UnPackTo(MonsterExtraT *_o, const flatbuffers::resolver_function_t *_reso… in UnPackTo()
281 …{ auto _e = dvec(); if (_e) { _o->dvec.resize(_e->size()); for (flatbuffers::uoffset_t _i = 0; _i … in UnPackTo()
282 …{ auto _e = fvec(); if (_e) { _o->fvec.resize(_e->size()); for (flatbuffers::uoffset_t _i = 0; _i … in UnPackTo()
285 inline flatbuffers::Offset<MonsterExtra> MonsterExtra::Pack(flatbuffers::FlatBufferBuilder &_fbb, c… in Pack()
289 inline flatbuffers::Offset<MonsterExtra> CreateMonsterExtra(flatbuffers::FlatBufferBuilder &_fbb, c… in CreateMonsterExtra()
292 …struct _VectorArgs { flatbuffers::FlatBufferBuilder *__fbb; const MonsterExtraT* __o; const flatbu… in CreateMonsterExtra()
317 inline const flatbuffers::TypeTable *MonsterExtraTypeTable() { in MonsterExtraTypeTable()
318 static const flatbuffers::TypeCode type_codes[] = { in MonsterExtraTypeTable()
319 { flatbuffers::ET_DOUBLE, 0, -1 }, in MonsterExtraTypeTable()
320 { flatbuffers::ET_DOUBLE, 0, -1 }, in MonsterExtraTypeTable()
321 { flatbuffers::ET_DOUBLE, 0, -1 }, in MonsterExtraTypeTable()
322 { flatbuffers::ET_DOUBLE, 0, -1 }, in MonsterExtraTypeTable()
323 { flatbuffers::ET_FLOAT, 0, -1 }, in MonsterExtraTypeTable()
324 { flatbuffers::ET_FLOAT, 0, -1 }, in MonsterExtraTypeTable()
325 { flatbuffers::ET_FLOAT, 0, -1 }, in MonsterExtraTypeTable()
326 { flatbuffers::ET_FLOAT, 0, -1 }, in MonsterExtraTypeTable()
327 { flatbuffers::ET_DOUBLE, 1, -1 }, in MonsterExtraTypeTable()
328 { flatbuffers::ET_FLOAT, 1, -1 }, in MonsterExtraTypeTable()
329 { flatbuffers::ET_INT, 0, -1 } in MonsterExtraTypeTable()
344 static const flatbuffers::TypeTable tt = { in MonsterExtraTypeTable()
345 flatbuffers::ST_TABLE, 11, type_codes, nullptr, nullptr, names in MonsterExtraTypeTable()
351 return flatbuffers::GetRoot<MyGame::MonsterExtra>(buf); in GetMonsterExtra()
355 return flatbuffers::GetSizePrefixedRoot<MyGame::MonsterExtra>(buf); in GetSizePrefixedMonsterExtra()
359 return flatbuffers::GetMutableRoot<MonsterExtra>(buf); in GetMutableMonsterExtra()
367 return flatbuffers::BufferHasIdentifier( in MonsterExtraBufferHasIdentifier()
372 flatbuffers::Verifier &verifier) { in VerifyMonsterExtraBuffer()
377 flatbuffers::Verifier &verifier) { in VerifySizePrefixedMonsterExtraBuffer()
386 flatbuffers::FlatBufferBuilder &fbb, in FinishMonsterExtraBuffer()
387 flatbuffers::Offset<MyGame::MonsterExtra> root) { in FinishMonsterExtraBuffer()
392 flatbuffers::FlatBufferBuilder &fbb, in FinishSizePrefixedMonsterExtraBuffer()
393 flatbuffers::Offset<MyGame::MonsterExtra> root) { in FinishSizePrefixedMonsterExtraBuffer()
397 inline flatbuffers::unique_ptr<MyGame::MonsterExtraT> UnPackMonsterExtra(
399 const flatbuffers::resolver_function_t *res = nullptr) {
400 return flatbuffers::unique_ptr<MyGame::MonsterExtraT>(GetMonsterExtra(buf)->UnPack(res));
403 inline flatbuffers::unique_ptr<MyGame::MonsterExtraT> UnPackSizePrefixedMonsterExtra(
405 const flatbuffers::resolver_function_t *res = nullptr) {
406 …return flatbuffers::unique_ptr<MyGame::MonsterExtraT>(GetSizePrefixedMonsterExtra(buf)->UnPack(res…