XQuilla/docs/simple-api/classStringPool.html
2020-02-17 22:24:47 +01:00

280 lines
12 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>XQilla Simple API Documentation</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<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>
<!-- Generated by Doxygen 1.8.5 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<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>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="classes.html"><span>Class&#160;Index</span></a></li>
<li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;Members</span></a></li>
</ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classStringPool-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">StringPool Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="StringPool_8hpp_source.html">StringPool.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a82de966d5e416dd7608fe1e6b46cd1e1"><td class="memItemLeft" align="right" valign="top">&#160;</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 class="separator:a82de966d5e416dd7608fe1e6b46cd1e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a890f0cea498819f637aff75d32e8f0dd"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classStringPool.html#a890f0cea498819f637aff75d32e8f0dd">~StringPool</a> ()</td></tr>
<tr class="separator:a890f0cea498819f637aff75d32e8f0dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf49a70b06c387f8dcf2a896d51460e3"><td class="memItemLeft" align="right" valign="top">const XMLCh *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classStringPool.html#acf49a70b06c387f8dcf2a896d51460e3">getPooledString</a> (const XMLCh *src)</td></tr>
<tr class="memdesc:acf49a70b06c387f8dcf2a896d51460e3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a copy of the given string. <a href="#acf49a70b06c387f8dcf2a896d51460e3">More...</a><br/></td></tr>
<tr class="separator:acf49a70b06c387f8dcf2a896d51460e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd8e6b736bae8e4c554632a91e804dcc"><td class="memItemLeft" align="right" valign="top">const XMLCh *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classStringPool.html#acd8e6b736bae8e4c554632a91e804dcc">getPooledString</a> (const XMLCh *src, unsigned int length)</td></tr>
<tr class="memdesc:acd8e6b736bae8e4c554632a91e804dcc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a copy of the given string, with given length. <a href="#acd8e6b736bae8e4c554632a91e804dcc">More...</a><br/></td></tr>
<tr class="separator:acd8e6b736bae8e4c554632a91e804dcc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5827070e97b508ac0eedcc4cc92996c8"><td class="memItemLeft" align="right" valign="top">const XMLCh *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classStringPool.html#a5827070e97b508ac0eedcc4cc92996c8">getPooledString</a> (const char *src)</td></tr>
<tr class="memdesc:a5827070e97b508ac0eedcc4cc92996c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a copy of the transcoding of the given string. <a href="#a5827070e97b508ac0eedcc4cc92996c8">More...</a><br/></td></tr>
<tr class="separator:a5827070e97b508ac0eedcc4cc92996c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6d24d45f310175362ebd842c2123dac"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classStringPool.html#af6d24d45f310175362ebd842c2123dac">getCount</a> () const </td></tr>
<tr class="separator:af6d24d45f310175362ebd842c2123dac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3692bf7844a594db61f40c5dd9d63a3"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classStringPool.html#ac3692bf7844a594db61f40c5dd9d63a3">getHits</a> () const </td></tr>
<tr class="separator:ac3692bf7844a594db61f40c5dd9d63a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a241899aef5a9ad993d7270a3ed849efa"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classStringPool.html#a241899aef5a9ad993d7270a3ed849efa">getMisses</a> () const </td></tr>
<tr class="separator:a241899aef5a9ad993d7270a3ed849efa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47d21c75962c61516daf6b7276fba8dd"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classStringPool.html#a47d21c75962c61516daf6b7276fba8dd">getTooBig</a> () const </td></tr>
<tr class="separator:a47d21c75962c61516daf6b7276fba8dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a45aa869c10febe99012787bc829e04dd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classStringPool.html#a45aa869c10febe99012787bc829e04dd">dumpStatistics</a> () const </td></tr>
<tr class="separator:a45aa869c10febe99012787bc829e04dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a82de966d5e416dd7608fe1e6b46cd1e1"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">StringPool::StringPool </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classxercesc_1_1MemoryManager.html">xercesc::MemoryManager</a> *&#160;</td>
<td class="paramname"><em>mm</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a890f0cea498819f637aff75d32e8f0dd"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">StringPool::~StringPool </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a45aa869c10febe99012787bc829e04dd"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void StringPool::dumpStatistics </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="af6d24d45f310175362ebd842c2123dac"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">unsigned int StringPool::getCount </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ac3692bf7844a594db61f40c5dd9d63a3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">unsigned int StringPool::getHits </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a241899aef5a9ad993d7270a3ed849efa"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">unsigned int StringPool::getMisses </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="acf49a70b06c387f8dcf2a896d51460e3"></a>
<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 *&#160;</td>
<td class="paramname"><em>src</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a copy of the given string. </p>
</div>
</div>
<a class="anchor" id="acd8e6b736bae8e4c554632a91e804dcc"></a>
<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 *&#160;</td>
<td class="paramname"><em>src</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned int&#160;</td>
<td class="paramname"><em>length</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a copy of the given string, with given length. </p>
</div>
</div>
<a class="anchor" id="a5827070e97b508ac0eedcc4cc92996c8"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const XMLCh* StringPool::getPooledString </td>
<td>(</td>
<td class="paramtype">const char *&#160;</td>
<td class="paramname"><em>src</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a copy of the transcoding of the given string. </p>
</div>
</div>
<a class="anchor" id="a47d21c75962c61516daf6b7276fba8dd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">unsigned int StringPool::getTooBig </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</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><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.5
</small></address>
</body>
</html>