ALib C++ Library
Library Version: 2510 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
alib::resources::ResourcedTraits< T > Struct Template Reference

Description:

template<typename T>
struct alib::resources::ResourcedTraits< T >

Simple the type trait that associates resource information to the 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 237 of file resources.inl.

Inheritance diagram for alib::resources::ResourcedTraits< T >:
[legend]
Collaboration diagram for alib::resources::ResourcedTraits< T >:
[legend]

Public Static Method Index:

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

Method Details:

◆ Category()

template<typename T>
constexpr NString alib::resources::ResourcedTraits< T >::Category ( )
inlinestaticconstexpr

Returns a resource category associated with T.

Returns
The resource category.

Definition at line 245 of file resources.inl.

◆ Name()

template<typename T>
constexpr NString alib::resources::ResourcedTraits< T >::Name ( )
inlinestaticconstexpr

Returns a resource name associated with T.

Returns
The resource category.

Definition at line 249 of file resources.inl.

◆ Pool()

template<typename T>
constexpr ResourcePool * alib::resources::ResourcedTraits< T >::Pool ( )
inlinestaticconstexpr

Returns a pointer to the resource pool associated with T.

Returns
The resource pool of T.

Definition at line 241 of file resources.inl.


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