#ifdef TRAITSEPERATOR #undef TRAITSEPERATOR #endif #ifdef CreateSpace #undef CreateSpace #endif #define MESSAGEDIVIDER 0 #define TRAITSEPERATOR };} namespace dummynamespace { namespace dummynamespace2 { #define CreateSpace(name) };} namespace name { enum name ## DataSpaceMessages_ENUM {\ DUMMY_MESSAGE = 60000 + 1000 * TRAITON + 100 * MESSAGEDIVIDER, namespace dummynamespace { namespace dummynamespace2 { #define TRAIT_USERDEF_MESSAGES #include "AllObjectTraits.h" #undef TRAIT_USERDEF_MESSAGES }} #undef MESSAGEDIVIDER #undef CreateSpace #undef TraitSeperator