Back to index

lightning-sunbird  0.9+nobinonly
Static Public Member Functions | Public Attributes
IntHashEntry Struct Reference
Inheritance diagram for IntHashEntry:
Inheritance graph
Collaboration diagram for IntHashEntry:
Collaboration graph

List of all members.

Static Public Member Functions

static const void *PR_CALLBACK GetKey (PLDHashTable *table, PLDHashEntryHdr *hdr)
static PLDHashNumber PR_CALLBACK HashKey (PLDHashTable *table, const void *key)
static PRBool PR_CALLBACK MatchEntry (PLDHashTable *table, const PLDHashEntryHdr *hdr, const void *key)

Public Attributes

PRInt32 mKey
PLDHashNumber keyHash

Detailed Description

Definition at line 306 of file nsRDFService.cpp.

Member Function Documentation

static const void* PR_CALLBACK IntHashEntry::GetKey ( PLDHashTable table,
PLDHashEntryHdr hdr 
) [inline, static]

Definition at line 311 of file nsRDFService.cpp.

        IntHashEntry *entry = NS_STATIC_CAST(IntHashEntry *, hdr);
        return &entry->mKey;
static PLDHashNumber PR_CALLBACK IntHashEntry::HashKey ( PLDHashTable table,
const void key 
) [inline, static]

Definition at line 318 of file nsRDFService.cpp.

        return PLDHashNumber(*NS_STATIC_CAST(const PRInt32 *, key));
static PRBool PR_CALLBACK IntHashEntry::MatchEntry ( PLDHashTable table,
const PLDHashEntryHdr hdr,
const void key 
) [inline, static]

Definition at line 324 of file nsRDFService.cpp.

        const IntHashEntry *entry =
            NS_STATIC_CAST(const IntHashEntry *, hdr);

        return *NS_STATIC_CAST(const PRInt32 *, key) == entry->mKey;

Member Data Documentation

Definition at line 113 of file pldhash.h.

Definition at line 307 of file nsRDFService.cpp.

Definition at line 308 of file nsRDFService.cpp.

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