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

ISet Class Template Reference

#include <ISet.hpp>

Inheritance diagram for ISet:

PSet CSet HashFreqVector 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)
ObjType& operator[] (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

SET_NODE* * index

template<class ObjType> class ISet


Constructor & Destructor Documentation

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

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

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


Member Function Documentation

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

Reimplemented from PSet.

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

Reimplemented from PSet.

Reimplemented in CSet.

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

Reimplemented from PSet.

Reimplemented in CSet.

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

Reimplemented in CSet.

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.

template<class ObjType>
void ISet<ObjType>::open ( const int maxSize_ ) [inline]
 

Reimplemented from PSet.

Reimplemented in CSet.

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

Reimplemented from PSet.

Reimplemented in CSet.

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

Reimplemented from PSet.

Reimplemented in CSet.

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

Reimplemented from PSet.

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

Reimplemented from PSet.

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

Reimplemented from PSet.

Reimplemented in CSet.

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

Reimplemented from PSet.


Member Data Documentation

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


The documentation for this class was generated from the following file:
Generated at Fri Jul 26 18:22:51 2002 for LEMUR by doxygen1.2.4 written by Dimitri van Heesch, © 1997-2000