Home
last modified time | relevance | path

Searched refs:scoped_enums (Results 1 – 3 of 3) sorted by relevance

/external/flatbuffers/src/
Didl_gen_cpp.cpp655 return (opts.scoped_enums ? "enum class " : "enum ") + Name(enum_def); in GenEnumDecl()
667 if (opts.scoped_enums) { in GetEnumValUse()
900 if (parser_.opts.scoped_enums) code_ += " : {{BASE_TYPE}}\\"; in GenEnum()
920 if (parser_.opts.scoped_enums || parser_.opts.prefixed_enums) { in GenEnum()
945 if (parser_.opts.scoped_enums && enum_def.attributes.Lookup("bit_flags")) { in GenEnum()
1674 if (parser_.opts.scoped_enums && field.value.type.enum_def && in GenKeyFieldMethods()
Dflatc.cpp233 opts.scoped_enums = true; in Compile()
/external/flatbuffers/include/flatbuffers/
Didl.h400 bool scoped_enums; member
477 scoped_enums(false), in IDLOptions()