Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
db.hpp File Reference

Implementation of the Asset database. More...

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>

Namespaces

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

Typedefs

using IdHashtable = std::unordered_map< size_t, PAsset, IdentityHash >
 

Classes

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

Functions

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