groups: improved serialization
Introduced new project version with extra customization for groups
This commit is contained in:
+44
-5
@@ -52,11 +52,6 @@ public:
|
||||
f_ = flags;
|
||||
}
|
||||
|
||||
bool operator&(const InputFlag& f) const
|
||||
{
|
||||
return f_ & f;
|
||||
}
|
||||
|
||||
InputFlags operator|(const InputFlags &f) const
|
||||
{
|
||||
InputFlags i = *this;
|
||||
@@ -70,6 +65,49 @@ public:
|
||||
return *this;
|
||||
}
|
||||
|
||||
InputFlags operator&(const InputFlags &f) const
|
||||
{
|
||||
InputFlags i = *this;
|
||||
i &= f;
|
||||
return i;
|
||||
}
|
||||
|
||||
InputFlags &operator&=(const InputFlags &f)
|
||||
{
|
||||
f_ &= f.f_;
|
||||
return *this;
|
||||
}
|
||||
|
||||
InputFlags operator&(const InputFlag &f) const
|
||||
{
|
||||
InputFlags i = *this;
|
||||
i &= f;
|
||||
return i;
|
||||
}
|
||||
|
||||
InputFlags &operator&=(const InputFlag &f)
|
||||
{
|
||||
f_ &= f;
|
||||
return *this;
|
||||
}
|
||||
|
||||
InputFlags operator~() const
|
||||
{
|
||||
InputFlags i = *this;
|
||||
i.f_ = ~i.f_;
|
||||
return i;
|
||||
}
|
||||
|
||||
inline operator bool() const
|
||||
{
|
||||
return f_;
|
||||
}
|
||||
|
||||
inline const uint64_t &value() const
|
||||
{
|
||||
return f_;
|
||||
}
|
||||
|
||||
private:
|
||||
uint64_t f_;
|
||||
|
||||
@@ -188,6 +226,7 @@ public:
|
||||
QStringList GetComboBoxStrings() const;
|
||||
|
||||
QVariant GetProperty(const QString& key) const;
|
||||
QHash<QString, QVariant> GetProperties() const;
|
||||
|
||||
QVariant GetValueAtTime(const rational& time) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user