Audacity 3.2.0
Namespaces | Functions | Variables
anonymous_namespace{NumericConverter.cpp} Namespace Reference

Namespaces

namespace  anonymous_namespace{NumericConverter.cpp}
 

Functions

const BuiltinFormatStringChooseBuiltinFormatStrings (NumericConverter::Type type)
 
size_t ChooseNBuiltinFormatStrings (NumericConverter::Type type)
 

Variables

static BuiltinFormatString TimeConverterFormats_ []
 array of formats the control knows about internally array of string pairs for name of the format and the format string needed to create that format output. This is used for the pop-up list of formats to choose from in the control.
More...
 
static const BuiltinFormatString FrequencyConverterFormats_ []
 array of formats the control knows about internally array of string pairs for name of the format and the format string needed to create that format output. This is used for the pop-up list of formats to choose from in the control. More...
 
static const BuiltinFormatString BandwidthConverterFormats_ []
 array of formats the control knows about internally array of string pairs for name of the format and the format string needed to create that format output. This is used for the pop-up list of formats to choose from in the control. More...
 

Function Documentation

◆ ChooseBuiltinFormatStrings()

const BuiltinFormatString * anonymous_namespace{NumericConverter.cpp}::ChooseBuiltinFormatStrings ( NumericConverter::Type  type)

Definition at line 535 of file NumericConverter.cpp.

537 {
538 switch (type) {
539 default:
546 }
547 }
static BuiltinFormatString TimeConverterFormats_[]
array of formats the control knows about internally array of string pairs for name of the format and ...
static const BuiltinFormatString FrequencyConverterFormats_[]
array of formats the control knows about internally array of string pairs for name of the format and ...
static const BuiltinFormatString BandwidthConverterFormats_[]
array of formats the control knows about internally array of string pairs for name of the format and ...

References NumericConverter::BANDWIDTH, BandwidthConverterFormats_, NumericConverter::FREQUENCY, FrequencyConverterFormats_, NumericConverter::TIME, and TimeConverterFormats_.

Referenced by NumericConverter::LookupFormat().

Here is the caller graph for this function:

◆ ChooseNBuiltinFormatStrings()

size_t anonymous_namespace{NumericConverter.cpp}::ChooseNBuiltinFormatStrings ( NumericConverter::Type  type)

Definition at line 549 of file NumericConverter.cpp.

551 {
552 switch (type) {
553 default:
555 return WXSIZEOF(TimeConverterFormats_);
557 return WXSIZEOF(FrequencyConverterFormats_);
559 return WXSIZEOF(BandwidthConverterFormats_);
560 }
561 }

References NumericConverter::BANDWIDTH, BandwidthConverterFormats_, NumericConverter::FREQUENCY, FrequencyConverterFormats_, NumericConverter::TIME, and TimeConverterFormats_.

Referenced by NumericConverter::LookupFormat().

Here is the caller graph for this function:

Variable Documentation

◆ BandwidthConverterFormats_

const BuiltinFormatString anonymous_namespace{NumericConverter.cpp}::BandwidthConverterFormats_[]
static

array of formats the control knows about internally array of string pairs for name of the format and the format string needed to create that format output. This is used for the pop-up list of formats to choose from in the control.

Definition at line 489 of file NumericConverter.cpp.

Referenced by ChooseBuiltinFormatStrings(), and ChooseNBuiltinFormatStrings().

◆ FrequencyConverterFormats_

const BuiltinFormatString anonymous_namespace{NumericConverter.cpp}::FrequencyConverterFormats_[]
static
Initial value:
= {
{
{ XO("Hz") },
{
, XO("centihertz")
}
},
{
{ XO("kHz") },
{
, XO("hertz")
}
},
}
XO("Cut/Copy/Paste")

array of formats the control knows about internally array of string pairs for name of the format and the format string needed to create that format output. This is used for the pop-up list of formats to choose from in the control.

Definition at line 457 of file NumericConverter.cpp.

Referenced by ChooseBuiltinFormatStrings(), ChooseNBuiltinFormatStrings(), and NumericConverter::HertzFormat().

◆ TimeConverterFormats_

BuiltinFormatString anonymous_namespace{NumericConverter.cpp}::TimeConverterFormats_[]
static

array of formats the control knows about internally array of string pairs for name of the format and the format string needed to create that format output. This is used for the pop-up list of formats to choose from in the control.

Definition at line 214 of file NumericConverter.cpp.

Referenced by ChooseBuiltinFormatStrings(), ChooseNBuiltinFormatStrings(), NumericConverter::DefaultSelectionFormat(), NumericConverter::HoursMinsSecondsFormat(), NumericConverter::HundredthsFormat(), NumericConverter::SecondsFormat(), NumericConverter::TimeAndSampleFormat(), and anonymous_namespace{NumericConverter.cpp}::anonymous_namespace{NumericConverter.cpp}::BeatsUpdater::UpdatePrefs().