You can use C++/ C++11 (typed)enumerations here i think