Xalan-C++ API Reference  1.12.0
Classes | Public Types | Public Member Functions | List of all members
xalanc::XalanDOMStringCache Class Reference

#include <xalanc/PlatformSupport/XalanDOMStringCache.hpp>

Classes

class  GetAndRelease
 

Public Types

enum  { eDefaultMaximumSize = 100u }
 
typedef XalanVector< XalanDOMString * > StringListType
 

Public Member Functions

 XalanDOMStringCache (MemoryManager &theManager, XalanSize_t theMaximumSize=eDefaultMaximumSize)
 
 ~XalanDOMStringCache ()
 
XalanSize_t getMaximumSize () const
 
void setMaximumSize (XalanSize_t theSize)
 
XalanDOMStringget ()
 
bool release (XalanDOMString &theString)
 
void clear ()
 
void reset ()
 

Detailed Description

Definition at line 44 of file XalanDOMStringCache.hpp.

Member Typedef Documentation

◆ StringListType

Definition at line 50 of file XalanDOMStringCache.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
eDefaultMaximumSize 

Definition at line 48 of file XalanDOMStringCache.hpp.

Constructor & Destructor Documentation

◆ XalanDOMStringCache()

xalanc::XalanDOMStringCache::XalanDOMStringCache ( MemoryManager &  theManager,
XalanSize_t  theMaximumSize = eDefaultMaximumSize 
)
explicit

◆ ~XalanDOMStringCache()

xalanc::XalanDOMStringCache::~XalanDOMStringCache ( )

Member Function Documentation

◆ clear()

void xalanc::XalanDOMStringCache::clear ( )

◆ get()

XalanDOMString& xalanc::XalanDOMStringCache::get ( )

◆ getMaximumSize()

XalanSize_t xalanc::XalanDOMStringCache::getMaximumSize ( ) const
inline

Definition at line 60 of file XalanDOMStringCache.hpp.

◆ release()

bool xalanc::XalanDOMStringCache::release ( XalanDOMString theString)

◆ reset()

void xalanc::XalanDOMStringCache::reset ( )

◆ setMaximumSize()

void xalanc::XalanDOMStringCache::setMaximumSize ( XalanSize_t  theSize)
inline

Definition at line 66 of file XalanDOMStringCache.hpp.


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