21 : SingleItem { internalName }
31 : SingleItem { internalName }
33 , fractionLabel { _fractionLabel }
56 { { L
"", L
"parsedTime,beats,parsedFrequency,parsedBandwith" } },
60 bool inMatchingGroup =
false;
63 inMatchingGroup = group.
GetType() == type; },
68 if (!item.
factory->IsAcceptableInContext(context))
73 inMatchingGroup =
false; }
std::unique_ptr< NumericConverterFormatterFactory > NumericConverterFormatterFactoryPtr
ComponentInterfaceSymbol pairs a persistent string identifier used internally with an optional,...
const wxString & Internal() const
A context in which formatter operates.
An explicitly nonlocalized string, not meant for the user to see.
Holds a msgid for the translation catalog; may also bind format arguments.
void Visit(const Visitors &visitors, const GroupItem< RegistryTraits > *pTopItem, const GroupItem< RegistryTraits > *pRegistry={}, typename RegistryTraits::ComputedItemContextType &computedItemContext=RegistryTraits::ComputedItemContextType::Instance)
~NumericConverterRegistryGroup() override
const auto & GetType() const
std::function< void(const NumericConverterRegistryItem &)> Visitor
static const NumericConverterRegistryItem * Find(const FormatterContext &context, const NumericConverterType &type, const NumericFormatID &symbol)
static void Visit(const FormatterContext &context, const NumericConverterType &type, Visitor visitor)
static Registry::GroupItem< NumericConverterRegistryTraits > & Registry()
~NumericConverterRegistryItem() override
const NumericConverterFormatterFactoryPtr factory
const NumericFormatSymbol symbol
NumericConverterRegistryItem(const Identifier &internalName, const NumericFormatSymbol &symbol, NumericConverterFormatterFactoryPtr factory)