Public Types | Public Member Functions | Public Attributes

nsExpirationState Struct Reference

Data used to track the expiration state of an object. More...

#include <nsExpirationTracker.h>

List of all members.

Public Types

enum  { NOT_TRACKED = (1U << 4) - 1, MAX_INDEX_IN_GENERATION = (1U << 28) - 1 }

Public Member Functions

 nsExpirationState ()
PRBool IsTracked ()

Public Attributes

PRUint32 mGeneration:4
 The generation that this object belongs to, or NOT_TRACKED.
PRUint32 mIndexInGeneration:28

Detailed Description

Data used to track the expiration state of an object.

We promise that this is 32 bits so that objects that includes this as a field can pad and align efficiently.


Member Enumeration Documentation

anonymous enum
Enumerator:
NOT_TRACKED 
MAX_INDEX_IN_GENERATION 

Constructor & Destructor Documentation

nsExpirationState::nsExpirationState (  )  [inline]

Member Function Documentation

PRBool nsExpirationState::IsTracked (  )  [inline]

Member Data Documentation

The generation that this object belongs to, or NOT_TRACKED.


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