Command line utility to generate helper code for enum definitions in c++