Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Protected Attributes
FunctionKey Class Reference

List of all members.

Public Member Functions

 FunctionKey (uintN aLineno, uintN aExtent)
 ~FunctionKey (void)
PRUint32 HashCode (void) const
PRBool Equals (const nsHashKey *aKey) const
nsHashKey * Clone () const

Protected Attributes

uintN mLineno
uintN mExtent

Detailed Description

Definition at line 47 of file nsXPCToolsProfiler.cpp.


Constructor & Destructor Documentation

FunctionKey::FunctionKey ( uintN  aLineno,
uintN  aExtent 
) [inline]

Definition at line 53 of file nsXPCToolsProfiler.cpp.

        : mLineno(aLineno), mExtent(aExtent) {}

Here is the caller graph for this function:

Definition at line 56 of file nsXPCToolsProfiler.cpp.

{}

Member Function Documentation

nsHashKey* FunctionKey::Clone ( void  ) const [inline]

Definition at line 63 of file nsXPCToolsProfiler.cpp.

        {return new FunctionKey(mLineno, mExtent);}

Here is the call graph for this function:

PRBool FunctionKey::Equals ( const nsHashKey *  aKey) const [inline]

Definition at line 60 of file nsXPCToolsProfiler.cpp.

        {const FunctionKey* o = (const FunctionKey*) aKey; 
         return (mLineno == o->mLineno) && (mExtent == o->mExtent);}
PRUint32 FunctionKey::HashCode ( void  ) const [inline]

Definition at line 58 of file nsXPCToolsProfiler.cpp.

        {return (17*mLineno) + (7*mExtent);}

Member Data Documentation

Definition at line 50 of file nsXPCToolsProfiler.cpp.

Definition at line 49 of file nsXPCToolsProfiler.cpp.


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