Generic base class for all page typesA page which forms a node in the NBT or BBT.
More...
Generic base class for all page typesA page which forms a node in the NBT or BBT.
This class provides an abstraction around the page trailer located at the end of every page. The actual page content is interpretted by the child classes of page.
All pages in the pages hierarchy are also in the category of what is known as dependant objects. This means is they only keep a weak reference to the database context to which they're a member. Contrast this to an independant object such as the heap, which keeps a strong ref or a full shared_ptr to the related context. This implies that someone must externally make sure the database context outlives it's pages - this is usually done by the database context itself.
- See also:
- [MS-PST] 2.2.2.7 The NBT and BBT form the core of the internals of the PST, and need to be well understood if working at the NDB Layer. The bt_page class forms the nodes of both the NBT and BBT, with child classes for leaf and nonleaf pages.
This hierarchy also models the btree_node structure, inheriting the actual iteration and lookup logic.
- Template Parameters:
-
- See also:
- [MS-PST] 1.3.1.1
-
[MS-PST] 2.2.2.7.7
Definition at line 51 of file page.h.