## Xalan-C++ API Documentation

### The Xalan C++ XSLT Processor Version 1.5

Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members

# XercesLiaisonXalanDOMStringPool Class Reference

`#include <XercesLiaisonXalanDOMStringPool.hpp>`

Inheritance diagram for XercesLiaisonXalanDOMStringPool:

[legend]
Collaboration diagram for XercesLiaisonXalanDOMStringPool:

[legend]
List of all members.

## Public Types

- typedef XalanDOMStringPool ParentType
- typedef XERCES_CPP_NAMESPACE_QUALIFIER
  XMLMutex XMLMutexType
- typedef XERCES_CPP_NAMESPACE_QUALIFIER
  XMLMutexLock XMLMutexLockType

## Public Methods

- XercesLiaisonXalanDOMStringPool ()
- virtual ~XercesLiaisonXalanDOMStringPool ()
- virtual void clear ()
    Clear the pool. More...
- virtual size_t size () const
    Get the number of strings in the pool. More...
- virtual const XalanDOMString& get (const XalanDOMString &theString)
    Get a pooled string. More...
- virtual const XalanDOMString& get (const XalanDOMChar *theString, XalanDOMString::size_type theLength=XalanDOMString::npos)
    Get a pooled string. More...

## Member Typedef Documentation

typedef XalanDOMStringPool XercesLiaisonXalanDOMStringPool::ParentType

typedef XERCES_CPP_NAMESPACE_QUALIFIER XMLMutexLock XercesLiaisonXalanDOMStringPool::XMLMutexLockType

typedef XERCES_CPP_NAMESPACE_QUALIFIER XMLMutex XercesLiaisonXalanDOMStringPool::XMLMutexType

## Constructor & Destructor Documentation

XercesLiaisonXalanDOMStringPool::XercesLiaisonXalanDOMStringPool ( | )`[explicit]`

XercesLiaisonXalanDOMStringPool::~XercesLiaisonXalanDOMStringPool ( | )`[virtual]`

## Member Function Documentation

void XercesLiaisonXalanDOMStringPool::clear ( | )`[virtual]`

| Clear the pool. Reimplemented from XalanDOMStringPool.

const XalanDOMString & XercesLiaisonXalanDOMStringPool::get ( | const XalanDOMChar * theString,
| XalanDOMString::size_type theLength = XalanDOMString::npos )`[virtual]`

  | Get a pooled string. If the string is not pooled, it is added. Parameters:
  theString | The string to pool.
  theLength | The length of the string. If XalanDOMString::npos, the string is assumed to be null-terminated.
Returns: a const reference to the pooled string. Reimplemented from XalanDOMStringPool.

const XalanDOMString & XercesLiaisonXalanDOMStringPool::get ( | const XalanDOMString & theString )`[virtual]`

  | Get a pooled string. If the string is not pooled, it is added. Parameters:
  theString | The string to pool.
Returns: a const reference to the pooled string. Reimplemented from XalanDOMStringPool.

size_t XercesLiaisonXalanDOMStringPool::size ( | ) const`[virtual]`

| Get the number of strings in the pool. Returns: the size of the pool. Reimplemented from XalanDOMStringPool.

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

- XercesLiaisonXalanDOMStringPool.hpp

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

Xalan-C++ XSLT Processor Version 1.5 Copyright © 2000, 2001, 2002, 2003 The Apache Software Foundation. All Rights Reserved.