Epok Engine

EPOK RUNTIME

epok::nav::World::get

Method · 1 overload

Method

Returns get as part of the navigation module.

Belongs to
epok::nav::World
Header
navigation.hpp
Overloads
1

Declaration

Declaration
Request* get(Handle h)

Returns get as part of the navigation module.

ParameterTypeMeaning
hHandleValue supplied for h. Keep referenced or pointed-to data valid for the complete call.

Returns: Request *. Check the value before continuing when it represents success, availability or a resource handle.

Example

C++ example
#include "navigation.hpp"

// Assume these named values have been initialized with valid data:
// Handle h

epok::nav::World& object = /* obtain a valid instance */;

auto result = object.get(h);

Why use it

It provides direct, allocation-conscious access to the navigation module. No exception-based error path is implied by the signature.

Trade-offs and warnings

Call it only in the lifecycle phase described by the module. Validate indices, capacities and object state before use.

Declared in runtime/navigation.hpp:100

Related members