Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

CategoryLeaf Class Reference

#include <nsCategoryManager.h>

Inheritance diagram for CategoryLeaf:


List of all members.

Detailed Description

a "leaf-node", managed by the nsCategoryNode hashtable.

we need to keep a "persistent value" (which will be written to the registry) and a non-persistent value (for the current runtime): these are usually the same, except when aPersist==PR_FALSE. The strings are permanently arena- allocated, and will never go away.

Definition at line 63 of file nsCategoryManager.h.

Public Types

typedef const char * KeyType
typedef const char * KeyTypePointer

Public Member Functions

 CategoryLeaf (const char *aKey)
const char * GetKey () const
const char * GetKeyPointer () const
PRBool KeyEquals (const char *aKey) const

Static Public Member Functions

static PLDHashNumber HashKey (const char *aKey)
static const char * KeyToPointer (const char *aKey)

Public Attributes

PLDHashNumber keyHash
const char * nonpValue
const char * pValue

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

Generated by  Doxygen 1.6.0   Back to index