MCPcopy Create free account
hub / github.com/audacity/audacity / Default

Function Default

libraries/lib-numeric-formats/NumericConverterFormats.cpp:47–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47NumericFormatSymbol Default(const NumericConverterType& type)
48{
49 auto& defaultSymbols = GetDefaultSymbols();
50
51 auto it = defaultSymbols.find(type);
52
53 if (it != defaultSymbols.end())
54 return it->second;
55
56 // Fail the debug build early
57 assert(false);
58
59 return {};
60}
61
62NUMERIC_FORMATS_API NumericFormatSymbol Lookup(
63 const FormatterContext& context,

Callers 5

GuardedCallFunction · 0.50
ReadMethod · 0.50
ApplyInnerMethod · 0.50
BuildSubViewsMethod · 0.50

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected