Graphics::Asset Class Referenceabstract

An asset is used to render an Object, but is not itself drawable. More...

#include <Asset.h>

Inheritance diagram for Graphics::Asset:
Collaboration diagram for Graphics::Asset:

Public Types

enum class  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 & >
 

Public Member Functions

 Asset ()
 
 Asset (ID id)
 
bool operator== (ID id) const
 
ID id () const
 
virtual Type type () const =0
 
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
 

Detailed Description

An asset is used to render an Object, but is not itself drawable.

Member Typedef Documentation

◆ ID

◆ List

◆ OwnedList

Member Enumeration Documentation

◆ Type

enum Graphics::Asset::Type
strong
Enumerator
XX 

Constructor & Destructor Documentation

◆ Asset() [1/2]

Graphics::Asset::Asset ( )
inline

◆ Asset() [2/2]

Graphics::Asset::Asset ( ID  id)
inline

Member Function Documentation

◆ getTypeStr()

virtual String Graphics::Asset::getTypeStr ( ) const
virtual

◆ id()

ID Graphics::Asset::id ( ) const
inline

◆ operator==()

bool Graphics::Asset::operator== ( ID  id) const
inline

◆ type()

◆ write()


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