Lumiera  0.pre.03
»edit your freedom«
db.hpp File Reference

Go to the source code of this file.

Description

Implementation of the Asset database.

Simplistic hash based lookup-table.

implementation details of the AssetManager

Definition in file db.hpp.

#include "lib/sync.hpp"
#include "lib/error.hpp"
#include "steam/asset.hpp"
#include "lib/depend-inject.hpp"
#include <memory>
#include <unordered_map>
#include <boost/utility.hpp>

Classes

class  DB
 Implementation of the registry holding all Asset instances known to the Asset Manager subsystem. More...
 
struct  IdentityHash
 trivial hash functor returns any hash value unmodified. More...
 

Typedefs

typedef std::unordered_map< size_t, PAsset, IdentityHash > IdHashtable
 

Functions

size_t hash_value (Asset::Ident const &idi)
 
size_t hash_value (Asset const &asset)
 

Namespaces

 steam
 Steam-Layer implementation namespace root.
 
 steam::asset
 The asset subsystem of the Steam-Layer.