cstool/bitmasktostr.h File Reference (Crystal Space 2.0 Public API Reference)

| ## Public API Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

Classes | Defines
cstool/bitmasktostr.h File Reference

Small helper to get a "pretty" string for a combination of bit masks. More...

`#include "csutil/csstring.h"`

Go to the source code of this file.

## Classes
class | csBitmaskToString
| Small helper to get a "pretty" string for a combination of bit masks. More...
struct | csBitmaskToString::MaskNames
| Structure containing a name for possible bit masks. More...
## Defines
#define | CS_BITMASKTOSTR_MASK_TABLE_BEGIN(tableName) static const csBitmaskToString::MaskNames tableName[] = {
| Helper macro to begin a bitmask-to-name table suitable for csBitmaskToString::GetStr();.
#define | CS_BITMASKTOSTR_MASK_TABLE_DEFINE(def) {def, #def},
| Helper macro to add an entry to a bitmask-to-name table that is a #define.
#define | CS_BITMASKTOSTR_MASK_TABLE_END
| Helper macro to enf a bitmask-to-name table.

## Detailed Description

Small helper to get a "pretty" string for a combination of bit masks.

Definition in file bitmasktostr.h.