Phasor 2.2.0
Stack VM based Programming Language
Loading...
Searching...
No Matches
HandleSystem Namespace Reference

Classes

struct  Table

Typedefs

using HandleId = uint32_t

Functions

HandleIdnextId ()
template<typename T>
HandleId store (T handle)
template<typename T>
resolve (HandleId id)
template<typename T>
void remove (HandleId id)

Typedef Documentation

◆ HandleId

using HandleSystem::HandleId = uint32_t

Definition at line 8 of file handle.hpp.

Function Documentation

◆ nextId()

HandleId & HandleSystem::nextId ( )
inline

Definition at line 10 of file handle.hpp.

Here is the caller graph for this function:

◆ remove()

template<typename T>
void HandleSystem::remove ( HandleId id)
inline

Definition at line 62 of file handle.hpp.

Here is the call graph for this function:

◆ resolve()

template<typename T>
T HandleSystem::resolve ( HandleId id)
inline

Definition at line 49 of file handle.hpp.

Here is the call graph for this function:

◆ store()

template<typename T>
HandleId HandleSystem::store ( T handle)
inline

Definition at line 31 of file handle.hpp.

Here is the call graph for this function: