aboutsummaryrefslogtreecommitdiff
path: root/buildtools/codegen/tests/examples/TestEnum.hpp.txt
blob: e596c5e925af402d4089f489e5b51e5f3450e23f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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);