Base class for objects that need to be uniquely identified by UUID.
More...
#include <src/utils/uuid_identifiable_object.h>
|
| | 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 |
|
| 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) |
template<typename Derived>
class zrythm::utils::UuidIdentifiableObject< Derived >
Base class for objects that need to be uniquely identified by UUID.
Definition at line 27 of file uuid_identifiable_object.h.
◆ UuidIdentifiableObject() [1/2]
template<typename Derived>
◆ UuidIdentifiableObject() [2/2]
template<typename Derived>
◆ get_uuid()
template<typename Derived>
◆ from_json
template<typename Derived>
| void from_json |
( |
const nlohmann::json & | j, |
|
|
UuidIdentifiableObject< Derived > & | obj ) |
|
friend |
◆ init_from
template<typename Derived>
| void init_from |
( |
UuidIdentifiableObject< Derived > & | obj, |
|
|
const UuidIdentifiableObject< Derived > & | other, |
|
|
utils::ObjectCloneType | clone_type ) |
|
friend |
◆ operator==
template<typename Derived>
| bool operator== |
( |
const UuidIdentifiableObject< Derived > & | lhs, |
|
|
const UuidIdentifiableObject< Derived > & | rhs ) |
|
friend |
◆ to_json
template<typename Derived>
| void to_json |
( |
nlohmann::json & | j, |
|
|
const UuidIdentifiableObject< Derived > & | obj ) |
|
friend |
The documentation for this class was generated from the following file: