If you're wondering what the purpose of this class is... I'm also wondering the same thing.  It's duplicating the Java implementation, but it looks entirely pointless there as well...  This is used in the enum implementation here: https://github.com/rleigh-dundee/bioformats/commits/cpp-model-enums