http://xml.apache.org/http://www.apache.org/http://www.w3.org/

Home

Readme
Installation
Build

API Docs
Samples
Programming
Migration
FAQs

Releases
Feedback

PDF Document

Download
Dev Snapshots
CVS Repository
Mail Archive

API Docs for SAX and DOM
 

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

NameIdPool Class Reference

#include <NameIdPool.hpp>

Collaboration diagram for NameIdPool:

List of all members.

Public Methods

 NameIdPool ( const unsigned int hashModulus , const unsigned int initSize = 128 )
 ~NameIdPool ()
bool containsKey (const XMLCh* const key) const
void removeAll ()
TElem* getByKey (const XMLCh* const key)
const TElem* getByKey (const XMLCh* const key) const
TElem* getById (const unsigned elemId)
const TElem* getById (const unsigned elemId) const
unsigned int put (TElem* const valueToAdopt)

Friends

class  NameIdPoolEnumerator<TElem>


Constructor & Destructor Documentation

template<class TElem>
NameIdPool<TElem>::NameIdPool<TElem> ( const unsigned int hashModulus,
const unsigned int initSize = 128 )

template<class TElem>
NameIdPool<TElem>::~NameIdPool<TElem> ( )


Member Function Documentation

template<class TElem>
bool NameIdPool<TElem>::containsKey ( const XMLCh * const key ) const

template<class TElem>
const TElem* NameIdPool<TElem>::getById ( const unsigned elemId ) const

template<class TElem>
TElem* NameIdPool<TElem>::getById ( const unsigned elemId )

template<class TElem>
const TElem* NameIdPool<TElem>::getByKey ( const XMLCh * const key ) const

template<class TElem>
TElem* NameIdPool<TElem>::getByKey ( const XMLCh * const key )

template<class TElem>
unsigned int NameIdPool<TElem>::put ( TElem * const valueToAdopt )

template<class TElem>
void NameIdPool<TElem>::removeAll ( )


Friends And Related Function Documentation

template<class TElem>
friend class NameIdPoolEnumerator<TElem> [friend]


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


Copyright © 2000 The Apache Software Foundation. All Rights Reserved.