⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 _portability_8h.html

📁 c++开发的一个不错的工具
💻 HTML
📖 第 1 页 / 共 2 页
字号:
          <td class="md" nowrap valign="top"> #define CPPUNIT_JOIN          </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">symbol1,         <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap>symbol2&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap>&nbsp;&nbsp;&nbsp;_CPPUNIT_DO_JOIN( symbol1, symbol2 )</td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Joins to symbol after expanding them into string.<p>Use this macro to join two symbols. Example of usage:<p><pre><div class="fragment"><span class="preprocessor"> #define MAKE_UNIQUE_NAME(prefix) CPPUNIT_JOIN( prefix, __LINE__ )</span></div></pre><p>The macro defined in the example concatenate a given prefix with the line number to obtain a 'unique' identifier.     </td>  </tr></table><a class="anchor" name="a14" doxytag="Portability.h::CPPUNIT_MAKE_UNIQUE_NAME" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> #define CPPUNIT_MAKE_UNIQUE_NAME          </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">prefix&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap>&nbsp;&nbsp;&nbsp;CPPUNIT_JOIN( prefix, __LINE__ )</td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Adds the line number to the specified string to create a unique identifier. <dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td></td><td valign=top><em>prefix</em>&nbsp;</td><td>Prefix added to the line number to create a unique identifier. </td></tr>  </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group___creating_test_suite.html#ga0">CPPUNIT_TEST_SUITE_REGISTRATION</a> for an example of usage. </dd></dl>    </td>  </tr></table><a class="anchor" name="a8" doxytag="Portability.h::CPPUNIT_NS" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> #define CPPUNIT_NS&nbsp;&nbsp;&nbsp;CppUnit          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><a class="anchor" name="a6" doxytag="Portability.h::CPPUNIT_NS_BEGIN" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> #define CPPUNIT_NS_BEGIN&nbsp;&nbsp;&nbsp;namespace CppUnit {          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><a class="anchor" name="a7" doxytag="Portability.h::CPPUNIT_NS_END" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> #define CPPUNIT_NS_END&nbsp;&nbsp;&nbsp;}          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><a class="anchor" name="a5" doxytag="Portability.h::CPPUNIT_STATIC_CAST" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> #define CPPUNIT_STATIC_CAST          </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">TargetType,         <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap>pointer&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap>&nbsp;&nbsp;&nbsp;((TargetType)( pointer ))</td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><a class="anchor" name="a9" doxytag="Portability.h::CPPUNIT_STRINGIZE" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> #define CPPUNIT_STRINGIZE          </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">symbol&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap>&nbsp;&nbsp;&nbsp;_CPPUNIT_DO_STRINGIZE( symbol )</td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Stringize a symbol.<p>Use this macro to convert a preprocessor symbol to a string.<p>Example of usage: <pre><div class="fragment"><span class="preprocessor"> #define CPPUNIT_PLUGIN_EXPORTED_NAME cppunitTestPlugIn</span><span class="preprocessor"> const char *name = CPPUNIT_STRINGIZE( CPPUNIT_PLUGIN_EXPORTED_NAME );</span></div></pre>    </td>  </tr></table><a class="anchor" name="a0" doxytag="Portability.h::CPPUNIT_VERSION" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> #define CPPUNIT_VERSION&nbsp;&nbsp;&nbsp;"1.10.2"          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><a class="anchor" name="a15" doxytag="Portability.h::CPPUNIT_WRAP_COLUMN" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> #define CPPUNIT_WRAP_COLUMN&nbsp;&nbsp;&nbsp;79          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Defines wrap colunm for CppUnit. Used by CompilerOuputter.     </td>  </tr></table><hr><table width="100%">  <tr>    <td width="10%" align="left" valign="center">      <a href="http://sourceforge.net">       <img      src="http://sourceforge.net/sflogo.php?group_id=11795"      width="88" height="31" border="0" alt="SourceForge Logo"></a>    </td>    <td width="20%" align="left" valign="center">      hosts this site.    </td>    <td>    </td>    <td align="right" valign="center">      Send comments to:<br>      <a href="mailto:cppunit-devel@lists.sourceforge.net">CppUnit Developers</a>    </td>  </tr></table></body> </html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -