String set and indexed string set (strings have a numeric ID that can be used in switch statements) More...
Go to the source code of this file.
Classes | |
class | ccuty::stringset |
Set of strings, allows converting strings to numbers. More... | |
class | ccuty::istringset |
Indexed set of strings, allows converting strings to numbers and vice-versa. More... | |
Namespaces | |
ccuty | |
C++ Utilities. | |
Constant Groups | |
ccuty | |
C++ Utilities. | |
Macros | |
#define | STRINGIFY(s) _STRINGIFY(s) |
Stringify a symbol. | |
#define | STRING_SWITCH(str,...) |
Allows comparing strings in switch statements. More... | |
String set and indexed string set (strings have a numeric ID that can be used in switch statements)
Macros: STRINGIFY and stringswitch
Classes: ccuty::stringset and ccuty::istringset
#define STRING_SWITCH | ( | str, | |
... | |||
) |
Allows comparing strings in switch statements.
Example:
This macro relies on ccuty::stringset.