Home
last modified time | relevance | path

Searched defs:EnumDef (Results 1 – 1 of 1) sorted by relevance

/third_party/flatbuffers/include/flatbuffers/
Didl.h414 struct EnumDef : public Definition { struct
415 EnumDef() : is_union(false), uses_multiple_type_instances(false) {} in EnumDef() function
432 uint64_t Distance() const { return Distance(MinValue(), MaxValue()); } in Distance()
438 std::string ToString(const EnumVal &ev) const { in ToString()
443 size_t size() const { return vals.vec.size(); } in size()
445 const std::vector<EnumVal *> &Vals() const { return vals.vec; } in Vals()
447 const EnumVal *Lookup(const std::string &enum_name) const { in Lookup()
451 bool is_union;
454 bool uses_multiple_type_instances;
455 Type underlying_type;
[all …]