CrystalSpace

Public API Reference

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.


Generated for Crystal Space by doxygen 1.4.7