Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

ISet< ObjType > Class Template Reference

#include <ISet.hpp>

Inheritance diagram for ISet< ObjType >:

PSet< ObjType > CSet< ObjType, CountType > List of all members.

Public Methods

 ISet ()
 ISet (const int maxSize_p)
 ~ISet ()
void open (const int maxSize_p)
void close ()
void clear ()
int size () const
int add (const ObjType &u)
int remove (const ObjType &u)
int operator+= (const ObjType &u)
int operator-= (const ObjType &u)
ObjTypeoperator[] (const int idx) const
int operator[] (const ObjType &u) const
void grow (const int newSize)

Protected Methods

int internalRemove (const ObjType &u)
int internalRemove (const ObjType &u, const int idx)

Protected Attributes

PSet< ObjType >::SET_NODE ** index

template<class ObjType>
class ISet< ObjType >


Constructor & Destructor Documentation

template<class ObjType>
ISet< ObjType >::ISet   [inline]
 

template<class ObjType>
ISet< ObjType >::ISet const int    maxSize_p [inline]
 

template<class ObjType>
ISet< ObjType >::~ISet   [inline]
 


Member Function Documentation

template<class ObjType>
int ISet< ObjType >::add const ObjType   u [inline]
 

Reimplemented from PSet< ObjType >.

template<class ObjType>
void ISet< ObjType >::clear void    [inline]
 

Reimplemented from PSet< ObjType >.

Reimplemented in CSet< ObjType, CountType >, CSet< FreqCount, int >, and CSet< FloatFreqCounter, double >.

template<class ObjType>
void ISet< ObjType >::close   [inline]
 

Reimplemented from PSet< ObjType >.

Reimplemented in CSet< ObjType, CountType >, CSet< FreqCount, int >, and CSet< FloatFreqCounter, double >.

template<class ObjType>
void ISet< ObjType >::grow const int    newSize [inline]
 

Reimplemented in CSet< ObjType, CountType >, CSet< FreqCount, int >, and CSet< FloatFreqCounter, double >.

template<class ObjType>
int ISet< ObjType >::internalRemove const ObjType   u,
const int    idx
[inline, protected]
 

template<class ObjType>
int ISet< ObjType >::internalRemove const ObjType   u [inline, protected]
 

Reimplemented from PSet< ObjType >.

template<class ObjType>
void ISet< ObjType >::open const int    maxSize_p [inline]
 

Reimplemented from PSet< ObjType >.

Reimplemented in CSet< ObjType, CountType >, CSet< FreqCount, int >, and CSet< FloatFreqCounter, double >.

template<class ObjType>
int ISet< ObjType >::operator+= const ObjType   u [inline]
 

Reimplemented from PSet< ObjType >.

Reimplemented in CSet< ObjType, CountType >, CSet< FreqCount, int >, and CSet< FloatFreqCounter, double >.

template<class ObjType>
int ISet< ObjType >::operator-= const ObjType   u [inline]
 

Reimplemented from PSet< ObjType >.

Reimplemented in CSet< ObjType, CountType >, CSet< FreqCount, int >, and CSet< FloatFreqCounter, double >.

template<class ObjType>
int ISet< ObjType >::operator[] const ObjType   u const [inline]
 

Reimplemented from PSet< ObjType >.

template<class ObjType>
ObjType& ISet< ObjType >::operator[] const int    idx const [inline]
 

Reimplemented from PSet< ObjType >.

template<class ObjType>
int ISet< ObjType >::remove const ObjType   u [inline]
 

Reimplemented from PSet< ObjType >.

Reimplemented in CSet< ObjType, CountType >, CSet< FreqCount, int >, and CSet< FloatFreqCounter, double >.

template<class ObjType>
int ISet< ObjType >::size   const [inline]
 

Reimplemented from PSet< ObjType >.

Reimplemented in FloatFreqVector, and HashFreqVector.


Member Data Documentation

template<class ObjType>
PSet<ObjType>::SET_NODE** ISet< ObjType >::index [protected]
 


The documentation for this class was generated from the following file:
Generated on Wed Nov 3 12:59:41 2004 for Lemur Toolkit by doxygen1.2.18