swift
Loading...
Searching...
No Matches
swift::misc::mixin::Icon< Derived, IconIndex > Class Template Reference

CRTP class template from which a derived class can inherit icon-related functions. More...

#include <mixinicon.h>

Inheritance diagram for swift::misc::mixin::Icon< Derived, IconIndex >:
[legend]

Public Member Functions

CIcons::IconIndex toIcon () const
 As icon, not implemented by all classes.

Detailed Description

template<class Derived, CIcons::IconIndex IconIndex = CIcons::StandardIconUnknown16>
class swift::misc::mixin::Icon< Derived, IconIndex >

CRTP class template from which a derived class can inherit icon-related functions.

Definition at line 27 of file mixinicon.h.

Member Function Documentation

◆ toIcon()

template<class Derived, CIcons::IconIndex IconIndex>
CIcons::IconIndex swift::misc::mixin::Icon< Derived, IconIndex >::toIcon ( ) const

As icon, not implemented by all classes.

Definition at line 39 of file mixinicon.h.


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