MCPcopy Create free account
hub / github.com/bytedance/Fastbot_Android / GetFieldT

Function GetFieldT

native/thirdpart/flatbuffers/reflection.h:150–154  ·  view source on GitHub ↗

Get a field, if you know it's a table.

Source from the content-addressed store, hash-verified

148
149// Get a field, if you know it's a table.
150inline Table *GetFieldT(const Table &table, const reflection::Field &field) {
151 FLATBUFFERS_ASSERT(field.type()->base_type() == reflection::Obj ||
152 field.type()->base_type() == reflection::Union);
153 return table.GetPointer<Table *>(field.offset());
154}
155
156// Get a field, if you know it's a struct.
157inline const Struct *GetFieldStruct(const Table &table,

Callers 2

CopyTableFunction · 0.85
VerifyObjectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected