2 #include <Process/ProcessMetadata.hpp>
8 class 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);
31 struct 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;
59 Q_DECLARE_METATYPE(std::optional<Process::Preset>)
60 W_REGISTER_ARGTYPE(std::optional<Process::Preset>)
Definition: ProcessList.hpp:10
Base classes and tools to implement processes and layers.
Definition: JSONVisitor.hpp:1324
Definition: Preset.hpp:32
Definition: Preset.hpp:11