KVMAllocator Class Reference
KVMAllocator is a virtual memory allocator. More...
#include <kvmallocator.h>
Public Member Functions | |
KVMAllocator () | |
~KVMAllocator () | |
Block * | allocate (size_t _size) |
void | free (Block *block) |
bool | copyBlock (void *dest, Block *src, int _offset=0, size_t length=0) |
void | copy (void *dest, Block *src, int _offset=0, size_t length=0) KDE_DEPRECATED |
bool | copyBlock (Block *dest, void *src, int _offset=0, size_t length=0) |
void | copy (Block *dest, void *src, int _offset=0, size_t length=0) KDE_DEPRECATED |
void * | map (Block *block) |
void | unmap (Block *block) |
Detailed Description
KVMAllocator is a virtual memory allocator.Memory is allocated block-wise in a tmp file.
- Author:
- Waldo Bastian <bastian@kde.org>
- Version:
- Id
- kvmallocator.h,v 1.8 2003/08/30 07:33:49 raabe Exp
Definition at line 40 of file kvmallocator.h.
Constructor & Destructor Documentation
|
Create a KVMAllocator. Definition at line 63 of file kvmallocator.cpp. |
|
Destruct the KVMAllocator and release all memory. Definition at line 73 of file kvmallocator.cpp. |
Member Function Documentation
|
Allocate a virtual memory block.
References endl(), and QMap::size(). |
|
Free a virtual memory block.
References endl(). |
|
Copy
Referenced by copy(). |
|
Copy data from a virtual memory block to normal memory.
References copyBlock(). |
|
Copy
|
|
Copy data from normal memory to a virtual memory block.
References copyBlock(). |
|
Map a virtual memory block in memory.
|
|
Unmap a virtual memory block.
|
The documentation for this class was generated from the following files: