#include <StringPool.hpp>
Public Member Functions | |
StringPool (xercesc::MemoryManager *mm) | |
~StringPool () | |
const XMLCh * | getPooledString (const XMLCh *src) |
Returns a copy of the given string. | |
const XMLCh * | getPooledString (const char *src) |
Returns a copy of the transcoding of the given string. | |
unsigned int | getCount () const |
unsigned int | getHits () const |
unsigned int | getMisses () const |
unsigned int | getTooBig () const |
void | dumpStatistics () const |
Classes | |
class | Bucket |
StringPool::StringPool | ( | xercesc::MemoryManager * | mm | ) |
StringPool::~StringPool | ( | ) |
const XMLCh* StringPool::getPooledString | ( | const XMLCh * | src | ) |
Returns a copy of the given string.
const XMLCh* StringPool::getPooledString | ( | const char * | src | ) |
Returns a copy of the transcoding of the given string.
unsigned int StringPool::getCount | ( | ) | const [inline] |
unsigned int StringPool::getHits | ( | ) | const [inline] |
unsigned int StringPool::getMisses | ( | ) | const [inline] |
unsigned int StringPool::getTooBig | ( | ) | const [inline] |
void StringPool::dumpStatistics | ( | ) | const |