Back to index

lightning-sunbird  0.9+nobinonly
Static Public Member Functions | Public Attributes | Protected Member Functions | Static Protected Member Functions
nsElementMap::ContentListItem Class Reference

#include <nsElementMap.h>

Collaboration diagram for nsElementMap::ContentListItem:
Collaboration graph
[legend]

List of all members.

Static Public Member Functions

static ContentListItemCreate (nsFixedSizeAllocator &aPool, nsIContent *aContent)
static void Destroy (nsFixedSizeAllocator &aPool, ContentListItem *aItem)

Public Attributes

ContentListItemmNext
nsCOMPtr< nsIContentmContent

Protected Member Functions

 ContentListItem (nsIContent *aContent)
 ~ContentListItem ()

Static Protected Member Functions

static voidoperator new (size_t aSize, void *aPtr) CPP_THROW_NEW
static void operator delete (void *aPtr, size_t aSize)

Detailed Description

Definition at line 80 of file nsElementMap.h.


Constructor & Destructor Documentation

nsElementMap::ContentListItem::ContentListItem ( nsIContent aContent) [inline, protected]

Definition at line 102 of file nsElementMap.h.

Here is the caller graph for this function:


Member Function Documentation

static ContentListItem* nsElementMap::ContentListItem::Create ( nsFixedSizeAllocator &  aPool,
nsIContent aContent 
) [inline, static]

Definition at line 86 of file nsElementMap.h.

                                                                  {
            void* bytes = aPool.Alloc(sizeof(ContentListItem));
            return bytes ? new (bytes) ContentListItem(aContent) : nsnull; }

Here is the call graph for this function:

Here is the caller graph for this function:

static void nsElementMap::ContentListItem::Destroy ( nsFixedSizeAllocator &  aPool,
ContentListItem aItem 
) [inline, static]

Definition at line 91 of file nsElementMap.h.

                                                                     {
            delete aItem;
            aPool.Free(aItem, sizeof(*aItem)); }

Here is the caller graph for this function:

static void nsElementMap::ContentListItem::operator delete ( void aPtr,
size_t  aSize 
) [inline, static, protected]

Definition at line 99 of file nsElementMap.h.

                                                              {
            /* do nothing; memory free()'d in Destroy() */ }
static void* nsElementMap::ContentListItem::operator new ( size_t  aSize,
void aPtr 
) [inline, static, protected]

Definition at line 96 of file nsElementMap.h.

                                                                          {
            return aPtr; }

Member Data Documentation

Definition at line 83 of file nsElementMap.h.

Definition at line 82 of file nsElementMap.h.


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