CrystalSpace

Public API Reference

csWeakRefHash< T, K, ArrayMemoryAlloc > Class Template Reference

A hash table class, to be used with csWeakRef<> as the value type. More...

#include <csutil/weakrefhash.h>

Inheritance diagram for csWeakRefHash< T, K, ArrayMemoryAlloc >:

List of all members.

Public Member Functions

void Compact ()
 Compacts the hash by removing entries which have been deleted.
 csWeakRefHash (const csWeakRefHash< csWeakRef< T >, K, ArrayMemoryAlloc > &o)
 Copy constructor.

Detailed Description

template<class T, class K = unsigned int, class ArrayMemoryAlloc = CS::Memory::AllocatorMalloc>
class csWeakRefHash< T, K, ArrayMemoryAlloc >

A hash table class, to be used with csWeakRef<> as the value type.

Definition at line 30 of file weakrefhash.h.


Constructor & Destructor Documentation

template<class T , class K = unsigned int, class ArrayMemoryAlloc = CS::Memory::AllocatorMalloc>
csWeakRefHash< T, K, ArrayMemoryAlloc >::csWeakRefHash ( const csWeakRefHash< csWeakRef< T >, K, ArrayMemoryAlloc > &  o  )  [inline]

Copy constructor.

Definition at line 47 of file weakrefhash.h.


Member Function Documentation

template<class T , class K = unsigned int, class ArrayMemoryAlloc = CS::Memory::AllocatorMalloc>
void csWeakRefHash< T, K, ArrayMemoryAlloc >::Compact (  )  [inline]

Compacts the hash by removing entries which have been deleted.

Definition at line 53 of file weakrefhash.h.


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

Generated for Crystal Space 2.1 by doxygen 1.6.1