NGL  6.5
The NCCA Graphics Library
CrtAllocator Class Reference

C-runtime library allocator. More...

#include <allocators.h>

+ Collaboration diagram for CrtAllocator:

Public Member Functions

voidMalloc (size_t size)
voidRealloc (void *originalPtr, size_t originalSize, size_t newSize)

Static Public Member Functions

static void Free (void *ptr)

Static Public Attributes

static const bool kNeedFree = true

Detailed Description

C-runtime library allocator.

This class is just wrapper for standard C library memory routines.

implements Allocator concept

Definition at line 62 of file allocators.h.

Member Function Documentation

static void CrtAllocator::Free ( void ptr)

Definition at line 79 of file allocators.h.

void* CrtAllocator::Malloc ( size_t  size)

Definition at line 65 of file allocators.h.

+ Here is the caller graph for this function:

void* CrtAllocator::Realloc ( void originalPtr,
size_t  originalSize,
size_t  newSize 

Definition at line 71 of file allocators.h.

References void().

+ Here is the call graph for this function:

Member Data Documentation

const bool CrtAllocator::kNeedFree = true

Definition at line 64 of file allocators.h.

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