Fairport
v1.0.38
|
Unicode store version of the extended block. More...
#include <disk.h>
Public Types | |
typedef ulonglong | block_id_disk |
Public Attributes | |
byte | block_type |
Always block_type_extended. | |
byte | level |
If zero, this block points to external blocks. If one, this block points to level zero extended blocks. | |
ushort | count |
Number of entries in the bid array. | |
ulong | total_size |
Total logical size of this block. | |
block_id_disk | bid [1] |
Array of blocks this block points to. | |
Static Public Attributes | |
static const size_t | max_count = (external_block<ulonglong>::max_size - 8) / sizeof(extended_block<ulonglong>::block_id_disk) |
static const size_t | max_size = external_block<ulonglong>::max_size * extended_block<ulonglong>::max_count |
Unicode store version of the extended block.
Extended blocks are a way of extended the logical size of a block. It contains references to other blocks (which themselves may be extended blocks). This block can logically be thought of as the concatenation of the blocks it points to. Extended blocks begin with a header. Note the first byte of this header is the block_type - a property shared with the sub_block.
typedef ulonglong fairport::disk::extended_block< ulonglong >::block_id_disk |
block_id_disk fairport::disk::extended_block< ulonglong >::bid[1] |
byte fairport::disk::extended_block< ulonglong >::block_type |
Always block_type_extended.
const size_t fairport::disk::extended_block< ulonglong >::max_count = (external_block<ulonglong>::max_size - 8) / sizeof(extended_block<ulonglong>::block_id_disk) [static] |
const size_t fairport::disk::extended_block< ulonglong >::max_size = external_block<ulonglong>::max_size * extended_block<ulonglong>::max_count [static] |
ulong fairport::disk::extended_block< ulonglong >::total_size |