XQuilla/docs/simple-api/classStringPool.html

273 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:10:06 +00:00
<!-- Generated by Doxygen 1.5.1 -->
2020-02-17 21:05:20 +00:00
<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 id="current"><a href="classes.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</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>
<h1>StringPool Class Reference</h1><!-- doxytag: class="StringPool" --><code>#include &lt;<a class="el" href="StringPool_8hpp-source.html">StringPool.hpp</a>&gt;</code>
<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:10: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#c5ac0c0dc38abb8200896978776a9494">getCount</a> () const</td></tr>
2020-02-17 21:05:20 +00:00
2020-02-17 21:10: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#255001f4ca2861819c1ece04109e9ccc">getHits</a> () const</td></tr>
2020-02-17 21:05:20 +00:00
2020-02-17 21:10: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#311ae01f32b394689f44da7f52e0bfcd">getMisses</a> () const</td></tr>
2020-02-17 21:05:20 +00:00
2020-02-17 21:10: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#f09774f94a73e39d484f73c5b21ad372">getTooBig</a> () const</td></tr>
2020-02-17 21:05:20 +00:00
2020-02-17 21:10: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#3cfc99cad18985e80f73b270a116374a">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>
<a class="anchor" name="c5ac0c0dc38abb8200896978776a9494"></a><!-- doxytag: member="StringPool::getCount" ref="c5ac0c0dc38abb8200896978776a9494" args="() const" -->
<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>
<a class="anchor" name="255001f4ca2861819c1ece04109e9ccc"></a><!-- doxytag: member="StringPool::getHits" ref="255001f4ca2861819c1ece04109e9ccc" args="() const" -->
<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>
<a class="anchor" name="311ae01f32b394689f44da7f52e0bfcd"></a><!-- doxytag: member="StringPool::getMisses" ref="311ae01f32b394689f44da7f52e0bfcd" args="() const" -->
<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>
<a class="anchor" name="f09774f94a73e39d484f73c5b21ad372"></a><!-- doxytag: member="StringPool::getTooBig" ref="f09774f94a73e39d484f73c5b21ad372" args="() const" -->
<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>
<a class="anchor" name="3cfc99cad18985e80f73b270a116374a"></a><!-- doxytag: member="StringPool::dumpStatistics" ref="3cfc99cad18985e80f73b270a116374a" args="() const" -->
<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:14:54 +00:00
<hr size="1"><address style="align: right;"><small>Generated on Mon Apr 28 16:41:10 2008 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:10:06 +00:00
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
2020-02-17 21:05:20 +00:00
</body>
</html>