Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
|
Base class for objects that need to be uniquely identified by UUID. More...
#include <src/utils/uuid_identifiable_object.h>
Data Structures | |
struct | Uuid |
Public Member Functions | |
UuidIdentifiableObject (const Uuid &id) | |
UuidIdentifiableObject (const UuidIdentifiableObject &other)=default | |
UuidIdentifiableObject & | operator= (const UuidIdentifiableObject &other)=default |
UuidIdentifiableObject (UuidIdentifiableObject &&other)=default | |
UuidIdentifiableObject & | operator= (UuidIdentifiableObject &&other)=default |
auto | get_uuid () const |
Friends | |
void | init_from (UuidIdentifiableObject &obj, const UuidIdentifiableObject &other, utils::ObjectCloneType clone_type) |
void | to_json (nlohmann::json &j, const UuidIdentifiableObject &obj) |
void | from_json (const nlohmann::json &j, UuidIdentifiableObject &obj) |
bool | operator== (const UuidIdentifiableObject &lhs, const UuidIdentifiableObject &rhs) |
Base class for objects that need to be uniquely identified by UUID.
Definition at line 23 of file uuid_identifiable_object.h.
|
inline |
Definition at line 51 of file uuid_identifiable_object.h.
|
inline |
Definition at line 52 of file uuid_identifiable_object.h.
|
inline |
Definition at line 60 of file uuid_identifiable_object.h.
|
friend |
Definition at line 81 of file uuid_identifiable_object.h.
|
friend |
Definition at line 62 of file uuid_identifiable_object.h.
|
friend |
Definition at line 86 of file uuid_identifiable_object.h.
|
friend |
Definition at line 77 of file uuid_identifiable_object.h.