Epok Engine

EPOK RUNTIME

epok::bp::is_a

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 a as part of compiled Blueprint execution and object interaction.

Belongs to
epok::bp
Header
blueprint_spawn.hpp
Overloads
2

Declaration 1 of 2

Declaration
inline bool is_a(DataHandle id,ClassId type)

Reports whether a as part of compiled Blueprint execution and object interaction.

ParameterTypeMeaning
idDataHandleNot documented; consult the linked header.
typeClassIdNot documented; consult the linked header.

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

Example sketch

C++ example
#include "blueprint_spawn.hpp"

// Assume these named values have been initialized with valid data:
// DataHandle id
// ClassId type

auto result = epok::bp::is_a(id, type);

Trade-offs and warnings

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

Declared in runtime/blueprint_spawn.hpp:11

Declaration 2 of 2

Declaration
inline bool is_a(ObjectId id,ClassId type)

Reports whether a as part of compiled Blueprint execution and object interaction.

ParameterTypeMeaning
idObjectIdNot documented; consult the linked header.
typeClassIdNot documented; consult the linked header.

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

Example sketch

C++ example
#include "blueprint_spawn.hpp"

// Assume these named values have been initialized with valid data:
// ObjectId id
// ClassId type

auto result = epok::bp::is_a(id, type);

Trade-offs and warnings

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

Declared in runtime/blueprint_spawn.hpp:10

Related members