Audacity 3.2.0
|
Type-erasing adapter class (with no std::function overhead) More...
#include <Registry.h>
Public Types | |
using | NodeTypes = ConsUnique_t< const GroupItemBase, VisitedNodeTypes< RegistryTraits > > |
using | LeafTypes = VisitedLeafTypes< RegistryTraits > |
Public Member Functions | |
Visitor (const Visitors &visitors) | |
void | BeginGroup (const GroupItemBase &item, const Path &path) const override |
void | Visit (const SingleItem &item, const Path &path) const override |
void | EndGroup (const GroupItemBase &item, const Path &path) const override |
Public Member Functions inherited from Registry::detail::VisitorBase | |
virtual | ~VisitorBase () |
virtual void | BeginGroup (const GroupItemBase &item, const Path &path) const =0 |
virtual void | Visit (const SingleItem &item, const Path &path) const =0 |
virtual void | EndGroup (const GroupItemBase &item, const Path &path) const =0 |
Public Attributes | |
const Visitors & | visitors |
Static Public Attributes | |
static constexpr auto | size = TupleSize<Visitors> |
Type-erasing adapter class (with no std::function overhead)
See TypeSwitch for details of function signatures
Definition at line 556 of file Registry.h.
using Registry::detail::Visitor< RegistryTraits, Visitors >::LeafTypes = VisitedLeafTypes<RegistryTraits> |
Definition at line 559 of file Registry.h.
using Registry::detail::Visitor< RegistryTraits, Visitors >::NodeTypes = ConsUnique_t<const GroupItemBase, VisitedNodeTypes<RegistryTraits> > |
Definition at line 557 of file Registry.h.
|
inline |
Definition at line 562 of file Registry.h.
|
inlineoverridevirtual |
Implements Registry::detail::VisitorBase.
Definition at line 564 of file Registry.h.
References Registry::detail::ForwardTuple(), Registry::detail::Visitor< RegistryTraits, Visitors >::size, and Registry::detail::Visitor< RegistryTraits, Visitors >::visitors.
|
inlineoverridevirtual |
Implements Registry::detail::VisitorBase.
Definition at line 575 of file Registry.h.
References Registry::detail::ForwardTuple(), Registry::detail::Visitor< RegistryTraits, Visitors >::size, and Registry::detail::Visitor< RegistryTraits, Visitors >::visitors.
|
inlineoverridevirtual |
Implements Registry::detail::VisitorBase.
Definition at line 570 of file Registry.h.
References Registry::detail::ForwardTuple(), and Registry::detail::Visitor< RegistryTraits, Visitors >::visitors.
|
staticconstexpr |
Definition at line 560 of file Registry.h.
Referenced by Registry::detail::Visitor< RegistryTraits, Visitors >::BeginGroup(), and Registry::detail::Visitor< RegistryTraits, Visitors >::EndGroup().
const Visitors& Registry::detail::Visitor< RegistryTraits, Visitors >::visitors |
Definition at line 581 of file Registry.h.
Referenced by Registry::detail::Visitor< RegistryTraits, Visitors >::BeginGroup(), Registry::detail::Visitor< RegistryTraits, Visitors >::EndGroup(), and Registry::detail::Visitor< RegistryTraits, Visitors >::Visit().