nsStringHashKey Class Reference

hashkey wrapper using nsAString KeyType More...

#include <nsHashKeys.h>

Inheritance diagram for nsStringHashKey:
Inheritance graph
[legend]
Collaboration diagram for nsStringHashKey:
Collaboration graph
[legend]

List of all members.

Public Types

enum  { ALLOW_MEMMOVE = PR_TRUE }
typedef const nsAStringKeyType
typedef const nsAStringKeyTypePointer

Public Member Functions

 nsStringHashKey (KeyTypePointer aStr)
 nsStringHashKey (const nsStringHashKey &toCopy)
 ~nsStringHashKey ()
KeyType GetKey () const
PRBool KeyEquals (const KeyTypePointer aKey) const

Static Public Member Functions

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

Detailed Description

hashkey wrapper using nsAString KeyType

See also:
nsTHashtable::EntryType for specification

Member Typedef Documentation


Member Enumeration Documentation

anonymous enum
Enumerator:
ALLOW_MEMMOVE 

Constructor & Destructor Documentation

nsStringHashKey::nsStringHashKey ( KeyTypePointer  aStr  )  [inline]
nsStringHashKey::nsStringHashKey ( const nsStringHashKey toCopy  )  [inline]
nsStringHashKey::~nsStringHashKey (  )  [inline]

Member Function Documentation

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

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

Generated on 3 May 2010 for Mozilla by  doxygen 1.6.1