ALib C++ Library
Library Version: 2402 R1
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 290 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 302 of file resources.hpp.

Here is the call graph for this function:

◆ Name()

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

Returns a resource name associated with T .

Returns
The resource category.

Definition at line 308 of file resources.hpp.

Here is the call graph for this function:

◆ 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 296 of file resources.hpp.


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