Skip to content

Kuesa::Serenity::AssetCollection

More...

#include <assetcollections.h>

Public Types

Name
using T ContentType

Public Functions

Name
std::vector< String > names() const
T operator()(const String & name) const
void addAsset(const String & name, const T & v)
bool contains(const String & name) const
int size() const
void clear()

Detailed Description

1
2
template <typename T >
class Kuesa::Serenity::AssetCollection;

Public Types Documentation

using ContentType

1
using Kuesa::Serenity::AssetCollection< T >::ContentType =  T;

Public Functions Documentation

function names

1
inline std::vector< String > names() const

function operator()

1
2
3
inline T operator()(
    const String & name
) const

function addAsset

1
2
3
4
inline void addAsset(
    const String & name,
    const T & v
)

function contains

1
2
3
inline bool contains(
    const String & name
) const

function size

1
inline int size() const

function clear

1
inline void clear()

Updated on 2023-07-03 at 11:02:06 +0000