Bayonne2 / Common C++ 2 Framework
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions
MemPagerObject Class Reference

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

#include <misc.h>

Public Member Functions

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

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.nosp@m.@ost.nosp@m.el.co.nosp@m.m

Definition at line 634 of file misc.h.

Member Function Documentation

void MemPagerObject::operator delete ( void *  )
inline

Mempager delete does nothing; the pool purges.

Definition at line 658 of file misc.h.

void MemPagerObject::operator delete[] ( void *  )
inline

Array mempager delete does nothing; the pool purges.

Definition at line 663 of file misc.h.

void* MemPagerObject::operator new ( size_t  size,
MemPager pager 
)
inline

Allocate memory from a memory pager.

Parameters
sizeof new passed from operator.
pagerto allocate from.

Definition at line 643 of file misc.h.

void* MemPagerObject::operator new[] ( size_t  size,
MemPager pager 
)
inline

Allocate array from a memory pager.

Parameters
sizeof new passed from operator.
pagerto allocate from.

Definition at line 652 of file misc.h.


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