Easy conversion between indexed string values and their indices. More...
#include <libnebular-plugin.hpp>
Public Member Functions | |
NumberedStrings (Integer newNumStrings, const String *newTable) | |
~NumberedStrings () | |
Integer | stringToIndex (const String &string) const |
const String | indexToString (Integer number) const |
Easy conversion between indexed string values and their indices.
Definition at line 106 of file libnebular-plugin.hpp.
[in] | newTable | Can be initialized in code as C array |
[in] | newNumStrings | Can be supplied as ARRAY_SIZE of array newTable |
Definition at line 115 of file libnebular.cpp.
libnebular::NumberedStrings::~NumberedStrings | ( | ) |
Definition at line 120 of file libnebular.cpp.