Graphics::AssetTemplate< asset_type > Class Template Reference

#include <Asset.h>

Inheritance diagram for Graphics::AssetTemplate< asset_type >:
Collaboration diagram for Graphics::AssetTemplate< asset_type >:

Public Member Functions

virtual Type type () const override
 
 Asset ()
 
 Asset (ID id)
 
- Public Member Functions inherited from Graphics::Asset
 Asset ()
 
 Asset (ID id)
 
bool operator== (ID id) const
 
ID id () const
 
virtual String getTypeStr () const
 
virtual void write (MetaWriter &meta) const
 
- Public Member Functions inherited from LinkedObjectTemplate< Asset >
Asset * getNext () const
 
bool insertAfter (Asset *object)
 
Iterator begin () const
 
Iterator end () const
 
Iterator cbegin () const
 
Iterator cend () const
 
- Public Member Functions inherited from LinkedObject
virtual ~LinkedObject ()
 
virtual LinkedObjectnext () const
 
bool insertAfter (LinkedObject *object)
 
bool operator== (const LinkedObject &other) const
 
bool operator!= (const LinkedObject &other) const
 

Static Public Attributes

static constexpr Asset::Type assetType {asset_type}
 

Additional Inherited Members

- Public Types inherited from Graphics::Asset
enum  Type { Type::XX }
 
using List = LinkedObjectListTemplate< Asset >
 
using OwnedList = OwnedLinkedObjectListTemplate< Asset >
 
using ID = AssetID
 
- Public Types inherited from LinkedObjectTemplate< Asset >
using Iterator = IteratorTemplate< Asset, Asset *, Asset & >
 
using ConstIterator = IteratorTemplate< const Asset, const Asset *, const Asset & >
 

Member Function Documentation

◆ Asset() [1/2]

template<Asset::Type asset_type>
Graphics::Asset::Asset
inline

◆ Asset() [2/2]

template<Asset::Type asset_type>
Graphics::Asset::Asset
inline

◆ type()

template<Asset::Type asset_type>
virtual Type Graphics::AssetTemplate< asset_type >::type ( ) const
inlineoverridevirtual

Implements Graphics::Asset.

Member Data Documentation

◆ assetType

template<Asset::Type asset_type>
constexpr Asset::Type Graphics::AssetTemplate< asset_type >::assetType {asset_type}
staticconstexpr

The documentation for this class was generated from the following file: