Back to index

lightning-sunbird  0.9+nobinonly
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes
EntityToUnicodeEntry Class Reference
Inheritance diagram for EntityToUnicodeEntry:
Inheritance graph
Collaboration diagram for EntityToUnicodeEntry:
Collaboration graph

List of all members.

Public Types

typedef const char * KeyType
typedef const char * KeyTypePointer

Public Member Functions

 EntityToUnicodeEntry (const char *aKey)
 EntityToUnicodeEntry (const EntityToUnicodeEntry &aEntry)
 ~EntityToUnicodeEntry ()
const char * GetKeyPointer () const
PRBool KeyEquals (const char *aEntity) const

Static Public Member Functions

static const char * KeyToPointer (const char *aEntity)
static PLDHashNumber HashKey (const char *aEntity)

Public Attributes

const EntityNodemNode
PLDHashNumber keyHash

Detailed Description

Definition at line 95 of file TestHashtables.cpp.

Member Typedef Documentation

Definition at line 98 of file TestHashtables.cpp.

Definition at line 99 of file TestHashtables.cpp.

Member Enumeration Documentation

anonymous enum

Definition at line 109 of file TestHashtables.cpp.

Constructor & Destructor Documentation

Definition at line 101 of file TestHashtables.cpp.

{ mNode = nsnull; }

Definition at line 102 of file TestHashtables.cpp.

{ mNode = aEntry.mNode; }

Definition at line 103 of file TestHashtables.cpp.

{ };

Member Function Documentation

const char* EntityToUnicodeEntry::GetKeyPointer ( ) const [inline]

Definition at line 105 of file TestHashtables.cpp.

{ return mNode->mStr; }
static PLDHashNumber EntityToUnicodeEntry::HashKey ( const char *  aEntity) [inline, static]

Definition at line 108 of file TestHashtables.cpp.

{ return nsCRT::HashCode(aEntity); }
PRBool EntityToUnicodeEntry::KeyEquals ( const char *  aEntity) const [inline]

Definition at line 106 of file TestHashtables.cpp.

{ return !strcmp(mNode->mStr, aEntity); }
static const char* EntityToUnicodeEntry::KeyToPointer ( const char *  aEntity) [inline, static]

Definition at line 107 of file TestHashtables.cpp.

{ return aEntity; }

Member Data Documentation

Definition at line 113 of file pldhash.h.

Definition at line 111 of file TestHashtables.cpp.

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