2#include <Process/ProcessMetadata.hpp>
8class ProcessFactoryList;
17 return lhs.key == rhs.key && lhs.effect == rhs.effect;
27 return lhs.key < rhs.key || (lhs.key == rhs.key && lhs.effect < rhs.effect);
31struct SCORE_LIB_PROCESS_EXPORT
Preset
37 static std::shared_ptr<Process::Preset>
40 QByteArray toJson()
const noexcept;
42 friend bool operator==(
const Preset& lhs,
const Preset& rhs)
noexcept
44 return lhs.name == rhs.name && lhs.key == rhs.key && lhs.data == rhs.data;
46 friend bool operator!=(
const Preset& lhs,
const Preset& rhs)
noexcept
50 friend bool operator<(
const Preset& lhs,
const Preset& rhs)
noexcept
52 return lhs.key < rhs.key;
59Q_DECLARE_METATYPE(std::optional<Process::Preset>)
60W_REGISTER_ARGTYPE(std::optional<Process::Preset>)
Definition ProcessList.hpp:10
Definition UuidKey.hpp:343
Base classes and tools to implement processes and layers.
Definition JSONVisitor.hpp:1324