Relational NT
A relational database kernel shaped around NT-style object management.
Loading...
Searching...
No Matches
nt::ObjectManager::registry Struct Reference

Node in the object registry. More...

#include <ObjectManager.h>

Public Attributes

std::unique_ptr< registry_head > head
 Shared metadata for this object.
std::unique_ptr< IObject > object
 Abstract object payload.
std::unique_ptr< registry > next
 Next entry in the registry.

Detailed Description

Node in the object registry.

Member Data Documentation

◆ next

std::unique_ptr<registry> nt::ObjectManager::registry::next

Next entry in the registry.

Currently a flat linked list.

Todo
Replace with a trie whose nodes are per-path-segment hash maps. Each directory level holds a hash map from segment string to child registry*. Find() and Register() walk the trie component-by-component instead of scanning a flat list. Consider pulling a well-tested radix-tree via the Nix flake rather than implementing from scratch. See docs/reactos-ob-comparison.md ยง3.

◆ object

std::unique_ptr<IObject> nt::ObjectManager::registry::object

Abstract object payload.

Owned by this entry.


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