K4Style::OptionBase< EventualSubtype, BaseType > Struct Template Reference

#include <k4style.h>

Inheritance diagram for K4Style::OptionBase< EventualSubtype, BaseType >:

Static Public Member Functions

static EventualSubtype * defaultOption ()

Detailed Description

template<typename EventualSubtype, typename BaseType>
struct K4Style::OptionBase< EventualSubtype, BaseType >

Intermediatary base that helps implement subtypes of Option that properly handle defaults.

EventualSubtype — the type of option which will be implemented by inheritting of this class

BaseType — the type of option from which this should inherit

Definition at line 251 of file k4style.h.

Member Function Documentation

template<typename EventualSubtype, typename BaseType>
static EventualSubtype* K4Style::OptionBase< EventualSubtype, BaseType >::defaultOption ( )

Default value for this option.

Uses the default constructor of EventualSubtype to create the option.

Definition at line 255 of file k4style.h.

The documentation for this struct was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Wed Apr 14 2021 22:58:35 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.