![]() |
Audacity 3.2.0
|
#include <ProjectNumericFormats.h>
Public Member Functions | |
ProjectNumericFormats (const AudacityProject &project) | |
~ProjectNumericFormats () override | |
void | SetSelectionFormat (const NumericFormatSymbol &format) |
const NumericFormatSymbol & | GetSelectionFormat () const |
void | SetAudioTimeFormat (const NumericFormatSymbol &format) |
const NumericFormatSymbol & | GetAudioTimeFormat () const |
void | SetFrequencySelectionFormatName (const NumericFormatSymbol &format) |
const NumericFormatSymbol & | GetFrequencySelectionFormatName () const |
void | SetBandwidthSelectionFormatName (const NumericFormatSymbol &format) |
const NumericFormatSymbol & | GetBandwidthSelectionFormatName () const |
NumericFormatSymbol | LookupFormat (const NumericConverterType &type, const wxString &identifier) |
![]() | |
virtual | ~Base () |
Static Public Member Functions | |
static ProjectNumericFormats & | Get (AudacityProject &project) |
static const ProjectNumericFormats & | Get (const AudacityProject &project) |
Definition at line 19 of file ProjectNumericFormats.h.
|
explicit |
Definition at line 39 of file ProjectNumericFormats.cpp.
|
overridedefault |
|
static |
Definition at line 28 of file ProjectNumericFormats.cpp.
References key.
Referenced by ProjectSelectionManager::AS_GetSelectionFormat(), ProjectSelectionManager::AS_SetSelectionFormat(), LabelTrackView::DoEditLabels(), Get(), Effect::GetSelectionFormat(), SelectUtilities::OnSetRegion(), ProjectFileManager::OpenProjectFile(), TimeToolBar::Populate(), SnapManager::Reinit(), ProjectSelectionManager::SSBL_GetBandwidthSelectionFormatName(), ProjectSelectionManager::SSBL_GetFrequencySelectionFormatName(), ProjectSelectionManager::SSBL_SetBandwidthSelectionFormatName(), ProjectSelectionManager::SSBL_SetFrequencySelectionFormatName(), ProjectSelectionManager::TT_GetAudioTimeFormat(), and ProjectSelectionManager::TT_SetAudioTimeFormat().
|
static |
Definition at line 33 of file ProjectNumericFormats.cpp.
References Get().
const NumericFormatSymbol & ProjectNumericFormats::GetAudioTimeFormat | ( | ) | const |
Definition at line 112 of file ProjectNumericFormats.cpp.
References mAudioTimeFormat.
const NumericFormatSymbol & ProjectNumericFormats::GetBandwidthSelectionFormatName | ( | ) | const |
Definition at line 78 of file ProjectNumericFormats.cpp.
References mBandwidthSelectionFormatName.
const NumericFormatSymbol & ProjectNumericFormats::GetFrequencySelectionFormatName | ( | ) | const |
Definition at line 66 of file ProjectNumericFormats.cpp.
References mFrequencySelectionFormatName.
const NumericFormatSymbol & ProjectNumericFormats::GetSelectionFormat | ( | ) | const |
Definition at line 102 of file ProjectNumericFormats.cpp.
References mSelectionFormat.
Referenced by ProjectSelectionManager::AS_GetSelectionFormat(), and Effect::GetSelectionFormat().
NumericFormatSymbol ProjectNumericFormats::LookupFormat | ( | const NumericConverterType & | type, |
const wxString & | identifier | ||
) |
Definition at line 83 of file ProjectNumericFormats.cpp.
References NumericConverterFormats::Lookup(), mProject, and FormatterContext::ProjectContext().
void ProjectNumericFormats::SetAudioTimeFormat | ( | const NumericFormatSymbol & | format | ) |
Definition at line 107 of file ProjectNumericFormats.cpp.
References format, and mAudioTimeFormat.
void ProjectNumericFormats::SetBandwidthSelectionFormatName | ( | const NumericFormatSymbol & | format | ) |
Definition at line 90 of file ProjectNumericFormats.cpp.
References mBandwidthSelectionFormatName.
void ProjectNumericFormats::SetFrequencySelectionFormatName | ( | const NumericFormatSymbol & | format | ) |
Definition at line 71 of file ProjectNumericFormats.cpp.
References mFrequencySelectionFormatName.
void ProjectNumericFormats::SetSelectionFormat | ( | const NumericFormatSymbol & | format | ) |
Definition at line 96 of file ProjectNumericFormats.cpp.
References format, and mSelectionFormat.
|
private |
Definition at line 51 of file ProjectNumericFormats.h.
Referenced by GetAudioTimeFormat(), and SetAudioTimeFormat().
|
private |
Definition at line 50 of file ProjectNumericFormats.h.
Referenced by GetBandwidthSelectionFormatName(), and SetBandwidthSelectionFormatName().
|
private |
Definition at line 49 of file ProjectNumericFormats.h.
Referenced by GetFrequencySelectionFormatName(), and SetFrequencySelectionFormatName().
|
private |
Definition at line 46 of file ProjectNumericFormats.h.
Referenced by LookupFormat().
|
private |
Definition at line 48 of file ProjectNumericFormats.h.
Referenced by GetSelectionFormat(), and SetSelectionFormat().