Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Public Types | Public Member Functions | List of all members
XalanSet< Value > Class Template Reference

Xalan set implementation. More...

#include <XalanSet.hpp>

Public Types

typedef Value value_type
 
typedef size_t size_type
 
typedef XalanMap< value_type, bool > SetMapType
 
typedef XalanSetIterator< value_type, typename SetMapType::iteratoriterator
 
typedef XalanSetIterator< const value_type, typename SetMapType::const_iteratorconst_iterator
 

Public Member Functions

 XalanSet (MemoryManager &theMemoryManager)
 
 XalanSet (const XalanSet &other, MemoryManager &theMemoryManager)
 
MemoryManager & getMemoryManager ()
 
const_iterator begin () const
 
const_iterator end () const
 
size_type size () const
 
size_type count (const value_type &value) const
 
const_iterator find (const value_type &value) const
 
void insert (const value_type &value)
 
size_type erase (const value_type &value)
 
void clear ()
 

Detailed Description

template<class Value>
class XalanSet< Value >

Xalan set implementation.

Set relies on the XalanMap hashtable. Users must ensure the right key traits specialization is aviable to define the proper hash functor.

Definition at line 98 of file XalanSet.hpp.

Member Typedef Documentation

◆ const_iterator

template<class Value>
typedef XalanSetIterator<const value_type, typename SetMapType::const_iterator> XalanSet< Value >::const_iterator

Definition at line 109 of file XalanSet.hpp.

◆ iterator

template<class Value>
typedef XalanSetIterator<value_type, typename SetMapType::iterator> XalanSet< Value >::iterator

Definition at line 108 of file XalanSet.hpp.

◆ SetMapType

template<class Value>
typedef XalanMap<value_type, bool> XalanSet< Value >::SetMapType

Definition at line 106 of file XalanSet.hpp.

◆ size_type

template<class Value>
typedef size_t XalanSet< Value >::size_type

Definition at line 104 of file XalanSet.hpp.

◆ value_type

template<class Value>
typedef Value XalanSet< Value >::value_type

Definition at line 102 of file XalanSet.hpp.

Constructor & Destructor Documentation

◆ XalanSet() [1/2]

template<class Value>
XalanSet< Value >::XalanSet ( MemoryManager &  theMemoryManager)
inline

Definition at line 111 of file XalanSet.hpp.

◆ XalanSet() [2/2]

template<class Value>
XalanSet< Value >::XalanSet ( const XalanSet< Value > &  other,
MemoryManager &  theMemoryManager 
)
inline

Definition at line 116 of file XalanSet.hpp.

Member Function Documentation

◆ begin()

template<class Value>
const_iterator XalanSet< Value >::begin ( ) const
inline

Definition at line 130 of file XalanSet.hpp.

◆ clear()

template<class Value>
void XalanSet< Value >::clear ( )
inline

Definition at line 171 of file XalanSet.hpp.

◆ count()

template<class Value>
size_type XalanSet< Value >::count ( const value_type value) const
inline

Definition at line 147 of file XalanSet.hpp.

◆ end()

template<class Value>
const_iterator XalanSet< Value >::end ( ) const
inline

Definition at line 136 of file XalanSet.hpp.

◆ erase()

template<class Value>
size_type XalanSet< Value >::erase ( const value_type value)
inline

Definition at line 165 of file XalanSet.hpp.

◆ find()

template<class Value>
const_iterator XalanSet< Value >::find ( const value_type value) const
inline

Definition at line 153 of file XalanSet.hpp.

◆ getMemoryManager()

template<class Value>
MemoryManager& XalanSet< Value >::getMemoryManager ( )
inline

Definition at line 124 of file XalanSet.hpp.

◆ insert()

template<class Value>
void XalanSet< Value >::insert ( const value_type value)
inline

Definition at line 159 of file XalanSet.hpp.

◆ size()

template<class Value>
size_type XalanSet< Value >::size ( ) const
inline

Definition at line 142 of file XalanSet.hpp.


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++ XSLT Processor Version 1.11
Copyright © 1999-2012 The Apache Software Foundation.
All Rights Reserved.

Apache Logo