PST File Format SDK v0.4
Loading...
Searching...
No Matches
pstsdk::disk::sub_block< T, EntryType > Struct Template Reference

Subnode Blocks. More...

#include <disk.h>

+ Inheritance diagram for pstsdk::disk::sub_block< T, EntryType >:
+ Collaboration diagram for pstsdk::disk::sub_block< T, EntryType >:

Public Attributes

byte block_type
 Always block_type_sub.
 
byte level
 One for non-leaf, zero for leaf.
 
ushort count
 Number of entries in the entry array.
 
EntryType entry [1]
 Array of entries.
 

Detailed Description

template<typename T, typename EntryType>
struct pstsdk::disk::sub_block< T, EntryType >

Subnode Blocks.

Subnode blocks form a "private NBT" for each node. Non-leaf subnode blocks point to leaf subnode blocks. Leaf subnode blocks contain the subnode information.

Template Parameters
Tulonglong for a unicode store, ulong for an ANSI store
EntryTypeThe type of entry on this block. Generally sub_nonleaf_entry or sub_leaf_entry.
See also
[MS-PST] 2.2.2.8.3.3

Definition at line 1170 of file disk.h.

Member Data Documentation

◆ block_type

template<typename T , typename EntryType >
byte pstsdk::disk::sub_block< T, EntryType >::block_type

Always block_type_sub.

Definition at line 1172 of file disk.h.

◆ count

template<typename T , typename EntryType >
ushort pstsdk::disk::sub_block< T, EntryType >::count

Number of entries in the entry array.

Definition at line 1174 of file disk.h.

◆ entry

template<typename T , typename EntryType >
EntryType pstsdk::disk::sub_block< T, EntryType >::entry[1]

Array of entries.

Definition at line 1175 of file disk.h.

◆ level

template<typename T , typename EntryType >
byte pstsdk::disk::sub_block< T, EntryType >::level

One for non-leaf, zero for leaf.

Definition at line 1173 of file disk.h.


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