Man Linux: Main Page and Category List

NAME

       ost::MemPagerObject -

       This class is used to create derived classes which are constructed
       within a memory pager pool.

SYNOPSIS

       #include <misc.h>

   Public Member Functions
       void * operator new (size_t size, MemPager &pager)
           Allocate memory from a memory pager.
       void * operator new[] (size_t size, MemPager &pager)
           Allocate array from a memory pager.
       void operator delete (void *)
           Mempager delete does nothing; the pool purges.
       void operator delete[] (void *)
           Array mempager delete does nothing; the pool purges.

Detailed Description

       This class is used to create derived classes which are constructed
       within a memory pager pool.

       create objects in a memory pager.

       Author:
           David Sugar <dyfet@ostel.com>

Member Function Documentation

   void ost::MemPagerObject::operator delete (void *) [inline]
       Mempager delete does nothing; the pool purges.

   void ost::MemPagerObject::operator delete[] (void *) [inline]
       Array mempager delete does nothing; the pool purges.

   void* ost::MemPagerObject::operator new (size_t size, MemPager & pager)
       [inline]
       Allocate memory from a memory pager. Parameters:
           size of new passed from operator.
           pager to allocate from.

       References ost::MemPager::alloc().

   void* ost::MemPagerObject::operator new[] (size_t size, MemPager & pager)
       [inline]
       Allocate array from a memory pager. Parameters:
           size of new passed from operator.
           pager to allocate from.

       References ost::MemPager::alloc().

Author

       Generated automatically by Doxygen for GNU CommonC++ from the source
       code.