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

Public Member Functions

 PrefsItem (const wxString &name, const PrefsPanel::Factory &factory, bool expanded)
 
- Public Member Functions inherited from Registry::GroupItem< Traits >
 ~GroupItem () override=default
 
- Public Member Functions inherited from Composite::Builder< detail::GroupItemBase, GroupItem< Traits >, const Identifier & >
auto push_back (Arg &&arg) -> std::enable_if_t< Traits< detail::GroupItemBase, GroupItem< Traits > > ::template enables_item_type_v< Arg >, void >
 
void push_back (typename Base::value_type arg)
 
 Builder (BaseArgs... args, Items &&... items)
 Variadic constructor. More...
 
 Builder (BaseArgs... args, InputIterator begin, InputIterator end)
 Iterator range constructor, with default transformer. More...
 
 Builder (BaseArgs... args, InputIterator begin, InputIterator end, Transformer transformer)
 Iterator range constructor, with explicit transformer. More...
 

Static Public Member Functions

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

Public Attributes

PrefsPanel::Factory factory
 
bool expanded { false }
 

Additional Inherited Members

- Public Types inherited from Composite::Builder< detail::GroupItemBase, GroupItem< Traits >, const Identifier & >
using BaseType = detail::GroupItemBase
 

Detailed Description

Definition at line 132 of file PrefsPanel.h.

Constructor & Destructor Documentation

◆ PrefsItem()

PrefsPanel::PrefsItem::PrefsItem ( const wxString &  name,
const PrefsPanel::Factory factory,
bool  expanded 
)

Definition at line 23 of file PrefsPanel.cpp.

25 : GroupItem{ name }
26 , factory{ factory }
28{}
wxString name
Definition: TagsEditor.cpp:166
PrefsPanel::Factory factory
Definition: PrefsPanel.h:134

Member Function Documentation

◆ Registry()

auto PrefsPanel::PrefsItem::Registry ( )
static

Definition at line 17 of file PrefsPanel.cpp.

18{
19 static Registry::GroupItem<Traits> registry{ PathStart };
20 return registry;
21}
static const auto PathStart
Definition: PrefsPanel.cpp:14

References PathStart.

Referenced by PrefsPanel::DefaultFactories().

Here is the caller graph for this function:

Member Data Documentation

◆ expanded

bool PrefsPanel::PrefsItem::expanded { false }

Definition at line 135 of file PrefsPanel.h.

Referenced by PrefsPanel::DefaultFactories().

◆ factory

PrefsPanel::Factory PrefsPanel::PrefsItem::factory

Definition at line 134 of file PrefsPanel.h.

Referenced by PrefsPanel::DefaultFactories().


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