Xalan-C++ API Reference  1.12.0
Public Types | Public Member Functions | List of all members
xalanc::XalanSet< Value > Class Template Reference

Xalan set implementation. More...

#include <xalanc/Include/XalanSet.hpp>

Inheritance diagram for xalanc::XalanSet< Value >:
[legend]

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 xalanc::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> xalanc::XalanSet< Value >::const_iterator

Definition at line 109 of file XalanSet.hpp.

◆ iterator

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

Definition at line 108 of file XalanSet.hpp.

◆ SetMapType

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

Definition at line 106 of file XalanSet.hpp.

◆ size_type

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

Definition at line 104 of file XalanSet.hpp.

◆ value_type

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

Definition at line 102 of file XalanSet.hpp.

Constructor & Destructor Documentation

◆ XalanSet() [1/2]

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

Definition at line 111 of file XalanSet.hpp.

◆ XalanSet() [2/2]

template<class Value >
xalanc::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 xalanc::XalanSet< Value >::begin ( ) const
inline

Definition at line 130 of file XalanSet.hpp.

◆ clear()

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

Definition at line 171 of file XalanSet.hpp.

◆ count()

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

Definition at line 147 of file XalanSet.hpp.

◆ end()

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

Definition at line 136 of file XalanSet.hpp.

◆ erase()

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

Definition at line 165 of file XalanSet.hpp.

◆ find()

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

Definition at line 153 of file XalanSet.hpp.

◆ getMemoryManager()

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

Definition at line 124 of file XalanSet.hpp.

◆ insert()

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

Definition at line 159 of file XalanSet.hpp.

◆ size()

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

Definition at line 142 of file XalanSet.hpp.


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