![]() |
Lumiera 0.pre.04
»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.
Static Public Attributes | |
| static ID | INVALID = ID{0} |
| marker constant denoting a NIL asset | |
Public Member Functions | |
| ID (HashVal id) | |
| ID (const KIND &asset) | |
| operator HashVal () const | |
Private Attributes | |
| HashVal | hash_ |
|
inline |
Definition at line 103 of file asset.hpp.
References ID< KIND >::hash_.
|
private |
Definition at line 99 of file asset.hpp.
Referenced by ID< KIND >::operator HashVal().
Inheritance diagram for ID< KIND >:
Collaboration diagram for ID< KIND >: