![]() |
Public API Reference |
Small helper to get a "pretty" string for a combination of bit masks. More...
#include <cstool/bitmasktostr.h>
Classes | |
| struct | MaskNames |
| Structure containing a name for possible bit masks. More... | |
Static Public Member Functions | |
| static const char * | GetStr (uint mask, const MaskNames *names) |
| string used to store the prettified strings. | |
Small helper to get a "pretty" string for a combination of bit masks.
Definition at line 36 of file bitmasktostr.h.
| static const char* csBitmaskToString::GetStr | ( | uint | mask, |
| const MaskNames * | names | ||
| ) | [inline, static] |
string used to store the prettified strings.
Retrieve "pretty" string for value composed of bit masks ORed together.
| mask | The value for which a string should be retrieved. |
| names | Table with bitmask-to-name mappings. Last entry must be {0, 0}. |
Definition at line 57 of file bitmasktostr.h.