Xalan-C++ API Documentation

The Xalan C++ XSL Transformer Version 1.1

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

XalanDOMStringPool Class Reference

#include <XalanDOMStringPool.hpp>

Inheritance diagram for XalanDOMStringPool

Inheritance graph

[legend]
Collaboration diagram for XalanDOMStringPool:

Collaboration graph

[legend]
List of all members.

Public Types

Public Methods


Member Typedef Documentation

typedef std::map< StringKey, XalanDOMStringCollectionType::const_iterator> XalanDOMStringPool::IteratorMapType
 

typedef std::deque<XalanDOMString> XalanDOMStringPool::XalanDOMStringCollectionType
 

typedef XalanDOMStringCollectionType::size_type XalanDOMStringPool::size_type
 


Constructor & Destructor Documentation

XalanDOMStringPool::XalanDOMStringPool ( ) [explicit]
 

virtual XalanDOMStringPool::~XalanDOMStringPool ( ) [virtual]
 


Member Function Documentation

void XalanDOMStringPool::clear ( ) [virtual]
 

Clear the pool.

Parameters:
thePair   key-value pair

Reimplemented in XercesLiaisonXalanDOMStringPool.

const XalanDOMString & XalanDOMStringPool::get ( const XalanDOMChar * theString,
unsigned int theLength = unsigned(-1) ) [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 -1, the string is assumed to be null-terminated.
Returns:
a const reference to the pooled string.

Reimplemented in XercesLiaisonXalanDOMStringPool.

const XalanDOMString & XalanDOMStringPool::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 in XercesLiaisonXalanDOMStringPool.

size_type XalanDOMStringPool::size ( ) const [virtual]
 

Get the number of strings in the pool.

Parameters:
thePair   key-value pair

Reimplemented in XercesLiaisonXalanDOMStringPool.


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

Interpreting class diagrams

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

Xalan-C++ XSL Transformer Version 1.1
Copyright © 2000, 2001 The Apache Software Foundation. All Rights Reserved.