diff options
author | rtk0c <[email protected]> | 2022-05-29 21:57:53 -0700 |
---|---|---|
committer | rtk0c <[email protected]> | 2022-05-29 21:57:53 -0700 |
commit | 6f29abe5571eb68207986bdadb97b207264ac958 (patch) | |
tree | e30d5d36e550e8f08cc832f905c97cbeba3515aa /buildtools/codegen/tests/examples/TestEnum.hpp.txt | |
parent | 5112858f9a4adcf76240bcddad19179a5c56d4f3 (diff) |
Changeset: 49 Convert codegen output to use template specialization
Diffstat (limited to 'buildtools/codegen/tests/examples/TestEnum.hpp.txt')
-rw-r--r-- | buildtools/codegen/tests/examples/TestEnum.hpp.txt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/buildtools/codegen/tests/examples/TestEnum.hpp.txt b/buildtools/codegen/tests/examples/TestEnum.hpp.txt new file mode 100644 index 0000000..e596c5e --- /dev/null +++ b/buildtools/codegen/tests/examples/TestEnum.hpp.txt @@ -0,0 +1,21 @@ +enum MyEnum { + EnumElement1, + EnumElement2, + EnumElement3, +}; +BRUSSEL_ENUM(MyEnum, ToString FromString); + +enum CountedEnumAll { + CEA_Foo, + CEA_Bar, + CEA_COUNT, +}; +BRUSSEL_ENUM(CountedEnumAll, ToString FromString); + +enum CountedEnum { + CE_Foo, + CE_Bar, + CE_FooBar, + CE_COUNT, +}; +BRUSSEL_ENUM(CountedEnum, ToString FromString ExcludeHeuristics); |