Logo Search packages:      
Sourcecode: xulrunner version File versions  Download package

nsStringHashKey Class Reference

#include <nsHashKeys.h>

Inheritance diagram for nsStringHashKey:

List of all members.


Detailed Description

hashkey wrapper using nsAString KeyType

See also:
nsTHashtable::EntryType for specification

Definition at line 84 of file nsHashKeys.h.


Public Types

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

Public Member Functions

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

Static Public Member Functions

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

Public Attributes

PLDHashNumber keyHash

Private Attributes

const nsString mStr

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

Generated by  Doxygen 1.6.0   Back to index