nsTHashtable< EntryType > Class Template Reference

#include <nsTHashtable.h>

Inheritance diagram for nsTHashtable< EntryType >:

Inheritance graph
[legend]
Collaboration diagram for nsTHashtable< EntryType >:

Collaboration graph
[legend]

List of all members.


Detailed Description

template<class EntryType>
class nsTHashtable< EntryType >

Clients will rarely need to use this class directly. Check the derived classes first, to see if they will meet your needs.

Parameters:
EntryType the templated entry-type class that is managed by the hashtable. EntryType must extend the following declaration, and must not declare any virtual functions or derive from classes with virtual functions. Any vtable pointer would break the PLDHashTable code.
   class EntryType : public PLDHashEntryHdr
   {
   public: or friend nsTHashtable<EntryType>;
     // KeyType is what we use when Get()ing or Put()ing this entry
     // this should either be a simple datatype (PRUint32, nsISupports*) or
     // a const reference (const nsAString&)
     typedef something KeyType;
     // KeyTypePointer is the pointer-version of KeyType, because pldhash.h
     // requires keys to cast to const void*
     typedef const something* KeyTypePointer;
EntryType(KeyTypePointer aKey);

     // the copy constructor must be defined, even if AllowMemMove() == true
     // or you will cause link errors!
     EntryType(const EntryType& aEnt);

     // the destructor must be defined... or you will cause link errors!
     ~EntryType();

     // KeyEquals(): does this entry match this key?
     PRBool KeyEquals(KeyTypePointer aKey) const;

     // KeyToPointer(): Convert KeyType to KeyTypePointer
     static KeyTypePointer KeyToPointer(KeyType aKey);

     // HashKey(): calculate the hash number
     static PLDHashNumber HashKey(KeyTypePointer aKey);

     // ALLOW_MEMMOVE can we move this class with memmove(), or do we have
     // to use the copy constructor?
     enum { ALLOW_MEMMOVE = PR_(TRUE or FALSE) };
   }

See also:
nsInterfaceHashtable

nsDataHashtable

nsClassHashtable

Author:
"Benjamin Smedberg <bsmedberg@covad.net>"

Public Types

typedef EntryType::KeyType KeyType
 KeyType is typedef'ed for ease of use.
typedef EntryType::KeyTypePointer KeyTypePointer
 KeyTypePointer is typedef'ed for ease of use.
typedef PLDHashOperator(* PR_CALLBACK )(EntryType *aEntry, void *userArg)
 client must provide an Enumerator function for EnumerateEntries

Public Member Functions

 nsTHashtable ()
 A dummy constructor; you must call Init() before using this class.
 ~nsTHashtable ()
 destructor, cleans up and deallocates
PRBool Init (PRUint32 initSize=PL_DHASH_MIN_SIZE)
 Initialize the table.
PRBool IsInitialized () const
 Check whether the table has been initialized.
PRUint32 Count () const
 Return the number of entries in the table.
EntryTypeGetEntry (KeyType aKey) const
 Get the entry associated with a key.
EntryTypePutEntry (KeyType aKey)
 Get the entry associated with a key, or create a new entry,.
void RemoveEntry (KeyType aKey)
 Remove the entry associated with a key.
void RawRemoveEntry (EntryType *aEntry)
 Remove the entry associated with a key, but don't resize the hashtable.
PRUint32 EnumerateEntries (Enumerator enumFunc, void *userArg)
 Enumerate all the entries of the function.
void Clear ()
 remove all entries, return hashtable to "pristine" state ;)

Static Protected Member Functions

static const void *PR_CALLBACK s_GetKey (PLDHashTable *table, PLDHashEntryHdr *entry)
static PLDHashNumber PR_CALLBACK s_HashKey (PLDHashTable *table, const void *key)
static PRBool PR_CALLBACK s_MatchEntry (PLDHashTable *table, const PLDHashEntryHdr *entry, const void *key)
static void PR_CALLBACK s_CopyEntry (PLDHashTable *table, const PLDHashEntryHdr *from, PLDHashEntryHdr *to)
static void PR_CALLBACK s_ClearEntry (PLDHashTable *table, PLDHashEntryHdr *entry)
static PRBool PR_CALLBACK s_InitEntry (PLDHashTable *table, PLDHashEntryHdr *entry, const void *key)
static PLDHashOperator PR_CALLBACK s_EnumStub (PLDHashTable *table, PLDHashEntryHdr *entry, PRUint32 number, void *arg)

Protected Attributes

PLDHashTable mTable

Classes

struct  s_EnumArgs
 passed internally during enumeration. More...

Member Typedef Documentation

template<class EntryType>
typedef EntryType::KeyType nsTHashtable< EntryType >::KeyType

Reimplemented in nsBaseHashtable< KeyClass, DataType, UserDataType >, nsBaseHashtableMT< KeyClass, DataType, UserDataType >, nsClassHashtable< KeyClass, T >, nsClassHashtableMT< KeyClass, T >, nsRefPtrHashtable< KeyClass, RefPtr >, nsRefPtrHashtableMT< KeyClass, RefPtr >, nsBaseHashtable< JavaClassMemberKey, void *, void * >, nsBaseHashtable< nsCStringHashKey, unsigned char, unsigned char >, nsBaseHashtable< struct KeyClass, DataType, DataType >, nsBaseHashtable< nsVoidPtrHashKey, nsISupports *, nsISupports * >, nsBaseHashtable< FunctionKey, nsAutoPtr< ProfilerFunction >, ProfilerFunction * >, nsBaseHashtable< nsStringHashKey, nsTreeImageCacheEntry, nsTreeImageCacheEntry >, nsBaseHashtable< nsPtrHashKey< nsIDOMWindow >, unsigned, unsigned >, nsBaseHashtable< nsISupportsHashKey, nsLoadCollector::RequestEntry, nsLoadCollector::RequestEntry >, nsBaseHashtable< nsCharPtrHashKey, nsAutoPtr< ProfilerFile >, ProfilerFile * >, nsBaseHashtable< nsCStringHashKey, nsRefPtr< gfxFontNameList >, nsRefPtr< gfxFontNameList > >, nsBaseHashtable< nsStringHashKey, nsAutoPtr< nsCString >, nsCString * >, nsBaseHashtable< nsStringHashKey, nsAutoPtr< nsSVGFilterInstance::ImageEntry >, nsSVGFilterInstance::ImageEntry * >, nsBaseHashtable< nsStringHashKey, nsAutoPtr< nsRadioGroupStruct >, nsRadioGroupStruct * >, nsBaseHashtable< nsStringHashKey, nsString, nsString >, nsBaseHashtable< nsISupportsHashKey, nsTemplateMatch *, nsTemplateMatch * >, nsBaseHashtable< nsDepCharHashKey, nsAutoPtr< CategoryNode >, CategoryNode * >, nsBaseHashtable< nsUint32HashKey, nsAutoPtr< nsMAPISession >, nsMAPISession * >, nsBaseHashtable< nsTrimInt64HashKey, nsTArray< E > *, nsTArray< E > * >, nsBaseHashtable< nsStringHashKey, unsigned, unsigned >, nsBaseHashtable< nsCStringHashKey, nsISupports *, nsISupports * >, nsBaseHashtable< nsCharPtrHashKey, nsAutoPtr< nsCOMArray< nsIObserver > >, nsCOMArray< nsIObserver > * >, nsBaseHashtable< nsURIHashKey, unsigned, unsigned >, nsBaseHashtable< nsURIHashKey, nsRefPtr< nsXULPrototypeDocument >, nsXULPrototypeDocument * >, nsBaseHashtable< nsVoidPtrHashKey, unsigned, unsigned >, nsBaseHashtable< nsVoidPtrHashKey, nsRefPtr< nsThread >, nsThread * >, nsBaseHashtable< nsTrimInt64HashKey, unsigned char, unsigned char >, nsBaseHashtable< nsPtrHashKey< nsIDocument >, nsLoadCollector::DocumentEntry, nsLoadCollector::DocumentEntry >, nsBaseHashtable< nsUint32HashKey, nsTArray< nsRefPtr< MacOSFamilyEntry > >, nsTArray< nsRefPtr< MacOSFamilyEntry > > >, nsBaseHashtable< nsURIAndPrincipalHashKey, SheetLoadData *, SheetLoadData * >, nsBaseHashtable< nsISupportsHashKey, nsAutoPtr< nsTArray< E > >, nsTArray< E > * >, nsBaseHashtable< nsISupportsHashKey, nsAutoPtr< nsXFormsMDGNode >, nsXFormsMDGNode * >, nsBaseHashtable< nsCStringHashKey, nsAutoPtr< nsPresState >, nsPresState * >, nsBaseHashtable< nsVoidPtrHashKey, ProfilerFunction *, ProfilerFunction * >, nsBaseHashtable< nsISupportsHashKey, nsCSSFrameConstructor::RestyleData, nsCSSFrameConstructor::RestyleData >, nsBaseHashtable< nsCStringHashKey, nsCString, nsCString >, nsBaseHashtable< nsStringHashKey, unsigned char, unsigned char >, nsBaseHashtable< nsMorkReader::IDKey, nsTArray< nsCString > *, nsTArray< nsCString > * >, nsBaseHashtable< struct KeyClass, DataType, UserDataType >, nsBaseHashtable< nsISupportsHashKey, nsCString, nsCString >, nsBaseHashtable< nsUint32HashKey, float, float >, nsBaseHashtable< nsStringHashKey, nsRefPtr< FontFamily >, nsRefPtr< FontFamily > >, nsBaseHashtable< nsISupportsHashKey, unsigned, unsigned >, nsBaseHashtable< nsMorkReader::IDKey, nsCString, nsCString >, nsBaseHashtable< nsISupportsHashKey, nsRefPtr< RDFBindingSet >, RDFBindingSet * >, nsBaseHashtable< nsStringHashKey, nsRefPtr< MacOSFamilyEntry >, MacOSFamilyEntry * >, nsBaseHashtable< nsCStringHashKey, unsigned, unsigned >, nsBaseHashtable< nsISupportsHashKey, DIR_Server *, DIR_Server * >, nsBaseHashtable< nsHashableHashKey, PRInt64, PRInt64 >, nsBaseHashtable< struct KeyClass, nsAutoPtr< T >, T * >, nsBaseHashtable< nsHashableHashKey, mozJSComponentLoader::ModuleEntry *, mozJSComponentLoader::ModuleEntry * >, nsBaseHashtable< nsIDHashKey, nsRefPtr< ipcTargetData >, ipcTargetData * >, nsBaseHashtable< nsISupportsHashKey, EventNameMapping, EventNameMapping >, nsBaseHashtable< nsCStringHashKey, nsTArray< nsRefPtr< FontEntry > >, nsTArray< nsRefPtr< FontEntry > > >, nsBaseHashtable< nsUint32HashKey, nsAutoPtr< nsCOMArray< nsXULTemplateResultRDF > >, nsCOMArray< nsXULTemplateResultRDF > * >, nsBaseHashtable< struct KeyClass, nsRefPtr< RefPtr >, RefPtr * >, nsBaseHashtable< nsISupportsHashKey, nsRefPtr< nsXBLBinding >, nsXBLBinding * >, nsBaseHashtable< nsVoidPtrHashKey, nsAutoPtr< DConnectInstance >, DConnectInstance * >, nsBaseHashtable< nsVoidPtrHashKey, nsAutoPtr< nsOfflineCacheUpdateService::PendingUpdate >, nsOfflineCacheUpdateService::PendingUpdate * >, nsBaseHashtable< nsNameSpaceKey, unsigned, unsigned >, nsBaseHashtable< nsCStringHashKey, nsRefPtr< nsDownload >, nsDownload * >, nsBaseHashtable< nsTrimInt64HashKey, PRInt64, PRInt64 >, nsBaseHashtable< nsISupportsHashKey, nsRefPtr< nsXMLBindingSet >, nsXMLBindingSet * >, nsBaseHashtable< nsStringHashKey, nsAutoPtr< nsCounterList >, nsCounterList * >, nsBaseHashtable< nsVoidPtrHashKey, void *, void * >, nsBaseHashtable< nsUint32HashKey, nsAutoPtr< gfxPangoFontWrapper >, gfxPangoFontWrapper * >, nsBaseHashtable< nsCStringHashKey, nsNavHistory::RedirectInfo, nsNavHistory::RedirectInfo >, nsBaseHashtable< nsURIHashKey, CacheScriptEntry, CacheScriptEntry >, nsBaseHashtable< nsISupportsHashKey, nsRefPtr< gfxASurface >, gfxASurface * >, nsBaseHashtable< nsISupportsHashKey, nsAutoPtr< nsXFormsNodeState >, nsXFormsNodeState * >, nsBaseHashtable< nsISupportsHashKey, nsAutoPtr< nsString >, nsString * >, nsBaseHashtable< nsHashableHashKey, nsNativeModuleLoader::NativeLoadData, nsNativeModuleLoader::NativeLoadData >, nsBaseHashtable< nsCStringHashKey, PRInt64, PRInt64 >, nsBaseHashtable< nsHashableHashKey, nsAutoPtr< mozJSComponentLoader::ModuleEntry >, mozJSComponentLoader::ModuleEntry * >, nsBaseHashtable< nsCStringHashKey, nsAutoPtr< EmbedPasswordMgr::SignonHashEntry >, EmbedPasswordMgr::SignonHashEntry * >, nsBaseHashtable< nsISupportsHashKey, nsRefPtr< nsXFormsControlListItem >, nsXFormsControlListItem * >, nsBaseHashtable< nsISupportsHashKey, nsAutoPtr< nsCOMArray< nsXULTemplateResultRDF > >, nsCOMArray< nsXULTemplateResultRDF > * >, nsBaseHashtableMT< struct KeyClass, DataType, DataType >, nsBaseHashtableMT< struct KeyClass, nsAutoPtr< T >, T * >, nsBaseHashtableMT< struct KeyClass, nsRefPtr< RefPtr >, RefPtr * >, nsClassHashtable< nsUint32HashKey, nsMAPISession >, nsClassHashtable< nsStringHashKey, nsCString >, nsClassHashtable< nsVoidPtrHashKey, DConnectInstance >, nsClassHashtable< nsCStringHashKey, EmbedPasswordMgr::SignonHashEntry >, nsClassHashtable< nsISupportsHashKey, nsTArray >, nsClassHashtable< FunctionKey, ProfilerFunction >, nsClassHashtable< nsISupportsHashKey, nsXFormsMDGNode >, nsClassHashtable< nsCStringHashKey, nsPresState >, nsClassHashtable< nsISupportsHashKey, nsCOMArray< nsXULTemplateResultRDF > >, nsClassHashtable< nsUint32HashKey, gfxPangoFontWrapper >, nsClassHashtable< nsVoidPtrHashKey, nsOfflineCacheUpdateService::PendingUpdate >, nsClassHashtable< nsISupportsHashKey, nsString >, nsClassHashtable< nsCharPtrHashKey, nsCOMArray< nsIObserver > >, nsClassHashtable< nsISupportsHashKey, nsXFormsNodeState >, nsClassHashtable< nsHashableHashKey, mozJSComponentLoader::ModuleEntry >, nsClassHashtable< nsStringHashKey, nsCounterList >, nsClassHashtable< nsUint32HashKey, nsCOMArray< nsXULTemplateResultRDF > >, nsClassHashtable< nsDepCharHashKey, CategoryNode >, nsClassHashtable< nsCharPtrHashKey, ProfilerFile >, nsClassHashtable< nsStringHashKey, nsSVGFilterInstance::ImageEntry >, nsClassHashtable< nsStringHashKey, nsRadioGroupStruct >, nsRefPtrHashtable< nsStringHashKey, MacOSFamilyEntry >, nsRefPtrHashtable< nsURIHashKey, nsXULPrototypeDocument >, nsRefPtrHashtable< nsCStringHashKey, nsDownload >, nsRefPtrHashtable< nsISupportsHashKey, nsXFormsControlListItem >, nsRefPtrHashtable< nsISupportsHashKey, nsXMLBindingSet >, nsRefPtrHashtable< nsVoidPtrHashKey, nsThread >, nsRefPtrHashtable< nsISupportsHashKey, RDFBindingSet >, nsRefPtrHashtable< nsISupportsHashKey, gfxASurface >, nsRefPtrHashtable< nsISupportsHashKey, nsXBLBinding >, and nsRefPtrHashtable< nsIDHashKey, ipcTargetData >.

template<class EntryType>
typedef EntryType::KeyTypePointer nsTHashtable< EntryType >::KeyTypePointer

template<class EntryType>
typedef PLDHashOperator(* nsTHashtable< EntryType >::PR_CALLBACK)(EntryType *aEntry, void *userArg)

Parameters:
aEntry the entry being enumerated
userArg passed unchanged from EnumerateEntries
Returns:
combination of flags PL_DHASH_NEXT , PL_DHASH_STOP , PL_DHASH_REMOVE

Reimplemented in nsBaseHashtable< KeyClass, DataType, UserDataType >, nsBaseHashtable< KeyClass, DataType, UserDataType >, nsBaseHashtable< JavaClassMemberKey, void *, void * >, nsBaseHashtable< JavaClassMemberKey, void *, void * >, nsBaseHashtable< nsCStringHashKey, unsigned char, unsigned char >, nsBaseHashtable< nsCStringHashKey, unsigned char, unsigned char >, nsBaseHashtable< struct KeyClass, DataType, DataType >, nsBaseHashtable< struct KeyClass, DataType, DataType >, nsBaseHashtable< nsVoidPtrHashKey, nsISupports *, nsISupports * >, nsBaseHashtable< nsVoidPtrHashKey, nsISupports *, nsISupports * >, nsBaseHashtable< FunctionKey, nsAutoPtr< ProfilerFunction >, ProfilerFunction * >, nsBaseHashtable< FunctionKey, nsAutoPtr< ProfilerFunction >, ProfilerFunction * >, nsBaseHashtable< nsStringHashKey, nsTreeImageCacheEntry, nsTreeImageCacheEntry >, nsBaseHashtable< nsStringHashKey, nsTreeImageCacheEntry, nsTreeImageCacheEntry >, nsBaseHashtable< nsPtrHashKey< nsIDOMWindow >, unsigned, unsigned >, nsBaseHashtable< nsPtrHashKey< nsIDOMWindow >, unsigned, unsigned >, nsBaseHashtable< nsISupportsHashKey, nsLoadCollector::RequestEntry, nsLoadCollector::RequestEntry >, nsBaseHashtable< nsISupportsHashKey, nsLoadCollector::RequestEntry, nsLoadCollector::RequestEntry >, nsBaseHashtable< nsCharPtrHashKey, nsAutoPtr< ProfilerFile >, ProfilerFile * >, nsBaseHashtable< nsCharPtrHashKey, nsAutoPtr< ProfilerFile >, ProfilerFile * >, nsBaseHashtable< nsCStringHashKey, nsRefPtr< gfxFontNameList >, nsRefPtr< gfxFontNameList > >, nsBaseHashtable< nsCStringHashKey, nsRefPtr< gfxFontNameList >, nsRefPtr< gfxFontNameList > >, nsBaseHashtable< nsStringHashKey, nsAutoPtr< nsCString >, nsCString * >, nsBaseHashtable< nsStringHashKey, nsAutoPtr< nsCString >, nsCString * >, nsBaseHashtable< nsStringHashKey, nsAutoPtr< nsSVGFilterInstance::ImageEntry >, nsSVGFilterInstance::ImageEntry * >, nsBaseHashtable< nsStringHashKey, nsAutoPtr< nsSVGFilterInstance::ImageEntry >, nsSVGFilterInstance::ImageEntry * >, nsBaseHashtable< nsStringHashKey, nsAutoPtr< nsRadioGroupStruct >, nsRadioGroupStruct * >, nsBaseHashtable< nsStringHashKey, nsAutoPtr< nsRadioGroupStruct >, nsRadioGroupStruct * >, nsBaseHashtable< nsStringHashKey, nsString, nsString >, nsBaseHashtable< nsStringHashKey, nsString, nsString >, nsBaseHashtable< nsISupportsHashKey, nsTemplateMatch *, nsTemplateMatch * >, nsBaseHashtable< nsISupportsHashKey, nsTemplateMatch *, nsTemplateMatch * >, nsBaseHashtable< nsDepCharHashKey, nsAutoPtr< CategoryNode >, CategoryNode * >, nsBaseHashtable< nsDepCharHashKey, nsAutoPtr< CategoryNode >, CategoryNode * >, nsBaseHashtable< nsUint32HashKey, nsAutoPtr< nsMAPISession >, nsMAPISession * >, nsBaseHashtable< nsUint32HashKey, nsAutoPtr< nsMAPISession >, nsMAPISession * >, nsBaseHashtable< nsTrimInt64HashKey, nsTArray< E > *, nsTArray< E > * >, nsBaseHashtable< nsTrimInt64HashKey, nsTArray< E > *, nsTArray< E > * >, nsBaseHashtable< nsStringHashKey, unsigned, unsigned >, nsBaseHashtable< nsStringHashKey, unsigned, unsigned >, nsBaseHashtable< nsCStringHashKey, nsISupports *, nsISupports * >, nsBaseHashtable< nsCStringHashKey, nsISupports *, nsISupports * >, nsBaseHashtable< nsCharPtrHashKey, nsAutoPtr< nsCOMArray< nsIObserver > >, nsCOMArray< nsIObserver > * >, nsBaseHashtable< nsCharPtrHashKey, nsAutoPtr< nsCOMArray< nsIObserver > >, nsCOMArray< nsIObserver > * >, nsBaseHashtable< nsURIHashKey, unsigned, unsigned >, nsBaseHashtable< nsURIHashKey, unsigned, unsigned >, nsBaseHashtable< nsURIHashKey, nsRefPtr< nsXULPrototypeDocument >, nsXULPrototypeDocument * >, nsBaseHashtable< nsURIHashKey, nsRefPtr< nsXULPrototypeDocument >, nsXULPrototypeDocument * >, nsBaseHashtable< nsVoidPtrHashKey, unsigned, unsigned >, nsBaseHashtable< nsVoidPtrHashKey, unsigned, unsigned >, nsBaseHashtable< nsVoidPtrHashKey, nsRefPtr< nsThread >, nsThread * >, nsBaseHashtable< nsVoidPtrHashKey, nsRefPtr< nsThread >, nsThread * >, nsBaseHashtable< nsTrimInt64HashKey, unsigned char, unsigned char >, nsBaseHashtable< nsTrimInt64HashKey, unsigned char, unsigned char >, nsBaseHashtable< nsPtrHashKey< nsIDocument >, nsLoadCollector::DocumentEntry, nsLoadCollector::DocumentEntry >, nsBaseHashtable< nsPtrHashKey< nsIDocument >, nsLoadCollector::DocumentEntry, nsLoadCollector::DocumentEntry >, nsBaseHashtable< nsUint32HashKey, nsTArray< nsRefPtr< MacOSFamilyEntry > >, nsTArray< nsRefPtr< MacOSFamilyEntry > > >, nsBaseHashtable< nsUint32HashKey, nsTArray< nsRefPtr< MacOSFamilyEntry > >, nsTArray< nsRefPtr< MacOSFamilyEntry > > >, nsBaseHashtable< nsURIAndPrincipalHashKey, SheetLoadData *, SheetLoadData * >, nsBaseHashtable< nsURIAndPrincipalHashKey, SheetLoadData *, SheetLoadData * >, nsBaseHashtable< nsISupportsHashKey, nsAutoPtr< nsTArray< E > >, nsTArray< E > * >, nsBaseHashtable< nsISupportsHashKey, nsAutoPtr< nsTArray< E > >, nsTArray< E > * >, nsBaseHashtable< nsISupportsHashKey, nsAutoPtr< nsXFormsMDGNode >, nsXFormsMDGNode * >, nsBaseHashtable< nsISupportsHashKey, nsAutoPtr< nsXFormsMDGNode >, nsXFormsMDGNode * >, nsBaseHashtable< nsCStringHashKey, nsAutoPtr< nsPresState >, nsPresState * >, nsBaseHashtable< nsCStringHashKey, nsAutoPtr< nsPresState >, nsPresState * >, nsBaseHashtable< nsVoidPtrHashKey, ProfilerFunction *, ProfilerFunction * >, nsBaseHashtable< nsVoidPtrHashKey, ProfilerFunction *, ProfilerFunction * >, nsBaseHashtable< nsISupportsHashKey, nsCSSFrameConstructor::RestyleData, nsCSSFrameConstructor::RestyleData >, nsBaseHashtable< nsISupportsHashKey, nsCSSFrameConstructor::RestyleData, nsCSSFrameConstructor::RestyleData >, nsBaseHashtable< nsCStringHashKey, nsCString, nsCString >, nsBaseHashtable< nsCStringHashKey, nsCString, nsCString >, nsBaseHashtable< nsStringHashKey, unsigned char, unsigned char >, nsBaseHashtable< nsStringHashKey, unsigned char, unsigned char >, nsBaseHashtable< nsMorkReader::IDKey, nsTArray< nsCString > *, nsTArray< nsCString > * >, nsBaseHashtable< nsMorkReader::IDKey, nsTArray< nsCString > *, nsTArray< nsCString > * >, nsBaseHashtable< struct KeyClass, DataType, UserDataType >, nsBaseHashtable< struct KeyClass, DataType, UserDataType >, nsBaseHashtable< nsISupportsHashKey, nsCString, nsCString >, nsBaseHashtable< nsISupportsHashKey, nsCString, nsCString >, nsBaseHashtable< nsUint32HashKey, float, float >, nsBaseHashtable< nsUint32HashKey, float, float >, nsBaseHashtable< nsStringHashKey, nsRefPtr< FontFamily >, nsRefPtr< FontFamily > >, nsBaseHashtable< nsStringHashKey, nsRefPtr< FontFamily >, nsRefPtr< FontFamily > >, nsBaseHashtable< nsISupportsHashKey, unsigned, unsigned >, nsBaseHashtable< nsISupportsHashKey, unsigned, unsigned >, nsBaseHashtable< nsMorkReader::IDKey, nsCString, nsCString >, nsBaseHashtable< nsMorkReader::IDKey, nsCString, nsCString >, nsBaseHashtable< nsISupportsHashKey, nsRefPtr< RDFBindingSet >, RDFBindingSet * >, nsBaseHashtable< nsISupportsHashKey, nsRefPtr< RDFBindingSet >, RDFBindingSet * >, nsBaseHashtable< nsStringHashKey, nsRefPtr< MacOSFamilyEntry >, MacOSFamilyEntry * >, nsBaseHashtable< nsStringHashKey, nsRefPtr< MacOSFamilyEntry >, MacOSFamilyEntry * >, nsBaseHashtable< nsCStringHashKey, unsigned, unsigned >, nsBaseHashtable< nsCStringHashKey, unsigned, unsigned >, nsBaseHashtable< nsISupportsHashKey, DIR_Server *, DIR_Server * >, nsBaseHashtable< nsISupportsHashKey, DIR_Server *, DIR_Server * >, nsBaseHashtable< nsHashableHashKey, PRInt64, PRInt64 >, nsBaseHashtable< nsHashableHashKey, PRInt64, PRInt64 >, nsBaseHashtable< struct KeyClass, nsAutoPtr< T >, T * >, nsBaseHashtable< struct KeyClass, nsAutoPtr< T >, T * >, nsBaseHashtable< nsHashableHashKey, mozJSComponentLoader::ModuleEntry *, mozJSComponentLoader::ModuleEntry * >, nsBaseHashtable< nsHashableHashKey, mozJSComponentLoader::ModuleEntry *, mozJSComponentLoader::ModuleEntry * >, nsBaseHashtable< nsIDHashKey, nsRefPtr< ipcTargetData >, ipcTargetData * >, nsBaseHashtable< nsIDHashKey, nsRefPtr< ipcTargetData >, ipcTargetData * >, nsBaseHashtable< nsISupportsHashKey, EventNameMapping, EventNameMapping >, nsBaseHashtable< nsISupportsHashKey, EventNameMapping, EventNameMapping >, nsBaseHashtable< nsCStringHashKey, nsTArray< nsRefPtr< FontEntry > >, nsTArray< nsRefPtr< FontEntry > > >, nsBaseHashtable< nsCStringHashKey, nsTArray< nsRefPtr< FontEntry > >, nsTArray< nsRefPtr< FontEntry > > >, nsBaseHashtable< nsUint32HashKey, nsAutoPtr< nsCOMArray< nsXULTemplateResultRDF > >, nsCOMArray< nsXULTemplateResultRDF > * >, nsBaseHashtable< nsUint32HashKey, nsAutoPtr< nsCOMArray< nsXULTemplateResultRDF > >, nsCOMArray< nsXULTemplateResultRDF > * >, nsBaseHashtable< struct KeyClass, nsRefPtr< RefPtr >, RefPtr * >, nsBaseHashtable< struct KeyClass, nsRefPtr< RefPtr >, RefPtr * >, nsBaseHashtable< nsISupportsHashKey, nsRefPtr< nsXBLBinding >, nsXBLBinding * >, nsBaseHashtable< nsISupportsHashKey, nsRefPtr< nsXBLBinding >, nsXBLBinding * >, nsBaseHashtable< nsVoidPtrHashKey, nsAutoPtr< DConnectInstance >, DConnectInstance * >, nsBaseHashtable< nsVoidPtrHashKey, nsAutoPtr< DConnectInstance >, DConnectInstance * >, nsBaseHashtable< nsVoidPtrHashKey, nsAutoPtr< nsOfflineCacheUpdateService::PendingUpdate >, nsOfflineCacheUpdateService::PendingUpdate * >, nsBaseHashtable< nsVoidPtrHashKey, nsAutoPtr< nsOfflineCacheUpdateService::PendingUpdate >, nsOfflineCacheUpdateService::PendingUpdate * >, nsBaseHashtable< nsNameSpaceKey, unsigned, unsigned >, nsBaseHashtable< nsNameSpaceKey, unsigned, unsigned >, nsBaseHashtable< nsCStringHashKey, nsRefPtr< nsDownload >, nsDownload * >, nsBaseHashtable< nsCStringHashKey, nsRefPtr< nsDownload >, nsDownload * >, nsBaseHashtable< nsTrimInt64HashKey, PRInt64, PRInt64 >, nsBaseHashtable< nsTrimInt64HashKey, PRInt64, PRInt64 >, nsBaseHashtable< nsISupportsHashKey, nsRefPtr< nsXMLBindingSet >, nsXMLBindingSet * >, nsBaseHashtable< nsISupportsHashKey, nsRefPtr< nsXMLBindingSet >, nsXMLBindingSet * >, nsBaseHashtable< nsStringHashKey, nsAutoPtr< nsCounterList >, nsCounterList * >, nsBaseHashtable< nsStringHashKey, nsAutoPtr< nsCounterList >, nsCounterList * >, nsBaseHashtable< nsVoidPtrHashKey, void *, void * >, nsBaseHashtable< nsVoidPtrHashKey, void *, void * >, nsBaseHashtable< nsUint32HashKey, nsAutoPtr< gfxPangoFontWrapper >, gfxPangoFontWrapper * >, nsBaseHashtable< nsUint32HashKey, nsAutoPtr< gfxPangoFontWrapper >, gfxPangoFontWrapper * >, nsBaseHashtable< nsCStringHashKey, nsNavHistory::RedirectInfo, nsNavHistory::RedirectInfo >, nsBaseHashtable< nsCStringHashKey, nsNavHistory::RedirectInfo, nsNavHistory::RedirectInfo >, nsBaseHashtable< nsURIHashKey, CacheScriptEntry, CacheScriptEntry >, nsBaseHashtable< nsURIHashKey, CacheScriptEntry, CacheScriptEntry >, nsBaseHashtable< nsISupportsHashKey, nsRefPtr< gfxASurface >, gfxASurface * >, nsBaseHashtable< nsISupportsHashKey, nsRefPtr< gfxASurface >, gfxASurface * >, nsBaseHashtable< nsISupportsHashKey, nsAutoPtr< nsXFormsNodeState >, nsXFormsNodeState * >, nsBaseHashtable< nsISupportsHashKey, nsAutoPtr< nsXFormsNodeState >, nsXFormsNodeState * >, nsBaseHashtable< nsISupportsHashKey, nsAutoPtr< nsString >, nsString * >, nsBaseHashtable< nsISupportsHashKey, nsAutoPtr< nsString >, nsString * >, nsBaseHashtable< nsHashableHashKey, nsNativeModuleLoader::NativeLoadData, nsNativeModuleLoader::NativeLoadData >, nsBaseHashtable< nsHashableHashKey, nsNativeModuleLoader::NativeLoadData, nsNativeModuleLoader::NativeLoadData >, nsBaseHashtable< nsCStringHashKey, PRInt64, PRInt64 >, nsBaseHashtable< nsCStringHashKey, PRInt64, PRInt64 >, nsBaseHashtable< nsHashableHashKey, nsAutoPtr< mozJSComponentLoader::ModuleEntry >, mozJSComponentLoader::ModuleEntry * >, nsBaseHashtable< nsHashableHashKey, nsAutoPtr< mozJSComponentLoader::ModuleEntry >, mozJSComponentLoader::ModuleEntry * >, nsBaseHashtable< nsCStringHashKey, nsAutoPtr< EmbedPasswordMgr::SignonHashEntry >, EmbedPasswordMgr::SignonHashEntry * >, nsBaseHashtable< nsCStringHashKey, nsAutoPtr< EmbedPasswordMgr::SignonHashEntry >, EmbedPasswordMgr::SignonHashEntry * >, nsBaseHashtable< nsISupportsHashKey, nsRefPtr< nsXFormsControlListItem >, nsXFormsControlListItem * >, nsBaseHashtable< nsISupportsHashKey, nsRefPtr< nsXFormsControlListItem >, nsXFormsControlListItem * >, nsBaseHashtable< nsISupportsHashKey, nsAutoPtr< nsCOMArray< nsXULTemplateResultRDF > >, nsCOMArray< nsXULTemplateResultRDF > * >, and nsBaseHashtable< nsISupportsHashKey, nsAutoPtr< nsCOMArray< nsXULTemplateResultRDF > >, nsCOMArray< nsXULTemplateResultRDF > * >.


Constructor & Destructor Documentation

template<class EntryType>
nsTHashtable< EntryType >::nsTHashtable (  )  [inline]

template<class EntryType>
nsTHashtable< EntryType >::~nsTHashtable (  )  [inline]


Member Function Documentation

template<class EntryType>
PRBool nsTHashtable< EntryType >::Init ( PRUint32  initSize = PL_DHASH_MIN_SIZE  )  [inline]

This function must be called before any other class operations. This can fail due to OOM conditions.

Parameters:
initSize the initial number of buckets in the hashtable, default 16
Returns:
PR_TRUE if the class was initialized properly.

Reimplemented in nsBaseHashtable< KeyClass, DataType, UserDataType >, nsBaseHashtableMT< KeyClass, DataType, UserDataType >, nsBaseHashtable< JavaClassMemberKey, void *, void * >, nsBaseHashtable< nsCStringHashKey, unsigned char, unsigned char >, nsBaseHashtable< struct KeyClass, DataType, DataType >, nsBaseHashtable< nsVoidPtrHashKey, nsISupports *, nsISupports * >, nsBaseHashtable< FunctionKey, nsAutoPtr< ProfilerFunction >, ProfilerFunction * >, nsBaseHashtable< nsStringHashKey, nsTreeImageCacheEntry, nsTreeImageCacheEntry >, nsBaseHashtable< nsPtrHashKey< nsIDOMWindow >, unsigned, unsigned >, nsBaseHashtable< nsISupportsHashKey, nsLoadCollector::RequestEntry, nsLoadCollector::RequestEntry >, nsBaseHashtable< nsCharPtrHashKey, nsAutoPtr< ProfilerFile >, ProfilerFile * >, nsBaseHashtable< nsCStringHashKey, nsRefPtr< gfxFontNameList >, nsRefPtr< gfxFontNameList > >, nsBaseHashtable< nsStringHashKey, nsAutoPtr< nsCString >, nsCString * >, nsBaseHashtable< nsStringHashKey, nsAutoPtr< nsSVGFilterInstance::ImageEntry >, nsSVGFilterInstance::ImageEntry * >, nsBaseHashtable< nsStringHashKey, nsAutoPtr< nsRadioGroupStruct >, nsRadioGroupStruct * >, nsBaseHashtable< nsStringHashKey, nsString, nsString >, nsBaseHashtable< nsISupportsHashKey, nsTemplateMatch *, nsTemplateMatch * >, nsBaseHashtable< nsDepCharHashKey, nsAutoPtr< CategoryNode >, CategoryNode * >, nsBaseHashtable< nsUint32HashKey, nsAutoPtr< nsMAPISession >, nsMAPISession * >, nsBaseHashtable< nsTrimInt64HashKey, nsTArray< E > *, nsTArray< E > * >, nsBaseHashtable< nsStringHashKey, unsigned, unsigned >, nsBaseHashtable< nsCStringHashKey, nsISupports *, nsISupports * >, nsBaseHashtable< nsCharPtrHashKey, nsAutoPtr< nsCOMArray< nsIObserver > >, nsCOMArray< nsIObserver > * >, nsBaseHashtable< nsURIHashKey, unsigned, unsigned >, nsBaseHashtable< nsURIHashKey, nsRefPtr< nsXULPrototypeDocument >, nsXULPrototypeDocument * >, nsBaseHashtable< nsVoidPtrHashKey, unsigned, unsigned >, nsBaseHashtable< nsVoidPtrHashKey, nsRefPtr< nsThread >, nsThread * >, nsBaseHashtable< nsTrimInt64HashKey, unsigned char, unsigned char >, nsBaseHashtable< nsPtrHashKey< nsIDocument >, nsLoadCollector::DocumentEntry, nsLoadCollector::DocumentEntry >, nsBaseHashtable< nsUint32HashKey, nsTArray< nsRefPtr< MacOSFamilyEntry > >, nsTArray< nsRefPtr< MacOSFamilyEntry > > >, nsBaseHashtable< nsURIAndPrincipalHashKey, SheetLoadData *, SheetLoadData * >, nsBaseHashtable< nsISupportsHashKey, nsAutoPtr< nsTArray< E > >, nsTArray< E > * >, nsBaseHashtable< nsISupportsHashKey, nsAutoPtr< nsXFormsMDGNode >, nsXFormsMDGNode * >, nsBaseHashtable< nsCStringHashKey, nsAutoPtr< nsPresState >, nsPresState * >, nsBaseHashtable< nsVoidPtrHashKey, ProfilerFunction *, ProfilerFunction * >, nsBaseHashtable< nsISupportsHashKey, nsCSSFrameConstructor::RestyleData, nsCSSFrameConstructor::RestyleData >, nsBaseHashtable< nsCStringHashKey, nsCString, nsCString >, nsBaseHashtable< nsStringHashKey, unsigned char, unsigned char >, nsBaseHashtable< nsMorkReader::IDKey, nsTArray< nsCString > *, nsTArray< nsCString > * >, nsBaseHashtable< struct KeyClass, DataType, UserDataType >, nsBaseHashtable< nsISupportsHashKey, nsCString, nsCString >, nsBaseHashtable< nsUint32HashKey, float, float >, nsBaseHashtable< nsStringHashKey, nsRefPtr< FontFamily >, nsRefPtr< FontFamily > >, nsBaseHashtable< nsISupportsHashKey, unsigned, unsigned >, nsBaseHashtable< nsMorkReader::IDKey, nsCString, nsCString >, nsBaseHashtable< nsISupportsHashKey, nsRefPtr< RDFBindingSet >, RDFBindingSet * >, nsBaseHashtable< nsStringHashKey, nsRefPtr< MacOSFamilyEntry >, MacOSFamilyEntry * >, nsBaseHashtable< nsCStringHashKey, unsigned, unsigned >, nsBaseHashtable< nsISupportsHashKey, DIR_Server *, DIR_Server * >, nsBaseHashtable< nsHashableHashKey, PRInt64, PRInt64 >, nsBaseHashtable< struct KeyClass, nsAutoPtr< T >, T * >, nsBaseHashtable< nsHashableHashKey, mozJSComponentLoader::ModuleEntry *, mozJSComponentLoader::ModuleEntry * >, nsBaseHashtable< nsIDHashKey, nsRefPtr< ipcTargetData >, ipcTargetData * >, nsBaseHashtable< nsISupportsHashKey, EventNameMapping, EventNameMapping >, nsBaseHashtable< nsCStringHashKey, nsTArray< nsRefPtr< FontEntry > >, nsTArray< nsRefPtr< FontEntry > > >, nsBaseHashtable< nsUint32HashKey, nsAutoPtr< nsCOMArray< nsXULTemplateResultRDF > >, nsCOMArray< nsXULTemplateResultRDF > * >, nsBaseHashtable< struct KeyClass, nsRefPtr< RefPtr >, RefPtr * >, nsBaseHashtable< nsISupportsHashKey, nsRefPtr< nsXBLBinding >, nsXBLBinding * >, nsBaseHashtable< nsVoidPtrHashKey, nsAutoPtr< DConnectInstance >, DConnectInstance * >, nsBaseHashtable< nsVoidPtrHashKey, nsAutoPtr< nsOfflineCacheUpdateService::PendingUpdate >, nsOfflineCacheUpdateService::PendingUpdate * >, nsBaseHashtable< nsNameSpaceKey, unsigned, unsigned >, nsBaseHashtable< nsCStringHashKey, nsRefPtr< nsDownload >, nsDownload * >, nsBaseHashtable< nsTrimInt64HashKey, PRInt64, PRInt64 >, nsBaseHashtable< nsISupportsHashKey, nsRefPtr< nsXMLBindingSet >, nsXMLBindingSet * >, nsBaseHashtable< nsStringHashKey, nsAutoPtr< nsCounterList >, nsCounterList * >, nsBaseHashtable< nsVoidPtrHashKey, void *, void * >, nsBaseHashtable< nsUint32HashKey, nsAutoPtr< gfxPangoFontWrapper >, gfxPangoFontWrapper * >, nsBaseHashtable< nsCStringHashKey, nsNavHistory::RedirectInfo, nsNavHistory::RedirectInfo >, nsBaseHashtable< nsURIHashKey, CacheScriptEntry, CacheScriptEntry >, nsBaseHashtable< nsISupportsHashKey, nsRefPtr< gfxASurface >, gfxASurface * >, nsBaseHashtable< nsISupportsHashKey, nsAutoPtr< nsXFormsNodeState >, nsXFormsNodeState * >, nsBaseHashtable< nsISupportsHashKey, nsAutoPtr< nsString >, nsString * >, nsBaseHashtable< nsHashableHashKey, nsNativeModuleLoader::NativeLoadData, nsNativeModuleLoader::NativeLoadData >, nsBaseHashtable< nsCStringHashKey, PRInt64, PRInt64 >, nsBaseHashtable< nsHashableHashKey, nsAutoPtr< mozJSComponentLoader::ModuleEntry >, mozJSComponentLoader::ModuleEntry * >, nsBaseHashtable< nsCStringHashKey, nsAutoPtr< EmbedPasswordMgr::SignonHashEntry >, EmbedPasswordMgr::SignonHashEntry * >, nsBaseHashtable< nsISupportsHashKey, nsRefPtr< nsXFormsControlListItem >, nsXFormsControlListItem * >, nsBaseHashtable< nsISupportsHashKey, nsAutoPtr< nsCOMArray< nsXULTemplateResultRDF > >, nsCOMArray< nsXULTemplateResultRDF > * >, nsBaseHashtableMT< struct KeyClass, DataType, DataType >, nsBaseHashtableMT< struct KeyClass, nsAutoPtr< T >, T * >, and nsBaseHashtableMT< struct KeyClass, nsRefPtr< RefPtr >, RefPtr * >.

template<class EntryType>
PRBool nsTHashtable< EntryType >::IsInitialized (  )  const [inline]

This can be useful for static hashtables.

Returns:
the initialization state of the class.

Reimplemented in nsBaseHashtable< KeyClass, DataType, UserDataType >, nsBaseHashtableMT< KeyClass, DataType, UserDataType >, nsBaseHashtable< JavaClassMemberKey, void *, void * >, nsBaseHashtable< nsCStringHashKey, unsigned char, unsigned char >, nsBaseHashtable< struct KeyClass, DataType, DataType >, nsBaseHashtable< nsVoidPtrHashKey, nsISupports *, nsISupports * >, nsBaseHashtable< FunctionKey, nsAutoPtr< ProfilerFunction >, ProfilerFunction * >, nsBaseHashtable< nsStringHashKey, nsTreeImageCacheEntry, nsTreeImageCacheEntry >, nsBaseHashtable< nsPtrHashKey< nsIDOMWindow >, unsigned, unsigned >, nsBaseHashtable< nsISupportsHashKey, nsLoadCollector::RequestEntry, nsLoadCollector::RequestEntry >, nsBaseHashtable< nsCharPtrHashKey, nsAutoPtr< ProfilerFile >, ProfilerFile * >, nsBaseHashtable< nsCStringHashKey, nsRefPtr< gfxFontNameList >, nsRefPtr< gfxFontNameList > >, nsBaseHashtable< nsStringHashKey, nsAutoPtr< nsCString >, nsCString * >, nsBaseHashtable< nsStringHashKey, nsAutoPtr< nsSVGFilterInstance::ImageEntry >, nsSVGFilterInstance::ImageEntry * >, nsBaseHashtable< nsStringHashKey, nsAutoPtr< nsRadioGroupStruct >, nsRadioGroupStruct * >, nsBaseHashtable< nsStringHashKey, nsString, nsString >, nsBaseHashtable< nsISupportsHashKey, nsTemplateMatch *, nsTemplateMatch * >, nsBaseHashtable< nsDepCharHashKey, nsAutoPtr< CategoryNode >, CategoryNode * >, nsBaseHashtable< nsUint32HashKey, nsAutoPtr< nsMAPISession >, nsMAPISession * >, nsBaseHashtable< nsTrimInt64HashKey, nsTArray< E > *, nsTArray< E > * >, nsBaseHashtable< nsStringHashKey, unsigned, unsigned >, nsBaseHashtable< nsCStringHashKey, nsISupports *, nsISupports * >, nsBaseHashtable< nsCharPtrHashKey, nsAutoPtr< nsCOMArray< nsIObserver > >, nsCOMArray< nsIObserver > * >, nsBaseHashtable< nsURIHashKey, unsigned, unsigned >, nsBaseHashtable< nsURIHashKey, nsRefPtr< nsXULPrototypeDocument >, nsXULPrototypeDocument * >, nsBaseHashtable< nsVoidPtrHashKey, unsigned, unsigned >, nsBaseHashtable< nsVoidPtrHashKey, nsRefPtr< nsThread >, nsThread * >, nsBaseHashtable< nsTrimInt64HashKey, unsigned char, unsigned char >, nsBaseHashtable< nsPtrHashKey< nsIDocument >, nsLoadCollector::DocumentEntry, nsLoadCollector::DocumentEntry >, nsBaseHashtable< nsUint32HashKey, nsTArray< nsRefPtr< MacOSFamilyEntry > >, nsTArray< nsRefPtr< MacOSFamilyEntry > > >, nsBaseHashtable< nsURIAndPrincipalHashKey, SheetLoadData *, SheetLoadData * >, nsBaseHashtable< nsISupportsHashKey, nsAutoPtr< nsTArray< E > >, nsTArray< E > * >, nsBaseHashtable< nsISupportsHashKey, nsAutoPtr< nsXFormsMDGNode >, nsXFormsMDGNode * >, nsBaseHashtable< nsCStringHashKey, nsAutoPtr< nsPresState >, nsPresState * >, nsBaseHashtable< nsVoidPtrHashKey, ProfilerFunction *, ProfilerFunction * >, nsBaseHashtable< nsISupportsHashKey, nsCSSFrameConstructor::RestyleData, nsCSSFrameConstructor::RestyleData >, nsBaseHashtable< nsCStringHashKey, nsCString, nsCString >, nsBaseHashtable< nsStringHashKey, unsigned char, unsigned char >, nsBaseHashtable< nsMorkReader::IDKey, nsTArray< nsCString > *, nsTArray< nsCString > * >, nsBaseHashtable< struct KeyClass, DataType, UserDataType >, nsBaseHashtable< nsISupportsHashKey, nsCString, nsCString >, nsBaseHashtable< nsUint32HashKey, float, float >, nsBaseHashtable< nsStringHashKey, nsRefPtr< FontFamily >, nsRefPtr< FontFamily > >, nsBaseHashtable< nsISupportsHashKey, unsigned, unsigned >, nsBaseHashtable< nsMorkReader::IDKey, nsCString, nsCString >, nsBaseHashtable< nsISupportsHashKey, nsRefPtr< RDFBindingSet >, RDFBindingSet * >, nsBaseHashtable< nsStringHashKey, nsRefPtr< MacOSFamilyEntry >, MacOSFamilyEntry * >, nsBaseHashtable< nsCStringHashKey, unsigned, unsigned >, nsBaseHashtable< nsISupportsHashKey, DIR_Server *, DIR_Server * >, nsBaseHashtable< nsHashableHashKey, PRInt64, PRInt64 >, nsBaseHashtable< struct KeyClass, nsAutoPtr< T >, T * >, nsBaseHashtable< nsHashableHashKey, mozJSComponentLoader::ModuleEntry *, mozJSComponentLoader::ModuleEntry * >, nsBaseHashtable< nsIDHashKey, nsRefPtr< ipcTargetData >, ipcTargetData * >, nsBaseHashtable< nsISupportsHashKey, EventNameMapping, EventNameMapping >, nsBaseHashtable< nsCStringHashKey, nsTArray< nsRefPtr< FontEntry > >, nsTArray< nsRefPtr< FontEntry > > >, nsBaseHashtable< nsUint32HashKey, nsAutoPtr< nsCOMArray< nsXULTemplateResultRDF > >, nsCOMArray< nsXULTemplateResultRDF > * >, nsBaseHashtable< struct KeyClass, nsRefPtr< RefPtr >, RefPtr * >, nsBaseHashtable< nsISupportsHashKey, nsRefPtr< nsXBLBinding >, nsXBLBinding * >, nsBaseHashtable< nsVoidPtrHashKey, nsAutoPtr< DConnectInstance >, DConnectInstance * >, nsBaseHashtable< nsVoidPtrHashKey, nsAutoPtr< nsOfflineCacheUpdateService::PendingUpdate >, nsOfflineCacheUpdateService::PendingUpdate * >, nsBaseHashtable< nsNameSpaceKey, unsigned, unsigned >, nsBaseHashtable< nsCStringHashKey, nsRefPtr< nsDownload >, nsDownload * >, nsBaseHashtable< nsTrimInt64HashKey, PRInt64, PRInt64 >, nsBaseHashtable< nsISupportsHashKey, nsRefPtr< nsXMLBindingSet >, nsXMLBindingSet * >, nsBaseHashtable< nsStringHashKey, nsAutoPtr< nsCounterList >, nsCounterList * >, nsBaseHashtable< nsVoidPtrHashKey, void *, void * >, nsBaseHashtable< nsUint32HashKey, nsAutoPtr< gfxPangoFontWrapper >, gfxPangoFontWrapper * >, nsBaseHashtable< nsCStringHashKey, nsNavHistory::RedirectInfo, nsNavHistory::RedirectInfo >, nsBaseHashtable< nsURIHashKey, CacheScriptEntry, CacheScriptEntry >, nsBaseHashtable< nsISupportsHashKey, nsRefPtr< gfxASurface >, gfxASurface * >, nsBaseHashtable< nsISupportsHashKey, nsAutoPtr< nsXFormsNodeState >, nsXFormsNodeState * >, nsBaseHashtable< nsISupportsHashKey, nsAutoPtr< nsString >, nsString * >, nsBaseHashtable< nsHashableHashKey, nsNativeModuleLoader::NativeLoadData, nsNativeModuleLoader::NativeLoadData >, nsBaseHashtable< nsCStringHashKey, PRInt64, PRInt64 >, nsBaseHashtable< nsHashableHashKey, nsAutoPtr< mozJSComponentLoader::ModuleEntry >, mozJSComponentLoader::ModuleEntry * >, nsBaseHashtable< nsCStringHashKey, nsAutoPtr< EmbedPasswordMgr::SignonHashEntry >, EmbedPasswordMgr::SignonHashEntry * >, nsBaseHashtable< nsISupportsHashKey, nsRefPtr< nsXFormsControlListItem >, nsXFormsControlListItem * >, nsBaseHashtable< nsISupportsHashKey, nsAutoPtr< nsCOMArray< nsXULTemplateResultRDF > >, nsCOMArray< nsXULTemplateResultRDF > * >, nsBaseHashtableMT< struct KeyClass, DataType, DataType >, nsBaseHashtableMT< struct KeyClass, nsAutoPtr< T >, T * >, and nsBaseHashtableMT< struct KeyClass, nsRefPtr< RefPtr >, RefPtr * >.

template<class EntryType>
PRUint32 nsTHashtable< EntryType >::Count (  )  const [inline]

Returns:
number of entries

Reimplemented in nsBaseHashtable< KeyClass, DataType, UserDataType >, nsBaseHashtableMT< KeyClass, DataType, UserDataType >, nsBaseHashtable< JavaClassMemberKey, void *, void * >, nsBaseHashtable< nsCStringHashKey, unsigned char, unsigned char >, nsBaseHashtable< struct KeyClass, DataType, DataType >, nsBaseHashtable< nsVoidPtrHashKey, nsISupports *, nsISupports * >, nsBaseHashtable< FunctionKey, nsAutoPtr< ProfilerFunction >, ProfilerFunction * >, nsBaseHashtable< nsStringHashKey, nsTreeImageCacheEntry, nsTreeImageCacheEntry >, nsBaseHashtable< nsPtrHashKey< nsIDOMWindow >, unsigned, unsigned >, nsBaseHashtable< nsISupportsHashKey, nsLoadCollector::RequestEntry, nsLoadCollector::RequestEntry >, nsBaseHashtable< nsCharPtrHashKey, nsAutoPtr< ProfilerFile >, ProfilerFile * >, nsBaseHashtable< nsCStringHashKey, nsRefPtr< gfxFontNameList >, nsRefPtr< gfxFontNameList > >, nsBaseHashtable< nsStringHashKey, nsAutoPtr< nsCString >, nsCString * >, nsBaseHashtable< nsStringHashKey, nsAutoPtr< nsSVGFilterInstance::ImageEntry >, nsSVGFilterInstance::ImageEntry * >, nsBaseHashtable< nsStringHashKey, nsAutoPtr< nsRadioGroupStruct >, nsRadioGroupStruct * >, nsBaseHashtable< nsStringHashKey, nsString, nsString >, nsBaseHashtable< nsISupportsHashKey, nsTemplateMatch *, nsTemplateMatch * >, nsBaseHashtable< nsDepCharHashKey, nsAutoPtr< CategoryNode >, CategoryNode * >, nsBaseHashtable< nsUint32HashKey, nsAutoPtr< nsMAPISession >, nsMAPISession * >, nsBaseHashtable< nsTrimInt64HashKey, nsTArray< E > *, nsTArray< E > * >, nsBaseHashtable< nsStringHashKey, unsigned, unsigned >, nsBaseHashtable< nsCStringHashKey, nsISupports *, nsISupports * >, nsBaseHashtable< nsCharPtrHashKey, nsAutoPtr< nsCOMArray< nsIObserver > >, nsCOMArray< nsIObserver > * >, nsBaseHashtable< nsURIHashKey, unsigned, unsigned >, nsBaseHashtable< nsURIHashKey, nsRefPtr< nsXULPrototypeDocument >, nsXULPrototypeDocument * >, nsBaseHashtable< nsVoidPtrHashKey, unsigned, unsigned >, nsBaseHashtable< nsVoidPtrHashKey, nsRefPtr< nsThread >, nsThread * >, nsBaseHashtable< nsTrimInt64HashKey, unsigned char, unsigned char >, nsBaseHashtable< nsPtrHashKey< nsIDocument >, nsLoadCollector::DocumentEntry, nsLoadCollector::DocumentEntry >, nsBaseHashtable< nsUint32HashKey, nsTArray< nsRefPtr< MacOSFamilyEntry > >, nsTArray< nsRefPtr< MacOSFamilyEntry > > >, nsBaseHashtable< nsURIAndPrincipalHashKey, SheetLoadData *, SheetLoadData * >, nsBaseHashtable< nsISupportsHashKey, nsAutoPtr< nsTArray< E > >, nsTArray< E > * >, nsBaseHashtable< nsISupportsHashKey, nsAutoPtr< nsXFormsMDGNode >, nsXFormsMDGNode * >, nsBaseHashtable< nsCStringHashKey, nsAutoPtr< nsPresState >, nsPresState * >, nsBaseHashtable< nsVoidPtrHashKey, ProfilerFunction *, ProfilerFunction * >, nsBaseHashtable< nsISupportsHashKey, nsCSSFrameConstructor::RestyleData, nsCSSFrameConstructor::RestyleData >, nsBaseHashtable< nsCStringHashKey, nsCString, nsCString >, nsBaseHashtable< nsStringHashKey, unsigned char, unsigned char >, nsBaseHashtable< nsMorkReader::IDKey, nsTArray< nsCString > *, nsTArray< nsCString > * >, nsBaseHashtable< struct KeyClass, DataType, UserDataType >, nsBaseHashtable< nsISupportsHashKey, nsCString, nsCString >, nsBaseHashtable< nsUint32HashKey, float, float >, nsBaseHashtable< nsStringHashKey, nsRefPtr< FontFamily >, nsRefPtr< FontFamily > >, nsBaseHashtable< nsISupportsHashKey, unsigned, unsigned >, nsBaseHashtable< nsMorkReader::IDKey, nsCString, nsCString >, nsBaseHashtable< nsISupportsHashKey, nsRefPtr< RDFBindingSet >, RDFBindingSet * >, nsBaseHashtable< nsStringHashKey, nsRefPtr< MacOSFamilyEntry >, MacOSFamilyEntry * >, nsBaseHashtable< nsCStringHashKey, unsigned, unsigned >, nsBaseHashtable< nsISupportsHashKey, DIR_Server *, DIR_Server * >, nsBaseHashtable< nsHashableHashKey, PRInt64, PRInt64 >, nsBaseHashtable< struct KeyClass, nsAutoPtr< T >, T * >, nsBaseHashtable< nsHashableHashKey, mozJSComponentLoader::ModuleEntry *, mozJSComponentLoader::ModuleEntry * >, nsBaseHashtable< nsIDHashKey, nsRefPtr< ipcTargetData >, ipcTargetData * >, nsBaseHashtable< nsISupportsHashKey, EventNameMapping, EventNameMapping >, nsBaseHashtable< nsCStringHashKey, nsTArray< nsRefPtr< FontEntry > >, nsTArray< nsRefPtr< FontEntry > > >, nsBaseHashtable< nsUint32HashKey, nsAutoPtr< nsCOMArray< nsXULTemplateResultRDF > >, nsCOMArray< nsXULTemplateResultRDF > * >, nsBaseHashtable< struct KeyClass, nsRefPtr< RefPtr >, RefPtr * >, nsBaseHashtable< nsISupportsHashKey, nsRefPtr< nsXBLBinding >, nsXBLBinding * >, nsBaseHashtable< nsVoidPtrHashKey, nsAutoPtr< DConnectInstance >, DConnectInstance * >, nsBaseHashtable< nsVoidPtrHashKey, nsAutoPtr< nsOfflineCacheUpdateService::PendingUpdate >, nsOfflineCacheUpdateService::PendingUpdate * >, nsBaseHashtable< nsNameSpaceKey, unsigned, unsigned >, nsBaseHashtable< nsCStringHashKey, nsRefPtr< nsDownload >, nsDownload * >, nsBaseHashtable< nsTrimInt64HashKey, PRInt64, PRInt64 >, nsBaseHashtable< nsISupportsHashKey, nsRefPtr< nsXMLBindingSet >, nsXMLBindingSet * >, nsBaseHashtable< nsStringHashKey, nsAutoPtr< nsCounterList >, nsCounterList * >, nsBaseHashtable< nsVoidPtrHashKey, void *, void * >, nsBaseHashtable< nsUint32HashKey, nsAutoPtr< gfxPangoFontWrapper >, gfxPangoFontWrapper * >, nsBaseHashtable< nsCStringHashKey, nsNavHistory::RedirectInfo, nsNavHistory::RedirectInfo >, nsBaseHashtable< nsURIHashKey, CacheScriptEntry, CacheScriptEntry >, nsBaseHashtable< nsISupportsHashKey, nsRefPtr< gfxASurface >, gfxASurface * >, nsBaseHashtable< nsISupportsHashKey, nsAutoPtr< nsXFormsNodeState >, nsXFormsNodeState * >, nsBaseHashtable< nsISupportsHashKey, nsAutoPtr< nsString >, nsString * >, nsBaseHashtable< nsHashableHashKey, nsNativeModuleLoader::NativeLoadData, nsNativeModuleLoader::NativeLoadData >, nsBaseHashtable< nsCStringHashKey, PRInt64, PRInt64 >, nsBaseHashtable< nsHashableHashKey, nsAutoPtr< mozJSComponentLoader::ModuleEntry >, mozJSComponentLoader::ModuleEntry * >, nsBaseHashtable< nsCStringHashKey, nsAutoPtr< EmbedPasswordMgr::SignonHashEntry >, EmbedPasswordMgr::SignonHashEntry * >, nsBaseHashtable< nsISupportsHashKey, nsRefPtr< nsXFormsControlListItem >, nsXFormsControlListItem * >, nsBaseHashtable< nsISupportsHashKey, nsAutoPtr< nsCOMArray< nsXULTemplateResultRDF > >, nsCOMArray< nsXULTemplateResultRDF > * >, nsBaseHashtableMT< struct KeyClass, DataType, DataType >, nsBaseHashtableMT< struct KeyClass, nsAutoPtr< T >, T * >, and nsBaseHashtableMT< struct KeyClass, nsRefPtr< RefPtr >, RefPtr * >.

template<class EntryType>
EntryType* nsTHashtable< EntryType >::GetEntry ( KeyType  aKey  )  const [inline]

Parameters:
aKey the key to retrieve
Returns:
pointer to the entry class, if the key exists; nsnull if the key doesn't exist

template<class EntryType>
EntryType* nsTHashtable< EntryType >::PutEntry ( KeyType  aKey  )  [inline]

Parameters:
aKey the key to retrieve
Returns:
pointer to the entry class retreived; nsnull only if memory can't be allocated

template<class EntryType>
void nsTHashtable< EntryType >::RemoveEntry ( KeyType  aKey  )  [inline]

Parameters:
aKey of the entry to remove

template<class EntryType>
void nsTHashtable< EntryType >::RawRemoveEntry ( EntryType aEntry  )  [inline]

This is a low-level method, and is not recommended unless you know what you're doing and you need the extra performance. This method can be used during enumeration, while RemoveEntry() cannot.

Parameters:
aEntry the entry-pointer to remove (obtained from GetEntry or the enumerator

template<class EntryType>
PRUint32 nsTHashtable< EntryType >::EnumerateEntries ( Enumerator  enumFunc,
void *  userArg 
) [inline]

Parameters:
enumFunc the Enumerator function to call
userArg a pointer to pass to the Enumerator function
Returns:
the number of entries actually enumerated

template<class EntryType>
void nsTHashtable< EntryType >::Clear (  )  [inline]

Reimplemented in nsBaseHashtable< KeyClass, DataType, UserDataType >, nsBaseHashtableMT< KeyClass, DataType, UserDataType >, nsBaseHashtable< JavaClassMemberKey, void *, void * >, nsBaseHashtable< nsCStringHashKey, unsigned char, unsigned char >, nsBaseHashtable< struct KeyClass, DataType, DataType >, nsBaseHashtable< nsVoidPtrHashKey, nsISupports *, nsISupports * >, nsBaseHashtable< FunctionKey, nsAutoPtr< ProfilerFunction >, ProfilerFunction * >, nsBaseHashtable< nsStringHashKey, nsTreeImageCacheEntry, nsTreeImageCacheEntry >, nsBaseHashtable< nsPtrHashKey< nsIDOMWindow >, unsigned, unsigned >, nsBaseHashtable< nsISupportsHashKey, nsLoadCollector::RequestEntry, nsLoadCollector::RequestEntry >, nsBaseHashtable< nsCharPtrHashKey, nsAutoPtr< ProfilerFile >, ProfilerFile * >, nsBaseHashtable< nsCStringHashKey, nsRefPtr< gfxFontNameList >, nsRefPtr< gfxFontNameList > >, nsBaseHashtable< nsStringHashKey, nsAutoPtr< nsCString >, nsCString * >, nsBaseHashtable< nsStringHashKey, nsAutoPtr< nsSVGFilterInstance::ImageEntry >, nsSVGFilterInstance::ImageEntry * >, nsBaseHashtable< nsStringHashKey, nsAutoPtr< nsRadioGroupStruct >, nsRadioGroupStruct * >, nsBaseHashtable< nsStringHashKey, nsString, nsString >, nsBaseHashtable< nsISupportsHashKey, nsTemplateMatch *, nsTemplateMatch * >, nsBaseHashtable< nsDepCharHashKey, nsAutoPtr< CategoryNode >, CategoryNode * >, nsBaseHashtable< nsUint32HashKey, nsAutoPtr< nsMAPISession >, nsMAPISession * >, nsBaseHashtable< nsTrimInt64HashKey, nsTArray< E > *, nsTArray< E > * >, nsBaseHashtable< nsStringHashKey, unsigned, unsigned >, nsBaseHashtable< nsCStringHashKey, nsISupports *, nsISupports * >, nsBaseHashtable< nsCharPtrHashKey, nsAutoPtr< nsCOMArray< nsIObserver > >, nsCOMArray< nsIObserver > * >, nsBaseHashtable< nsURIHashKey, unsigned, unsigned >, nsBaseHashtable< nsURIHashKey, nsRefPtr< nsXULPrototypeDocument >, nsXULPrototypeDocument * >, nsBaseHashtable< nsVoidPtrHashKey, unsigned, unsigned >, nsBaseHashtable< nsVoidPtrHashKey, nsRefPtr< nsThread >, nsThread * >, nsBaseHashtable< nsTrimInt64HashKey, unsigned char, unsigned char >, nsBaseHashtable< nsPtrHashKey< nsIDocument >, nsLoadCollector::DocumentEntry, nsLoadCollector::DocumentEntry >, nsBaseHashtable< nsUint32HashKey, nsTArray< nsRefPtr< MacOSFamilyEntry > >, nsTArray< nsRefPtr< MacOSFamilyEntry > > >, nsBaseHashtable< nsURIAndPrincipalHashKey, SheetLoadData *, SheetLoadData * >, nsBaseHashtable< nsISupportsHashKey, nsAutoPtr< nsTArray< E > >, nsTArray< E > * >, nsBaseHashtable< nsISupportsHashKey, nsAutoPtr< nsXFormsMDGNode >, nsXFormsMDGNode * >, nsBaseHashtable< nsCStringHashKey, nsAutoPtr< nsPresState >, nsPresState * >, nsBaseHashtable< nsVoidPtrHashKey, ProfilerFunction *, ProfilerFunction * >, nsBaseHashtable< nsISupportsHashKey, nsCSSFrameConstructor::RestyleData, nsCSSFrameConstructor::RestyleData >, nsBaseHashtable< nsCStringHashKey, nsCString, nsCString >, nsBaseHashtable< nsStringHashKey, unsigned char, unsigned char >, nsBaseHashtable< nsMorkReader::IDKey, nsTArray< nsCString > *, nsTArray< nsCString > * >, nsBaseHashtable< struct KeyClass, DataType, UserDataType >, nsBaseHashtable< nsISupportsHashKey, nsCString, nsCString >, nsBaseHashtable< nsUint32HashKey, float, float >, nsBaseHashtable< nsStringHashKey, nsRefPtr< FontFamily >, nsRefPtr< FontFamily > >, nsBaseHashtable< nsISupportsHashKey, unsigned, unsigned >, nsBaseHashtable< nsMorkReader::IDKey, nsCString, nsCString >, nsBaseHashtable< nsISupportsHashKey, nsRefPtr< RDFBindingSet >, RDFBindingSet * >, nsBaseHashtable< nsStringHashKey, nsRefPtr< MacOSFamilyEntry >, MacOSFamilyEntry * >, nsBaseHashtable< nsCStringHashKey, unsigned, unsigned >, nsBaseHashtable< nsISupportsHashKey, DIR_Server *, DIR_Server * >, nsBaseHashtable< nsHashableHashKey, PRInt64, PRInt64 >, nsBaseHashtable< struct KeyClass, nsAutoPtr< T >, T * >, nsBaseHashtable< nsHashableHashKey, mozJSComponentLoader::ModuleEntry *, mozJSComponentLoader::ModuleEntry * >, nsBaseHashtable< nsIDHashKey, nsRefPtr< ipcTargetData >, ipcTargetData * >, nsBaseHashtable< nsISupportsHashKey, EventNameMapping, EventNameMapping >, nsBaseHashtable< nsCStringHashKey, nsTArray< nsRefPtr< FontEntry > >, nsTArray< nsRefPtr< FontEntry > > >, nsBaseHashtable< nsUint32HashKey, nsAutoPtr< nsCOMArray< nsXULTemplateResultRDF > >, nsCOMArray< nsXULTemplateResultRDF > * >, nsBaseHashtable< struct KeyClass, nsRefPtr< RefPtr >, RefPtr * >, nsBaseHashtable< nsISupportsHashKey, nsRefPtr< nsXBLBinding >, nsXBLBinding * >, nsBaseHashtable< nsVoidPtrHashKey, nsAutoPtr< DConnectInstance >, DConnectInstance * >, nsBaseHashtable< nsVoidPtrHashKey, nsAutoPtr< nsOfflineCacheUpdateService::PendingUpdate >, nsOfflineCacheUpdateService::PendingUpdate * >, nsBaseHashtable< nsNameSpaceKey, unsigned, unsigned >, nsBaseHashtable< nsCStringHashKey, nsRefPtr< nsDownload >, nsDownload * >, nsBaseHashtable< nsTrimInt64HashKey, PRInt64, PRInt64 >, nsBaseHashtable< nsISupportsHashKey, nsRefPtr< nsXMLBindingSet >, nsXMLBindingSet * >, nsBaseHashtable< nsStringHashKey, nsAutoPtr< nsCounterList >, nsCounterList * >, nsBaseHashtable< nsVoidPtrHashKey, void *, void * >, nsBaseHashtable< nsUint32HashKey, nsAutoPtr< gfxPangoFontWrapper >, gfxPangoFontWrapper * >, nsBaseHashtable< nsCStringHashKey, nsNavHistory::RedirectInfo, nsNavHistory::RedirectInfo >, nsBaseHashtable< nsURIHashKey, CacheScriptEntry, CacheScriptEntry >, nsBaseHashtable< nsISupportsHashKey, nsRefPtr< gfxASurface >, gfxASurface * >, nsBaseHashtable< nsISupportsHashKey, nsAutoPtr< nsXFormsNodeState >, nsXFormsNodeState * >, nsBaseHashtable< nsISupportsHashKey, nsAutoPtr< nsString >, nsString * >, nsBaseHashtable< nsHashableHashKey, nsNativeModuleLoader::NativeLoadData, nsNativeModuleLoader::NativeLoadData >, nsBaseHashtable< nsCStringHashKey, PRInt64, PRInt64 >, nsBaseHashtable< nsHashableHashKey, nsAutoPtr< mozJSComponentLoader::ModuleEntry >, mozJSComponentLoader::ModuleEntry * >, nsBaseHashtable< nsCStringHashKey, nsAutoPtr< EmbedPasswordMgr::SignonHashEntry >, EmbedPasswordMgr::SignonHashEntry * >, nsBaseHashtable< nsISupportsHashKey, nsRefPtr< nsXFormsControlListItem >, nsXFormsControlListItem * >, nsBaseHashtable< nsISupportsHashKey, nsAutoPtr< nsCOMArray< nsXULTemplateResultRDF > >, nsCOMArray< nsXULTemplateResultRDF > * >, nsBaseHashtableMT< struct KeyClass, DataType, DataType >, nsBaseHashtableMT< struct KeyClass, nsAutoPtr< T >, T * >, and nsBaseHashtableMT< struct KeyClass, nsRefPtr< RefPtr >, RefPtr * >.

template<class EntryType>
static const void* PR_CALLBACK nsTHashtable< EntryType >::s_GetKey ( PLDHashTable table,
PLDHashEntryHdr entry 
) [static, protected]

template<class EntryType>
PLDHashNumber nsTHashtable< EntryType >::s_HashKey ( PLDHashTable table,
const void *  key 
) [inline, static, protected]

template<class EntryType>
PRBool nsTHashtable< EntryType >::s_MatchEntry ( PLDHashTable table,
const PLDHashEntryHdr entry,
const void *  key 
) [inline, static, protected]

template<class EntryType>
void nsTHashtable< EntryType >::s_CopyEntry ( PLDHashTable table,
const PLDHashEntryHdr from,
PLDHashEntryHdr to 
) [inline, static, protected]

template<class EntryType>
void nsTHashtable< EntryType >::s_ClearEntry ( PLDHashTable table,
PLDHashEntryHdr entry 
) [inline, static, protected]

template<class EntryType>
PRBool nsTHashtable< EntryType >::s_InitEntry ( PLDHashTable table,
PLDHashEntryHdr entry,
const void *  key 
) [inline, static, protected]

template<class EntryType>
PLDHashOperator nsTHashtable< EntryType >::s_EnumStub ( PLDHashTable table,
PLDHashEntryHdr entry,
PRUint32  number,
void *  arg 
) [inline, static, protected]

Reimplemented in nsBaseHashtable< KeyClass, DataType, UserDataType >, nsBaseHashtable< JavaClassMemberKey, void *, void * >, nsBaseHashtable< nsCStringHashKey, unsigned char, unsigned char >, nsBaseHashtable< struct KeyClass, DataType, DataType >, nsBaseHashtable< nsVoidPtrHashKey, nsISupports *, nsISupports * >, nsBaseHashtable< FunctionKey, nsAutoPtr< ProfilerFunction >, ProfilerFunction * >, nsBaseHashtable< nsStringHashKey, nsTreeImageCacheEntry, nsTreeImageCacheEntry >, nsBaseHashtable< nsPtrHashKey< nsIDOMWindow >, unsigned, unsigned >, nsBaseHashtable< nsISupportsHashKey, nsLoadCollector::RequestEntry, nsLoadCollector::RequestEntry >, nsBaseHashtable< nsCharPtrHashKey, nsAutoPtr< ProfilerFile >, ProfilerFile * >, nsBaseHashtable< nsCStringHashKey, nsRefPtr< gfxFontNameList >, nsRefPtr< gfxFontNameList > >, nsBaseHashtable< nsStringHashKey, nsAutoPtr< nsCString >, nsCString * >, nsBaseHashtable< nsStringHashKey, nsAutoPtr< nsSVGFilterInstance::ImageEntry >, nsSVGFilterInstance::ImageEntry * >, nsBaseHashtable< nsStringHashKey, nsAutoPtr< nsRadioGroupStruct >, nsRadioGroupStruct * >, nsBaseHashtable< nsStringHashKey, nsString, nsString >, nsBaseHashtable< nsISupportsHashKey, nsTemplateMatch *, nsTemplateMatch * >, nsBaseHashtable< nsDepCharHashKey, nsAutoPtr< CategoryNode >, CategoryNode * >, nsBaseHashtable< nsUint32HashKey, nsAutoPtr< nsMAPISession >, nsMAPISession * >, nsBaseHashtable< nsTrimInt64HashKey, nsTArray< E > *, nsTArray< E > * >, nsBaseHashtable< nsStringHashKey, unsigned, unsigned >, nsBaseHashtable< nsCStringHashKey, nsISupports *, nsISupports * >, nsBaseHashtable< nsCharPtrHashKey, nsAutoPtr< nsCOMArray< nsIObserver > >, nsCOMArray< nsIObserver > * >, nsBaseHashtable< nsURIHashKey, unsigned, unsigned >, nsBaseHashtable< nsURIHashKey, nsRefPtr< nsXULPrototypeDocument >, nsXULPrototypeDocument * >, nsBaseHashtable< nsVoidPtrHashKey, unsigned, unsigned >, nsBaseHashtable< nsVoidPtrHashKey, nsRefPtr< nsThread >, nsThread * >, nsBaseHashtable< nsTrimInt64HashKey, unsigned char, unsigned char >, nsBaseHashtable< nsPtrHashKey< nsIDocument >, nsLoadCollector::DocumentEntry, nsLoadCollector::DocumentEntry >, nsBaseHashtable< nsUint32HashKey, nsTArray< nsRefPtr< MacOSFamilyEntry > >, nsTArray< nsRefPtr< MacOSFamilyEntry > > >, nsBaseHashtable< nsURIAndPrincipalHashKey, SheetLoadData *, SheetLoadData * >, nsBaseHashtable< nsISupportsHashKey, nsAutoPtr< nsTArray< E > >, nsTArray< E > * >, nsBaseHashtable< nsISupportsHashKey, nsAutoPtr< nsXFormsMDGNode >, nsXFormsMDGNode * >, nsBaseHashtable< nsCStringHashKey, nsAutoPtr< nsPresState >, nsPresState * >, nsBaseHashtable< nsVoidPtrHashKey, ProfilerFunction *, ProfilerFunction * >, nsBaseHashtable< nsISupportsHashKey, nsCSSFrameConstructor::RestyleData, nsCSSFrameConstructor::RestyleData >, nsBaseHashtable< nsCStringHashKey, nsCString, nsCString >, nsBaseHashtable< nsStringHashKey, unsigned char, unsigned char >, nsBaseHashtable< nsMorkReader::IDKey, nsTArray< nsCString > *, nsTArray< nsCString > * >, nsBaseHashtable< struct KeyClass, DataType, UserDataType >, nsBaseHashtable< nsISupportsHashKey, nsCString, nsCString >, nsBaseHashtable< nsUint32HashKey, float, float >, nsBaseHashtable< nsStringHashKey, nsRefPtr< FontFamily >, nsRefPtr< FontFamily > >, nsBaseHashtable< nsISupportsHashKey, unsigned, unsigned >, nsBaseHashtable< nsMorkReader::IDKey, nsCString, nsCString >, nsBaseHashtable< nsISupportsHashKey, nsRefPtr< RDFBindingSet >, RDFBindingSet * >, nsBaseHashtable< nsStringHashKey, nsRefPtr< MacOSFamilyEntry >, MacOSFamilyEntry * >, nsBaseHashtable< nsCStringHashKey, unsigned, unsigned >, nsBaseHashtable< nsISupportsHashKey, DIR_Server *, DIR_Server * >, nsBaseHashtable< nsHashableHashKey, PRInt64, PRInt64 >, nsBaseHashtable< struct KeyClass, nsAutoPtr< T >, T * >, nsBaseHashtable< nsHashableHashKey, mozJSComponentLoader::ModuleEntry *, mozJSComponentLoader::ModuleEntry * >, nsBaseHashtable< nsIDHashKey, nsRefPtr< ipcTargetData >, ipcTargetData * >, nsBaseHashtable< nsISupportsHashKey, EventNameMapping, EventNameMapping >, nsBaseHashtable< nsCStringHashKey, nsTArray< nsRefPtr< FontEntry > >, nsTArray< nsRefPtr< FontEntry > > >, nsBaseHashtable< nsUint32HashKey, nsAutoPtr< nsCOMArray< nsXULTemplateResultRDF > >, nsCOMArray< nsXULTemplateResultRDF > * >, nsBaseHashtable< struct KeyClass, nsRefPtr< RefPtr >, RefPtr * >, nsBaseHashtable< nsISupportsHashKey, nsRefPtr< nsXBLBinding >, nsXBLBinding * >, nsBaseHashtable< nsVoidPtrHashKey, nsAutoPtr< DConnectInstance >, DConnectInstance * >, nsBaseHashtable< nsVoidPtrHashKey, nsAutoPtr< nsOfflineCacheUpdateService::PendingUpdate >, nsOfflineCacheUpdateService::PendingUpdate * >, nsBaseHashtable< nsNameSpaceKey, unsigned, unsigned >, nsBaseHashtable< nsCStringHashKey, nsRefPtr< nsDownload >, nsDownload * >, nsBaseHashtable< nsTrimInt64HashKey, PRInt64, PRInt64 >, nsBaseHashtable< nsISupportsHashKey, nsRefPtr< nsXMLBindingSet >, nsXMLBindingSet * >, nsBaseHashtable< nsStringHashKey, nsAutoPtr< nsCounterList >, nsCounterList * >, nsBaseHashtable< nsVoidPtrHashKey, void *, void * >, nsBaseHashtable< nsUint32HashKey, nsAutoPtr< gfxPangoFontWrapper >, gfxPangoFontWrapper * >, nsBaseHashtable< nsCStringHashKey, nsNavHistory::RedirectInfo, nsNavHistory::RedirectInfo >, nsBaseHashtable< nsURIHashKey, CacheScriptEntry, CacheScriptEntry >, nsBaseHashtable< nsISupportsHashKey, nsRefPtr< gfxASurface >, gfxASurface * >, nsBaseHashtable< nsISupportsHashKey, nsAutoPtr< nsXFormsNodeState >, nsXFormsNodeState * >, nsBaseHashtable< nsISupportsHashKey, nsAutoPtr< nsString >, nsString * >, nsBaseHashtable< nsHashableHashKey, nsNativeModuleLoader::NativeLoadData, nsNativeModuleLoader::NativeLoadData >, nsBaseHashtable< nsCStringHashKey, PRInt64, PRInt64 >, nsBaseHashtable< nsHashableHashKey, nsAutoPtr< mozJSComponentLoader::ModuleEntry >, mozJSComponentLoader::ModuleEntry * >, nsBaseHashtable< nsCStringHashKey, nsAutoPtr< EmbedPasswordMgr::SignonHashEntry >, EmbedPasswordMgr::SignonHashEntry * >, nsBaseHashtable< nsISupportsHashKey, nsRefPtr< nsXFormsControlListItem >, nsXFormsControlListItem * >, and nsBaseHashtable< nsISupportsHashKey, nsAutoPtr< nsCOMArray< nsXULTemplateResultRDF > >, nsCOMArray< nsXULTemplateResultRDF > * >.


Member Data Documentation

template<class EntryType>
PLDHashTable nsTHashtable< EntryType >::mTable [protected]


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

Generated Mozilla by doxygen 1.5.6