byte_tank< N > Class Template Reference
class supports byte memory management allocated block will have 4 hidden leading bytes 1st byte = backet number [4-12], 2nd - byte = offset/state [0-255], 3rd-4th bytes = page number [0-64K], for allocation out of backet
More...
#include <byterep.h>
List of all members.
Detailed Description
template<unsigned char N>
class byte_tank< N >
class supports byte memory management allocated block will have 4 hidden leading bytes 1st byte = backet number [4-12], 2nd - byte = offset/state [0-255], 3rd-4th bytes = page number [0-64K], for allocation out of backet
Definition at line 43 of file byterep.h.
Member Typedef Documentation
template<unsigned char N>
Member Enumeration Documentation
template<unsigned char N>
backet constants
- Enumerator:
-
LENGTH |
length of backet chunk |
ROOMS |
availbale chunks |
Definition at line 51 of file byterep.h.
Constructor & Destructor Documentation
template<unsigned char N>
Member Function Documentation
template<unsigned char N>
template<unsigned char N>
bool byte_tank< N >::empty |
( |
|
) |
const [inline] |
template<unsigned char N>
char * byte_tank< N >::get_chunk |
( |
|
) |
[inline] |
template<unsigned char N>
void byte_tank< N >::put_chunk |
( |
char * |
ptr |
) |
[inline] |
template<unsigned char N>
Member Data Documentation
template<unsigned char N>
template<unsigned char N>
The documentation for this class was generated from the following files: