Audacity  3.0.3
Public Member Functions | Private Attributes | List of all members
SettingSpec< T > Class Template Reference

#include <ShuttleGui.h>

Collaboration diagram for SettingSpec< T >:
[legend]

Public Member Functions

 SettingSpec (const RegistryPath &path, const T &defaultValue={})
 
const RegistryPathGetPath () const
 
const T & GetDefault () const
 

Private Attributes

RegistryPath mPath
 
mDefaultValue
 

Detailed Description

template<typename T>
class SettingSpec< T >

Definition at line 106 of file ShuttleGui.h.

Constructor & Destructor Documentation

◆ SettingSpec()

template<typename T >
SettingSpec< T >::SettingSpec ( const RegistryPath path,
const T &  defaultValue = {} 
)
inline

Definition at line 108 of file ShuttleGui.h.

108  {} )
109  : mPath{ path }, mDefaultValue{ defaultValue }
110  {}

Member Function Documentation

◆ GetDefault()

template<typename T >
const T& SettingSpec< T >::GetDefault ( ) const
inline

◆ GetPath()

template<typename T >
const RegistryPath& SettingSpec< T >::GetPath ( ) const
inline

Member Data Documentation

◆ mDefaultValue

template<typename T >
T SettingSpec< T >::mDefaultValue
private

Definition at line 117 of file ShuttleGui.h.

Referenced by SettingSpec< T >::GetDefault().

◆ mPath

template<typename T >
RegistryPath SettingSpec< T >::mPath
private

Definition at line 116 of file ShuttleGui.h.

Referenced by SettingSpec< T >::GetPath().


The documentation for this class was generated from the following file:
SettingSpec::mPath
RegistryPath mPath
Definition: ShuttleGui.h:116
SettingSpec::mDefaultValue
T mDefaultValue
Definition: ShuttleGui.h:117