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

Method Find

libraries/lib-numeric-formats/NumericConverterRegistry.cpp:77–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77const NumericConverterRegistryItem* NumericConverterRegistry::Find(
78 const FormatterContext& context,
79 const NumericConverterType& type, const NumericFormatID& symbol)
80{
81 const NumericConverterRegistryItem* result = nullptr;
82
83 Visit(
84 context,
85 type,
86 [&result, symbol](const NumericConverterRegistryItem& item)
87 {
88 if (item.symbol.Internal() == symbol)
89 result = &item;
90 });
91
92 return result;
93}
94
95NumericConverterRegistryGroup::~NumericConverterRegistryGroup()
96{

Callers 2

ParseProgramMethod · 0.45
resolveFilePathMethod · 0.45

Calls 1

VisitFunction · 0.50

Tested by

no test coverage detected