Public Types | Public Member Functions | Static Public Member Functions

nsCStringHashKey Class Reference

hashkey wrapper using nsACString KeyType More...

#include <nsHashKeys.h>

Inheritance diagram for nsCStringHashKey:
Collaboration diagram for nsCStringHashKey:

List of all members.

Public Types

enum  { ALLOW_MEMMOVE = 1 }
typedef const nsACStringKeyType
typedef const nsACStringKeyTypePointer

Public Member Functions

 nsCStringHashKey (const nsACString *aStr)
 nsCStringHashKey (const nsCStringHashKey &toCopy)
 ~nsCStringHashKey ()
KeyType GetKey () const
PRBool KeyEquals (KeyTypePointer aKey) const

Static Public Member Functions

static KeyTypePointer KeyToPointer (KeyType aKey)
static PLDHashNumber HashKey (KeyTypePointer aKey)

Detailed Description

hashkey wrapper using nsACString KeyType

See also:
nsTHashtable::EntryType for specification

Member Typedef Documentation

Member Enumeration Documentation

anonymous enum

Constructor & Destructor Documentation

nsCStringHashKey::nsCStringHashKey ( const nsACString aStr  )  [inline]
nsCStringHashKey::nsCStringHashKey ( const nsCStringHashKey toCopy  )  [inline]
nsCStringHashKey::~nsCStringHashKey (  )  [inline]

Member Function Documentation

KeyType nsCStringHashKey::GetKey (  )  const [inline]
static PLDHashNumber nsCStringHashKey::HashKey ( KeyTypePointer  aKey  )  [inline, static]
PRBool nsCStringHashKey::KeyEquals ( KeyTypePointer  aKey  )  const [inline]
static KeyTypePointer nsCStringHashKey::KeyToPointer ( KeyType  aKey  )  [inline, static]

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