OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
ocf::TOleAllocator Class Reference

Object to initialize OLE and access memory manager. More...

#include <ocf/oleutil.h>

Inheritance diagram for ocf::TOleAllocator:
ocf::TOleInit

Public Member Functions

 TOleAllocator ()
 
 TOleAllocator (IMalloc *mem)
 
 ~TOleAllocator ()
 
voidAlloc (unsigned long size)
 
void Free (void *pv)
 

Public Attributes

IMallocMem
 

Detailed Description

Object to initialize OLE and access memory manager.

Definition at line 106 of file oleutil.h.

Constructor & Destructor Documentation

◆ TOleAllocator() [1/2]

ocf::TOleAllocator::TOleAllocator ( )
inline

Definition at line 134 of file oleutil.h.

References _T, Mem, and OLECALL.

◆ TOleAllocator() [2/2]

ocf::TOleAllocator::TOleAllocator ( IMalloc * mem)
inline

Definition at line 125 of file oleutil.h.

References _T, Mem, and OLECALL.

◆ ~TOleAllocator()

ocf::TOleAllocator::~TOleAllocator ( )
inline

Definition at line 143 of file oleutil.h.

References Mem.

Member Function Documentation

◆ Alloc()

void * ocf::TOleAllocator::Alloc ( unsigned long size)

Definition at line 27 of file oleutil.cpp.

References _T, HR_OUTOFMEMORY, Mem, and OLECALL.

◆ Free()

void ocf::TOleAllocator::Free ( void * pv)

Definition at line 38 of file oleutil.cpp.

References Mem.

Member Data Documentation

◆ Mem

IMalloc* ocf::TOleAllocator::Mem

Definition at line 113 of file oleutil.h.


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