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

Checks whether an object supports identity-level operations. More...

#include <IdentityManager.h>

Public Member Functions

const bool CanOpen (ObjectManager::registry *object)
 Returns true when the object's type supports being opened.
const bool CanClose (ObjectManager::registry *object)
 Returns true when the object's type supports being closed.

Detailed Description

Checks whether an object supports identity-level operations.

Todo
Migrate to type callbacks. Once object_type holds OpenProcedure and CloseProcedure function pointers, CanOpen / CanClose become thin dispatchers that invoke the corresponding procedure — or this manager is absorbed into HandlerManager directly. The function pointer should be accompanied by a const char* name label on object_type so that error logs identify the type without dereferencing the pointer. See docs/reactos-ob-comparison.md §2.

Member Function Documentation

◆ CanClose()

const bool nt::IdentityManager::CanClose ( ObjectManager::registry * object)

Returns true when the object's type supports being closed.

Currently checks that the object is non-null (stub). Should invoke object_type::CloseProcedure once callbacks are defined.

Parameters
objectObject to inspect.
Returns
True when the object can be closed.

◆ CanOpen()

const bool nt::IdentityManager::CanOpen ( ObjectManager::registry * object)

Returns true when the object's type supports being opened.

Currently checks that the object is non-null (stub). Should invoke object_type::OpenProcedure once callbacks are defined.

Parameters
objectObject to inspect.
Returns
True when the object can be opened.

The documentation for this class was generated from the following files: