Menu

#1 Enums as Strings

open
nobody
None
5
2007-08-23
2007-08-23
Afton
No

For my needs I need the String equivalent for each of the enum values given. I.e. I'm looking for a way of mapping EnumStateType::Values::k_null -> "null".

Obviously, I can have external code that undoes the mapping, but it would be better to have this code tied into the SDK.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.