kpimutils
KPIMUtils::SuperClass< Class > Struct Template Reference
#include <supertrait.h>
Inheritance diagram for KPIMUtils::SuperClass< Class >:
Additional Inherited Members | |
Public Types inherited from KPIMUtils::SuperClassTrait< Class > | |
typedef Class | Type |
Detailed Description
template<typename Class>
struct KPIMUtils::SuperClass< Class >
Type trait to provide information about a base class for a given class.
Used eg. for the Akonadi payload mechanism.
To provide base class introspection for own types, extend this trait as follows:
namespace KPIMUtils
{
template <> struct SuperClass<MyClass> : public SuperClassTrait<MyBaseClass>{};
}
Definition at line 47 of file supertrait.h.
The documentation for this struct was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:25 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:25 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.