Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
FontNameKey Class Reference
Collaboration diagram for FontNameKey:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 FontNameKey (const nsString &aString)
virtual PRUint32 HashCode (void) const
virtual PRBool Equals (const nsHashKey *aKey) const
virtual nsHashKey * Clone (void) const

Public Attributes

nsAutoString mString

Detailed Description

Definition at line 765 of file nsDeviceContextMac.cpp.


Constructor & Destructor Documentation

Definition at line 777 of file nsDeviceContextMac.cpp.

{
       mString.Assign(aString);
}

Here is the caller graph for this function:


Member Function Documentation

nsHashKey * FontNameKey::Clone ( void  ) const [virtual]

Definition at line 795 of file nsDeviceContextMac.cpp.

{
  return new FontNameKey(mString);
}

Here is the call graph for this function:

PRBool FontNameKey::Equals ( const nsHashKey *  aKey) const [virtual]

Definition at line 789 of file nsDeviceContextMac.cpp.

PRUint32 FontNameKey::HashCode ( void  ) const [virtual]

Definition at line 782 of file nsDeviceContextMac.cpp.

{
  nsString str;
  ToLowerCase(mString, str);
  return nsCRT::HashCode(str.get());
}

Here is the call graph for this function:


Member Data Documentation

Definition at line 774 of file nsDeviceContextMac.cpp.


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