Searched defs:FieldDef (Results 1 – 2 of 2) sorted by relevance
290 struct FieldDef : public Definition { struct291 FieldDef() in FieldDef() function306 bool IsScalarOptional() const { in IsScalarOptional()309 bool IsOptional() const { return presence == kOptional; } in IsOptional()310 bool IsRequired() const { return presence == kRequired; } in IsRequired()311 bool IsDefault() const { return presence == kDefault; } in IsDefault()335 return required ? FieldDef::kRequired in MakeFieldPresence() argument340 Presence presence;342 StructDef *nested_flatbuffer; // This field contains nested FlatBuffer data.366 SymbolTable<FieldDef> fields; argument
291 struct FieldDef : public Definition { struct292 FieldDef() in FieldDef() function307 Value value;308 bool deprecated; // Field is allowed to be present in old data, but can't be.310 bool required; // Field must always be present.311 bool key; // Field functions as a key for creating sorted vectors.312 bool shared; // Field will be using string pooling (i.e. CreateSharedString)314 bool native_inline; // Field will be defined inline (instead of as a pointer)316 bool flexbuffer; // This field contains FlexBuffer data.317 StructDef *nested_flatbuffer; // This field contains nested FlatBuffer data.[all …]