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

📄 classpordinaltostring.html

📁 pwlib开发文档
💻 HTML
字号:
<!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>POrdinalToString class Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.2.18 --><center><a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center><hr><h1>POrdinalToString Class Reference</h1><code>#include &lt;<a class="el" href="pstring_8h-source.html">pstring.h</a>&gt;</code><p><a href="classPOrdinalToString-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0><tr><td></td></tr><tr><td colspan=2><br><h2>Public Methods</h2></td></tr><tr><td colspan="2"><div class="groupHeader">Construction</div></td></tr><tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classPOrdinalToString.html#z273_0">POrdinalToString</a> (PINDEX count, const <a class="el" href="structPOrdinalToString_1_1Initialiser.html">Initialiser</a> *init)</td></tr><tr><td colspan="2"><div class="groupHeader">Overrides from class PObject</div></td></tr><tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classPOrdinalToString.html#z275_0">ReadFrom</a> (istream &amp;strm)</td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>This is a dictionary collection class of PString# objects, keyed by an ordinal value. It has all the usual functions for a collection, with the object types set to PString# pointers. The class could be considered like a sparse array of strings.<p>In addition some addition functions are added that take a const PString# reference instead of a pointer as most standard collection functions do. This is more convenient for when string expressions are used as parameters to function in the collection.<p>See the PAbstractDictionary# and PStringDictionary# classes and <a class="el" href="dict_8h.html#a3">PDECLARE_DICTIONARY</a># and <a class="el" href="pstring_8h.html#a1">PDECLARE_STRING_DICTIONARY</a># macros for more information. <p><hr><h2>Constructor &amp; Destructor Documentation</h2><a name="z273_0" doxytag="POrdinalToString::POrdinalToString"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> POrdinalToString::POrdinalToString </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">PINDEX&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>count</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="structPOrdinalToString_1_1Initialiser.html">Initialiser</a> *&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>init</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Initialise the ordinal dictionary of strings from the static array. <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>init</em>&nbsp;</td><td>Count of strings in initialiser array Array of <a class="el" href="structPOrdinalToString_1_1Initialiser.html">Initialiser</a> structures </td></tr></table></dl>    </td>  </tr></table><hr><h2>Member Function Documentation</h2><a name="z275_0" doxytag="POrdinalToString::ReadFrom"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> virtual void POrdinalToString::ReadFrom </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">istream &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>strm</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Input the contents of the object from the stream. This is primarily used by the standard operator&gt;&gt;# function.<p>The default behaviour reads '<br>' separated strings until !strm.good().     </td>  </tr></table><hr>The documentation for this class was generated from the following file:<ul><li><a class="el" href="pstring_8h-source.html">pstring.h</a></ul><hr><address style="align: right;"><small>Generated on Wed Sep 29 22:44:18 2004 for PWLib by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.18 </small></address></body></html>

⌨️ 快捷键说明

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