Epok Engine

EPOK RUNTIME

epok::is_active

Function · 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.

Function

Reports whether active as part of the epok module.

Belongs to
epok
Header
epok.hpp
Overloads
2

Declaration 1 of 2

Declaration
bool is_active(const ActorData* entity)

Reports whether active as part of the epok module.

ParameterTypeMeaning
entityconst ActorData *Not documented; consult the linked header.

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

Example sketch

C++ example
#include "epok.hpp"

// Assume these named values have been initialized with valid data:
// const ActorData * entity

auto result = epok::is_active(entity);

Trade-offs and warnings

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

Declared in runtime/epok.hpp:339

Declaration 2 of 2

Declaration
inline bool is_active(Object* value)

Reports whether active as part of the object model module.

ParameterTypeMeaning
valueObject *Not documented; consult the linked header.

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

Example sketch

C++ example
#include "object_model.hpp"

// Assume these named values have been initialized with valid data:
// Object * value

auto result = epok::is_active(value);

Trade-offs and warnings

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

Declared in runtime/object_model.hpp:1796

Related members