Fairport  v1.0.38
fairport::disk::amap_page< T > Struct Template Reference

The authoritative source of free space in the file. More...

#include <disk.h>

+ Inheritance diagram for fairport::disk::amap_page< T >:
+ Collaboration diagram for fairport::disk::amap_page< T >:

List of all members.


Detailed Description

template<typename T>
struct fairport::disk::amap_page< T >

The authoritative source of free space in the file.

Each bit in an AMap page refers to bytes_per_slot bytes of the file. If that bit is set, that indicates those bytes in the file are occupied. If the bit is not set, that indicates those bytes in the file are available for allocation. Note that each AMap page "maps" itself. Since an AMap page (like all pages) is page_size bytes (512), this means the first 8 bytes of an AMap page are by definition always 0xFF.

Template Parameters:
Tulonglong for a unicode store, ulong for an ANSI store
See also:
[MS-PST] 2.2.2.7.2.1

Definition at line 630 of file disk.h.


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