Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Protected Attributes
CTokenDeallocator Class Reference

#include <nsDTDUtils.h>

Inheritance diagram for CTokenDeallocator:
Inheritance graph
Collaboration diagram for CTokenDeallocator:
Collaboration graph

List of all members.

Public Member Functions

 CTokenDeallocator (nsFixedSizeAllocator &aArenaPool)
virtual voidoperator() (void *anObject)

Protected Attributes

nsFixedSizeAllocator & mArenaPool

Detailed Description

Definition at line 368 of file nsDTDUtils.h.

Constructor & Destructor Documentation

CTokenDeallocator::CTokenDeallocator ( nsFixedSizeAllocator &  aArenaPool) [inline]

Definition at line 373 of file nsDTDUtils.h.

    : mArenaPool(aArenaPool) {}

Member Function Documentation

virtual void* CTokenDeallocator::operator() ( void anObject) [inline, virtual]

Implements nsDequeFunctor.

Definition at line 376 of file nsDTDUtils.h.

    CToken* aToken = (CToken*)anObject;
    CToken::Destroy(aToken, mArenaPool);
    return 0;

Here is the call graph for this function:

Member Data Documentation

nsFixedSizeAllocator& CTokenDeallocator::mArenaPool [protected]

Definition at line 370 of file nsDTDUtils.h.

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