Castor3D 0.16.0
Multiplatform 3D engine
Public Member Functions | Protected Attributes | List of all members
castor::NamedBaseT< T > Class Template Reference

Class for named elements. More...

#include <Named.hpp>

Inheritance diagram for castor::NamedBaseT< T >:
Inheritance graph
[legend]

Public Member Functions

 NamedBaseT (T name) noexcept
 Constructor.
 
T const & getName () const noexcept
 Retrieves the name.
 
void rename (T name) noexcept
 

Protected Attributes

m_name
 

Detailed Description

template<typename T>
class castor::NamedBaseT< T >

Class for named elements.

Remarks
The name type is a template argument so anything can be a name for this class (default is castor::String)

Constructor & Destructor Documentation

◆ NamedBaseT()

template<typename T >
castor::NamedBaseT< T >::NamedBaseT ( T name)
inlineexplicitnoexcept

Constructor.

Parameters
[in]nameThe name

Member Function Documentation

◆ getName()

template<typename T >
T const & castor::NamedBaseT< T >::getName ( ) const
inlinenoexcept

◆ rename()

template<typename T >
void castor::NamedBaseT< T >::rename ( T name)
inlinenoexcept

Member Data Documentation

◆ m_name

template<typename T >
T castor::NamedBaseT< T >::m_name
protected

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