Fairport  v1.0.38
fairport::disk::bth_node< EntryType > Struct Template Reference

BTH node. More...

#include <disk.h>

+ Inheritance diagram for fairport::disk::bth_node< EntryType >:
+ Collaboration diagram for fairport::disk::bth_node< EntryType >:

List of all members.

Public Attributes

EntryType entries [1]
 Array of entries.

Detailed Description

template<typename EntryType>
struct fairport::disk::bth_node< EntryType >

BTH node.

A BTH node is simply an array of entries, where the entry is either a bth_nonleaf_entry or a bth_leaf_entry. Clients must keep track of the current level as they are recursing down a BTH, starting with the value stored in the bth_header.

The number of entries is determined simply by the size of the heap allocation divided by the size of the EntryType.

Template Parameters:
EntryTypeThe entry type in this BTH. In practice eitehr a bth_leaf_entry or bth_nonleaf_entry.
See also:
[MS-PST] 2.3.2

Definition at line 1381 of file disk.h.


Member Data Documentation

template<typename EntryType>
EntryType fairport::disk::bth_node< EntryType >::entries[1]

Array of entries.

Definition at line 1383 of file disk.h.


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