kwave  18.07.70
Kwave::WindowFunction::InitializedTypesMap Class Reference

#include <WindowFunction.h>

Inheritance diagram for Kwave::WindowFunction::InitializedTypesMap:
Inheritance graph
Collaboration diagram for Kwave::WindowFunction::InitializedTypesMap:
Collaboration graph

Public Member Functions

 InitializedTypesMap ()
 
virtual void fill () Q_DECL_OVERRIDE
 
- Public Member Functions inherited from Kwave::TypesMap< window_function_t, unsigned int >
 TypesMap ()
 
virtual ~TypesMap ()
 
virtual void append (window_function_t index, unsigned int data, const QString &name, const QString &description)
 
unsigned int count () const
 
window_function_t findFromData (const unsigned int &data) const
 
window_function_t findFromName (const QString &name) const
 
unsigned int data (window_function_t type) const
 
QString name (window_function_t type) const
 
QString description (window_function_t type, bool localized) const
 
QStringList allNames () const
 
QList< window_function_tkeys () const
 

Detailed Description

This map will be initialized with all known window functions.

Definition at line 122 of file WindowFunction.h.

Constructor & Destructor Documentation

◆ InitializedTypesMap()

Kwave::WindowFunction::InitializedTypesMap::InitializedTypesMap ( )
inlineexplicit

Constructor

Definition at line 127 of file WindowFunction.h.

Member Function Documentation

◆ fill()

void Kwave::WindowFunction::InitializedTypesMap::fill ( )
virtual

fill function for the map

Implements Kwave::TypesMap< window_function_t, unsigned int >.

Definition at line 29 of file WindowFunction.cpp.

References _, Kwave::TypesMap< window_function_t, unsigned int >::append(), Kwave::WindowFunction::m_types_map, Kwave::WINDOW_FUNC_BLACKMAN, Kwave::WINDOW_FUNC_HAMMING, Kwave::WINDOW_FUNC_HANNING, Kwave::WINDOW_FUNC_NONE, and Kwave::WINDOW_FUNC_TRIANGULAR.

30 {
32  _("none"), _(I18N_NOOP("None")));
34  _("hamming"), _(I18N_NOOP("Hamming")));
36  _("hanning"), _(I18N_NOOP("Hanning")));
38  _("blackman"), _(I18N_NOOP("Blackman")));
40  _("triangular"), _(I18N_NOOP("Triangular")));
41 }
virtual void append(window_function_t index, unsigned int data, const QString &name, const QString &description)
Definition: TypesMap.h:72
#define _(m)
Definition: memcpy.c:66
Here is the call graph for this function:

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