NTrace
GPU ray tracing framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
FW::Set< T > Class Template Reference

#include <Hash.hpp>

Public Member Functions

 Set (void)
 
 Set (const Set< T > &other)
 
 ~Set (void)
 
int getSize (void) const
 
bool contains (const T &value) const
 
const T * search (const T &value) const
 
T * search (const T &value)
 
const T & get (const T &value) const
 
T & get (const T &value)
 
void clear (void)
 
void reset (void)
 
void setCapacity (int numItems)
 
void compact (void)
 
void set (const Set< T > &other)
 
T & add (const T &value)
 
T & addNoAssign (const T &value)
 
T & remove (const T &value)
 
replace (const T &value)
 
int findSlot (const T &value) const
 
int firstSlot (void) const
 
int nextSlot (int slot) const
 
const T & getSlot (int slot) const
 
T & getSlot (int slot)
 
Set< T > & operator= (const Set< T > &other)
 
const T & operator[] (const T &value) const
 
T & operator[] (const T &value)
 

Detailed Description

template<class T>
class FW::Set< T >

Definition at line 37 of file Hash.hpp.

Constructor & Destructor Documentation

template<class T>
FW::Set< T >::Set ( void  )
inline

Definition at line 55 of file Hash.hpp.

template<class T>
FW::Set< T >::Set ( const Set< T > &  other)
inline

Definition at line 56 of file Hash.hpp.

template<class T>
FW::Set< T >::~Set ( void  )
inline

Definition at line 57 of file Hash.hpp.

Member Function Documentation

template<class T>
T& FW::Set< T >::add ( const T &  value)
inline

Definition at line 72 of file Hash.hpp.

template<class T>
T & FW::Set< T >::addNoAssign ( const T &  value)

Definition at line 344 of file Hash.hpp.

template<class T>
void FW::Set< T >::clear ( void  )
inline

Definition at line 66 of file Hash.hpp.

template<class T>
void FW::Set< T >::compact ( void  )
inline

Definition at line 69 of file Hash.hpp.

template<class T>
bool FW::Set< T >::contains ( const T &  value) const
inline

Definition at line 60 of file Hash.hpp.

template<class T>
int FW::Set< T >::findSlot ( const T &  value) const
inline

Definition at line 77 of file Hash.hpp.

template<class T>
int FW::Set< T >::firstSlot ( void  ) const
inline

Definition at line 78 of file Hash.hpp.

template<class T>
const T& FW::Set< T >::get ( const T &  value) const
inline

Definition at line 63 of file Hash.hpp.

template<class T>
T& FW::Set< T >::get ( const T &  value)
inline

Definition at line 64 of file Hash.hpp.

template<class T>
int FW::Set< T >::getSize ( void  ) const
inline

Definition at line 59 of file Hash.hpp.

template<class T>
const T& FW::Set< T >::getSlot ( int  slot) const
inline

Definition at line 80 of file Hash.hpp.

template<class T>
T& FW::Set< T >::getSlot ( int  slot)
inline

Definition at line 81 of file Hash.hpp.

template<class T >
int FW::Set< T >::nextSlot ( int  slot) const

Definition at line 405 of file Hash.hpp.

template<class T>
Set<T>& FW::Set< T >::operator= ( const Set< T > &  other)
inline

Definition at line 83 of file Hash.hpp.

template<class T>
const T& FW::Set< T >::operator[] ( const T &  value) const
inline

Definition at line 84 of file Hash.hpp.

template<class T>
T& FW::Set< T >::operator[] ( const T &  value)
inline

Definition at line 85 of file Hash.hpp.

template<class T>
T & FW::Set< T >::remove ( const T &  value)

Definition at line 381 of file Hash.hpp.

template<class T>
T FW::Set< T >::replace ( const T &  value)

Definition at line 393 of file Hash.hpp.

template<class T>
void FW::Set< T >::reset ( void  )
inline

Definition at line 67 of file Hash.hpp.

template<class T>
const T* FW::Set< T >::search ( const T &  value) const
inline

Definition at line 61 of file Hash.hpp.

template<class T>
T* FW::Set< T >::search ( const T &  value)
inline

Definition at line 62 of file Hash.hpp.

template<class T>
void FW::Set< T >::set ( const Set< T > &  other)

Definition at line 322 of file Hash.hpp.

template<class T >
void FW::Set< T >::setCapacity ( int  numItems)

Definition at line 309 of file Hash.hpp.


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