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>

Inheritance diagram for asset::ID< KIND >:

Inheritance graph
[legend]
Collaboration diagram for asset::ID< KIND >:

Collaboration graph
[legend]

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:

Generated on Sat Aug 16 18:10:41 2008 for Lumiera by  doxygen 1.5.5