SourceForge.net Logo
StringPool Class Reference

#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 XMLCh *src, unsigned int length)
 Returns a copy of the given string, with given length.
 
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
 

Constructor & Destructor Documentation

◆ StringPool()

StringPool::StringPool ( xercesc::MemoryManager * mm)

Referenced by dumpStatistics().

◆ ~StringPool()

StringPool::~StringPool ( )

Member Function Documentation

◆ dumpStatistics()

void StringPool::dumpStatistics ( ) const

References StringPool().

◆ getCount()

unsigned int StringPool::getCount ( ) const
inline

◆ getHits()

unsigned int StringPool::getHits ( ) const
inline

◆ getMisses()

unsigned int StringPool::getMisses ( ) const
inline

◆ getPooledString() [1/3]

const XMLCh * StringPool::getPooledString ( const char * src)

Returns a copy of the transcoding of the given string.

◆ getPooledString() [2/3]

const XMLCh * StringPool::getPooledString ( const XMLCh * src)

Returns a copy of the given string.

◆ getPooledString() [3/3]

const XMLCh * StringPool::getPooledString ( const XMLCh * src,
unsigned int length )

Returns a copy of the given string, with given length.

◆ getTooBig()

unsigned int StringPool::getTooBig ( ) const
inline

The documentation for this class was generated from the following file: