Back to index

lightning-sunbird  0.9+nobinonly
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes
nsChromeRegistry::OverlayListEntry Class Reference

#include <nsChromeRegistry.h>

Inheritance diagram for nsChromeRegistry::OverlayListEntry:
Inheritance graph
Collaboration diagram for nsChromeRegistry::OverlayListEntry:
Collaboration graph

List of all members.

Public Types

typedef nsURIHashKey::KeyType KeyType

Public Member Functions

 OverlayListEntry (KeyTypePointer aKey)
 OverlayListEntry (OverlayListEntry &toCopy)
 ~OverlayListEntry ()
void AddURI (nsIURI *aURI)
nsIURIGetKey () const
const nsIURIGetKeyPointer () const
PRBool KeyEquals (const nsIURI *aKey) const

Static Public Member Functions

static const nsIURIKeyToPointer (nsIURI *aKey)
static PLDHashNumber HashKey (const nsIURI *aKey)

Public Attributes

nsCOMArray< nsIURImArray
PLDHashNumber keyHash

Detailed Description

Definition at line 199 of file nsChromeRegistry.h.

Member Typedef Documentation

Reimplemented from nsURIHashKey.

Definition at line 202 of file nsChromeRegistry.h.

Reimplemented from nsURIHashKey.

Definition at line 203 of file nsChromeRegistry.h.

Member Enumeration Documentation

anonymous enum [inherited]

Definition at line 79 of file nsURIHashKey.h.

Constructor & Destructor Documentation

Definition at line 205 of file nsChromeRegistry.h.

: nsURIHashKey(aKey) { }

Definition at line 206 of file nsChromeRegistry.h.

                                               : nsURIHashKey(toCopy),
                                                 mArray(toCopy.mArray) { }

Definition at line 208 of file nsChromeRegistry.h.

{ }

Member Function Documentation

Definition at line 394 of file nsChromeRegistry.cpp.

  PRInt32 i = mArray.Count();
  while (i--) {
    PRBool equals;
    if (NS_SUCCEEDED(aURI->Equals(mArray[i], &equals)) && equals)


Here is the caller graph for this function:

nsIURI* nsURIHashKey::GetKey ( ) const [inline, inherited]

Definition at line 61 of file nsURIHashKey.h.

{ return mKey; }
const nsIURI* nsURIHashKey::GetKeyPointer ( ) const [inline, inherited]

Definition at line 62 of file nsURIHashKey.h.

{ return mKey; }
static PLDHashNumber nsURIHashKey::HashKey ( const nsIURI aKey) [inline, static, inherited]

Definition at line 73 of file nsURIHashKey.h.

        nsCAutoString spec;
        return nsCRT::HashCode(spec.get());

Here is the call graph for this function:

PRBool nsURIHashKey::KeyEquals ( const nsIURI aKey) const [inline, inherited]

Definition at line 64 of file nsURIHashKey.h.

        PRBool eq;
        if (NS_SUCCEEDED(mKey->Equals(NS_CONST_CAST(nsIURI*,aKey), &eq))) {
            return eq;
        return PR_FALSE;
static const nsIURI* nsURIHashKey::KeyToPointer ( nsIURI aKey) [inline, static, inherited]

Definition at line 72 of file nsURIHashKey.h.

{ return aKey; }

Member Data Documentation

Definition at line 113 of file pldhash.h.

Definition at line 212 of file nsChromeRegistry.h.

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