|
ucommon
|
Buffered pager for storing paged strings for character protocol. More...
#include <memory.h>


Public Member Functions | |
| bufpager (size_t page=0) | |
| unsigned long | getUsed (void) |
| Get total size. | |
| void | reset (void) |
| Reset pager text buffer protocol. | |
| void | rewind (void) |
| Rewind to start of text buffer protocol. | |
Protected Member Functions | |
| virtual void * | _alloc (size_t size) |
| Allocate memory from the pager heap. | |
Buffered pager for storing paged strings for character protocol.
| virtual void* ucommon::bufpager::_alloc | ( | size_t | size | ) | [protected, virtual] |
Allocate memory from the pager heap.
The size of the request must be less than the size of the memory page used. This implements the memory protocol allocation method.
| size | of memory request. |
Reimplemented from ucommon::memalloc.
| unsigned long ucommon::bufpager::getUsed | ( | void | ) | [inline] |
1.7.6.1