Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

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 69 of file nsHashKeys.h.


Public Types

enum  { ALLOW_MEMMOVE = PR_TRUE }
typedef const nsAString & KeyType
typedef const nsAString * KeyTypePointer

Public Member Functions

KeyType GetKey () const
KeyTypePointer GetKeyPointer () 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