Epok Engine

EPOK RUNTIME

epok::ObjectRegistry::ObjectRegistry

constructor · 2 overloads

Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.

constructor

Constructs `epok::ObjectRegistry` for the object model module.

Belongs to
epok::ObjectRegistry
Header
object_model.hpp
Overloads
2

Declaration 1 of 2

Declaration
ObjectRegistry(const ObjectRegistry&) = delete

Constructs `epok::ObjectRegistry` for the object model module.

ParameterTypeMeaning
arg1const ObjectRegistry &Not documented; consult the linked header.

Returns: Nothing (void).

Example sketch

C++ example
#include "object_model.hpp"

// Assume these named values have been initialized with valid data:
// const ObjectRegistry & arg1

epok::ObjectRegistry value(arg1);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in runtime/object_model.hpp:360

Declaration 2 of 2

Declaration
constexpr ObjectRegistry(ObjectSlot* table, uint16_t count) : slots(table), capacity(count)

Constructs `epok::ObjectRegistry` for the object model module.

ParameterTypeMeaning
tableObjectSlot *Not documented; consult the linked header.
countuint16_tNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

C++ example
#include "object_model.hpp"

// Assume these named values have been initialized with valid data:
// ObjectSlot * table
// uint16_t count

epok::ObjectRegistry value(table, count);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in runtime/object_model.hpp:359

Related members