Lines Matching refs:table
26 static bool GenStruct(const StructDef &struct_def, const Table *table,
120 reinterpret_cast<const Table *>(val),
158 const Table *table, bool fixed,
163 reinterpret_cast<const Struct *>(table)->GetField<T>(fd.value.offset) :
164 table->GetField<T>(fd.value.offset, 0), fd.value.type, indent, nullptr,
168 static bool GenStruct(const StructDef &struct_def, const Table *table,
173 static bool GenFieldOffset(const FieldDef &fd, const Table *table, bool fixed,
180 val = reinterpret_cast<const Struct *>(table)->
183 auto vec = table->GetPointer<const Vector<uint8_t> *>(fd.value.offset);
188 auto vec = table->GetPointer<const Vector<uint8_t> *>(fd.value.offset);
189 auto root = GetRoot<Table>(vec->data());
193 ? table->GetStruct<const void *>(fd.value.offset)
194 : table->GetPointer<const void *>(fd.value.offset);
199 // Generate text for a struct or table, values separated by commas, indented,
201 static bool GenStruct(const StructDef &struct_def, const Table *table,
212 auto is_present = struct_def.fixed || table->CheckField(fd.value.offset);
232 if (!GenField<CTYPE>(fd, table, struct_def.fixed, \
245 if (!GenFieldOffset(fd, table, struct_def.fixed, indent + Indent(opts),
253 table->GetField<uint8_t>(fd.value.offset, 0));
277 GetRoot<Table>(flatbuffer),