Audacity 3.2.0
Public Member Functions | Public Attributes | List of all members
NumericConverterRegistryItem Struct Reference

#include <NumericConverterRegistry.h>

Inheritance diagram for NumericConverterRegistryItem:
[legend]
Collaboration diagram for NumericConverterRegistryItem:
[legend]

Public Member Functions

 NumericConverterRegistryItem (const Identifier &internalName, const NumericFormatSymbol &symbol, NumericConverterFormatterFactoryPtr factory)
 
 NumericConverterRegistryItem (const Identifier &internalName, const NumericFormatSymbol &symbol, const TranslatableString &fractionLabel, NumericConverterFormatterFactoryPtr factory)
 
 ~NumericConverterRegistryItem () override
 
- Public Member Functions inherited from Registry::SingleItem
 ~SingleItem () override=0
 
- Public Member Functions inherited from Registry::detail::BaseItem
 BaseItem (const Identifier &internalName)
 
virtual ~BaseItem ()
 

Public Attributes

const NumericFormatSymbol symbol
 
const TranslatableString fractionLabel
 
const NumericConverterFormatterFactoryPtr factory
 
- Public Attributes inherited from Registry::detail::BaseItem
const Identifier name
 
OrderingHint orderingHint
 

Detailed Description

Definition at line 68 of file NumericConverterRegistry.h.

Constructor & Destructor Documentation

◆ NumericConverterRegistryItem() [1/2]

NumericConverterRegistryItem::NumericConverterRegistryItem ( const Identifier internalName,
const NumericFormatSymbol symbol,
NumericConverterFormatterFactoryPtr  factory 
)

Definition at line 18 of file NumericConverterRegistry.cpp.

21 : SingleItem { internalName }
22 , symbol { _symbol }
23 , factory { std::move(_factory) }
24{
25}
const NumericConverterFormatterFactoryPtr factory
const NumericFormatSymbol symbol

◆ NumericConverterRegistryItem() [2/2]

NumericConverterRegistryItem::NumericConverterRegistryItem ( const Identifier internalName,
const NumericFormatSymbol symbol,
const TranslatableString fractionLabel,
NumericConverterFormatterFactoryPtr  factory 
)

Definition at line 27 of file NumericConverterRegistry.cpp.

31 : SingleItem { internalName }
32 , symbol { _symbol }
33 , fractionLabel { _fractionLabel }
34 , factory { std::move(_factory) }
35 {
36 }
const TranslatableString fractionLabel

◆ ~NumericConverterRegistryItem()

NumericConverterRegistryItem::~NumericConverterRegistryItem ( )
override

Definition at line 38 of file NumericConverterRegistry.cpp.

39 {
40 }

Member Data Documentation

◆ factory

const NumericConverterFormatterFactoryPtr NumericConverterRegistryItem::factory

Definition at line 84 of file NumericConverterRegistry.h.

Referenced by NumericConverterRegistry::Visit().

◆ fractionLabel

const TranslatableString NumericConverterRegistryItem::fractionLabel

Definition at line 82 of file NumericConverterRegistry.h.

◆ symbol

const NumericFormatSymbol NumericConverterRegistryItem::symbol

Definition at line 81 of file NumericConverterRegistry.h.

Referenced by NumericConverterRegistry::Find().


The documentation for this struct was generated from the following files: