Epok Engine

EPOK RUNTIME

epok::assets::find

Function · 1 overload

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.

Function

Persistent authoring UUIDs are cooked to 64-bit handles.

Belongs to
epok::assets
Header
data_table.hpp
Overloads
1

Declaration

Declaration
uint64_t find(uint64_t table,const char* key,Kind kind=Kind::Any)

Persistent authoring UUIDs are cooked to 64-bit handles.

ParameterTypeMeaning
tableuint64_tNot documented; consult the linked header.
keyconst char *Not documented; consult the linked header.
kindKindNot documented; consult the linked header.

Returns: uint64_t. Consult the linked header for its meaning.

Example sketch

C++ example
#include "data_table.hpp"

// Assume these named values have been initialized with valid data:
// uint64_t table
// const char * key
// Kind kind

auto result = epok::assets::find(table, key, kind);

Trade-offs and warnings

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

Declared in runtime/data_table.hpp:13

Related members