|
Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
|
A unified view over UUID-identified objects that supports: More...
#include <src/utils/uuid_identifiable_object.h>


Data Structures | |
| class | Iterator |
Public Types | |
| using | UuidType = typename RegistryT::UuidType |
| using | VariantType = typename RegistryT::VariantType |
| using | UuidRefType = UuidReference<RegistryT> |
Public Member Functions | |
| UuidIdentifiableObjectView (std::span< const VariantType > objects) | |
| Constructor for direct object range. | |
| UuidIdentifiableObjectView (std::span< const UuidRefType > refs) | |
| Constructor for UuidReference range. | |
| UuidIdentifiableObjectView (const RegistryT ®istry, std::span< const UuidType > uuids) | |
| Constructor for Uuid + Registry. | |
| UuidIdentifiableObjectView (const VariantType &obj) | |
| Single object constructor. | |
| Iterator | begin () const |
| Iterator | end () const |
| VariantType | operator[] (size_t index) const |
| VariantType | front () const |
| VariantType | back () const |
| VariantType | at (size_t index) const |
| size_t | size () const |
| bool | empty () const |
| template<typename T> | |
| auto | get_elements_by_type () const |
| auto | as_base_type () const |
| template<typename T> | |
| bool | contains_type () const |
| template<typename T> | |
| auto | as_type () const |
| template<typename T> | |
| auto | get_elements_derived_from () const |
Static Public Member Functions | |
| static UuidType | uuid_projection (const VariantType &var) |
| static RegistryT::BaseType * | base_projection (const VariantType &var) |
| template<typename T> | |
| static auto | type_projection (const VariantType &var) |
| template<typename BaseType> | |
| static auto | derived_from_type_projection (const VariantType &var) |
| template<typename T> | |
| static auto | type_transformation (const VariantType &var) |
| template<typename T> | |
| static auto | derived_from_type_transformation (const VariantType &var) |
A unified view over UUID-identified objects that supports:
Definition at line 719 of file uuid_identifiable_object.h.
| using zrythm::utils::UuidIdentifiableObjectView< RegistryT >::UuidRefType = UuidReference<RegistryT> |
Definition at line 725 of file uuid_identifiable_object.h.
| using zrythm::utils::UuidIdentifiableObjectView< RegistryT >::UuidType = typename RegistryT::UuidType |
Definition at line 723 of file uuid_identifiable_object.h.
| using zrythm::utils::UuidIdentifiableObjectView< RegistryT >::VariantType = typename RegistryT::VariantType |
Definition at line 724 of file uuid_identifiable_object.h.
|
inlineexplicit |
Constructor for direct object range.
Definition at line 905 of file uuid_identifiable_object.h.
|
inlineexplicit |
Constructor for UuidReference range.
Definition at line 911 of file uuid_identifiable_object.h.
|
inlineexplicit |
Constructor for Uuid + Registry.
Definition at line 917 of file uuid_identifiable_object.h.
|
inlineexplicit |
Single object constructor.
Definition at line 925 of file uuid_identifiable_object.h.
|
inline |
Definition at line 1022 of file uuid_identifiable_object.h.
|
inline |
Definition at line 1070 of file uuid_identifiable_object.h.
|
inline |
Definition at line 981 of file uuid_identifiable_object.h.
|
inline |
Definition at line 972 of file uuid_identifiable_object.h.
|
inlinestatic |
Definition at line 1016 of file uuid_identifiable_object.h.
|
inline |
Definition at line 930 of file uuid_identifiable_object.h.
|
inline |
Definition at line 1032 of file uuid_identifiable_object.h.
|
inlinestatic |
Definition at line 1038 of file uuid_identifiable_object.h.
|
inlinestatic |
Definition at line 1057 of file uuid_identifiable_object.h.
|
inline |
Definition at line 999 of file uuid_identifiable_object.h.
|
inline |
Definition at line 946 of file uuid_identifiable_object.h.
|
inline |
Definition at line 971 of file uuid_identifiable_object.h.
|
inline |
Definition at line 1007 of file uuid_identifiable_object.h.
|
inline |
Definition at line 1075 of file uuid_identifiable_object.h.
|
inline |
Definition at line 962 of file uuid_identifiable_object.h.
|
inline |
Definition at line 990 of file uuid_identifiable_object.h.
|
inlinestatic |
Definition at line 1027 of file uuid_identifiable_object.h.
|
inlinestatic |
Definition at line 1051 of file uuid_identifiable_object.h.
|
inlinestatic |
Definition at line 1002 of file uuid_identifiable_object.h.