engine-mk1
Public Member Functions | Public Attributes | List of all members
Handle Struct Reference

Handles are used to abstract data access away from pointers. More...

#include <Misc.hpp>

Public Member Functions

 Handle (HandleType type)
 
bool operator== (const Handle &rhs) const noexcept
 Basic equality comparator. More...
 
bool operator!= (const Handle &rhs) const noexcept
 Basic inequality comparator. More...
 

Public Attributes

HandleType type
 The type of the Handled object. More...
 
HandleIndex id
 The indexed location of the Handled object. More...
 

Detailed Description

Handles are used to abstract data access away from pointers.

Member Function Documentation

bool Handle::operator!= ( const Handle rhs) const
inlinenoexcept

Basic inequality comparator.

bool Handle::operator== ( const Handle rhs) const
inlinenoexcept

Basic equality comparator.

Member Data Documentation

HandleIndex Handle::id

The indexed location of the Handled object.

HandleType Handle::type

The type of the Handled object.


The documentation for this struct was generated from the following files: