NAME

OTC_MPObject - Mixin class for memory pool support.

SYNOPSIS


#include <OTC/memory/mpobject.hh>

class OTC_MPObject
{
  public:
    virtual ~OTC_MPObject();
    void* operator new(size_t theSize);
    void operator delete(void* theMemory, size_t theSize);
    void* operator new(
      size_t theSize,
      os_segment* theSegment,
      os_typespec* theTypeSpec
    );
    void* operator new(
      size_t theSize,
      os_database* theDatabase,
      os_typespec* theTypeSpec
    );
    void* operator new(
      size_t theSize,
      os_object_cluster* theCluster,
      os_typespec* theTypeSpec
    );
  protected:
    OTC_MPObject();
};

CLASS TYPE

Abstract

PUBLIC MEMBERS

virtual ~OTC_MPObject();
void* operator new(size_t theSize);
void operator delete(void* theMemory, size_t theSize);
void* operator new(
  size_t theSize,
  os_segment* theSegment,
  os_typespec* theTypeSpec
);
void* operator new(
  size_t theSize,
  os_database* theDatabase,
  os_typespec* theTypeSpec
);
void* operator new(
  size_t theSize,
  os_object_cluster* theCluster,
  os_typespec* theTypeSpec
);

PROTECTED MEMBERS

OTC_MPObject();

LIBRARY

OTC

AUTHOR(S)

Graham Dumpleton

COPYRIGHT

Copyright 1994 TELSTRA CORPORATION LIMITED
Copyright 1994 DUMPLETON SOFTWARE CONSULTING PTY LIMITED