Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Public Member Functions | Data Fields
MemoryAllocator Struct Reference
Collaboration diagram for MemoryAllocator:
Collaboration graph
[legend]

Public Member Functions

 MemoryAllocator ()
 
void * operatorNew (std::size_t n) _THROWS((std
 
void operatorDelete (void *ptr) _THROWS(())
 
void init ()
 
bool newCalled ()
 
bool deleteCalled ()
 

Data Fields

std::size_t _bytesRequested
 
bool _newCalled
 
bool _deleteCalled
 
bool _failAlloc
 
void * _allocPtr
 
void * _deallocPtr
 

Detailed Description

Definition at line 56 of file 18.support.dynamic.cpp.

Constructor & Destructor Documentation

◆ MemoryAllocator()

MemoryAllocator::MemoryAllocator ( )
inline

Definition at line 58 of file 18.support.dynamic.cpp.

Member Function Documentation

◆ deleteCalled()

bool MemoryAllocator::deleteCalled ( )
inline

Definition at line 120 of file 18.support.dynamic.cpp.

◆ init()

void MemoryAllocator::init ( )
inline

Definition at line 108 of file 18.support.dynamic.cpp.

◆ newCalled()

bool MemoryAllocator::newCalled ( )
inline

Definition at line 114 of file 18.support.dynamic.cpp.

◆ operatorDelete()

void MemoryAllocator::operatorDelete ( void *  ptr)
inline

Definition at line 91 of file 18.support.dynamic.cpp.

◆ operatorNew()

void * MemoryAllocator::operatorNew ( std::size_t  n)
inline

Definition at line 62 of file 18.support.dynamic.cpp.

Field Documentation

◆ _allocPtr

void* MemoryAllocator::_allocPtr

Definition at line 130 of file 18.support.dynamic.cpp.

◆ _bytesRequested

std::size_t MemoryAllocator::_bytesRequested

Definition at line 126 of file 18.support.dynamic.cpp.

◆ _deallocPtr

void* MemoryAllocator::_deallocPtr

Definition at line 131 of file 18.support.dynamic.cpp.

◆ _deleteCalled

bool MemoryAllocator::_deleteCalled

Definition at line 128 of file 18.support.dynamic.cpp.

◆ _failAlloc

bool MemoryAllocator::_failAlloc

Definition at line 129 of file 18.support.dynamic.cpp.

◆ _newCalled

bool MemoryAllocator::_newCalled

Definition at line 127 of file 18.support.dynamic.cpp.


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