swift
Static Public Member Functions | List of all members
swift::misc::audio::TSettings Struct Reference

Audio related settings. More...

Inheritance diagram for swift::misc::audio::TSettings:
[legend]

Static Public Member Functions

static const char * key ()
 Key string of the value. Reimplemented in derived class. More...
 
static const QString & humanReadable ()
 Optional human readable name. More...
 
static bool isValid (const swift::misc::audio::CSettings &value, QString &)
 Validator function. Return true if the argument is valid, false otherwise. Default implementation just returns true. Reimplemented in derived class to support validation of the value. More...
 
- Static Public Member Functions inherited from swift::misc::TSettingTrait< CSettings >
static const char * key ()
 Key string of the value. Reimplemented in derived class.
 
static const QString & humanReadable ()
 Optional human readable name.
 
static bool isValid (const CSettings &value, QString &reason)
 Validator function. Return true if the argument is valid, false otherwise. Default implementation just returns true. Reimplemented in derived class to support validation of the value.
 
static const CSettings & defaultValue ()
 Return the value to use in case the supplied value does not satisfy the validator. Default implementation returns a default-constructed value.
 

Additional Inherited Members

- Public Types inherited from swift::misc::TSettingTrait< CSettings >
using type = CSettings
 Data type of the value.
 
- Public Member Functions inherited from swift::misc::TSettingTrait< CSettings >
 TSettingTrait ()=delete
 Deleted default constructor.
 
 TSettingTrait (const TSettingTrait &)=delete
 Deleted copy constructor.
 
TSettingTraitoperator= (const TSettingTrait &)=delete
 Deleted copy assignment operator.
 

Detailed Description

Audio related settings.

Definition at line 161 of file audiosettings.h.

Member Function Documentation

◆ humanReadable()

static const QString& swift::misc::audio::TSettings::humanReadable ( )
inlinestatic

Optional human readable name.

Definition at line 167 of file audiosettings.h.

◆ isValid()

static bool swift::misc::audio::TSettings::isValid ( const swift::misc::audio::CSettings value,
QString &   
)
inlinestatic

Validator function. Return true if the argument is valid, false otherwise. Default implementation just returns true. Reimplemented in derived class to support validation of the value.

Definition at line 174 of file audiosettings.h.

◆ key()

static const char* swift::misc::audio::TSettings::key ( )
inlinestatic

Key string of the value. Reimplemented in derived class.

Definition at line 164 of file audiosettings.h.


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