ARB
Public Member Functions | List of all members
MemBlock Class Reference

#include <PT_mem.h>

Inheritance diagram for MemBlock:
Inheritance graph
[legend]
Collaboration diagram for MemBlock:
Collaboration graph
[legend]

Public Member Functions

 MemBlock (int size, MemBlock *&prev)
 
 ~MemBlock ()
 
charget_memory ()
 
bool contains (char *somemem, int blocksize) const
 

Detailed Description

Definition at line 53 of file PT_mem.h.

Constructor & Destructor Documentation

MemBlock::MemBlock ( int  size,
MemBlock *&  prev 
)
inline

Definition at line 57 of file PT_mem.h.

References GBK_terminate(), and NULp.

MemBlock::~MemBlock ( )
inline

Definition at line 65 of file PT_mem.h.

References NULp.

Member Function Documentation

char* MemBlock::get_memory ( )
inline

Definition at line 81 of file PT_mem.h.

Referenced by MemBlockManager::get_block().

bool MemBlock::contains ( char somemem,
int  blocksize 
) const
inline

Definition at line 83 of file PT_mem.h.

References contains(), and pt_assert.

Referenced by contains().


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