Crossfire Server, Trunk
AssetsCollection.h File Reference
#include <string>
#include <map>
#include <set>
#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 >
 

Functions

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

Function Documentation

◆ asset_create()

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

Create an asset with the specified key.

Parameters
key.
Returns
newly created asset.

◆ asset_destroy()

template<class T >
void asset_destroy ( T *  )

Destroy an asset.

Parameters
assetto destroy.

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

+ Here is the caller graph for this function: