Tolua++ already parses the values for enums and looks up passed on enum name. so we're not checking a generic enum. we're writing check code for this specific enum.