Back to index

lightning-sunbird  0.9+nobinonly
Static Public Member Functions | Public Attributes
LiteralHashEntry Struct Reference
Inheritance diagram for LiteralHashEntry:
Inheritance graph
Collaboration diagram for LiteralHashEntry:
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

const PRUnicharmKey
PLDHashNumber keyHash

Detailed Description

Definition at line 260 of file nsRDFService.cpp.

Member Function Documentation

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

Definition at line 265 of file nsRDFService.cpp.

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

Definition at line 272 of file nsRDFService.cpp.

        return nsCRT::HashCode(NS_STATIC_CAST(const PRUnichar *, key));
static PRBool PR_CALLBACK LiteralHashEntry::MatchEntry ( PLDHashTable table,
const PLDHashEntryHdr hdr,
const void key 
) [inline, static]

Definition at line 278 of file nsRDFService.cpp.

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

        return 0 == nsCRT::strcmp(NS_STATIC_CAST(const PRUnichar *, key),

Member Data Documentation

Definition at line 113 of file pldhash.h.

Definition at line 262 of file nsRDFService.cpp.

Definition at line 261 of file nsRDFService.cpp.

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