Dillo
Public Member Functions | Protected Member Functions | List of all members
lout::container::typed::HashSet< T > Class Template Reference

Typed version of container::untyped::HashSet. More...

#include <container.hh>

Public Member Functions

 HashSet (bool owner, int tableSize=251)
 
void put (T *object)
 
bool contains (T *object) const
 
bool remove (T *object)
 
- Public Member Functions inherited from lout::container::typed::Collection< T >
 Collection ()
 
 ~Collection ()
 
bool equals (Object *other)
 Returns, whether two objects are equal. More...
 
int hashValue ()
 Return a hash value for the object. More...
 
void intoStringBuffer (misc::StringBuffer *sb)
 Store a textual representation of the object in a misc::StringBuffer. More...
 
Iterator< T > iterator ()
 
int size ()
 
- Public Member Functions inherited from lout::object::Object
virtual ~Object ()
 The destructor is defined as virtual (but not abstract), so that destruction of Object's works properly. More...
 
virtual Objectclone ()
 Return an exact copy of the object. More...
 
const char * toString ()
 Use object::Object::intoStringBuffer to return a textual representation of the object. More...
 
virtual size_t sizeOf ()
 Return the number of bytes, this object totally uses. More...
 

Protected Member Functions

 HashSet ()
 

Additional Inherited Members

- Protected Attributes inherited from lout::container::typed::Collection< T >
untyped::Collectionbase
 

Detailed Description

template<class T>
class lout::container::typed::HashSet< T >

Typed version of container::untyped::HashSet.

Constructor & Destructor Documentation

template<class T>
lout::container::typed::HashSet< T >::HashSet ( )
inlineprotected
template<class T>
lout::container::typed::HashSet< T >::HashSet ( bool  owner,
int  tableSize = 251 
)
inline

Member Function Documentation

template<class T>
bool lout::container::typed::HashSet< T >::contains ( T *  object) const
inline
template<class T>
void lout::container::typed::HashSet< T >::put ( T *  object)
inline

Referenced by testHashSet().

template<class T>
bool lout::container::typed::HashSet< T >::remove ( T *  object)
inline

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