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

lemur::utility::ISet< ObjType > Class Template Reference

#include <ISet.hpp>

Inheritance diagram for lemur::utility::ISet< ObjType >:

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

Public Member Functions

 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 Member Functions

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

Protected Attributes

PSet< ObjType >::SET_NODE ** index

template<class ObjType>
class lemur::utility::ISet< ObjType >


Constructor & Destructor Documentation

template<class ObjType>
lemur::utility::ISet< ObjType >::ISet  )  [inline]
 

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

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


Member Function Documentation

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

Reimplemented from lemur::utility::PSet< ObjType >.

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

Reimplemented from lemur::utility::PSet< ObjType >.

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

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

Reimplemented from lemur::utility::PSet< ObjType >.

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

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

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

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

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

Reimplemented from lemur::utility::PSet< ObjType >.

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

Reimplemented from lemur::utility::PSet< ObjType >.

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

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

Reimplemented from lemur::utility::PSet< ObjType >.

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

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

Reimplemented from lemur::utility::PSet< ObjType >.

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

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

Reimplemented from lemur::utility::PSet< ObjType >.

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

Reimplemented from lemur::utility::PSet< ObjType >.

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

Reimplemented from lemur::utility::PSet< ObjType >.

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

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

Reimplemented from lemur::utility::PSet< ObjType >.

Reimplemented in lemur::utility::FloatFreqVector, and lemur::utility::HashFreqVector.


Member Data Documentation

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


The documentation for this class was generated from the following file:
Generated on Tue Jun 15 11:03:07 2010 for Lemur by doxygen 1.3.4