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&type=2" border="0" alt="SourceForge.net Logo" /></a>
|
2020-02-17 21:19:08 +00:00
|
|
|
<!-- Generated by Doxygen 1.3.9.1 -->
|
|
|
|
<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a> | <a class="qindex" href="examples.html">Examples</a></div>
|
|
|
|
<h1>StringPool Class Reference</h1><code>#include <<a class="el" href="StringPool_8hpp-source.html">StringPool.hpp</a>></code>
|
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>
|
2020-02-17 21:19:08 +00:00
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classStringPool.html#a0">StringPool</a> (<a class="el" href="classxercesc_1_1MemoryManager.html">xercesc::MemoryManager</a> *mm)</td></tr>
|
2020-02-17 21:05:20 +00:00
|
|
|
|
2020-02-17 21:19:08 +00:00
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classStringPool.html#a1">~StringPool</a> ()</td></tr>
|
2020-02-17 21:05:20 +00:00
|
|
|
|
2020-02-17 21:19:08 +00:00
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">const XMLCh * </td><td class="memItemRight" valign="bottom"><a class="el" href="classStringPool.html#a2">getPooledString</a> (const XMLCh *src)</td></tr>
|
2020-02-17 21:05:20 +00:00
|
|
|
|
2020-02-17 21:19:08 +00:00
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a copy of the given string. <a href="#a2"></a><br></td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">const XMLCh * </td><td class="memItemRight" valign="bottom"><a class="el" href="classStringPool.html#a3">getPooledString</a> (const XMLCh *src, unsigned int length)</td></tr>
|
2020-02-17 21:12:51 +00:00
|
|
|
|
2020-02-17 21:19:08 +00:00
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a copy of the given string, with given length. <a href="#a3"></a><br></td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">const XMLCh * </td><td class="memItemRight" valign="bottom"><a class="el" href="classStringPool.html#a4">getPooledString</a> (const char *src)</td></tr>
|
2020-02-17 21:05:20 +00:00
|
|
|
|
2020-02-17 21:19:08 +00:00
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a copy of the transcoding of the given string. <a href="#a4"></a><br></td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classStringPool.html#a5">getCount</a> () const </td></tr>
|
2020-02-17 21:05:20 +00:00
|
|
|
|
2020-02-17 21:19:08 +00:00
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classStringPool.html#a6">getHits</a> () const </td></tr>
|
2020-02-17 21:05:20 +00:00
|
|
|
|
2020-02-17 21:19:08 +00:00
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classStringPool.html#a7">getMisses</a> () const </td></tr>
|
2020-02-17 21:05:20 +00:00
|
|
|
|
2020-02-17 21:19:08 +00:00
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classStringPool.html#a8">getTooBig</a> () const </td></tr>
|
2020-02-17 21:05:20 +00:00
|
|
|
|
2020-02-17 21:19:08 +00:00
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classStringPool.html#a9">dumpStatistics</a> () const </td></tr>
|
2020-02-17 21:05:20 +00:00
|
|
|
|
|
|
|
</table>
|
|
|
|
<hr><h2>Constructor & Destructor Documentation</h2>
|
2020-02-17 21:19:08 +00:00
|
|
|
<a class="anchor" name="a0" doxytag="StringPool::StringPool"></a><p>
|
|
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
|
|
<tr>
|
|
|
|
<td class="mdRow">
|
|
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
2020-02-17 21:05:20 +00:00
|
|
|
<tr>
|
2020-02-17 21:19:08 +00:00
|
|
|
<td class="md" nowrap valign="top">StringPool::StringPool </td>
|
|
|
|
<td class="md" valign="top">( </td>
|
|
|
|
<td class="md" nowrap valign="top"><a class="el" href="classxercesc_1_1MemoryManager.html">xercesc::MemoryManager</a> * </td>
|
|
|
|
<td class="mdname1" valign="top" nowrap> <em>mm</em> </td>
|
|
|
|
<td class="md" valign="top"> ) </td>
|
|
|
|
<td class="md" nowrap></td>
|
2020-02-17 21:05:20 +00:00
|
|
|
</tr>
|
|
|
|
</table>
|
2020-02-17 21:19:08 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td>
|
2020-02-17 21:05:20 +00:00
|
|
|
|
|
|
|
<p>
|
2020-02-17 21:19:08 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<a class="anchor" name="a1" doxytag="StringPool::~StringPool"></a><p>
|
|
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
|
|
<tr>
|
|
|
|
<td class="mdRow">
|
|
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
2020-02-17 21:05:20 +00:00
|
|
|
<tr>
|
2020-02-17 21:19:08 +00:00
|
|
|
<td class="md" nowrap valign="top">StringPool::~<a class="el" href="classStringPool.html">StringPool</a> </td>
|
|
|
|
<td class="md" valign="top">( </td>
|
|
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
|
|
<td class="md" valign="top"> ) </td>
|
|
|
|
<td class="md" nowrap></td>
|
2020-02-17 21:05:20 +00:00
|
|
|
</tr>
|
|
|
|
</table>
|
2020-02-17 21:19:08 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td>
|
2020-02-17 21:05:20 +00:00
|
|
|
|
|
|
|
<p>
|
2020-02-17 21:19:08 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
2020-02-17 21:05:20 +00:00
|
|
|
<hr><h2>Member Function Documentation</h2>
|
2020-02-17 21:19:08 +00:00
|
|
|
<a class="anchor" name="a9" doxytag="StringPool::dumpStatistics"></a><p>
|
|
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
|
|
<tr>
|
|
|
|
<td class="mdRow">
|
|
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
2020-02-17 21:05:20 +00:00
|
|
|
<tr>
|
2020-02-17 21:19:08 +00:00
|
|
|
<td class="md" nowrap valign="top">void StringPool::dumpStatistics </td>
|
|
|
|
<td class="md" valign="top">( </td>
|
|
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
|
|
<td class="md" valign="top"> ) </td>
|
|
|
|
<td class="md" nowrap> const</td>
|
2020-02-17 21:05:20 +00:00
|
|
|
</tr>
|
|
|
|
</table>
|
2020-02-17 21:19:08 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td>
|
2020-02-17 21:05:20 +00:00
|
|
|
|
|
|
|
<p>
|
2020-02-17 21:19:08 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<a class="anchor" name="a5" doxytag="StringPool::getCount"></a><p>
|
|
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
|
|
<tr>
|
|
|
|
<td class="mdRow">
|
|
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
2020-02-17 21:12:51 +00:00
|
|
|
<tr>
|
2020-02-17 21:19:08 +00:00
|
|
|
<td class="md" nowrap valign="top">unsigned int StringPool::getCount </td>
|
|
|
|
<td class="md" valign="top">( </td>
|
|
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
|
|
<td class="md" valign="top"> ) </td>
|
|
|
|
<td class="md" nowrap> const<code> [inline]</code></td>
|
2020-02-17 21:12:51 +00:00
|
|
|
</tr>
|
|
|
|
</table>
|
2020-02-17 21:19:08 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td>
|
2020-02-17 21:12:51 +00:00
|
|
|
|
|
|
|
<p>
|
2020-02-17 21:19:08 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<a class="anchor" name="a6" doxytag="StringPool::getHits"></a><p>
|
|
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
|
|
<tr>
|
|
|
|
<td class="mdRow">
|
|
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
2020-02-17 21:05:20 +00:00
|
|
|
<tr>
|
2020-02-17 21:19:08 +00:00
|
|
|
<td class="md" nowrap valign="top">unsigned int StringPool::getHits </td>
|
|
|
|
<td class="md" valign="top">( </td>
|
|
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
|
|
<td class="md" valign="top"> ) </td>
|
|
|
|
<td class="md" nowrap> const<code> [inline]</code></td>
|
2020-02-17 21:05:20 +00:00
|
|
|
</tr>
|
|
|
|
</table>
|
2020-02-17 21:19:08 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td>
|
2020-02-17 21:05:20 +00:00
|
|
|
|
|
|
|
<p>
|
2020-02-17 21:19:08 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<a class="anchor" name="a7" doxytag="StringPool::getMisses"></a><p>
|
|
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
|
|
<tr>
|
|
|
|
<td class="mdRow">
|
|
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
2020-02-17 21:05:20 +00:00
|
|
|
<tr>
|
2020-02-17 21:19:08 +00:00
|
|
|
<td class="md" nowrap valign="top">unsigned int StringPool::getMisses </td>
|
|
|
|
<td class="md" valign="top">( </td>
|
|
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
|
|
<td class="md" valign="top"> ) </td>
|
|
|
|
<td class="md" nowrap> const<code> [inline]</code></td>
|
2020-02-17 21:05:20 +00:00
|
|
|
</tr>
|
|
|
|
</table>
|
2020-02-17 21:19:08 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td>
|
2020-02-17 21:05:20 +00:00
|
|
|
|
|
|
|
<p>
|
2020-02-17 21:19:08 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<a class="anchor" name="a4" doxytag="StringPool::getPooledString"></a><p>
|
|
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
|
|
<tr>
|
|
|
|
<td class="mdRow">
|
|
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
2020-02-17 21:05:20 +00:00
|
|
|
<tr>
|
2020-02-17 21:19:08 +00:00
|
|
|
<td class="md" nowrap valign="top">const XMLCh* StringPool::getPooledString </td>
|
|
|
|
<td class="md" valign="top">( </td>
|
|
|
|
<td class="md" nowrap valign="top">const char * </td>
|
|
|
|
<td class="mdname1" valign="top" nowrap> <em>src</em> </td>
|
|
|
|
<td class="md" valign="top"> ) </td>
|
|
|
|
<td class="md" nowrap></td>
|
2020-02-17 21:05:20 +00:00
|
|
|
</tr>
|
|
|
|
</table>
|
2020-02-17 21:19:08 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td>
|
2020-02-17 21:05:20 +00:00
|
|
|
|
|
|
|
<p>
|
2020-02-17 21:19:08 +00:00
|
|
|
Returns a copy of the transcoding of the given string.
|
|
|
|
<p>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<a class="anchor" name="a3" doxytag="StringPool::getPooledString"></a><p>
|
|
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
|
|
<tr>
|
|
|
|
<td class="mdRow">
|
|
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
|
|
<tr>
|
|
|
|
<td class="md" nowrap valign="top">const XMLCh* StringPool::getPooledString </td>
|
|
|
|
<td class="md" valign="top">( </td>
|
|
|
|
<td class="md" nowrap valign="top">const XMLCh * </td>
|
|
|
|
<td class="mdname" nowrap> <em>src</em>, </td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="md" nowrap align="right"></td>
|
|
|
|
<td class="md"></td>
|
|
|
|
<td class="md" nowrap>unsigned int </td>
|
|
|
|
<td class="mdname" nowrap> <em>length</em></td>
|
|
|
|
</tr>
|
2020-02-17 21:05:20 +00:00
|
|
|
<tr>
|
2020-02-17 21:19:08 +00:00
|
|
|
<td class="md"></td>
|
|
|
|
<td class="md">) </td>
|
|
|
|
<td class="md" colspan="2"></td>
|
2020-02-17 21:05:20 +00:00
|
|
|
</tr>
|
|
|
|
</table>
|
2020-02-17 21:19:08 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td>
|
2020-02-17 21:05:20 +00:00
|
|
|
|
|
|
|
<p>
|
2020-02-17 21:19:08 +00:00
|
|
|
Returns a copy of the given string, with given length.
|
|
|
|
<p>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<a class="anchor" name="a2" doxytag="StringPool::getPooledString"></a><p>
|
|
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
|
|
<tr>
|
|
|
|
<td class="mdRow">
|
|
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
2020-02-17 21:05:20 +00:00
|
|
|
<tr>
|
2020-02-17 21:19:08 +00:00
|
|
|
<td class="md" nowrap valign="top">const XMLCh* StringPool::getPooledString </td>
|
|
|
|
<td class="md" valign="top">( </td>
|
|
|
|
<td class="md" nowrap valign="top">const XMLCh * </td>
|
|
|
|
<td class="mdname1" valign="top" nowrap> <em>src</em> </td>
|
|
|
|
<td class="md" valign="top"> ) </td>
|
|
|
|
<td class="md" nowrap></td>
|
2020-02-17 21:05:20 +00:00
|
|
|
</tr>
|
|
|
|
</table>
|
2020-02-17 21:19:08 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td>
|
2020-02-17 21:05:20 +00:00
|
|
|
|
|
|
|
<p>
|
2020-02-17 21:19:08 +00:00
|
|
|
Returns a copy of the given string.
|
|
|
|
<p>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<a class="anchor" name="a8" doxytag="StringPool::getTooBig"></a><p>
|
|
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
|
|
<tr>
|
|
|
|
<td class="mdRow">
|
|
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
2020-02-17 21:05:20 +00:00
|
|
|
<tr>
|
2020-02-17 21:19:08 +00:00
|
|
|
<td class="md" nowrap valign="top">unsigned int StringPool::getTooBig </td>
|
|
|
|
<td class="md" valign="top">( </td>
|
|
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
|
|
<td class="md" valign="top"> ) </td>
|
|
|
|
<td class="md" nowrap> const<code> [inline]</code></td>
|
2020-02-17 21:05:20 +00:00
|
|
|
</tr>
|
|
|
|
</table>
|
2020-02-17 21:19:08 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td>
|
2020-02-17 21:05:20 +00:00
|
|
|
|
|
|
|
<p>
|
2020-02-17 21:19:08 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
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:19:08 +00:00
|
|
|
<hr size="1"><address style="align: right;"><small>Generated on Fri Sep 25 06:55:41 2009 for XQilla Simple API by
|
2020-02-17 21:05:20 +00:00
|
|
|
<a href="http://www.doxygen.org/index.html">
|
2020-02-17 21:19:08 +00:00
|
|
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.3.9.1 </small></address>
|
2020-02-17 21:05:20 +00:00
|
|
|
</body>
|
|
|
|
</html>
|