Crossfire Server, Trunk
AssetsCollection.h File Reference
#include <string>
#include <map>
#include <set>
#include <vector>
#include <algorithm>
#include <functional>
+ Include dependency graph for AssetsCollection.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  AssetsCollection< T, Key >


template<class T , class Key >
T * asset_create (const Key &key)
template<class T >
void asset_destroy (T *asset)

Function Documentation

◆ asset_create()

template<class T , class Key >
T* asset_create ( const Key &  key)

Create an asset with the specified key.

keyunique asset key.
newly created asset.

◆ asset_destroy()

template<class T >
void asset_destroy ( T *  asset)

Destroy an asset.

assetasset to destroy.

Referenced by AssetsCollection< Animations >::clear().

+ Here is the caller graph for this function: