Audacity 3.2.0
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
ImportExportPrefs::PopulatorItem Struct Referencefinal
Inheritance diagram for ImportExportPrefs::PopulatorItem:
[legend]
Collaboration diagram for ImportExportPrefs::PopulatorItem:
[legend]

Public Member Functions

 PopulatorItem (const Identifier &id, Populator populator)
 
- Public Member Functions inherited from Registry::SingleItem
 ~SingleItem () override=0
 
- Public Member Functions inherited from Registry::detail::BaseItem
 BaseItem (const Identifier &internalName)
 
virtual ~BaseItem ()
 

Static Public Member Functions

static Registry::GroupItem< Traits > & Registry ()
 

Public Attributes

Populator mPopulator
 
- Public Attributes inherited from Registry::detail::BaseItem
const Identifier name
 
OrderingHint orderingHint
 

Detailed Description

Definition at line 63 of file ImportExportPrefs.h.

Constructor & Destructor Documentation

◆ PopulatorItem()

ImportExportPrefs::PopulatorItem::PopulatorItem ( const Identifier id,
Populator  populator 
)

Definition at line 39 of file ImportExportPrefs.cpp.

41 : SingleItem{ id }
42 , mPopulator{ move(populator) }
43{}
Common abstract base class for items that are not groups.
Definition: Registry.h:224

Member Function Documentation

◆ Registry()

auto ImportExportPrefs::PopulatorItem::Registry ( )
static

Definition at line 32 of file ImportExportPrefs.cpp.

34{
35 static Registry::GroupItem<Traits> registry{ PathStart };
36 return registry;
37}
static const auto PathStart

References PathStart.

Referenced by ImportExportPrefs::RegisteredControls::Any(), ImportExportPrefs::RegisteredControls::Init::Init(), and ImportExportPrefs::PopulateOrExchange().

Here is the caller graph for this function:

Member Data Documentation

◆ mPopulator

Populator ImportExportPrefs::PopulatorItem::mPopulator

Definition at line 68 of file ImportExportPrefs.h.

Referenced by ImportExportPrefs::PopulateOrExchange().


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