#include <nsClassHashtable.h>
| KeyClass | a wrapper-class for the hashtable key, see nsHashKeys.h for a complete specification. | |
| Class | the class-type being wrapped |
Public Types | |
| typedef KeyClass::KeyType | KeyType |
| KeyType is typedef'ed for ease of use. | |
| typedef T * | UserDataType |
Public Member Functions | |
| PRBool | Get (KeyType aKey, UserDataType *pData) const |
| typedef KeyClass::KeyType nsClassHashtable< KeyClass, T >::KeyType |
Reimplemented from nsBaseHashtable< KeyClass, DataType, UserDataType >.
| typedef T* nsClassHashtable< KeyClass, T >::UserDataType |
| PRBool nsClassHashtable< KeyClass, T >::Get | ( | KeyType | aKey, | |
| UserDataType * | pData | |||
| ) | const [inline] |
retrieve the value for a key.
| aKey | the key to retreive | |
| pData | data associated with this key will be placed at this pointer. If you only need to check if the key exists, pData may be null. |
| pData | if the key doesn't exist, pData will be set to nsnull. |
1.5.6