I'm using RTSDK EMA C++ library to post data to the RCC. For ENUM type FIDs I call the FieldList::addEnum method which takes a short int as the value. To get the int value from an ENUM string I preprocess the data with a Python program that converts enumtype.def into a nested dictionary structure that can be used to lookup the VALUE integer from a FID and a DISPLAY string, where VALUE and DISPLAY refer to the column headers used in enumtype.def conversion tables. This all works.
My question is, when matching an ENUM string to values in the DISPLAY column, should the matching be case-sensitive or case-insensitive?
-----
Also, is there a better way to do this? Does the EMA lib have a way to convert an ENUM string into an integer?
Thanks,
Jeff