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

The root of the database. More...

#include <disk.h>

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

List of all members.

Public Types

typedef T location
typedef T count

Public Attributes

ulong cOrphans
 The number of "orphans" in the BBT.
location ibFileEof
 EOF of the file, according the header.
location ibAMapLast
 The location of the last valid AMap page.
count cbAMapFree
 Amount of space free in all AMap pages.
count cbPMapFree
 Amount of space free in all PMap pages.
block_reference< T > brefNBT
 The location of the root of the NBT.
block_reference< T > brefBBT
 The location of the root of the BBT.
byte fAMapValid
 Indicates if the AMap pages are valid or not.
byte bARVec
 Indicates which AddRef vector is used.
ushort cARVec
 Number of elements in the AddRef vector.

Detailed Description

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

The root of the database.

The root structures describes where the root pages of the NBT and BBT are located, the EOF location, how much space is free, the allocation state flag, and more.

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

Definition at line 112 of file disk.h.


Member Typedef Documentation

template<typename T>
typedef T fairport::disk::root< T >::count

Definition at line 115 of file disk.h.

template<typename T>
typedef T fairport::disk::root< T >::location

Definition at line 114 of file disk.h.


Member Data Documentation

template<typename T>
byte fairport::disk::root< T >::bARVec

Indicates which AddRef vector is used.

Definition at line 125 of file disk.h.

template<typename T>
block_reference<T> fairport::disk::root< T >::brefBBT

The location of the root of the BBT.

Definition at line 123 of file disk.h.

template<typename T>
block_reference<T> fairport::disk::root< T >::brefNBT

The location of the root of the NBT.

Definition at line 122 of file disk.h.

template<typename T>
ushort fairport::disk::root< T >::cARVec

Number of elements in the AddRef vector.

Definition at line 126 of file disk.h.

template<typename T>
count fairport::disk::root< T >::cbAMapFree

Amount of space free in all AMap pages.

Definition at line 120 of file disk.h.

template<typename T>
count fairport::disk::root< T >::cbPMapFree

Amount of space free in all PMap pages.

Definition at line 121 of file disk.h.

template<typename T>
ulong fairport::disk::root< T >::cOrphans

The number of "orphans" in the BBT.

Definition at line 117 of file disk.h.

template<typename T>
byte fairport::disk::root< T >::fAMapValid

Indicates if the AMap pages are valid or not.

Definition at line 124 of file disk.h.

template<typename T>
location fairport::disk::root< T >::ibAMapLast

The location of the last valid AMap page.

Definition at line 119 of file disk.h.

template<typename T>
location fairport::disk::root< T >::ibFileEof

EOF of the file, according the header.

Definition at line 118 of file disk.h.


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