mirror of https://github.com/KLayout/klayout.git
More patches
This commit is contained in:
parent
f6616dfaf4
commit
7d1ddd95df
|
|
@ -35,6 +35,65 @@ CODE
|
|||
DECL
|
||||
end
|
||||
|
||||
def add_native_operator_neqlt(engine, cls)
|
||||
cls_id = cls.gsub("::", "_")
|
||||
engine.drop_method cls, /::operator\s*==/
|
||||
engine.drop_method cls, /::operator\s*!=/
|
||||
engine.drop_method cls, /::operator\s*</
|
||||
engine.add_native_impl(cls, <<"CODE", <<"DECL")
|
||||
static bool #{cls_id}_operator_eq(const #{cls} *a, const #{cls} &b) {
|
||||
return *a == b;
|
||||
}
|
||||
static bool #{cls_id}_operator_ne(const #{cls} *a, const #{cls} &b) {
|
||||
return !(*a == b);
|
||||
}
|
||||
static bool #{cls_id}_operator_lt(const #{cls} *a, const #{cls} &b) {
|
||||
return *a < b;
|
||||
}
|
||||
CODE
|
||||
gsi::method_ext("==", &#{cls_id}_operator_eq, gsi::arg ("other"), "@brief Method bool #{cls}::operator==(const #{cls} &) const") +
|
||||
gsi::method_ext("!=", &#{cls_id}_operator_ne, gsi::arg ("other"), "@brief Method bool #{cls}::operator!=(const #{cls} &) const") +
|
||||
gsi::method_ext("<", &#{cls_id}_operator_lt, gsi::arg ("other"), "@brief Method bool #{cls}::operator<(const #{cls} &) const")
|
||||
DECL
|
||||
end
|
||||
|
||||
def add_native_operator_cmp(engine, cls)
|
||||
cls_id = cls.gsub("::", "_")
|
||||
engine.drop_method cls, /::operator\s*==/
|
||||
engine.drop_method cls, /::operator\s*!=/
|
||||
engine.drop_method cls, /::operator\s*</
|
||||
engine.drop_method cls, /::operator\s*<=/
|
||||
engine.drop_method cls, /::operator\s*>/
|
||||
engine.drop_method cls, /::operator\s*>=/
|
||||
engine.add_native_impl(cls, <<"CODE", <<"DECL")
|
||||
static bool #{cls_id}_operator_eq(const #{cls} *a, const #{cls} &b) {
|
||||
return *a == b;
|
||||
}
|
||||
static bool #{cls_id}_operator_ne(const #{cls} *a, const #{cls} &b) {
|
||||
return *a != b;
|
||||
}
|
||||
static bool #{cls_id}_operator_le(const #{cls} *a, const #{cls} &b) {
|
||||
return *a <= b;
|
||||
}
|
||||
static bool #{cls_id}_operator_lt(const #{cls} *a, const #{cls} &b) {
|
||||
return *a < b;
|
||||
}
|
||||
static bool #{cls_id}_operator_ge(const #{cls} *a, const #{cls} &b) {
|
||||
return *a >= b;
|
||||
}
|
||||
static bool #{cls_id}_operator_gt(const #{cls} *a, const #{cls} &b) {
|
||||
return *a > b;
|
||||
}
|
||||
CODE
|
||||
gsi::method_ext("==", &#{cls_id}_operator_eq, gsi::arg ("other"), "@brief Method bool #{cls}::operator==(const #{cls} &) const") +
|
||||
gsi::method_ext("!=", &#{cls_id}_operator_ne, gsi::arg ("other"), "@brief Method bool #{cls}::operator!=(const #{cls} &) const") +
|
||||
gsi::method_ext("<=", &#{cls_id}_operator_le, gsi::arg ("other"), "@brief Method bool #{cls}::operator<=(const #{cls} &) const") +
|
||||
gsi::method_ext("<", &#{cls_id}_operator_lt, gsi::arg ("other"), "@brief Method bool #{cls}::operator<(const #{cls} &) const") +
|
||||
gsi::method_ext(">=", &#{cls_id}_operator_ge, gsi::arg ("other"), "@brief Method bool #{cls}::operator>=(const #{cls} &) const") +
|
||||
gsi::method_ext(">", &#{cls_id}_operator_gt, gsi::arg ("other"), "@brief Method bool #{cls}::operator>(const #{cls} &) const")
|
||||
DECL
|
||||
end
|
||||
|
||||
# --------------------------------------------------------------
|
||||
# all modules
|
||||
|
||||
|
|
@ -495,20 +554,20 @@ add_native_operator_neq(self, "QDir")
|
|||
add_native_operator_neq(self, "QFileInfo")
|
||||
add_native_operator_neq(self, "QItemSelectionRange")
|
||||
add_native_operator_neq(self, "QJsonArray")
|
||||
add_native_operator_neq(self, "QJsonArray::iterator")
|
||||
add_native_operator_cmp(self, "QJsonArray::iterator")
|
||||
add_native_operator_neq(self, "QJsonDocument")
|
||||
add_native_operator_neq(self, "QJsonObject")
|
||||
add_native_operator_neq(self, "QJsonObject::iterator")
|
||||
add_native_operator_cmp(self, "QJsonObject::iterator")
|
||||
add_native_operator_neq(self, "QJsonValue")
|
||||
add_native_operator_neq(self, "QJsonValueRef")
|
||||
add_native_operator_neq(self, "QLine")
|
||||
add_native_operator_neq(self, "QLineF")
|
||||
add_native_operator_neq(self, "QMimeType")
|
||||
add_native_operator_neq(self, "QModelIndex")
|
||||
add_native_operator_neq(self, "QPersistentModelIndex")
|
||||
add_native_operator_neqlt(self, "QModelIndex")
|
||||
add_native_operator_neqlt(self, "QPersistentModelIndex")
|
||||
add_native_operator_neq(self, "QProcessEnvironment")
|
||||
add_native_operator_neq(self, "QRegularExpression")
|
||||
add_native_operator_neq(self, "QUrl")
|
||||
add_native_operator_neqlt(self, "QUrl")
|
||||
add_native_operator_neq(self, "QUrlQuery")
|
||||
add_native_operator_neq(self, "QXmlStreamAttribute")
|
||||
add_native_operator_neq(self, "QXmlStreamEntityDeclaration")
|
||||
|
|
@ -593,6 +652,7 @@ no_default_ctor "QModelRoleData"
|
|||
no_default_ctor "QPartialOrdering"
|
||||
no_default_ctor "QOperatingSystemVersion"
|
||||
no_default_ctor "QStringConverter"
|
||||
no_default_ctor "QStringConverterBase"
|
||||
|
||||
drop_method "QMessageLogger", /QMessageLogger::critical.*\.\.\./ # does not support ...
|
||||
drop_method "QMessageLogger", /QMessageLogger::debug.*\.\.\./ # does not support ...
|
||||
|
|
|
|||
|
|
@ -40,7 +40,19 @@
|
|||
return *a == b;
|
||||
}
|
||||
static bool QJsonArray_iterator_operator_ne(const QJsonArray::iterator *a, const QJsonArray::iterator &b) {
|
||||
return !(*a == b);
|
||||
return *a != b;
|
||||
}
|
||||
static bool QJsonArray_iterator_operator_le(const QJsonArray::iterator *a, const QJsonArray::iterator &b) {
|
||||
return *a <= b;
|
||||
}
|
||||
static bool QJsonArray_iterator_operator_lt(const QJsonArray::iterator *a, const QJsonArray::iterator &b) {
|
||||
return *a < b;
|
||||
}
|
||||
static bool QJsonArray_iterator_operator_ge(const QJsonArray::iterator *a, const QJsonArray::iterator &b) {
|
||||
return *a >= b;
|
||||
}
|
||||
static bool QJsonArray_iterator_operator_gt(const QJsonArray::iterator *a, const QJsonArray::iterator &b) {
|
||||
return *a > b;
|
||||
}
|
||||
|
||||
// Constructor QJsonArray::iterator::iterator()
|
||||
|
|
@ -292,44 +304,6 @@ static void _call_f_operator_minus__gt__c0 (const qt_gsi::GenericMethod * /*decl
|
|||
}
|
||||
|
||||
|
||||
// bool QJsonArray::iterator::operator<(const QJsonArray::iterator &other)
|
||||
|
||||
|
||||
static void _init_f_operator_lt__c3305 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("other");
|
||||
decl->add_arg<const QJsonArray::iterator & > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_operator_lt__c3305 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QJsonArray::iterator &arg1 = gsi::arg_reader<const QJsonArray::iterator & >() (args, heap);
|
||||
ret.write<bool > ((bool)((QJsonArray::iterator *)cls)->operator< (arg1));
|
||||
}
|
||||
|
||||
|
||||
// bool QJsonArray::iterator::operator<=(const QJsonArray::iterator &other)
|
||||
|
||||
|
||||
static void _init_f_operator_lt__eq__c3305 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("other");
|
||||
decl->add_arg<const QJsonArray::iterator & > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_operator_lt__eq__c3305 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QJsonArray::iterator &arg1 = gsi::arg_reader<const QJsonArray::iterator & >() (args, heap);
|
||||
ret.write<bool > ((bool)((QJsonArray::iterator *)cls)->operator<= (arg1));
|
||||
}
|
||||
|
||||
|
||||
// QJsonArray::iterator &QJsonArray::iterator::operator=(const QJsonArray::iterator &other)
|
||||
|
||||
|
||||
|
|
@ -349,44 +323,6 @@ static void _call_f_operator_eq__3305 (const qt_gsi::GenericMethod * /*decl*/, v
|
|||
}
|
||||
|
||||
|
||||
// bool QJsonArray::iterator::operator>(const QJsonArray::iterator &other)
|
||||
|
||||
|
||||
static void _init_f_operator_gt__c3305 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("other");
|
||||
decl->add_arg<const QJsonArray::iterator & > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_operator_gt__c3305 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QJsonArray::iterator &arg1 = gsi::arg_reader<const QJsonArray::iterator & >() (args, heap);
|
||||
ret.write<bool > ((bool)((QJsonArray::iterator *)cls)->operator> (arg1));
|
||||
}
|
||||
|
||||
|
||||
// bool QJsonArray::iterator::operator>=(const QJsonArray::iterator &other)
|
||||
|
||||
|
||||
static void _init_f_operator_gt__eq__c3305 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("other");
|
||||
decl->add_arg<const QJsonArray::iterator & > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_operator_gt__eq__c3305 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QJsonArray::iterator &arg1 = gsi::arg_reader<const QJsonArray::iterator & >() (args, heap);
|
||||
ret.write<bool > ((bool)((QJsonArray::iterator *)cls)->operator>= (arg1));
|
||||
}
|
||||
|
||||
|
||||
// QJsonValueRef QJsonArray::iterator::operator[](qsizetype j)
|
||||
|
||||
|
||||
|
|
@ -426,18 +362,18 @@ static gsi::Methods methods_QJsonArray_Iterator () {
|
|||
methods += new qt_gsi::GenericMethod ("--", "@brief Method QJsonArray::iterator QJsonArray::iterator::operator--(int)\n", false, &_init_f_operator_minus__minus__767, &_call_f_operator_minus__minus__767);
|
||||
methods += new qt_gsi::GenericMethod ("-=", "@brief Method QJsonArray::iterator &QJsonArray::iterator::operator-=(qsizetype j)\n", false, &_init_f_operator_minus__eq__1442, &_call_f_operator_minus__eq__1442);
|
||||
methods += new qt_gsi::GenericMethod ("->", "@brief Method QJsonValueRef *QJsonArray::iterator::operator->()\n", true, &_init_f_operator_minus__gt__c0, &_call_f_operator_minus__gt__c0);
|
||||
methods += new qt_gsi::GenericMethod ("<", "@brief Method bool QJsonArray::iterator::operator<(const QJsonArray::iterator &other)\n", true, &_init_f_operator_lt__c3305, &_call_f_operator_lt__c3305);
|
||||
methods += new qt_gsi::GenericMethod ("<=", "@brief Method bool QJsonArray::iterator::operator<=(const QJsonArray::iterator &other)\n", true, &_init_f_operator_lt__eq__c3305, &_call_f_operator_lt__eq__c3305);
|
||||
methods += new qt_gsi::GenericMethod ("assign", "@brief Method QJsonArray::iterator &QJsonArray::iterator::operator=(const QJsonArray::iterator &other)\n", false, &_init_f_operator_eq__3305, &_call_f_operator_eq__3305);
|
||||
methods += new qt_gsi::GenericMethod (">", "@brief Method bool QJsonArray::iterator::operator>(const QJsonArray::iterator &other)\n", true, &_init_f_operator_gt__c3305, &_call_f_operator_gt__c3305);
|
||||
methods += new qt_gsi::GenericMethod (">=", "@brief Method bool QJsonArray::iterator::operator>=(const QJsonArray::iterator &other)\n", true, &_init_f_operator_gt__eq__c3305, &_call_f_operator_gt__eq__c3305);
|
||||
methods += new qt_gsi::GenericMethod ("[]", "@brief Method QJsonValueRef QJsonArray::iterator::operator[](qsizetype j)\n", true, &_init_f_operator_index__c1442, &_call_f_operator_index__c1442);
|
||||
return methods;
|
||||
}
|
||||
|
||||
gsi::Class<QJsonArray::iterator> decl_QJsonArray_Iterator ("QtCore", "QJsonArray_Iterator",
|
||||
gsi::method_ext("==", &QJsonArray_iterator_operator_eq, gsi::arg ("other"), "@brief Method bool QJsonArray::iterator::operator==(const QJsonArray::iterator &) const") +
|
||||
gsi::method_ext("!=", &QJsonArray_iterator_operator_ne, gsi::arg ("other"), "@brief Method bool QJsonArray::iterator::operator!=(const QJsonArray::iterator &) const")
|
||||
gsi::method_ext("!=", &QJsonArray_iterator_operator_ne, gsi::arg ("other"), "@brief Method bool QJsonArray::iterator::operator!=(const QJsonArray::iterator &) const") +
|
||||
gsi::method_ext("<=", &QJsonArray_iterator_operator_le, gsi::arg ("other"), "@brief Method bool QJsonArray::iterator::operator<=(const QJsonArray::iterator &) const") +
|
||||
gsi::method_ext("<", &QJsonArray_iterator_operator_lt, gsi::arg ("other"), "@brief Method bool QJsonArray::iterator::operator<(const QJsonArray::iterator &) const") +
|
||||
gsi::method_ext(">=", &QJsonArray_iterator_operator_ge, gsi::arg ("other"), "@brief Method bool QJsonArray::iterator::operator>=(const QJsonArray::iterator &) const") +
|
||||
gsi::method_ext(">", &QJsonArray_iterator_operator_gt, gsi::arg ("other"), "@brief Method bool QJsonArray::iterator::operator>(const QJsonArray::iterator &) const")
|
||||
+
|
||||
methods_QJsonArray_Iterator (),
|
||||
"@qt\n@brief Binding of QJsonArray::iterator");
|
||||
|
|
|
|||
|
|
@ -40,7 +40,19 @@
|
|||
return *a == b;
|
||||
}
|
||||
static bool QJsonObject_iterator_operator_ne(const QJsonObject::iterator *a, const QJsonObject::iterator &b) {
|
||||
return !(*a == b);
|
||||
return *a != b;
|
||||
}
|
||||
static bool QJsonObject_iterator_operator_le(const QJsonObject::iterator *a, const QJsonObject::iterator &b) {
|
||||
return *a <= b;
|
||||
}
|
||||
static bool QJsonObject_iterator_operator_lt(const QJsonObject::iterator *a, const QJsonObject::iterator &b) {
|
||||
return *a < b;
|
||||
}
|
||||
static bool QJsonObject_iterator_operator_ge(const QJsonObject::iterator *a, const QJsonObject::iterator &b) {
|
||||
return *a >= b;
|
||||
}
|
||||
static bool QJsonObject_iterator_operator_gt(const QJsonObject::iterator *a, const QJsonObject::iterator &b) {
|
||||
return *a > b;
|
||||
}
|
||||
|
||||
// Constructor QJsonObject::iterator::iterator()
|
||||
|
|
@ -307,44 +319,6 @@ static void _call_f_operator_minus__gt__c0 (const qt_gsi::GenericMethod * /*decl
|
|||
}
|
||||
|
||||
|
||||
// bool QJsonObject::iterator::operator<(const QJsonObject::iterator &other)
|
||||
|
||||
|
||||
static void _init_f_operator_lt__c3393 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("other");
|
||||
decl->add_arg<const QJsonObject::iterator & > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_operator_lt__c3393 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QJsonObject::iterator &arg1 = gsi::arg_reader<const QJsonObject::iterator & >() (args, heap);
|
||||
ret.write<bool > ((bool)((QJsonObject::iterator *)cls)->operator< (arg1));
|
||||
}
|
||||
|
||||
|
||||
// bool QJsonObject::iterator::operator<=(const QJsonObject::iterator &other)
|
||||
|
||||
|
||||
static void _init_f_operator_lt__eq__c3393 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("other");
|
||||
decl->add_arg<const QJsonObject::iterator & > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_operator_lt__eq__c3393 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QJsonObject::iterator &arg1 = gsi::arg_reader<const QJsonObject::iterator & >() (args, heap);
|
||||
ret.write<bool > ((bool)((QJsonObject::iterator *)cls)->operator<= (arg1));
|
||||
}
|
||||
|
||||
|
||||
// QJsonObject::iterator &QJsonObject::iterator::operator=(const QJsonObject::iterator &other)
|
||||
|
||||
|
||||
|
|
@ -364,44 +338,6 @@ static void _call_f_operator_eq__3393 (const qt_gsi::GenericMethod * /*decl*/, v
|
|||
}
|
||||
|
||||
|
||||
// bool QJsonObject::iterator::operator>(const QJsonObject::iterator &other)
|
||||
|
||||
|
||||
static void _init_f_operator_gt__c3393 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("other");
|
||||
decl->add_arg<const QJsonObject::iterator & > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_operator_gt__c3393 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QJsonObject::iterator &arg1 = gsi::arg_reader<const QJsonObject::iterator & >() (args, heap);
|
||||
ret.write<bool > ((bool)((QJsonObject::iterator *)cls)->operator> (arg1));
|
||||
}
|
||||
|
||||
|
||||
// bool QJsonObject::iterator::operator>=(const QJsonObject::iterator &other)
|
||||
|
||||
|
||||
static void _init_f_operator_gt__eq__c3393 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("other");
|
||||
decl->add_arg<const QJsonObject::iterator & > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_operator_gt__eq__c3393 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QJsonObject::iterator &arg1 = gsi::arg_reader<const QJsonObject::iterator & >() (args, heap);
|
||||
ret.write<bool > ((bool)((QJsonObject::iterator *)cls)->operator>= (arg1));
|
||||
}
|
||||
|
||||
|
||||
// const QJsonValueRef QJsonObject::iterator::operator[](qsizetype j)
|
||||
|
||||
|
||||
|
|
@ -457,11 +393,7 @@ static gsi::Methods methods_QJsonObject_Iterator () {
|
|||
methods += new qt_gsi::GenericMethod ("--", "@brief Method QJsonObject::iterator QJsonObject::iterator::operator--(int)\n", false, &_init_f_operator_minus__minus__767, &_call_f_operator_minus__minus__767);
|
||||
methods += new qt_gsi::GenericMethod ("-=", "@brief Method QJsonObject::iterator &QJsonObject::iterator::operator-=(qsizetype j)\n", false, &_init_f_operator_minus__eq__1442, &_call_f_operator_minus__eq__1442);
|
||||
methods += new qt_gsi::GenericMethod ("->", "@brief Method QJsonValueRef *QJsonObject::iterator::operator->()\n", true, &_init_f_operator_minus__gt__c0, &_call_f_operator_minus__gt__c0);
|
||||
methods += new qt_gsi::GenericMethod ("<", "@brief Method bool QJsonObject::iterator::operator<(const QJsonObject::iterator &other)\n", true, &_init_f_operator_lt__c3393, &_call_f_operator_lt__c3393);
|
||||
methods += new qt_gsi::GenericMethod ("<=", "@brief Method bool QJsonObject::iterator::operator<=(const QJsonObject::iterator &other)\n", true, &_init_f_operator_lt__eq__c3393, &_call_f_operator_lt__eq__c3393);
|
||||
methods += new qt_gsi::GenericMethod ("assign", "@brief Method QJsonObject::iterator &QJsonObject::iterator::operator=(const QJsonObject::iterator &other)\n", false, &_init_f_operator_eq__3393, &_call_f_operator_eq__3393);
|
||||
methods += new qt_gsi::GenericMethod (">", "@brief Method bool QJsonObject::iterator::operator>(const QJsonObject::iterator &other)\n", true, &_init_f_operator_gt__c3393, &_call_f_operator_gt__c3393);
|
||||
methods += new qt_gsi::GenericMethod (">=", "@brief Method bool QJsonObject::iterator::operator>=(const QJsonObject::iterator &other)\n", true, &_init_f_operator_gt__eq__c3393, &_call_f_operator_gt__eq__c3393);
|
||||
methods += new qt_gsi::GenericMethod ("[]", "@brief Method const QJsonValueRef QJsonObject::iterator::operator[](qsizetype j)\n", false, &_init_f_operator_index__1442, &_call_f_operator_index__1442);
|
||||
methods += new qt_gsi::GenericMethod ("value", "@brief Method QJsonValueRef QJsonObject::iterator::value()\n", true, &_init_f_value_c0, &_call_f_value_c0);
|
||||
return methods;
|
||||
|
|
@ -469,7 +401,11 @@ static gsi::Methods methods_QJsonObject_Iterator () {
|
|||
|
||||
gsi::Class<QJsonObject::iterator> decl_QJsonObject_Iterator ("QtCore", "QJsonObject_Iterator",
|
||||
gsi::method_ext("==", &QJsonObject_iterator_operator_eq, gsi::arg ("other"), "@brief Method bool QJsonObject::iterator::operator==(const QJsonObject::iterator &) const") +
|
||||
gsi::method_ext("!=", &QJsonObject_iterator_operator_ne, gsi::arg ("other"), "@brief Method bool QJsonObject::iterator::operator!=(const QJsonObject::iterator &) const")
|
||||
gsi::method_ext("!=", &QJsonObject_iterator_operator_ne, gsi::arg ("other"), "@brief Method bool QJsonObject::iterator::operator!=(const QJsonObject::iterator &) const") +
|
||||
gsi::method_ext("<=", &QJsonObject_iterator_operator_le, gsi::arg ("other"), "@brief Method bool QJsonObject::iterator::operator<=(const QJsonObject::iterator &) const") +
|
||||
gsi::method_ext("<", &QJsonObject_iterator_operator_lt, gsi::arg ("other"), "@brief Method bool QJsonObject::iterator::operator<(const QJsonObject::iterator &) const") +
|
||||
gsi::method_ext(">=", &QJsonObject_iterator_operator_ge, gsi::arg ("other"), "@brief Method bool QJsonObject::iterator::operator>=(const QJsonObject::iterator &) const") +
|
||||
gsi::method_ext(">", &QJsonObject_iterator_operator_gt, gsi::arg ("other"), "@brief Method bool QJsonObject::iterator::operator>(const QJsonObject::iterator &) const")
|
||||
+
|
||||
methods_QJsonObject_Iterator (),
|
||||
"@qt\n@brief Binding of QJsonObject::iterator");
|
||||
|
|
|
|||
|
|
@ -42,6 +42,9 @@
|
|||
static bool QModelIndex_operator_ne(const QModelIndex *a, const QModelIndex &b) {
|
||||
return !(*a == b);
|
||||
}
|
||||
static bool QModelIndex_operator_lt(const QModelIndex *a, const QModelIndex &b) {
|
||||
return *a < b;
|
||||
}
|
||||
|
||||
// Constructor QModelIndex::QModelIndex()
|
||||
|
||||
|
|
@ -202,25 +205,6 @@ static void _call_f_multiData_c2196 (const qt_gsi::GenericMethod * /*decl*/, voi
|
|||
}
|
||||
|
||||
|
||||
// bool QModelIndex::operator<(const QModelIndex &other)
|
||||
|
||||
|
||||
static void _init_f_operator_lt__c2395 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("other");
|
||||
decl->add_arg<const QModelIndex & > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_operator_lt__c2395 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QModelIndex &arg1 = gsi::arg_reader<const QModelIndex & >() (args, heap);
|
||||
ret.write<bool > ((bool)((QModelIndex *)cls)->operator< (arg1));
|
||||
}
|
||||
|
||||
|
||||
// QModelIndex QModelIndex::parent()
|
||||
|
||||
|
||||
|
|
@ -327,7 +311,6 @@ static gsi::Methods methods_QModelIndex () {
|
|||
methods += new qt_gsi::GenericMethod ("isValid?", "@brief Method bool QModelIndex::isValid()\n", true, &_init_f_isValid_c0, &_call_f_isValid_c0);
|
||||
methods += new qt_gsi::GenericMethod ("model", "@brief Method const QAbstractItemModel *QModelIndex::model()\n", true, &_init_f_model_c0, &_call_f_model_c0);
|
||||
methods += new qt_gsi::GenericMethod ("multiData", "@brief Method void QModelIndex::multiData(QModelRoleDataSpan roleDataSpan)\n", true, &_init_f_multiData_c2196, &_call_f_multiData_c2196);
|
||||
methods += new qt_gsi::GenericMethod ("<", "@brief Method bool QModelIndex::operator<(const QModelIndex &other)\n", true, &_init_f_operator_lt__c2395, &_call_f_operator_lt__c2395);
|
||||
methods += new qt_gsi::GenericMethod ("parent", "@brief Method QModelIndex QModelIndex::parent()\n", true, &_init_f_parent_c0, &_call_f_parent_c0);
|
||||
methods += new qt_gsi::GenericMethod ("row", "@brief Method int QModelIndex::row()\n", true, &_init_f_row_c0, &_call_f_row_c0);
|
||||
methods += new qt_gsi::GenericMethod ("sibling", "@brief Method QModelIndex QModelIndex::sibling(int row, int column)\n", true, &_init_f_sibling_c1426, &_call_f_sibling_c1426);
|
||||
|
|
@ -338,7 +321,8 @@ static gsi::Methods methods_QModelIndex () {
|
|||
|
||||
gsi::Class<QModelIndex> decl_QModelIndex ("QtCore", "QModelIndex",
|
||||
gsi::method_ext("==", &QModelIndex_operator_eq, gsi::arg ("other"), "@brief Method bool QModelIndex::operator==(const QModelIndex &) const") +
|
||||
gsi::method_ext("!=", &QModelIndex_operator_ne, gsi::arg ("other"), "@brief Method bool QModelIndex::operator!=(const QModelIndex &) const")
|
||||
gsi::method_ext("!=", &QModelIndex_operator_ne, gsi::arg ("other"), "@brief Method bool QModelIndex::operator!=(const QModelIndex &) const") +
|
||||
gsi::method_ext("<", &QModelIndex_operator_lt, gsi::arg ("other"), "@brief Method bool QModelIndex::operator<(const QModelIndex &) const")
|
||||
+
|
||||
methods_QModelIndex (),
|
||||
"@qt\n@brief Binding of QModelIndex");
|
||||
|
|
|
|||
|
|
@ -43,6 +43,9 @@
|
|||
static bool QPersistentModelIndex_operator_ne(const QPersistentModelIndex *a, const QPersistentModelIndex &b) {
|
||||
return !(*a == b);
|
||||
}
|
||||
static bool QPersistentModelIndex_operator_lt(const QPersistentModelIndex *a, const QPersistentModelIndex &b) {
|
||||
return *a < b;
|
||||
}
|
||||
#if QT_VERSION < 0x60000
|
||||
static const QModelIndex &castToQModelIndex(const QPersistentModelIndex *m)
|
||||
{
|
||||
|
|
@ -252,25 +255,6 @@ static void _call_f_multiData_c2196 (const qt_gsi::GenericMethod * /*decl*/, voi
|
|||
}
|
||||
|
||||
|
||||
// bool QPersistentModelIndex::operator<(const QPersistentModelIndex &other)
|
||||
|
||||
|
||||
static void _init_f_operator_lt__c3468 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("other");
|
||||
decl->add_arg<const QPersistentModelIndex & > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_operator_lt__c3468 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QPersistentModelIndex &arg1 = gsi::arg_reader<const QPersistentModelIndex & >() (args, heap);
|
||||
ret.write<bool > ((bool)((QPersistentModelIndex *)cls)->operator< (arg1));
|
||||
}
|
||||
|
||||
|
||||
// QPersistentModelIndex &QPersistentModelIndex::operator=(const QPersistentModelIndex &other)
|
||||
|
||||
|
||||
|
|
@ -399,7 +383,6 @@ static gsi::Methods methods_QPersistentModelIndex () {
|
|||
methods += new qt_gsi::GenericMethod ("isValid?", "@brief Method bool QPersistentModelIndex::isValid()\n", true, &_init_f_isValid_c0, &_call_f_isValid_c0);
|
||||
methods += new qt_gsi::GenericMethod ("model", "@brief Method const QAbstractItemModel *QPersistentModelIndex::model()\n", true, &_init_f_model_c0, &_call_f_model_c0);
|
||||
methods += new qt_gsi::GenericMethod ("multiData", "@brief Method void QPersistentModelIndex::multiData(QModelRoleDataSpan roleDataSpan)\n", true, &_init_f_multiData_c2196, &_call_f_multiData_c2196);
|
||||
methods += new qt_gsi::GenericMethod ("<", "@brief Method bool QPersistentModelIndex::operator<(const QPersistentModelIndex &other)\n", true, &_init_f_operator_lt__c3468, &_call_f_operator_lt__c3468);
|
||||
methods += new qt_gsi::GenericMethod ("assign", "@brief Method QPersistentModelIndex &QPersistentModelIndex::operator=(const QPersistentModelIndex &other)\n", false, &_init_f_operator_eq__3468, &_call_f_operator_eq__3468);
|
||||
methods += new qt_gsi::GenericMethod ("assign", "@brief Method QPersistentModelIndex &QPersistentModelIndex::operator=(const QModelIndex &other)\n", false, &_init_f_operator_eq__2395, &_call_f_operator_eq__2395);
|
||||
methods += new qt_gsi::GenericMethod ("parent", "@brief Method QModelIndex QPersistentModelIndex::parent()\n", true, &_init_f_parent_c0, &_call_f_parent_c0);
|
||||
|
|
@ -411,7 +394,8 @@ static gsi::Methods methods_QPersistentModelIndex () {
|
|||
|
||||
gsi::Class<QPersistentModelIndex> decl_QPersistentModelIndex ("QtCore", "QPersistentModelIndex",
|
||||
gsi::method_ext("==", &QPersistentModelIndex_operator_eq, gsi::arg ("other"), "@brief Method bool QPersistentModelIndex::operator==(const QPersistentModelIndex &) const") +
|
||||
gsi::method_ext("!=", &QPersistentModelIndex_operator_ne, gsi::arg ("other"), "@brief Method bool QPersistentModelIndex::operator!=(const QPersistentModelIndex &) const")
|
||||
gsi::method_ext("!=", &QPersistentModelIndex_operator_ne, gsi::arg ("other"), "@brief Method bool QPersistentModelIndex::operator!=(const QPersistentModelIndex &) const") +
|
||||
gsi::method_ext("<", &QPersistentModelIndex_operator_lt, gsi::arg ("other"), "@brief Method bool QPersistentModelIndex::operator<(const QPersistentModelIndex &) const")
|
||||
+
|
||||
gsi::method_ext("castToQModelIndex", &castToQModelIndex, "@brief Binding for \"operator const QModelIndex &\".")
|
||||
+
|
||||
|
|
|
|||
|
|
@ -35,28 +35,12 @@
|
|||
// -----------------------------------------------------------------------
|
||||
// class QStringConverterBase
|
||||
|
||||
// Constructor QStringConverterBase::QStringConverterBase()
|
||||
|
||||
|
||||
static void _init_ctor_QStringConverterBase_0 (qt_gsi::GenericStaticMethod *decl)
|
||||
{
|
||||
decl->set_return_new<QStringConverterBase> ();
|
||||
}
|
||||
|
||||
static void _call_ctor_QStringConverterBase_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
ret.write<QStringConverterBase *> (new QStringConverterBase ());
|
||||
}
|
||||
|
||||
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
static gsi::Methods methods_QStringConverterBase () {
|
||||
gsi::Methods methods;
|
||||
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QStringConverterBase::QStringConverterBase()\nThis method creates an object of class QStringConverterBase.", &_init_ctor_QStringConverterBase_0, &_call_ctor_QStringConverterBase_0);
|
||||
return methods;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -41,6 +41,9 @@
|
|||
static bool QUrl_operator_ne(const QUrl *a, const QUrl &b) {
|
||||
return !(*a == b);
|
||||
}
|
||||
static bool QUrl_operator_lt(const QUrl *a, const QUrl &b) {
|
||||
return *a < b;
|
||||
}
|
||||
|
||||
// Constructor QUrl::QUrl()
|
||||
|
||||
|
|
@ -386,25 +389,6 @@ static void _call_f_matches_c9164 (const qt_gsi::GenericMethod * /*decl*/, void
|
|||
}
|
||||
|
||||
|
||||
// bool QUrl::operator <(const QUrl &url)
|
||||
|
||||
|
||||
static void _init_f_operator_lt__c1701 (qt_gsi::GenericMethod *decl)
|
||||
{
|
||||
static gsi::ArgSpecBase argspec_0 ("url");
|
||||
decl->add_arg<const QUrl & > (argspec_0);
|
||||
decl->set_return<bool > ();
|
||||
}
|
||||
|
||||
static void _call_f_operator_lt__c1701 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
|
||||
{
|
||||
__SUPPRESS_UNUSED_WARNING(args);
|
||||
tl::Heap heap;
|
||||
const QUrl &arg1 = gsi::arg_reader<const QUrl & >() (args, heap);
|
||||
ret.write<bool > ((bool)((QUrl *)cls)->operator < (arg1));
|
||||
}
|
||||
|
||||
|
||||
// QUrl &QUrl::operator =(const QUrl ©)
|
||||
|
||||
|
||||
|
|
@ -1222,7 +1206,6 @@ static gsi::Methods methods_QUrl () {
|
|||
methods += new qt_gsi::GenericMethod ("isRelative?", "@brief Method bool QUrl::isRelative()\n", true, &_init_f_isRelative_c0, &_call_f_isRelative_c0);
|
||||
methods += new qt_gsi::GenericMethod ("isValid?", "@brief Method bool QUrl::isValid()\n", true, &_init_f_isValid_c0, &_call_f_isValid_c0);
|
||||
methods += new qt_gsi::GenericMethod ("matches", "@brief Method bool QUrl::matches(const QUrl &url, QUrlTwoFlags<QUrl::UrlFormattingOption, QUrl::ComponentFormattingOption> options)\n", true, &_init_f_matches_c9164, &_call_f_matches_c9164);
|
||||
methods += new qt_gsi::GenericMethod ("<", "@brief Method bool QUrl::operator <(const QUrl &url)\n", true, &_init_f_operator_lt__c1701, &_call_f_operator_lt__c1701);
|
||||
methods += new qt_gsi::GenericMethod ("assign", "@brief Method QUrl &QUrl::operator =(const QUrl ©)\n", false, &_init_f_operator_eq__1701, &_call_f_operator_eq__1701);
|
||||
methods += new qt_gsi::GenericMethod ("assign", "@brief Method QUrl &QUrl::operator=(const QString &url)\n", false, &_init_f_operator_eq__2025, &_call_f_operator_eq__2025);
|
||||
methods += new qt_gsi::GenericMethod ("password", "@brief Method QString QUrl::password(QFlags<QUrl::ComponentFormattingOption>)\n", true, &_init_f_password_c4267, &_call_f_password_c4267);
|
||||
|
|
@ -1267,7 +1250,8 @@ static gsi::Methods methods_QUrl () {
|
|||
|
||||
gsi::Class<QUrl> decl_QUrl ("QtCore", "QUrl",
|
||||
gsi::method_ext("==", &QUrl_operator_eq, gsi::arg ("other"), "@brief Method bool QUrl::operator==(const QUrl &) const") +
|
||||
gsi::method_ext("!=", &QUrl_operator_ne, gsi::arg ("other"), "@brief Method bool QUrl::operator!=(const QUrl &) const")
|
||||
gsi::method_ext("!=", &QUrl_operator_ne, gsi::arg ("other"), "@brief Method bool QUrl::operator!=(const QUrl &) const") +
|
||||
gsi::method_ext("<", &QUrl_operator_lt, gsi::arg ("other"), "@brief Method bool QUrl::operator<(const QUrl &) const")
|
||||
+
|
||||
methods_QUrl (),
|
||||
"@qt\n@brief Binding of QUrl");
|
||||
|
|
|
|||
Loading…
Reference in New Issue