Home
last modified time | relevance | path

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

/external/flatbuffers/src/
Didl_gen_cpp.cpp84 bool g_only_fixed_enums; // Generate underlaying type for all enums. member
87 : IDLOptions(opts), g_cpp_std(CPP_STD_11), g_only_fixed_enums(true) {} in IDLOptionsCpp()
624 return opts_.g_cpp_std >= cpp::CPP_STD_17 && opts_.g_only_fixed_enums && in VectorElementUserFacing()
804 if (IsEnum(element_type) && !opts_.g_only_fixed_enums) { in GenTypeGet()
1062 if (opts_.g_only_fixed_enums) { code_ += " : {{BASE_TYPE}}\\"; } in GenEnum()
3113 opts.g_only_fixed_enums = false; in GenerateCPP()
3117 opts.g_only_fixed_enums = true; in GenerateCPP()
3130 opts.g_only_fixed_enums |= opts.scoped_enums; in GenerateCPP()