XQuilla/docs/simple-api/classStringPool.html

282 lines
12 KiB
HTML
Raw Normal View History

2020-02-17 21:05:20 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
2020-02-17 21:11:31 +00:00
<title>XQilla Simple API Documentation</title>
2020-02-17 21:05:20 +00:00
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
2020-02-17 21:11:31 +00:00
<a style="float:right;" href="http://sourceforge.net/projects/xqilla"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=152021&amp;type=2" border="0" alt="SourceForge.net Logo" /></a>
2020-02-17 21:17:06 +00:00
<!-- Generated by Doxygen 1.5.5 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="classes.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="examples.html"><span>Examples</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
</div>
<div class="contents">
2020-02-17 21:05:20 +00:00
<h1>StringPool Class Reference</h1><!-- doxytag: class="StringPool" --><code>#include &lt;<a class="el" href="StringPool_8hpp-source.html">StringPool.hpp</a>&gt;</code>
2020-02-17 21:17:06 +00:00
<p>
2020-02-17 21:05:20 +00:00
<p>
<a href="classStringPool-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 Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classStringPool.html#82de966d5e416dd7608fe1e6b46cd1e1">StringPool</a> (<a class="el" href="classxercesc_1_1MemoryManager.html">xercesc::MemoryManager</a> *mm)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classStringPool.html#890f0cea498819f637aff75d32e8f0dd">~StringPool</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const XMLCh *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classStringPool.html#cf49a70b06c387f8dcf2a896d51460e3">getPooledString</a> (const XMLCh *src)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a copy of the given string. <a href="#cf49a70b06c387f8dcf2a896d51460e3"></a><br></td></tr>
2020-02-17 21:12:51 +00:00
<tr><td class="memItemLeft" nowrap align="right" valign="top">const XMLCh *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classStringPool.html#cd8e6b736bae8e4c554632a91e804dcc">getPooledString</a> (const XMLCh *src, unsigned int length)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a copy of the given string, with given length. <a href="#cd8e6b736bae8e4c554632a91e804dcc"></a><br></td></tr>
2020-02-17 21:05:20 +00:00
<tr><td class="memItemLeft" nowrap align="right" valign="top">const XMLCh *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classStringPool.html#5827070e97b508ac0eedcc4cc92996c8">getPooledString</a> (const char *src)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a copy of the transcoding of the given string. <a href="#5827070e97b508ac0eedcc4cc92996c8"></a><br></td></tr>
2020-02-17 21:17:06 +00:00
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classStringPool.html#f6d24d45f310175362ebd842c2123dac">getCount</a> () const </td></tr>
2020-02-17 21:05:20 +00:00
2020-02-17 21:17:06 +00:00
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classStringPool.html#c3692bf7844a594db61f40c5dd9d63a3">getHits</a> () const </td></tr>
2020-02-17 21:05:20 +00:00
2020-02-17 21:17:06 +00:00
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classStringPool.html#241899aef5a9ad993d7270a3ed849efa">getMisses</a> () const </td></tr>
2020-02-17 21:05:20 +00:00
2020-02-17 21:17:06 +00:00
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classStringPool.html#47d21c75962c61516daf6b7276fba8dd">getTooBig</a> () const </td></tr>
2020-02-17 21:05:20 +00:00
2020-02-17 21:17:06 +00:00
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classStringPool.html#45aa869c10febe99012787bc829e04dd">dumpStatistics</a> () const </td></tr>
2020-02-17 21:05:20 +00:00
<tr><td colspan="2"><br><h2>Classes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><b>Bucket</b></td></tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
2020-02-17 21:10:06 +00:00
<a class="anchor" name="82de966d5e416dd7608fe1e6b46cd1e1"></a><!-- doxytag: member="StringPool::StringPool" ref="82de966d5e416dd7608fe1e6b46cd1e1" args="(xercesc::MemoryManager *mm)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:10:06 +00:00
<td class="memname">StringPool::StringPool </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classxercesc_1_1MemoryManager.html">xercesc::MemoryManager</a> *&nbsp;</td>
<td class="paramname"> <em>mm</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:10:06 +00:00
</div>
<div class="memdoc">
2020-02-17 21:05:20 +00:00
<p>
2020-02-17 21:10:06 +00:00
</div>
</div><p>
<a class="anchor" name="890f0cea498819f637aff75d32e8f0dd"></a><!-- doxytag: member="StringPool::~StringPool" ref="890f0cea498819f637aff75d32e8f0dd" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:10:06 +00:00
<td class="memname">StringPool::~StringPool </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:10:06 +00:00
</div>
<div class="memdoc">
2020-02-17 21:05:20 +00:00
<p>
2020-02-17 21:10:06 +00:00
</div>
</div><p>
2020-02-17 21:05:20 +00:00
<hr><h2>Member Function Documentation</h2>
2020-02-17 21:10:06 +00:00
<a class="anchor" name="cf49a70b06c387f8dcf2a896d51460e3"></a><!-- doxytag: member="StringPool::getPooledString" ref="cf49a70b06c387f8dcf2a896d51460e3" args="(const XMLCh *src)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:10:06 +00:00
<td class="memname">const XMLCh* StringPool::getPooledString </td>
<td>(</td>
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>src</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:10:06 +00:00
</div>
<div class="memdoc">
2020-02-17 21:05:20 +00:00
<p>
2020-02-17 21:10:06 +00:00
Returns a copy of the given string.
<p>
2020-02-17 21:12:51 +00:00
</div>
</div><p>
<a class="anchor" name="cd8e6b736bae8e4c554632a91e804dcc"></a><!-- doxytag: member="StringPool::getPooledString" ref="cd8e6b736bae8e4c554632a91e804dcc" args="(const XMLCh *src, unsigned int length)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const XMLCh* StringPool::getPooledString </td>
<td>(</td>
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>src</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned int&nbsp;</td>
<td class="paramname"> <em>length</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns a copy of the given string, with given length.
<p>
2020-02-17 21:10:06 +00:00
</div>
</div><p>
<a class="anchor" name="5827070e97b508ac0eedcc4cc92996c8"></a><!-- doxytag: member="StringPool::getPooledString" ref="5827070e97b508ac0eedcc4cc92996c8" args="(const char *src)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:10:06 +00:00
<td class="memname">const XMLCh* StringPool::getPooledString </td>
<td>(</td>
<td class="paramtype">const char *&nbsp;</td>
<td class="paramname"> <em>src</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:10:06 +00:00
</div>
<div class="memdoc">
2020-02-17 21:05:20 +00:00
<p>
2020-02-17 21:10:06 +00:00
Returns a copy of the transcoding of the given string.
<p>
</div>
</div><p>
2020-02-17 21:17:06 +00:00
<a class="anchor" name="f6d24d45f310175362ebd842c2123dac"></a><!-- doxytag: member="StringPool::getCount" ref="f6d24d45f310175362ebd842c2123dac" args="() const " -->
2020-02-17 21:10:06 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:10:06 +00:00
<td class="memname">unsigned int StringPool::getCount </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [inline]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:10:06 +00:00
</div>
<div class="memdoc">
2020-02-17 21:05:20 +00:00
<p>
2020-02-17 21:10:06 +00:00
</div>
</div><p>
2020-02-17 21:17:06 +00:00
<a class="anchor" name="c3692bf7844a594db61f40c5dd9d63a3"></a><!-- doxytag: member="StringPool::getHits" ref="c3692bf7844a594db61f40c5dd9d63a3" args="() const " -->
2020-02-17 21:10:06 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:10:06 +00:00
<td class="memname">unsigned int StringPool::getHits </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [inline]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:10:06 +00:00
</div>
<div class="memdoc">
2020-02-17 21:05:20 +00:00
<p>
2020-02-17 21:10:06 +00:00
</div>
</div><p>
2020-02-17 21:17:06 +00:00
<a class="anchor" name="241899aef5a9ad993d7270a3ed849efa"></a><!-- doxytag: member="StringPool::getMisses" ref="241899aef5a9ad993d7270a3ed849efa" args="() const " -->
2020-02-17 21:10:06 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:10:06 +00:00
<td class="memname">unsigned int StringPool::getMisses </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [inline]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:10:06 +00:00
</div>
<div class="memdoc">
2020-02-17 21:05:20 +00:00
<p>
2020-02-17 21:10:06 +00:00
</div>
</div><p>
2020-02-17 21:17:06 +00:00
<a class="anchor" name="47d21c75962c61516daf6b7276fba8dd"></a><!-- doxytag: member="StringPool::getTooBig" ref="47d21c75962c61516daf6b7276fba8dd" args="() const " -->
2020-02-17 21:10:06 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:10:06 +00:00
<td class="memname">unsigned int StringPool::getTooBig </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [inline]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:10:06 +00:00
</div>
<div class="memdoc">
2020-02-17 21:05:20 +00:00
<p>
2020-02-17 21:10:06 +00:00
</div>
</div><p>
2020-02-17 21:17:06 +00:00
<a class="anchor" name="45aa869c10febe99012787bc829e04dd"></a><!-- doxytag: member="StringPool::dumpStatistics" ref="45aa869c10febe99012787bc829e04dd" args="() const " -->
2020-02-17 21:10:06 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:10:06 +00:00
<td class="memname">void StringPool::dumpStatistics </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const</td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:10:06 +00:00
</div>
<div class="memdoc">
2020-02-17 21:05:20 +00:00
<p>
2020-02-17 21:10:06 +00:00
</div>
</div><p>
2020-02-17 21:05:20 +00:00
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="StringPool_8hpp-source.html">StringPool.hpp</a></ul>
2020-02-17 21:17:06 +00:00
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Mon Jan 5 19:54:24 2009 for XQilla Simple API by&nbsp;
2020-02-17 21:05:20 +00:00
<a href="http://www.doxygen.org/index.html">
2020-02-17 21:17:06 +00:00
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
2020-02-17 21:05:20 +00:00
</body>
</html>