aboutsummaryrefslogtreecommitdiff
path: root/buildtools/codegen/tests/examples/TestEnum.hpp
blob: c498cd990aefec14c60cdc0c640216dcde8f5e76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include "MacrosCodegen.hpp"

enum MyEnum {
	EnumElement1,
	EnumElement2,
	EnumElement3,
};
BRUSSEL_ENUM(MyEnum, ToString);

enum CountedEnumAll {
	CEA_Foo,
	CEA_Bar,
	CEA_COUNT,
};
BRUSSEL_ENUM(CountedEnumAll, ToString);

enum CountedEnum {
	CE_Foo,
	CE_Bar,
	CE_FooBar,
	CE_COUNT,
};
BRUSSEL_ENUM(CountedEnum, ToString ExcludeHeuristics);