asset::ID< KIND > Class Template Reference
thin wrapper around a size_t hash
ID used as primary key for all
Asset objects.
More...
#include <asset.hpp>
List of all members.
|
Public Member Functions |
|
| ID (const KIND &asset) |
|
| ID (size_t id) |
|
| operator size_t () const |
Public Attributes |
|
const size_t | hash |
Detailed Description
template<class KIND>
class asset::ID< KIND >
The Templace parameter is intended for tagging the
ID with type information, causing the compiler to select specialized behaviour for the different kinds of Assets.
- See also:
- Asset
AssetManager::getID generating ID values
asset::Media
ID<asset::Media>
Definition at line 101 of file asset.hpp.
The documentation for this class was generated from the following file: