SourceForge.net Logo
Classes | Public Member Functions | List of all members
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. More...
 
const XMLCh * getPooledString (const XMLCh *src, unsigned int length)
 Returns a copy of the given string, with given length. More...
 
const XMLCh * getPooledString (const char *src)
 Returns a copy of the transcoding of the given string. More...
 
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)

◆ ~StringPool()

StringPool::~StringPool ( )

Member Function Documentation

◆ dumpStatistics()

void StringPool::dumpStatistics ( ) const

◆ 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 XMLCh *  src)

Returns a copy of the given string.

◆ getPooledString() [2/3]

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

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

◆ getPooledString() [3/3]

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

Returns a copy of the transcoding of the given string.

◆ getTooBig()

unsigned int StringPool::getTooBig ( ) const
inline

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