6 #ifndef SWIFT_MISC_VARIANTLIST_H
7 #define SWIFT_MISC_VARIANTLIST_H
12 #include <QVariantList>
64 bool matches(
const CVariant &event)
const;
Generic ordered container with value semantics.
Generic sequential container with value semantics.
CSequence()=default
Default constructor.
Wrapper around QVariant which provides transparent access to CValueObject methods of the contained ob...
static CVariant from(T &&value)
Synonym for fromValue().
Value object encapsulating a list of variants.
CVariantList()
Default constructor.
static CVariantList from(const T &list)
Convert from a sequence type by converting all elements.
T to() const
Convert to a sequence type by converting all elements.
Free functions in swift::misc.
void registerMetadata()
Register all relevant metadata in Misc.
#define SWIFT_DECLARE_SEQUENCE_MIXINS(Namespace, T, List)
Explicit template declaration of mixins for a CSequence subclass to be placed near the top of the hea...
#define SWIFT_MISC_EXPORT
Export a class or function from the library.