Radium Engine  1.5.20
Loading...
Searching...
No Matches
Ra::Core::Asset::AssetData Class Reference

#include <Core/Asset/AssetData.hpp>

+ Inheritance diagram for Ra::Core::Asset::AssetData:
+ Collaboration diagram for Ra::Core::Asset::AssetData:

Public Member Functions

 AssetData (const std::string &name)
 Construct an asset data given its name.
 
 AssetData (const AssetData &other)=default
 Copy constructor. Default here.
 
virtual ~AssetData ()
 Simple delete operator.
 
virtual const std::stringgetName () const
 Acces to the name of the asset.
 

Protected Attributes

std::string m_name
 

Detailed Description

General interface of an asset data.

Every asset data must have a name and must be copy constructible.

Definition at line 16 of file AssetData.hpp.

Constructor & Destructor Documentation

◆ AssetData()

Ra::Core::Asset::AssetData::AssetData ( const std::string & name)
inlineexplicit

Construct an asset data given its name.

Definition at line 20 of file AssetData.hpp.

◆ ~AssetData()

virtual Ra::Core::Asset::AssetData::~AssetData ( )
inlinevirtual

Simple delete operator.

Definition at line 26 of file AssetData.hpp.

Member Function Documentation

◆ getName()

virtual const std::string & Ra::Core::Asset::AssetData::getName ( ) const
inlinevirtual

Acces to the name of the asset.

Definition at line 29 of file AssetData.hpp.

Member Data Documentation

◆ m_name

std::string Ra::Core::Asset::AssetData::m_name
protected

Definition at line 32 of file AssetData.hpp.


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