Fairport  v1.0.38
fairport::disk::block_trailer< ulonglong > Struct Template Reference

Unicode store version of the block trailer. More...

#include <disk.h>

+ Collaboration diagram for fairport::disk::block_trailer< ulonglong >:

List of all members.

Public Types

typedef ulonglong block_id_disk

Public Attributes

ushort cb
 Size of the block (unaligned)
ushort signature
 Signature of this block, as calculated by the compute_signature function.
ulong crc
 CRC of this block, as calculated by the compute_crc function.
block_id_disk bid
 The id of this block.

Detailed Description

template<>
struct fairport::disk::block_trailer< ulonglong >

Unicode store version of the block trailer.

Blocks are of variable size. The BBT gives the unaligned size, which is an input to the align_disk function to give the total size on disk. Using the total size and the address, one can read the block trailer - which is always located at and aligned to the end of the aligned size. The block trailer contains validation information about the block.

See also:
[MS-PST] 2.2.2.8.1

Definition at line 1015 of file disk.h.


Member Typedef Documentation

typedef ulonglong fairport::disk::block_trailer< ulonglong >::block_id_disk

Definition at line 1017 of file disk.h.


Member Data Documentation

block_id_disk fairport::disk::block_trailer< ulonglong >::bid

The id of this block.

Definition at line 1022 of file disk.h.

ushort fairport::disk::block_trailer< ulonglong >::cb

Size of the block (unaligned)

Definition at line 1019 of file disk.h.

ulong fairport::disk::block_trailer< ulonglong >::crc

CRC of this block, as calculated by the compute_crc function.

Definition at line 1021 of file disk.h.

ushort fairport::disk::block_trailer< ulonglong >::signature

Signature of this block, as calculated by the compute_signature function.

Definition at line 1020 of file disk.h.


The documentation for this struct was generated from the following file: