Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
zrythm::utils::UuidIdentifiableObjectSelectionManager< RegistryT > Class Template Reference

Public Types

using RegistryType = RegistryT
using UuidSet = std::unordered_set<UuidType>

Public Member Functions

 UuidIdentifiableObjectSelectionManager (const RegistryT &registry)
RegistryT::BaseType * lastSelectedObject () const
void append_to_selection (this auto &&self, const UuidType &id)
void remove_from_selection (this auto &&self, const UuidType &id)
void select_unique (this auto &&self, const UuidType &id)
bool is_selected (const UuidType &id) const
bool is_only_selection (const UuidType &id) const
bool empty () const
auto size () const
void clear_selection (this auto &&self)
template<RangeOf< UuidType > UuidRange>
void select_only_these (this auto &&self, const UuidRange &uuids)

Detailed Description

template<typename RegistryT>
class zrythm::utils::UuidIdentifiableObjectSelectionManager< RegistryT >

Definition at line 614 of file uuid_identifiable_object.h.

Member Typedef Documentation

◆ RegistryType

template<typename RegistryT>
using zrythm::utils::UuidIdentifiableObjectSelectionManager< RegistryT >::RegistryType = RegistryT

Definition at line 619 of file uuid_identifiable_object.h.

◆ UuidSet

template<typename RegistryT>
using zrythm::utils::UuidIdentifiableObjectSelectionManager< RegistryT >::UuidSet = std::unordered_set<UuidType>

Definition at line 620 of file uuid_identifiable_object.h.

Constructor & Destructor Documentation

◆ UuidIdentifiableObjectSelectionManager()

template<typename RegistryT>
zrythm::utils::UuidIdentifiableObjectSelectionManager< RegistryT >::UuidIdentifiableObjectSelectionManager ( const RegistryT & registry)
inline

Definition at line 622 of file uuid_identifiable_object.h.

Member Function Documentation

◆ append_to_selection()

template<typename RegistryT>
void zrythm::utils::UuidIdentifiableObjectSelectionManager< RegistryT >::append_to_selection ( this auto && self,
const UuidType & id )
inline

Definition at line 635 of file uuid_identifiable_object.h.

◆ clear_selection()

template<typename RegistryT>
void zrythm::utils::UuidIdentifiableObjectSelectionManager< RegistryT >::clear_selection ( this auto && self)
inline

Definition at line 681 of file uuid_identifiable_object.h.

◆ empty()

template<typename RegistryT>
bool zrythm::utils::UuidIdentifiableObjectSelectionManager< RegistryT >::empty ( ) const
inline

Definition at line 678 of file uuid_identifiable_object.h.

◆ is_only_selection()

template<typename RegistryT>
bool zrythm::utils::UuidIdentifiableObjectSelectionManager< RegistryT >::is_only_selection ( const UuidType & id) const
inline

Definition at line 674 of file uuid_identifiable_object.h.

◆ is_selected()

template<typename RegistryT>
bool zrythm::utils::UuidIdentifiableObjectSelectionManager< RegistryT >::is_selected ( const UuidType & id) const
inline

Definition at line 670 of file uuid_identifiable_object.h.

◆ lastSelectedObject()

template<typename RegistryT>
RegistryT::BaseType * zrythm::utils::UuidIdentifiableObjectSelectionManager< RegistryT >::lastSelectedObject ( ) const
inline

Definition at line 627 of file uuid_identifiable_object.h.

◆ remove_from_selection()

template<typename RegistryT>
void zrythm::utils::UuidIdentifiableObjectSelectionManager< RegistryT >::remove_from_selection ( this auto && self,
const UuidType & id )
inline

Definition at line 647 of file uuid_identifiable_object.h.

◆ select_only_these()

template<typename RegistryT>
template<RangeOf< UuidType > UuidRange>
void zrythm::utils::UuidIdentifiableObjectSelectionManager< RegistryT >::select_only_these ( this auto && self,
const UuidRange & uuids )
inline

Definition at line 691 of file uuid_identifiable_object.h.

◆ select_unique()

template<typename RegistryT>
void zrythm::utils::UuidIdentifiableObjectSelectionManager< RegistryT >::select_unique ( this auto && self,
const UuidType & id )
inline

Definition at line 665 of file uuid_identifiable_object.h.

◆ size()

template<typename RegistryT>
auto zrythm::utils::UuidIdentifiableObjectSelectionManager< RegistryT >::size ( ) const
inline

Definition at line 679 of file uuid_identifiable_object.h.


The documentation for this class was generated from the following file: