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. 
 
 
 Definition at line 84 of file kvmallocator.cpp. References endl(), and QMap::size(). | 
| 
 | 
| Free a virtual memory block. 
 
 Definition at line 132 of file kvmallocator.cpp. References endl(). | 
| 
 | ||||||||||||||||||||
| 
Copy  
 
 
 
 Definition at line 193 of file kvmallocator.cpp. Referenced by copy(). | 
| 
 | ||||||||||||||||||||
| Copy data from a virtual memory block to normal memory. 
 
 Definition at line 187 of file kvmallocator.cpp. References copyBlock(). | 
| 
 | ||||||||||||||||||||
| 
Copy  
 
 
 
 Definition at line 229 of file kvmallocator.cpp. | 
| 
 | ||||||||||||||||||||
| Copy data from normal memory to a virtual memory block. 
 
 Definition at line 223 of file kvmallocator.cpp. References copyBlock(). | 
| 
 | 
| Map a virtual memory block in memory. 
 
 Definition at line 253 of file kvmallocator.cpp. | 
| 
 | 
| Unmap a virtual memory block. 
 
 Definition at line 268 of file kvmallocator.cpp. | 
The documentation for this class was generated from the following files:

