XQuilla/docs/simple-api/classStringPool.html

251 lines
11 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:23:16 +00:00
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
2020-02-17 21:19:57 +00:00
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.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>
2020-02-17 21:23:16 +00:00
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="classes.html"><span>Class&nbsp;Index</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>
2020-02-17 21:19:57 +00:00
</ul>
</div>
</div>
<div class="contents">
2020-02-17 21:23:16 +00:00
<h1>StringPool Class Reference</h1><!-- doxytag: class="StringPool" -->
2020-02-17 21:19:57 +00:00
<p><code>#include &lt;<a class="el" href="StringPool_8hpp_source.html">StringPool.hpp</a>&gt;</code></p>
<p><a href="classStringPool-members.html">List of all members.</a></p>
2020-02-17 21:23:16 +00:00
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><b>Bucket</b></td></tr>
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classStringPool.html#a82de966d5e416dd7608fe1e6b46cd1e1">StringPool</a> (<a class="el" href="classxercesc_1_1MemoryManager.html">xercesc::MemoryManager</a> *mm)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classStringPool.html#a890f0cea498819f637aff75d32e8f0dd">~StringPool</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const XMLCh *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classStringPool.html#acf49a70b06c387f8dcf2a896d51460e3">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="#acf49a70b06c387f8dcf2a896d51460e3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const XMLCh *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classStringPool.html#acd8e6b736bae8e4c554632a91e804dcc">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="#acd8e6b736bae8e4c554632a91e804dcc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const XMLCh *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classStringPool.html#a5827070e97b508ac0eedcc4cc92996c8">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="#a5827070e97b508ac0eedcc4cc92996c8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classStringPool.html#af6d24d45f310175362ebd842c2123dac">getCount</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classStringPool.html#ac3692bf7844a594db61f40c5dd9d63a3">getHits</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classStringPool.html#a241899aef5a9ad993d7270a3ed849efa">getMisses</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classStringPool.html#a47d21c75962c61516daf6b7276fba8dd">getTooBig</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classStringPool.html#a45aa869c10febe99012787bc829e04dd">dumpStatistics</a> () const </td></tr>
2020-02-17 21:19:57 +00:00
</table>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a82de966d5e416dd7608fe1e6b46cd1e1"></a><!-- doxytag: member="StringPool::StringPool" ref="a82de966d5e416dd7608fe1e6b46cd1e1" 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:19:57 +00:00
<td class="memname">StringPool::StringPool </td>
<td>(</td>
2020-02-17 21:23:16 +00:00
<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>
2020-02-17 21:19:57 +00:00
<td></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a890f0cea498819f637aff75d32e8f0dd"></a><!-- doxytag: member="StringPool::~StringPool" ref="a890f0cea498819f637aff75d32e8f0dd" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">StringPool::~StringPool </td>
<td>(</td>
2020-02-17 21:23:16 +00:00
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
2020-02-17 21:19:57 +00:00
<td></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a45aa869c10febe99012787bc829e04dd"></a><!-- doxytag: member="StringPool::dumpStatistics" ref="a45aa869c10febe99012787bc829e04dd" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">void StringPool::dumpStatistics </td>
<td>(</td>
2020-02-17 21:23:16 +00:00
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
2020-02-17 21:19:57 +00:00
<td> const</td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="af6d24d45f310175362ebd842c2123dac"></a><!-- doxytag: member="StringPool::getCount" ref="af6d24d45f310175362ebd842c2123dac" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:12:51 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">unsigned int StringPool::getCount </td>
<td>(</td>
2020-02-17 21:23:16 +00:00
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
2020-02-17 21:19:57 +00:00
<td> const<code> [inline]</code></td>
2020-02-17 21:12:51 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="ac3692bf7844a594db61f40c5dd9d63a3"></a><!-- doxytag: member="StringPool::getHits" ref="ac3692bf7844a594db61f40c5dd9d63a3" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">unsigned int StringPool::getHits </td>
<td>(</td>
2020-02-17 21:23:16 +00:00
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
2020-02-17 21:19:57 +00:00
<td> const<code> [inline]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a241899aef5a9ad993d7270a3ed849efa"></a><!-- doxytag: member="StringPool::getMisses" ref="a241899aef5a9ad993d7270a3ed849efa" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">unsigned int StringPool::getMisses </td>
<td>(</td>
2020-02-17 21:23:16 +00:00
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
2020-02-17 21:19:57 +00:00
<td> const<code> [inline]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
</div>
</div>
2020-02-17 21:23:16 +00:00
<a class="anchor" id="a5827070e97b508ac0eedcc4cc92996c8"></a><!-- doxytag: member="StringPool::getPooledString" ref="a5827070e97b508ac0eedcc4cc92996c8" args="(const char *src)" -->
2020-02-17 21:19:57 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">const XMLCh* StringPool::getPooledString </td>
<td>(</td>
2020-02-17 21:23:16 +00:00
<td class="paramtype">const char *&nbsp;</td>
<td class="paramname"> <em>src</em></td>
<td>&nbsp;)&nbsp;</td>
2020-02-17 21:19:57 +00:00
<td></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
2020-02-17 21:05:20 +00:00
2020-02-17 21:23:16 +00:00
<p>Returns a copy of the transcoding of the given string. </p>
2020-02-17 21:19:57 +00:00
</div>
</div>
<a class="anchor" id="acd8e6b736bae8e4c554632a91e804dcc"></a><!-- doxytag: member="StringPool::getPooledString" ref="acd8e6b736bae8e4c554632a91e804dcc" args="(const XMLCh *src, unsigned int length)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:19:08 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">const XMLCh* StringPool::getPooledString </td>
<td>(</td>
2020-02-17 21:23:16 +00:00
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>src</em>, </td>
2020-02-17 21:19:08 +00:00
</tr>
<tr>
2020-02-17 21:19:57 +00:00
<td class="paramkey"></td>
<td></td>
2020-02-17 21:23:16 +00:00
<td class="paramtype">unsigned int&nbsp;</td>
<td class="paramname"> <em>length</em></td><td>&nbsp;</td>
2020-02-17 21:19:08 +00:00
</tr>
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td></td>
<td>)</td>
2020-02-17 21:23:16 +00:00
<td></td><td></td><td></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
2020-02-17 21:05:20 +00:00
2020-02-17 21:19:57 +00:00
<p>Returns a copy of the given string, with given length. </p>
</div>
</div>
2020-02-17 21:23:16 +00:00
<a class="anchor" id="acf49a70b06c387f8dcf2a896d51460e3"></a><!-- doxytag: member="StringPool::getPooledString" ref="acf49a70b06c387f8dcf2a896d51460e3" args="(const XMLCh *src)" -->
2020-02-17 21:19:57 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">const XMLCh* StringPool::getPooledString </td>
<td>(</td>
2020-02-17 21:23:16 +00:00
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>src</em></td>
<td>&nbsp;)&nbsp;</td>
2020-02-17 21:19:57 +00:00
<td></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
2020-02-17 21:05:20 +00:00
2020-02-17 21:23:16 +00:00
<p>Returns a copy of the given string. </p>
2020-02-17 21:19:57 +00:00
</div>
</div>
<a class="anchor" id="a47d21c75962c61516daf6b7276fba8dd"></a><!-- doxytag: member="StringPool::getTooBig" ref="a47d21c75962c61516daf6b7276fba8dd" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">unsigned int StringPool::getTooBig </td>
<td>(</td>
2020-02-17 21:23:16 +00:00
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
2020-02-17 21:19:57 +00:00
<td> const<code> [inline]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
</div>
</div>
<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></li>
</ul>
</div>
2020-02-17 21:24:17 +00:00
<hr size="1"/><address style="text-align: right;"><small>Generated on 18 May 2015 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:23:16 +00:00
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
2020-02-17 21:05:20 +00:00
</body>
</html>