/** * @file gsiDeclQMapDataBase.cc * * DO NOT EDIT THIS FILE. * This file has been created automatically */ #include #include #include "gsiQt.h" #include "gsiQtCommon.h" #include "gsiDeclQtTypeTraits.h" #include // ----------------------------------------------------------------------- // class QMapDataBase // Constructor QMapDataBase::QMapDataBase() static void _init_ctor_QMapDataBase_0 (qt_gsi::GenericStaticMethod *decl) { decl->set_return_new (); } static void _call_ctor_QMapDataBase_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) { __SUPPRESS_UNUSED_WARNING(args); ret.write (new QMapDataBase ()); } // QMapNodeBase *QMapDataBase::createNode(int size, int alignment, QMapNodeBase *parent, bool left) static void _init_f_createNode_3832 (qt_gsi::GenericMethod *decl) { static gsi::ArgSpecBase argspec_0 ("size"); decl->add_arg (argspec_0); static gsi::ArgSpecBase argspec_1 ("alignment"); decl->add_arg (argspec_1); static gsi::ArgSpecBase argspec_2 ("parent"); decl->add_arg (argspec_2); static gsi::ArgSpecBase argspec_3 ("left"); decl->add_arg (argspec_3); decl->set_return (); } static void _call_f_createNode_3832 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) { __SUPPRESS_UNUSED_WARNING(args); tl::Heap heap; int arg1 = args.read (heap); int arg2 = args.read (heap); QMapNodeBase *arg3 = args.read (heap); bool arg4 = args.read (heap); ret.write ((QMapNodeBase *)((QMapDataBase *)cls)->createNode (arg1, arg2, arg3, arg4)); } // void QMapDataBase::freeNodeAndRebalance(QMapNodeBase *z) static void _init_f_freeNodeAndRebalance_1758 (qt_gsi::GenericMethod *decl) { static gsi::ArgSpecBase argspec_0 ("z"); decl->add_arg (argspec_0); decl->set_return (); } static void _call_f_freeNodeAndRebalance_1758 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) { __SUPPRESS_UNUSED_WARNING(args); tl::Heap heap; QMapNodeBase *arg1 = args.read (heap); __SUPPRESS_UNUSED_WARNING(ret); ((QMapDataBase *)cls)->freeNodeAndRebalance (arg1); } // void QMapDataBase::freeTree(QMapNodeBase *root, int alignment) static void _init_f_freeTree_2417 (qt_gsi::GenericMethod *decl) { static gsi::ArgSpecBase argspec_0 ("root"); decl->add_arg (argspec_0); static gsi::ArgSpecBase argspec_1 ("alignment"); decl->add_arg (argspec_1); decl->set_return (); } static void _call_f_freeTree_2417 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) { __SUPPRESS_UNUSED_WARNING(args); tl::Heap heap; QMapNodeBase *arg1 = args.read (heap); int arg2 = args.read (heap); __SUPPRESS_UNUSED_WARNING(ret); ((QMapDataBase *)cls)->freeTree (arg1, arg2); } // void QMapDataBase::rebalance(QMapNodeBase *x) static void _init_f_rebalance_1758 (qt_gsi::GenericMethod *decl) { static gsi::ArgSpecBase argspec_0 ("x"); decl->add_arg (argspec_0); decl->set_return (); } static void _call_f_rebalance_1758 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) { __SUPPRESS_UNUSED_WARNING(args); tl::Heap heap; QMapNodeBase *arg1 = args.read (heap); __SUPPRESS_UNUSED_WARNING(ret); ((QMapDataBase *)cls)->rebalance (arg1); } // void QMapDataBase::recalcMostLeftNode() static void _init_f_recalcMostLeftNode_0 (qt_gsi::GenericMethod *decl) { decl->set_return (); } static void _call_f_recalcMostLeftNode_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) { __SUPPRESS_UNUSED_WARNING(args); __SUPPRESS_UNUSED_WARNING(ret); ((QMapDataBase *)cls)->recalcMostLeftNode (); } // void QMapDataBase::rotateLeft(QMapNodeBase *x) static void _init_f_rotateLeft_1758 (qt_gsi::GenericMethod *decl) { static gsi::ArgSpecBase argspec_0 ("x"); decl->add_arg (argspec_0); decl->set_return (); } static void _call_f_rotateLeft_1758 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) { __SUPPRESS_UNUSED_WARNING(args); tl::Heap heap; QMapNodeBase *arg1 = args.read (heap); __SUPPRESS_UNUSED_WARNING(ret); ((QMapDataBase *)cls)->rotateLeft (arg1); } // void QMapDataBase::rotateRight(QMapNodeBase *x) static void _init_f_rotateRight_1758 (qt_gsi::GenericMethod *decl) { static gsi::ArgSpecBase argspec_0 ("x"); decl->add_arg (argspec_0); decl->set_return (); } static void _call_f_rotateRight_1758 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) { __SUPPRESS_UNUSED_WARNING(args); tl::Heap heap; QMapNodeBase *arg1 = args.read (heap); __SUPPRESS_UNUSED_WARNING(ret); ((QMapDataBase *)cls)->rotateRight (arg1); } // static QMapDataBase *QMapDataBase::createData() static void _init_f_createData_0 (qt_gsi::GenericStaticMethod *decl) { decl->set_return (); } static void _call_f_createData_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) { __SUPPRESS_UNUSED_WARNING(args); ret.write ((QMapDataBase *)QMapDataBase::createData ()); } // static void QMapDataBase::freeData(QMapDataBase *d) static void _init_f_freeData_1746 (qt_gsi::GenericStaticMethod *decl) { static gsi::ArgSpecBase argspec_0 ("d"); decl->add_arg (argspec_0); decl->set_return (); } static void _call_f_freeData_1746 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) { __SUPPRESS_UNUSED_WARNING(args); tl::Heap heap; QMapDataBase *arg1 = args.read (heap); __SUPPRESS_UNUSED_WARNING(ret); QMapDataBase::freeData (arg1); } namespace gsi { static gsi::Methods methods_QMapDataBase () { gsi::Methods methods; methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QMapDataBase::QMapDataBase()\nThis method creates an object of class QMapDataBase.", &_init_ctor_QMapDataBase_0, &_call_ctor_QMapDataBase_0); methods += new qt_gsi::GenericMethod ("createNode", "@brief Method QMapNodeBase *QMapDataBase::createNode(int size, int alignment, QMapNodeBase *parent, bool left)\n", false, &_init_f_createNode_3832, &_call_f_createNode_3832); methods += new qt_gsi::GenericMethod ("freeNodeAndRebalance", "@brief Method void QMapDataBase::freeNodeAndRebalance(QMapNodeBase *z)\n", false, &_init_f_freeNodeAndRebalance_1758, &_call_f_freeNodeAndRebalance_1758); methods += new qt_gsi::GenericMethod ("freeTree", "@brief Method void QMapDataBase::freeTree(QMapNodeBase *root, int alignment)\n", false, &_init_f_freeTree_2417, &_call_f_freeTree_2417); methods += new qt_gsi::GenericMethod ("rebalance", "@brief Method void QMapDataBase::rebalance(QMapNodeBase *x)\n", false, &_init_f_rebalance_1758, &_call_f_rebalance_1758); methods += new qt_gsi::GenericMethod ("recalcMostLeftNode", "@brief Method void QMapDataBase::recalcMostLeftNode()\n", false, &_init_f_recalcMostLeftNode_0, &_call_f_recalcMostLeftNode_0); methods += new qt_gsi::GenericMethod ("rotateLeft", "@brief Method void QMapDataBase::rotateLeft(QMapNodeBase *x)\n", false, &_init_f_rotateLeft_1758, &_call_f_rotateLeft_1758); methods += new qt_gsi::GenericMethod ("rotateRight", "@brief Method void QMapDataBase::rotateRight(QMapNodeBase *x)\n", false, &_init_f_rotateRight_1758, &_call_f_rotateRight_1758); methods += new qt_gsi::GenericStaticMethod ("createData", "@brief Static method QMapDataBase *QMapDataBase::createData()\nThis method is static and can be called without an instance.", &_init_f_createData_0, &_call_f_createData_0); methods += new qt_gsi::GenericStaticMethod ("freeData", "@brief Static method void QMapDataBase::freeData(QMapDataBase *d)\nThis method is static and can be called without an instance.", &_init_f_freeData_1746, &_call_f_freeData_1746); return methods; } gsi::Class decl_QMapDataBase ("QMapDataBase", methods_QMapDataBase (), "@qt\n@brief Binding of QMapDataBase"); GSIQT_PUBLIC gsi::Class &qtdecl_QMapDataBase () { return decl_QMapDataBase; } }