Back to index

lightning-sunbird  0.9+nobinonly
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Private Attributes
JavaClassMemberKey Class Reference
Inheritance diagram for JavaClassMemberKey:
Inheritance graph
Collaboration diagram for JavaClassMemberKey:
Collaboration graph

List of all members.

Public Types

typedef const JavaClassMemberKeyType
typedef const JavaClassMemberKeyTypePointer

Public Member Functions

 JavaClassMemberKey (KeyTypePointer aKey)
 JavaClassMemberKey (const JavaClassMemberKey &toCopy)
 ~JavaClassMemberKey ()
KeyType GetKey () const
KeyTypePointer GetKeyPointer () const
PRBool KeyEquals (KeyTypePointer aKey) const

Static Public Member Functions

static KeyTypePointer KeyToPointer (KeyType aKey)
static PLDHashNumber HashKey (KeyTypePointer aKey)

Public Attributes

PLDHashNumber keyHash

Private Attributes

const JavaClassMember mValue

Detailed Description

Definition at line 234 of file ProxyJNI.cpp.

Member Typedef Documentation

Definition at line 237 of file ProxyJNI.cpp.

Definition at line 238 of file ProxyJNI.cpp.

Member Enumeration Documentation

anonymous enum

Definition at line 255 of file ProxyJNI.cpp.

Constructor & Destructor Documentation

Definition at line 240 of file ProxyJNI.cpp.

: mValue(*aKey) { }

Definition at line 241 of file ProxyJNI.cpp.

: mValue(toCopy.mValue) { }

Definition at line 242 of file ProxyJNI.cpp.

{ }

Member Function Documentation

KeyType JavaClassMemberKey::GetKey ( ) const [inline]

Definition at line 244 of file ProxyJNI.cpp.

{ return mValue; }

Definition at line 245 of file ProxyJNI.cpp.

{ return &mValue; }
static PLDHashNumber JavaClassMemberKey::HashKey ( KeyTypePointer  aKey) [inline, static]

Definition at line 249 of file ProxyJNI.cpp.

    PRUint32 v1 = NS_PTR_TO_INT32(aKey->clazz);
    PRUint32 v2 = NS_PTR_TO_INT32(aKey->memberID);
    return v1 ^ v2;

Definition at line 246 of file ProxyJNI.cpp.

{ return aKey->clazz == mValue.clazz && aKey->memberID == mValue.memberID; }
static KeyTypePointer JavaClassMemberKey::KeyToPointer ( KeyType  aKey) [inline, static]

Definition at line 248 of file ProxyJNI.cpp.

{ return &aKey; }

Member Data Documentation

Definition at line 113 of file pldhash.h.

Definition at line 258 of file ProxyJNI.cpp.

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