29 virtual std::unique_ptr<NumericConverterFormatter>
36 std::unique_ptr<NumericConverterFormatterFactory>;
57 Registry::GroupItem<NumericConverterRegistryTraits>,
58 NumericConverterRegistryGroupData,
65 const auto &
GetType()
const {
return type; }
103 Callable::UniqueMaker<NumericConverterRegistryItem>();
113 Registry::GroupItem<NumericConverterRegistryTraits>,
114 void, const Identifier&
116 using Extension::Extension;
120 Callable::UniqueMaker<NumericConverterRegistrySuperGroup>();
Functions and classes that generate callable objects.
std::unique_ptr< NumericConverterFormatterFactory > NumericConverterFormatterFactoryPtr
constexpr auto NumericConverterItems
constexpr auto NumericConverterFormatterGroup
constexpr auto NumericConverterFormatterItem
ComponentInterfaceSymbol pairs a persistent string identifier used internally with an optional,...
A context in which formatter operates.
An explicitly nonlocalized string, not meant for the user to see.
Generates classes whose instances register items at construction.
Holds a msgid for the translation catalog; may also bind format arguments.
PROJECT_FILE_IO_API wxString Find(const FilePath &path)
constexpr auto UniqueMaker()
Generate variadic factory functions.
Extend Base with extra fields, in a second, protected base class.
Extension(RequiredBaseArgs... args, Base2 arg2, OtherBaseArgs &&...otherArgs)
NumericConverterType type
NumericConverterRegistryGroupData(NumericConverterType type)
const auto & GetType() const
std::function< void(const NumericConverterRegistryItem &)> Visitor
const NumericConverterFormatterFactoryPtr factory
const NumericFormatSymbol symbol
const TranslatableString fractionLabel
Common abstract base class for items that are not groups.
Primary template for a list of arbitrary types.