62bool QMetaSequence::isSortable()
const
64 if (
auto iface = d()) {
65 return (iface->addRemoveCapabilities
66 & (QtMetaContainerPrivate::CanAddAtBegin | QtMetaContainerPrivate::CanAddAtEnd))
67 && (iface->addRemoveCapabilities
68 & (QtMetaContainerPrivate::CanRemoveAtBegin
69 | QtMetaContainerPrivate::CanRemoveAtEnd));
201void QMetaSequence::valueAtIndex(
const void *container, qsizetype index,
void *result)
const
203 if (canGetValueAtIndex())
204 d()->valueAtIndexFn(container, index, result);
226void QMetaSequence::setValueAtIndex(
void *container, qsizetype index,
const void *value)
const
228 if (canSetValueAtIndex())
229 d()->setValueAtIndexFn(container, index, value);