Lumiera
0.pre.03
»edit your freedom«
|
#include "steam/asset.hpp"
thin wrapper around a size_t hash ID used as primary key for all Asset objects.
The Template parameter is intended for tagging the ID with type information, causing the compiler to select specialised behaviour for the different kinds of Assets.
Public Member Functions | |
ID (HashVal id) | |
ID (const KIND &asset) | |
operator HashVal () const | |
Static Public Attributes | |
static ID | INVALID = ID{0} |
marker constant denoting a NIL asset | |
Private Attributes | |
HashVal | hash_ |