Enumerations
Enumerations are fully supported by Embedded Proto. They work just like regular C++ enumerations. An enumeration defined in a .proto file as given:
enum Test_Enum { ZERO = 0; ONE = 1; TEN = 10; }
Is simply converted to the following C++ code:
enum Test_Enum { ZERO = 0, ONE = 1, TEN = 10 };
Accessing enum values is done using the same functions as basic variables.