Audacity 3.2.0
Namespaces | Functions
NumericConverterFormats.cpp File Reference
#include "NumericConverterFormats.h"
#include "NumericConverterRegistry.h"
#include "NumericConverterFormatterContext.h"
#include <cassert>
#include <unordered_map>
Include dependency graph for NumericConverterFormats.cpp:

Go to the source code of this file.

Namespaces

namespace  anonymous_namespace{NumericConverterFormats.cpp}
 
namespace  NumericConverterFormats
 

Functions

std::unordered_map< NumericConverterType, NumericFormatSymbol > & anonymous_namespace{NumericConverterFormats.cpp}::GetDefaultSymbols ()
 
NumericFormatSymbol NumericConverterFormats::Default (const NumericConverterType &type)
 Returns the default format for the type or empty symbol, if no default symbol is registered. More...
 
NUMERIC_FORMATS_API NumericFormatSymbol NumericConverterFormats::Lookup (const FormatterContext &context, const NumericConverterType &type, const NumericFormatID &formatIdentifier)
 Looks up the format, returns Default for the type if the format is not registered. More...
 
NUMERIC_FORMATS_API NumericFormatSymbol NumericConverterFormats::DefaultSelectionFormat ()
 
NUMERIC_FORMATS_API NumericFormatSymbol NumericConverterFormats::TimeAndSampleFormat ()
 
NUMERIC_FORMATS_API NumericFormatSymbol NumericConverterFormats::SecondsFormat ()
 
NUMERIC_FORMATS_API NumericFormatSymbol NumericConverterFormats::HoursMinsSecondsFormat ()
 
NUMERIC_FORMATS_API NumericFormatSymbol NumericConverterFormats::MillisecondsFormat ()
 
NUMERIC_FORMATS_API NumericFormatSymbol NumericConverterFormats::HundredthsFormat ()
 
NUMERIC_FORMATS_API NumericFormatSymbol NumericConverterFormats::HertzFormat ()
 
NUMERIC_FORMATS_API NumericFormatSymbol NumericConverterFormats::OctavesFormat ()
 
NUMERIC_FORMATS_API NumericFormatID NumericConverterFormats::GetBestDurationFormat (const NumericFormatID &timeFormat)
 Return the best duration format for the given time format. Currently is an identity function. More...