Public Member Functions | List of all members
MemBlock Class Reference

#include <PT_mem.h>

Inheritance diagram for MemBlock:
Inheritance graph
Collaboration diagram for MemBlock:
Collaboration graph

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 

Definition at line 57 of file PT_mem.h.

References GBK_terminate(), and NULp.

MemBlock::~MemBlock ( )

Definition at line 65 of file PT_mem.h.

References NULp.

Member Function Documentation

char* MemBlock::get_memory ( )

Definition at line 81 of file PT_mem.h.

Referenced by MemBlockManager::get_block().

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

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: