#include <nsHashtable.h>
Inheritance diagram for nsStringKey:
Collaboration diagram for nsStringKey:Public Types | |
| enum | Ownership { NEVER_OWN, OWN_CLONE, OWN } |
Public Member Functions | |
| nsStringKey (const nsStringKey &aKey) | |
| nsStringKey (const PRUnichar *str, PRInt32 strLen=-1, Ownership own=OWN_CLONE) | |
| nsStringKey (const nsAFlatString &str) | |
| nsStringKey (const nsAString &str) | |
| ~nsStringKey (void) | |
| PRUint32 | HashCode (void) const |
| PRBool | Equals (const nsHashKey *aKey) const |
| nsHashKey * | Clone () const |
| nsStringKey (nsIObjectInputStream *aStream, nsresult *aResult) | |
| nsresult | Write (nsIObjectOutputStream *aStream) const |
| const PRUnichar * | GetString () const |
| PRUint32 | GetStringLength () const |
Protected Attributes | |
| PRUnichar * | mStr |
| PRUint32 | mStrLen |
| Ownership | mOwnership |
| nsStringKey::nsStringKey | ( | const nsStringKey & | aKey | ) |
| nsStringKey::nsStringKey | ( | const nsAFlatString & | str | ) |
| nsStringKey::nsStringKey | ( | const nsAString & | str | ) |
| nsStringKey::~nsStringKey | ( | void | ) |
| nsStringKey::nsStringKey | ( | nsIObjectInputStream * | aStream, | |
| nsresult * | aResult | |||
| ) |
| const PRUnichar* nsStringKey::GetString | ( | ) | const [inline] |
| PRUint32 nsStringKey::GetStringLength | ( | ) | const [inline] |
| PRUint32 nsStringKey::HashCode | ( | void | ) | const [virtual] |
Implements nsHashKey.
| nsresult nsStringKey::Write | ( | nsIObjectOutputStream * | aStream | ) | const [virtual] |
Reimplemented from nsHashKey.
Ownership nsStringKey::mOwnership [protected] |
PRUnichar* nsStringKey::mStr [protected] |
PRUint32 nsStringKey::mStrLen [protected] |
1.7.1