miqt/qt/gen_qcbormap.cpp

556 lines
21 KiB
C++
Raw Normal View History

#include <QCborMap>
2024-08-29 07:01:51 +00:00
#define WORKAROUND_INNER_CLASS_DEFINITION_QCborMap__ConstIterator
#define WORKAROUND_INNER_CLASS_DEFINITION_QCborMap__Iterator
#include <QCborValue>
#include <QCborValueRef>
#include <QJsonObject>
#include <QList>
#include <QString>
2024-08-29 07:01:51 +00:00
#include <QByteArray>
#include <cstring>
#include "qcbormap.h"
#include "gen_qcbormap.h"
#include "_cgo_export.h"
QCborMap* QCborMap_new() {
return new QCborMap();
}
QCborMap* QCborMap_new2(QCborMap* other) {
return new QCborMap(*other);
}
void QCborMap_OperatorAssign(QCborMap* self, QCborMap* other) {
self->operator=(*other);
}
void QCborMap_Swap(QCborMap* self, QCborMap* other) {
self->swap(*other);
}
QCborValue* QCborMap_ToCborValue(const QCborMap* self) {
QCborValue _ret = self->toCborValue();
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborValue*>(new QCborValue(_ret));
}
size_t QCborMap_Size(const QCborMap* self) {
return self->size();
}
bool QCborMap_IsEmpty(const QCborMap* self) {
return self->isEmpty();
}
void QCborMap_Clear(QCborMap* self) {
self->clear();
}
struct miqt_array* QCborMap_Keys(const QCborMap* self) {
QVector<QCborValue> _ret = self->keys();
// Convert QList<> from C++ memory to manually-managed C memory of copy-constructed pointers
QCborValue** _arr = static_cast<QCborValue**>(malloc(sizeof(QCborValue**) * _ret.length()));
for (size_t i = 0, e = _ret.length(); i < e; ++i) {
_arr[i] = new QCborValue(_ret[i]);
}
struct miqt_array* _out = static_cast<struct miqt_array*>(malloc(sizeof(struct miqt_array)));
_out->len = _ret.length();
_out->data = static_cast<void*>(_arr);
return _out;
}
QCborValue* QCborMap_Value(const QCborMap* self, long long key) {
QCborValue _ret = self->value(static_cast<qint64>(key));
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborValue*>(new QCborValue(_ret));
}
QCborValue* QCborMap_Value2(const QCborMap* self, struct miqt_string* key) {
QString key_QString = QString::fromUtf8(&key->data, key->len);
QCborValue _ret = self->value(key_QString);
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborValue*>(new QCborValue(_ret));
}
QCborValue* QCborMap_Value3(const QCborMap* self, QCborValue* key) {
QCborValue _ret = self->value(*key);
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborValue*>(new QCborValue(_ret));
}
QCborValue* QCborMap_OperatorSubscript(const QCborMap* self, long long key) {
QCborValue _ret = self->operator[](static_cast<qint64>(key));
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborValue*>(new QCborValue(_ret));
}
QCborValue* QCborMap_OperatorSubscript2(const QCborMap* self, struct miqt_string* key) {
QString key_QString = QString::fromUtf8(&key->data, key->len);
QCborValue _ret = self->operator[](key_QString);
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborValue*>(new QCborValue(_ret));
}
QCborValue* QCborMap_OperatorSubscript3(const QCborMap* self, QCborValue* key) {
QCborValue _ret = self->operator[](*key);
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborValue*>(new QCborValue(_ret));
}
2024-08-29 07:01:51 +00:00
QCborValueRef* QCborMap_OperatorSubscript4(QCborMap* self, long long key) {
QCborValueRef _ret = self->operator[](static_cast<qint64>(key));
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborValueRef*>(new QCborValueRef(_ret));
}
QCborValueRef* QCborMap_OperatorSubscript6(QCborMap* self, struct miqt_string* key) {
QString key_QString = QString::fromUtf8(&key->data, key->len);
QCborValueRef _ret = self->operator[](key_QString);
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborValueRef*>(new QCborValueRef(_ret));
}
2024-08-29 07:01:51 +00:00
QCborValueRef* QCborMap_OperatorSubscript7(QCborMap* self, QCborValue* key) {
QCborValueRef _ret = self->operator[](*key);
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborValueRef*>(new QCborValueRef(_ret));
}
2024-08-29 07:01:51 +00:00
QCborValue* QCborMap_Take(QCborMap* self, long long key) {
QCborValue _ret = self->take(static_cast<qint64>(key));
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborValue*>(new QCborValue(_ret));
}
QCborValue* QCborMap_Take2(QCborMap* self, struct miqt_string* key) {
QString key_QString = QString::fromUtf8(&key->data, key->len);
QCborValue _ret = self->take(key_QString);
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborValue*>(new QCborValue(_ret));
}
2024-08-29 07:01:51 +00:00
QCborValue* QCborMap_Take3(QCborMap* self, QCborValue* key) {
QCborValue _ret = self->take(*key);
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborValue*>(new QCborValue(_ret));
}
2024-08-29 07:01:51 +00:00
void QCborMap_Remove(QCborMap* self, long long key) {
self->remove(static_cast<qint64>(key));
}
void QCborMap_Remove2(QCborMap* self, struct miqt_string* key) {
QString key_QString = QString::fromUtf8(&key->data, key->len);
self->remove(key_QString);
}
2024-08-29 07:01:51 +00:00
void QCborMap_Remove3(QCborMap* self, QCborValue* key) {
self->remove(*key);
}
bool QCborMap_Contains(const QCborMap* self, long long key) {
return self->contains(static_cast<qint64>(key));
}
bool QCborMap_Contains2(const QCborMap* self, struct miqt_string* key) {
QString key_QString = QString::fromUtf8(&key->data, key->len);
return self->contains(key_QString);
}
bool QCborMap_Contains3(const QCborMap* self, QCborValue* key) {
return self->contains(*key);
}
int QCborMap_Compare(const QCborMap* self, QCborMap* other) {
return self->compare(*other);
}
bool QCborMap_OperatorEqual(const QCborMap* self, QCborMap* other) {
return self->operator==(*other);
}
bool QCborMap_OperatorNotEqual(const QCborMap* self, QCborMap* other) {
return self->operator!=(*other);
}
bool QCborMap_OperatorLesser(const QCborMap* self, QCborMap* other) {
return self->operator<(*other);
2024-08-29 07:01:51 +00:00
}
QCborMap__Iterator* QCborMap_Begin(QCborMap* self) {
QCborMap::Iterator _ret = self->begin();
2024-08-29 07:01:51 +00:00
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborMap::Iterator*>(new QCborMap::Iterator(_ret));
2024-08-29 07:01:51 +00:00
}
QCborMap__ConstIterator* QCborMap_ConstBegin(const QCborMap* self) {
QCborMap::ConstIterator _ret = self->constBegin();
2024-08-29 07:01:51 +00:00
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborMap::ConstIterator*>(new QCborMap::ConstIterator(_ret));
2024-08-29 07:01:51 +00:00
}
QCborMap__ConstIterator* QCborMap_Begin2(const QCborMap* self) {
QCborMap::ConstIterator _ret = self->begin();
2024-08-29 07:01:51 +00:00
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborMap::ConstIterator*>(new QCborMap::ConstIterator(_ret));
2024-08-29 07:01:51 +00:00
}
QCborMap__ConstIterator* QCborMap_Cbegin(const QCborMap* self) {
QCborMap::ConstIterator _ret = self->cbegin();
2024-08-29 07:01:51 +00:00
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborMap::ConstIterator*>(new QCborMap::ConstIterator(_ret));
2024-08-29 07:01:51 +00:00
}
QCborMap__Iterator* QCborMap_End(QCborMap* self) {
QCborMap::Iterator _ret = self->end();
2024-08-29 07:01:51 +00:00
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborMap::Iterator*>(new QCborMap::Iterator(_ret));
2024-08-29 07:01:51 +00:00
}
QCborMap__ConstIterator* QCborMap_ConstEnd(const QCborMap* self) {
QCborMap::ConstIterator _ret = self->constEnd();
2024-08-29 07:01:51 +00:00
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborMap::ConstIterator*>(new QCborMap::ConstIterator(_ret));
2024-08-29 07:01:51 +00:00
}
QCborMap__ConstIterator* QCborMap_End2(const QCborMap* self) {
QCborMap::ConstIterator _ret = self->end();
2024-08-29 07:01:51 +00:00
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborMap::ConstIterator*>(new QCborMap::ConstIterator(_ret));
2024-08-29 07:01:51 +00:00
}
QCborMap__ConstIterator* QCborMap_Cend(const QCborMap* self) {
QCborMap::ConstIterator _ret = self->cend();
2024-08-29 07:01:51 +00:00
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborMap::ConstIterator*>(new QCborMap::ConstIterator(_ret));
2024-08-29 07:01:51 +00:00
}
QCborMap__Iterator* QCborMap_Erase(QCborMap* self, QCborMap__Iterator* it) {
QCborMap::Iterator _ret = self->erase(*it);
2024-08-29 07:01:51 +00:00
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborMap::Iterator*>(new QCborMap::Iterator(_ret));
2024-08-29 07:01:51 +00:00
}
QCborMap__Iterator* QCborMap_EraseWithIt(QCborMap* self, QCborMap__ConstIterator* it) {
QCborMap::Iterator _ret = self->erase(*it);
2024-08-29 07:01:51 +00:00
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborMap::Iterator*>(new QCborMap::Iterator(_ret));
2024-08-29 07:01:51 +00:00
}
QCborValue* QCborMap_Extract(QCborMap* self, QCborMap__Iterator* it) {
QCborValue _ret = self->extract(*it);
2024-08-29 07:01:51 +00:00
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborValue*>(new QCborValue(_ret));
2024-08-29 07:01:51 +00:00
}
QCborValue* QCborMap_ExtractWithIt(QCborMap* self, QCborMap__ConstIterator* it) {
QCborValue _ret = self->extract(*it);
2024-08-29 07:01:51 +00:00
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborValue*>(new QCborValue(_ret));
}
bool QCborMap_Empty(const QCborMap* self) {
return self->empty();
2024-08-29 07:01:51 +00:00
}
QCborMap__Iterator* QCborMap_Find(QCborMap* self, long long key) {
QCborMap::Iterator _ret = self->find(static_cast<qint64>(key));
2024-08-29 07:01:51 +00:00
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborMap::Iterator*>(new QCborMap::Iterator(_ret));
2024-08-29 07:01:51 +00:00
}
QCborMap__Iterator* QCborMap_Find2(QCborMap* self, struct miqt_string* key) {
QString key_QString = QString::fromUtf8(&key->data, key->len);
QCborMap::Iterator _ret = self->find(key_QString);
2024-08-29 07:01:51 +00:00
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborMap::Iterator*>(new QCborMap::Iterator(_ret));
2024-08-29 07:01:51 +00:00
}
QCborMap__Iterator* QCborMap_Find3(QCborMap* self, QCborValue* key) {
QCborMap::Iterator _ret = self->find(*key);
2024-08-29 07:01:51 +00:00
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborMap::Iterator*>(new QCborMap::Iterator(_ret));
2024-08-29 07:01:51 +00:00
}
QCborMap__ConstIterator* QCborMap_ConstFind(const QCborMap* self, long long key) {
QCborMap::ConstIterator _ret = self->constFind(static_cast<qint64>(key));
2024-08-29 07:01:51 +00:00
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborMap::ConstIterator*>(new QCborMap::ConstIterator(_ret));
2024-08-29 07:01:51 +00:00
}
QCborMap__ConstIterator* QCborMap_ConstFind2(const QCborMap* self, struct miqt_string* key) {
QString key_QString = QString::fromUtf8(&key->data, key->len);
QCborMap::ConstIterator _ret = self->constFind(key_QString);
2024-08-29 07:01:51 +00:00
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborMap::ConstIterator*>(new QCborMap::ConstIterator(_ret));
2024-08-29 07:01:51 +00:00
}
QCborMap__ConstIterator* QCborMap_ConstFind3(const QCborMap* self, QCborValue* key) {
QCborMap::ConstIterator _ret = self->constFind(*key);
2024-08-29 07:01:51 +00:00
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborMap::ConstIterator*>(new QCborMap::ConstIterator(_ret));
2024-08-29 07:01:51 +00:00
}
QCborMap__ConstIterator* QCborMap_Find4(const QCborMap* self, long long key) {
QCborMap::ConstIterator _ret = self->find(static_cast<qint64>(key));
2024-08-29 07:01:51 +00:00
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborMap::ConstIterator*>(new QCborMap::ConstIterator(_ret));
2024-08-29 07:01:51 +00:00
}
QCborMap__ConstIterator* QCborMap_Find6(const QCborMap* self, struct miqt_string* key) {
QString key_QString = QString::fromUtf8(&key->data, key->len);
QCborMap::ConstIterator _ret = self->find(key_QString);
2024-08-29 07:01:51 +00:00
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborMap::ConstIterator*>(new QCborMap::ConstIterator(_ret));
2024-08-29 07:01:51 +00:00
}
QCborMap__ConstIterator* QCborMap_Find7(const QCborMap* self, QCborValue* key) {
QCborMap::ConstIterator _ret = self->find(*key);
2024-08-29 07:01:51 +00:00
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborMap::ConstIterator*>(new QCborMap::ConstIterator(_ret));
2024-08-29 07:01:51 +00:00
}
QCborMap__Iterator* QCborMap_Insert(QCborMap* self, long long key, QCborValue* value_) {
QCborMap::Iterator _ret = self->insert(static_cast<qint64>(key), *value_);
2024-08-29 07:01:51 +00:00
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborMap::Iterator*>(new QCborMap::Iterator(_ret));
2024-08-29 07:01:51 +00:00
}
QCborMap__Iterator* QCborMap_Insert3(QCborMap* self, struct miqt_string* key, QCborValue* value_) {
QString key_QString = QString::fromUtf8(&key->data, key->len);
QCborMap::Iterator _ret = self->insert(key_QString, *value_);
2024-08-29 07:01:51 +00:00
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborMap::Iterator*>(new QCborMap::Iterator(_ret));
2024-08-29 07:01:51 +00:00
}
QCborMap__Iterator* QCborMap_Insert4(QCborMap* self, QCborValue* key, QCborValue* value_) {
QCborMap::Iterator _ret = self->insert(*key, *value_);
2024-08-29 07:01:51 +00:00
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborMap::Iterator*>(new QCborMap::Iterator(_ret));
}
QCborMap* QCborMap_FromJsonObject(QJsonObject* o) {
QCborMap _ret = QCborMap::fromJsonObject(*o);
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborMap*>(new QCborMap(_ret));
}
QJsonObject* QCborMap_ToJsonObject(const QCborMap* self) {
QJsonObject _ret = self->toJsonObject();
// Copy-construct value returned type into heap-allocated copy
return static_cast<QJsonObject*>(new QJsonObject(_ret));
}
void QCborMap_Delete(QCborMap* self) {
delete self;
}
2024-08-29 07:01:51 +00:00
QCborMap__Iterator* QCborMap__Iterator_new() {
return new QCborMap::Iterator();
}
QCborMap__Iterator* QCborMap__Iterator_new2(QCborMap__Iterator* param1) {
return new QCborMap::Iterator(*param1);
}
QCborValueRef* QCborMap__Iterator_OperatorMinusGreater(const QCborMap__Iterator* self) {
return self->operator->();
2024-08-29 07:01:51 +00:00
}
QCborValue* QCborMap__Iterator_Key(const QCborMap__Iterator* self) {
QCborValue _ret = self->key();
2024-08-29 07:01:51 +00:00
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborValue*>(new QCborValue(_ret));
2024-08-29 07:01:51 +00:00
}
QCborValueRef* QCborMap__Iterator_Value(const QCborMap__Iterator* self) {
QCborValueRef _ret = self->value();
2024-08-29 07:01:51 +00:00
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborValueRef*>(new QCborValueRef(_ret));
2024-08-29 07:01:51 +00:00
}
bool QCborMap__Iterator_OperatorEqual(const QCborMap__Iterator* self, QCborMap__Iterator* o) {
return self->operator==(*o);
2024-08-29 07:01:51 +00:00
}
bool QCborMap__Iterator_OperatorNotEqual(const QCborMap__Iterator* self, QCborMap__Iterator* o) {
return self->operator!=(*o);
2024-08-29 07:01:51 +00:00
}
bool QCborMap__Iterator_OperatorLesser(const QCborMap__Iterator* self, QCborMap__Iterator* other) {
return self->operator<(*other);
2024-08-29 07:01:51 +00:00
}
bool QCborMap__Iterator_OperatorLesserOrEqual(const QCborMap__Iterator* self, QCborMap__Iterator* other) {
return self->operator<=(*other);
2024-08-29 07:01:51 +00:00
}
bool QCborMap__Iterator_OperatorGreater(const QCborMap__Iterator* self, QCborMap__Iterator* other) {
return self->operator>(*other);
2024-08-29 07:01:51 +00:00
}
bool QCborMap__Iterator_OperatorGreaterOrEqual(const QCborMap__Iterator* self, QCborMap__Iterator* other) {
return self->operator>=(*other);
2024-08-29 07:01:51 +00:00
}
bool QCborMap__Iterator_OperatorEqualWithQCborMapConstIterator(const QCborMap__Iterator* self, QCborMap__ConstIterator* o) {
return self->operator==(*o);
2024-08-29 07:01:51 +00:00
}
bool QCborMap__Iterator_OperatorNotEqualWithQCborMapConstIterator(const QCborMap__Iterator* self, QCborMap__ConstIterator* o) {
return self->operator!=(*o);
2024-08-29 07:01:51 +00:00
}
bool QCborMap__Iterator_OperatorLesserWithOther(const QCborMap__Iterator* self, QCborMap__ConstIterator* other) {
return self->operator<(*other);
2024-08-29 07:01:51 +00:00
}
bool QCborMap__Iterator_OperatorLesserOrEqualWithOther(const QCborMap__Iterator* self, QCborMap__ConstIterator* other) {
return self->operator<=(*other);
2024-08-29 07:01:51 +00:00
}
bool QCborMap__Iterator_OperatorGreaterWithOther(const QCborMap__Iterator* self, QCborMap__ConstIterator* other) {
return self->operator>(*other);
2024-08-29 07:01:51 +00:00
}
bool QCborMap__Iterator_OperatorGreaterOrEqualWithOther(const QCborMap__Iterator* self, QCborMap__ConstIterator* other) {
return self->operator>=(*other);
2024-08-29 07:01:51 +00:00
}
QCborMap__Iterator* QCborMap__Iterator_OperatorPlusPlus(QCborMap__Iterator* self, int param1) {
QCborMap::Iterator _ret = self->operator++(static_cast<int>(param1));
2024-08-29 07:01:51 +00:00
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborMap::Iterator*>(new QCborMap::Iterator(_ret));
2024-08-29 07:01:51 +00:00
}
QCborMap__Iterator* QCborMap__Iterator_OperatorMinusMinus(QCborMap__Iterator* self, int param1) {
QCborMap::Iterator _ret = self->operator--(static_cast<int>(param1));
2024-08-29 07:01:51 +00:00
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborMap::Iterator*>(new QCborMap::Iterator(_ret));
2024-08-29 07:01:51 +00:00
}
QCborMap__Iterator* QCborMap__Iterator_OperatorPlus(const QCborMap__Iterator* self, size_t j) {
QCborMap::Iterator _ret = self->operator+(static_cast<qsizetype>(j));
2024-08-29 07:01:51 +00:00
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborMap::Iterator*>(new QCborMap::Iterator(_ret));
2024-08-29 07:01:51 +00:00
}
QCborMap__Iterator* QCborMap__Iterator_OperatorMinus(const QCborMap__Iterator* self, size_t j) {
QCborMap::Iterator _ret = self->operator-(static_cast<qsizetype>(j));
2024-08-29 07:01:51 +00:00
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborMap::Iterator*>(new QCborMap::Iterator(_ret));
2024-08-29 07:01:51 +00:00
}
size_t QCborMap__Iterator_OperatorMinusWithQCborMapIterator(const QCborMap__Iterator* self, QCborMap__Iterator* j) {
return self->operator-(*j);
2024-08-29 07:01:51 +00:00
}
void QCborMap__Iterator_Delete(QCborMap__Iterator* self) {
delete self;
}
QCborMap__ConstIterator* QCborMap__ConstIterator_new() {
return new QCborMap::ConstIterator();
}
QCborMap__ConstIterator* QCborMap__ConstIterator_new2(QCborMap__ConstIterator* param1) {
return new QCborMap::ConstIterator(*param1);
}
QCborValueRef* QCborMap__ConstIterator_OperatorMinusGreater(const QCborMap__ConstIterator* self) {
return (QCborValueRef*) self->operator->();
2024-08-29 07:01:51 +00:00
}
QCborValue* QCborMap__ConstIterator_Key(const QCborMap__ConstIterator* self) {
QCborValue _ret = self->key();
2024-08-29 07:01:51 +00:00
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborValue*>(new QCborValue(_ret));
2024-08-29 07:01:51 +00:00
}
QCborValueRef* QCborMap__ConstIterator_Value(const QCborMap__ConstIterator* self) {
QCborValueRef _ret = self->value();
2024-08-29 07:01:51 +00:00
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborValueRef*>(new QCborValueRef(_ret));
2024-08-29 07:01:51 +00:00
}
bool QCborMap__ConstIterator_OperatorEqual(const QCborMap__ConstIterator* self, QCborMap__Iterator* o) {
return self->operator==(*o);
2024-08-29 07:01:51 +00:00
}
bool QCborMap__ConstIterator_OperatorNotEqual(const QCborMap__ConstIterator* self, QCborMap__Iterator* o) {
return self->operator!=(*o);
2024-08-29 07:01:51 +00:00
}
bool QCborMap__ConstIterator_OperatorLesser(const QCborMap__ConstIterator* self, QCborMap__Iterator* other) {
return self->operator<(*other);
2024-08-29 07:01:51 +00:00
}
bool QCborMap__ConstIterator_OperatorLesserOrEqual(const QCborMap__ConstIterator* self, QCborMap__Iterator* other) {
return self->operator<=(*other);
2024-08-29 07:01:51 +00:00
}
bool QCborMap__ConstIterator_OperatorGreater(const QCborMap__ConstIterator* self, QCborMap__Iterator* other) {
return self->operator>(*other);
2024-08-29 07:01:51 +00:00
}
bool QCborMap__ConstIterator_OperatorGreaterOrEqual(const QCborMap__ConstIterator* self, QCborMap__Iterator* other) {
return self->operator>=(*other);
2024-08-29 07:01:51 +00:00
}
bool QCborMap__ConstIterator_OperatorEqualWithQCborMapConstIterator(const QCborMap__ConstIterator* self, QCborMap__ConstIterator* o) {
return self->operator==(*o);
2024-08-29 07:01:51 +00:00
}
bool QCborMap__ConstIterator_OperatorNotEqualWithQCborMapConstIterator(const QCborMap__ConstIterator* self, QCborMap__ConstIterator* o) {
return self->operator!=(*o);
2024-08-29 07:01:51 +00:00
}
bool QCborMap__ConstIterator_OperatorLesserWithOther(const QCborMap__ConstIterator* self, QCborMap__ConstIterator* other) {
return self->operator<(*other);
2024-08-29 07:01:51 +00:00
}
bool QCborMap__ConstIterator_OperatorLesserOrEqualWithOther(const QCborMap__ConstIterator* self, QCborMap__ConstIterator* other) {
return self->operator<=(*other);
2024-08-29 07:01:51 +00:00
}
bool QCborMap__ConstIterator_OperatorGreaterWithOther(const QCborMap__ConstIterator* self, QCborMap__ConstIterator* other) {
return self->operator>(*other);
2024-08-29 07:01:51 +00:00
}
bool QCborMap__ConstIterator_OperatorGreaterOrEqualWithOther(const QCborMap__ConstIterator* self, QCborMap__ConstIterator* other) {
return self->operator>=(*other);
2024-08-29 07:01:51 +00:00
}
QCborMap__ConstIterator* QCborMap__ConstIterator_OperatorPlusPlus(QCborMap__ConstIterator* self, int param1) {
QCborMap::ConstIterator _ret = self->operator++(static_cast<int>(param1));
2024-08-29 07:01:51 +00:00
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborMap::ConstIterator*>(new QCborMap::ConstIterator(_ret));
2024-08-29 07:01:51 +00:00
}
QCborMap__ConstIterator* QCborMap__ConstIterator_OperatorMinusMinus(QCborMap__ConstIterator* self, int param1) {
QCborMap::ConstIterator _ret = self->operator--(static_cast<int>(param1));
2024-08-29 07:01:51 +00:00
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborMap::ConstIterator*>(new QCborMap::ConstIterator(_ret));
2024-08-29 07:01:51 +00:00
}
QCborMap__ConstIterator* QCborMap__ConstIterator_OperatorPlus(const QCborMap__ConstIterator* self, size_t j) {
QCborMap::ConstIterator _ret = self->operator+(static_cast<qsizetype>(j));
2024-08-29 07:01:51 +00:00
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborMap::ConstIterator*>(new QCborMap::ConstIterator(_ret));
2024-08-29 07:01:51 +00:00
}
QCborMap__ConstIterator* QCborMap__ConstIterator_OperatorMinus(const QCborMap__ConstIterator* self, size_t j) {
QCborMap::ConstIterator _ret = self->operator-(static_cast<qsizetype>(j));
2024-08-29 07:01:51 +00:00
// Copy-construct value returned type into heap-allocated copy
return static_cast<QCborMap::ConstIterator*>(new QCborMap::ConstIterator(_ret));
2024-08-29 07:01:51 +00:00
}
size_t QCborMap__ConstIterator_OperatorMinusWithQCborMapConstIterator(const QCborMap__ConstIterator* self, QCborMap__ConstIterator* j) {
return self->operator-(*j);
2024-08-29 07:01:51 +00:00
}
void QCborMap__ConstIterator_Delete(QCborMap__ConstIterator* self) {
delete self;
}