ALib C++ Library
Library Version: 2412 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
T_Resourced< T > Struct Template Reference

Description:

template<typename T>
struct alib::lang::resources::T_Resourced< T >

Simple TMP struct that associates resource information to given type T .

Extends std::false_type by default to indicate that it is not specialized for a specific type. Specializations need to extend std::true_type instead.

See also
Template Parameters
TThe type to define resource information for.

Definition at line 283 of file resources.hpp.

#include <resources.hpp>

Inheritance diagram for T_Resourced< T >:
[legend]
Collaboration diagram for T_Resourced< T >:
[legend]

Public Static Method Index:

static constexpr NString Category ()
 
static constexpr NString Name ()
 
static constexpr ResourcePoolPool ()
 

Method Details:

◆ Category()

template<typename T >
static constexpr NString Category ( )
inlinestaticconstexpr

Returns a resource category associated with T.

Returns
The resource category.

Definition at line 291 of file resources.hpp.

◆ Name()

template<typename T >
static constexpr NString Name ( )
inlinestaticconstexpr

Returns a resource name associated with T.

Returns
The resource category.

Definition at line 295 of file resources.hpp.

◆ Pool()

template<typename T >
static constexpr ResourcePool * Pool ( )
inlinestaticconstexpr

Returns a pointer to the resource pool associated with T.

Returns
The resource pool of T.

Definition at line 287 of file resources.hpp.


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