OWLNext    7.0
Borland's Object Windows Library for the modern age
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
owl::TStandardAllocator Class Reference

Provides class-specific operator new and operator delete that simply call the global operator new and operator delete. More...

#include <owl/template.h>

Inheritance diagram for owl::TStandardAllocator:
owl::TMBaseMemBlocks< TStandardAllocator > owl::TMObjectArray< T, TStandardAllocator > owl::TTypedArray< TOcFormat *, TOcFormat *, TStandardAllocator > owl::TTypedArray< TOcLinkView *, TOcLinkView *, TStandardAllocator > owl::TTypedArray< TOcFormatName *, TOcFormatName *, TStandardAllocator > owl::TTypedArray< TOcPart *, TOcPart *, TStandardAllocator > owl::TTypedArray< TCheckListItem *, TCheckListItem *, TStandardAllocator > owl::TTypedArray< T, R, TStandardAllocator > owl::TTypedArray< TStringNode *, TStringNode *, TStandardAllocator > owl::TTypedArray< TPickerCell *, TPickerCell *, TStandardAllocator > owl::TTypedArray< T, T, TStandardAllocator > owl::TTypedArray< TStreamableBase *, TStreamableBase *, TStandardAllocator > owl::TTypedArray< TStreamableClass *, TStreamableClass *, TStandardAllocator > owl::TTypedArray< owl::TCheckListItem *, owl::TCheckListItem *, TStandardAllocator > owl::TTypedArray< int, int, TStandardAllocator > owl::TMObjectArray< T, A > owl::TTypedArray< T, R, A >

Public Member Functions

void operator delete (void *ptr)
 
voidoperator new (size_t sz)
 
voidAlloc (size_t sz)
 
void Free (void *ptr)
 
voidReAlloc (void *ptr, size_t sz)
 

Detailed Description

Provides class-specific operator new and operator delete that simply call the global operator new and operator delete.

That is, TStandardAllocator does not provide any specialized behavior. It is used in the non-managed versions of the parametrized containers.

Definition at line 36 of file template.h.

Member Function Documentation

◆ Alloc()

void * owl::TStandardAllocator::Alloc ( size_t sz)
inline

Definition at line 63 of file template.h.

◆ Free()

void owl::TStandardAllocator::Free ( void * ptr)
inline

Definition at line 68 of file template.h.

◆ operator delete()

void owl::TStandardAllocator::operator delete ( void * ptr)
inline

Definition at line 53 of file template.h.

◆ operator new()

void * owl::TStandardAllocator::operator new ( size_t sz)
inline

Definition at line 58 of file template.h.

◆ ReAlloc()

void * owl::TStandardAllocator::ReAlloc ( void * ptr,
size_t sz )
inline

Definition at line 73 of file template.h.


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