RLib  5.7
RLib - an opensource, lightweight and multi-platform framework for cpp programming
System::IO::IAllocator Class Reference

IAllocator defines the memory allocator interface More...

Static Public Member Functions

static void * allocateMemory (intptr_t cb RLIB_INTERNAL_DEBUG_PARAM)
 This method allocates a block of memory More...
 
static void freeMemory (void *address)
 This method frees a previously allocated block of memory More...
 
static void * reallocateMemory (void *address, intptr_t cb)
 This method changes the size of a previously allocated memory block More...
 
static class IAllocatorgetSharedInstance ()
 return the default instance of IAllocator More...
 

Detailed Description

IAllocator defines the memory allocator interface

Member Function Documentation

void * IAllocator::allocateMemory ( intptr_t cb  RLIB_INTERNAL_DEBUG_PARAM)
static

This method allocates a block of memory

void IAllocator::freeMemory ( void *  address)
static

This method frees a previously allocated block of memory

IAllocator * IAllocator::getSharedInstance ( )
static

return the default instance of IAllocator

void * IAllocator::reallocateMemory ( void *  address,
intptr_t  cb 
)
static

This method changes the size of a previously allocated memory block


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