Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsRuleList Struct Reference
Collaboration diagram for nsRuleList:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 nsRuleList (nsRuleNode *aNode, nsRuleList *aNext=nsnull)
 ~nsRuleList ()
voidoperator new (size_t sz, nsPresContext *aContext) CPP_THROW_NEW
void operator delete (void *aPtr)
void Destroy (nsPresContext *aContext)
nsRuleListDestroySelf (nsPresContext *aContext)

Public Attributes

nsRuleNodemRuleNode
nsRuleListmNext

Detailed Description

Definition at line 66 of file nsRuleNode.cpp.


Constructor & Destructor Documentation

nsRuleList::nsRuleList ( nsRuleNode aNode,
nsRuleList aNext = nsnull 
) [inline]

Definition at line 71 of file nsRuleNode.cpp.

                                                           {
    MOZ_COUNT_CTOR(nsRuleList);
    mRuleNode = aNode;
    mNext = aNext;
  }

Definition at line 77 of file nsRuleNode.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:


Member Function Documentation

void nsRuleList::Destroy ( nsPresContext aContext) [inline]

Definition at line 90 of file nsRuleNode.cpp.

                                        {
    this->~nsRuleList();
    aContext->FreeToShell(sizeof(nsRuleList), this);
  }

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 96 of file nsRuleNode.cpp.

                                                   {
    nsRuleList *next = mNext;
    MOZ_COUNT_DTOR(nsRuleList); // hack
    aContext->FreeToShell(sizeof(nsRuleList), this);
    return next;
  }

Here is the call graph for this function:

Here is the caller graph for this function:

void nsRuleList::operator delete ( void aPtr) [inline]

Definition at line 87 of file nsRuleNode.cpp.

{} // Does nothing. The arena will free us up when the rule tree
void* nsRuleList::operator new ( size_t  sz,
nsPresContext aContext 
) [inline]

Definition at line 84 of file nsRuleNode.cpp.

                                                                       {
    return aContext->AllocateFromShell(sz);
  };

Member Data Documentation

Definition at line 68 of file nsRuleNode.cpp.

Definition at line 67 of file nsRuleNode.cpp.


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