Public Member Functions

nsClearingPtrHashKey< T > Class Template Reference

hashkey wrapper using T* KeyType that sets key to NULL upon destruction. More...

#include <nsHashKeys.h>

Inheritance diagram for nsClearingPtrHashKey< T >:
Collaboration diagram for nsClearingPtrHashKey< T >:

List of all members.

Public Member Functions

 nsClearingPtrHashKey (const T *key)
 nsClearingPtrHashKey (const nsClearingPtrHashKey< T > &toCopy)
 ~nsClearingPtrHashKey ()

Detailed Description

template<class T>
class nsClearingPtrHashKey< T >

hashkey wrapper using T* KeyType that sets key to NULL upon destruction.

Relevant only in cases where a memory pointer-scanner like valgrind might get confused about stale references.

See also:
nsTHashtable::EntryType for specification

Constructor & Destructor Documentation

template<class T >
nsClearingPtrHashKey< T >::nsClearingPtrHashKey ( const T *  key  )  [inline]
template<class T >
nsClearingPtrHashKey< T >::nsClearingPtrHashKey ( const nsClearingPtrHashKey< T > &  toCopy  )  [inline]
template<class T >
nsClearingPtrHashKey< T >::~nsClearingPtrHashKey (  )  [inline]

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