<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>Crystal Space 1.2.1: cstool/bitmasktostr.h File Reference (Crystal Space 1.2.1 Public API Reference)</title> <link href="tabs.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <table border="0" cellpadding="0" cellspacing="0" width="100%" class="head"> <tr height="59"> <td class="head" width="202" valign="bottom" style="padding-left:0;"><a href="http://www.crystalspace3d.org/"><img src="csblur.png" width="236" height="59" alt="CrystalSpace" border="0"></a></td> <td class="head"><h2>Public API Reference</h2></td> </tr> <tr height="11"> <td colspan="2" class="headshadow" valign="top" style="padding-left:0;"><img src="csblurb.png" width="236" height="11" alt="" border="0"></td> </tr> </table> <div class="content"> <!-- Generated by Doxygen 1.5.3 --> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="classes.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> </ul> </div> <h1>cstool/bitmasktostr.h File Reference</h1>Small helper to get a "pretty" string for a combination of bit masks. <a href="#_details">More...</a> <p> <code>#include "<a class="el" href="csstring_8h-source.html">csutil/csstring.h</a>"</code><br> <p> <a href="bitmasktostr_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Classes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classcsBitmaskToString.html">csBitmaskToString</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Small helper to get a "pretty" string for a combination of bit masks. <a href="classcsBitmaskToString.html#_details">More...</a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structcsBitmaskToString_1_1MaskNames.html">csBitmaskToString::MaskNames</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Structure containing a name for possible bit masks. <a href="structcsBitmaskToString_1_1MaskNames.html#_details">More...</a><br></td></tr> <tr><td colspan="2"><br><h2>Defines</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__util.html#gcbf3ef54a14f50ee7059ec06d6722414">CS_BITMASKTOSTR_MASK_TABLE_BEGIN</a>(tableName) static const <a class="el" href="structcsBitmaskToString_1_1MaskNames.html">csBitmaskToString::MaskNames</a> tableName[] = {</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Helper macro to begin a bitmask-to-name table suitable for <a class="el" href="classcsBitmaskToString.html#92908c3153facc9e054be8b2c999b0cd" title="string used to store the prettified strings.">csBitmaskToString::GetStr()</a>;. <a href="group__util.html#gcbf3ef54a14f50ee7059ec06d6722414"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__util.html#ga0af915aa23efc9def481a19a2d0c086">CS_BITMASKTOSTR_MASK_TABLE_DEFINE</a>(def) {def, #def},</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Helper macro to add an entry to a bitmask-to-name table that is a #define. <a href="group__util.html#ga0af915aa23efc9def481a19a2d0c086"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__util.html#g8ee2d0d0fa1b357776dba072dec42f36">CS_BITMASKTOSTR_MASK_TABLE_END</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Helper macro to enf a bitmask-to-name table. <a href="group__util.html#g8ee2d0d0fa1b357776dba072dec42f36"></a><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Small helper to get a "pretty" string for a combination of bit masks. <p> <p>Definition in file <a class="el" href="bitmasktostr_8h-source.html">bitmasktostr.h</a>.</p> <hr size="1"><address><small>Generated for Crystal Space 1.2.1 by <a href="http://www.doxygen.org/index.html">doxygen</a> 1.5.3 </small></address> </div></body> </html>