################################################################
# THE FOLLOWING CODE IS AUTOMATED, ANY MODIFICATION WILL BE LOST!
#
# Copyright (C) 2007 - 2012 by Dongxu Ma <dongxu _at_ cpan _dot_ org>
#
# This library is free software; you can redistribute it and/or
# modify it under the same terms as Perl itself.
# See http://dev.perl.org/licenses/artistic.html
################################################################
MODULE = Qt::Gui PACKAGE = Qt::Gui::Template::T035
PROTOTYPES: DISABLE
# classname: QList<QPair<qreal,QPointF> >
################################################################
####
#### PUBLIC MEMBER FUNCTIONS
####
################################################################
## QList<QPair<qreal,QPointF> >()
## QList<QPair<qreal,QPointF> >(const QList<QPair<qreal,QPointF> > & l)
void
T035::new(...)
PREINIT:
QList<QPair<qreal,QPointF> > *ret;
QList<QPair<qreal,QPointF> > * arg10;
PPCODE:
switch(items) {
case 1:
{
if (1) {
ret = new QList<QPair<qreal,QPointF> >();
ST(0) = sv_newmortal();
sv_setref_pv(ST(0), "Qt::Gui::Template::T035", (void *)ret);
XSRETURN(1);
}
break;
}
case 2:
{
if (sv_isa(ST(1), "Qt::Gui::Template::T035")) {
arg10 = reinterpret_cast<QList<QPair<qreal,QPointF> > *>(SvIV((SV*)SvRV(ST(1))));
ret = new QList<QPair<qreal,QPointF> >(*arg10);
ST(0) = sv_newmortal();
sv_setref_pv(ST(0), "Qt::Gui::Template::T035", (void *)ret);
XSRETURN(1);
}
else
Perl_croak(aTHX_ "wrong number/type of arguments passed in");
break;
}
default:
Perl_croak(aTHX_ "wrong number/type of arguments passed in");
break;
}
## ~QList<QPair<qreal,QPointF> >()
void
T035::DESTROY()
CODE:
if(THIS != 0 && !SvREADONLY(SvRV(ST(0))))
delete THIS;
## void append(const QPair<qreal,QPointF> & t)
## void append(const QList<QPair<qreal,QPointF> > & t)
void
T035::append(...)
PREINIT:
QPair<qreal,QPointF> * arg00;
QList<QPair<qreal,QPointF> > * arg10;
PPCODE:
switch(items) {
case 2:
{
if (sv_isa(ST(1), "Qt::Gui::Template::T034")) {
arg00 = reinterpret_cast<QPair<qreal,QPointF> *>(SvIV((SV*)SvRV(ST(1))));
(void)THIS->append(*arg00);
XSRETURN(0);
}
else if (sv_isa(ST(1), "Qt::Gui::Template::T035")) {
arg10 = reinterpret_cast<QList<QPair<qreal,QPointF> > *>(SvIV((SV*)SvRV(ST(1))));
(void)THIS->append(*arg10);
XSRETURN(0);
}
else
Perl_croak(aTHX_ "wrong number/type of arguments passed in");
break;
}
default:
Perl_croak(aTHX_ "wrong number/type of arguments passed in");
break;
}
## void clear()
void
T035::clear(...)
PREINIT:
PPCODE:
if (1) {
(void)THIS->clear();
XSRETURN(0);
}
## QBool contains(const QPair<qreal,QPointF> & t)
void
T035::contains(...)
PREINIT:
QPair<qreal,QPointF> * arg00;
PPCODE:
if (sv_isa(ST(1), "Qt::Gui::Template::T034")) {
arg00 = reinterpret_cast<QPair<qreal,QPointF> *>(SvIV((SV*)SvRV(ST(1))));
QBool ret = THIS->contains(*arg00);
ST(0) = sv_newmortal();
sv_setref_pv(ST(0), "Qt::Core::QBool", (void *)new QBool(ret));
XSRETURN(1);
}
## int count(const QPair<qreal,QPointF> & t)
void
T035::count(...)
PREINIT:
QPair<qreal,QPointF> * arg00;
PPCODE:
if (sv_isa(ST(1), "Qt::Gui::Template::T034")) {
arg00 = reinterpret_cast<QPair<qreal,QPointF> *>(SvIV((SV*)SvRV(ST(1))));
int ret = THIS->count(*arg00);
ST(0) = sv_newmortal();
sv_setiv(ST(0), (IV)ret);
XSRETURN(1);
}
## void detach()
void
T035::detach(...)
PREINIT:
PPCODE:
if (1) {
(void)THIS->detach();
XSRETURN(0);
}
## void detachShared()
void
T035::detachShared(...)
PREINIT:
PPCODE:
if (1) {
(void)THIS->detachShared();
XSRETURN(0);
}
## int indexOf(const QPair<qreal,QPointF> & t, int from)
## int indexOf(const QPair<qreal,QPointF> & t, int from = 0)
void
T035::indexOf(...)
PREINIT:
QPair<qreal,QPointF> * arg00;
int arg01;
QPair<qreal,QPointF> * arg10;
int arg11 = 0;
PPCODE:
switch(items) {
case 2:
{
if (sv_isa(ST(1), "Qt::Gui::Template::T034")) {
arg10 = reinterpret_cast<QPair<qreal,QPointF> *>(SvIV((SV*)SvRV(ST(1))));
int ret = THIS->indexOf(*arg10, arg11);
ST(0) = sv_newmortal();
sv_setiv(ST(0), (IV)ret);
XSRETURN(1);
}
else
Perl_croak(aTHX_ "wrong number/type of arguments passed in");
break;
}
case 3:
{
if (sv_isa(ST(1), "Qt::Gui::Template::T034") && SvIOK(ST(2))) {
arg00 = reinterpret_cast<QPair<qreal,QPointF> *>(SvIV((SV*)SvRV(ST(1))));
arg01 = (int)SvIV(ST(2));
int ret = THIS->indexOf(*arg00, arg01);
ST(0) = sv_newmortal();
sv_setiv(ST(0), (IV)ret);
XSRETURN(1);
}
else
Perl_croak(aTHX_ "wrong number/type of arguments passed in");
break;
}
default:
Perl_croak(aTHX_ "wrong number/type of arguments passed in");
break;
}
## void insert(int i, const QPair<qreal,QPointF> & t)
void
T035::insert(...)
PREINIT:
int arg00;
QPair<qreal,QPointF> * arg01;
PPCODE:
if (SvIOK(ST(1)) && sv_isa(ST(2), "Qt::Gui::Template::T034")) {
arg00 = (int)SvIV(ST(1));
arg01 = reinterpret_cast<QPair<qreal,QPointF> *>(SvIV((SV*)SvRV(ST(2))));
(void)THIS->insert(arg00, *arg01);
XSRETURN(0);
}
## bool isDetached()
void
T035::isDetached(...)
PREINIT:
PPCODE:
if (1) {
bool ret = THIS->isDetached();
ST(0) = sv_newmortal();
ST(0) = boolSV(ret);
XSRETURN(1);
}
## bool isEmpty()
void
T035::isEmpty(...)
PREINIT:
PPCODE:
if (1) {
bool ret = THIS->isEmpty();
ST(0) = sv_newmortal();
ST(0) = boolSV(ret);
XSRETURN(1);
}
## bool isSharedWith(const QList<QPair<qreal,QPointF> > & other)
void
T035::isSharedWith(...)
PREINIT:
QList<QPair<qreal,QPointF> > * arg00;
PPCODE:
if (sv_isa(ST(1), "Qt::Gui::Template::T035")) {
arg00 = reinterpret_cast<QList<QPair<qreal,QPointF> > *>(SvIV((SV*)SvRV(ST(1))));
bool ret = THIS->isSharedWith(*arg00);
ST(0) = sv_newmortal();
ST(0) = boolSV(ret);
XSRETURN(1);
}
## int lastIndexOf(const QPair<qreal,QPointF> & t, int from)
## int lastIndexOf(const QPair<qreal,QPointF> & t, int from = -1)
void
T035::lastIndexOf(...)
PREINIT:
QPair<qreal,QPointF> * arg00;
int arg01;
QPair<qreal,QPointF> * arg10;
int arg11 = -1;
PPCODE:
switch(items) {
case 2:
{
if (sv_isa(ST(1), "Qt::Gui::Template::T034")) {
arg10 = reinterpret_cast<QPair<qreal,QPointF> *>(SvIV((SV*)SvRV(ST(1))));
int ret = THIS->lastIndexOf(*arg10, arg11);
ST(0) = sv_newmortal();
sv_setiv(ST(0), (IV)ret);
XSRETURN(1);
}
else
Perl_croak(aTHX_ "wrong number/type of arguments passed in");
break;
}
case 3:
{
if (sv_isa(ST(1), "Qt::Gui::Template::T034") && SvIOK(ST(2))) {
arg00 = reinterpret_cast<QPair<qreal,QPointF> *>(SvIV((SV*)SvRV(ST(1))));
arg01 = (int)SvIV(ST(2));
int ret = THIS->lastIndexOf(*arg00, arg01);
ST(0) = sv_newmortal();
sv_setiv(ST(0), (IV)ret);
XSRETURN(1);
}
else
Perl_croak(aTHX_ "wrong number/type of arguments passed in");
break;
}
default:
Perl_croak(aTHX_ "wrong number/type of arguments passed in");
break;
}
## void move(int from, int to)
void
T035::move(...)
PREINIT:
int arg00;
int arg01;
PPCODE:
if (SvIOK(ST(1)) && SvIOK(ST(2))) {
arg00 = (int)SvIV(ST(1));
arg01 = (int)SvIV(ST(2));
(void)THIS->move(arg00, arg01);
XSRETURN(0);
}
## bool operator!=(const QList<QPair<qreal,QPointF> > & l)
void
T035::operator_not_equal(...)
PREINIT:
QList<QPair<qreal,QPointF> > * arg00;
PPCODE:
if (sv_isa(ST(1), "Qt::Gui::Template::T035")) {
arg00 = reinterpret_cast<QList<QPair<qreal,QPointF> > *>(SvIV((SV*)SvRV(ST(1))));
bool ret = THIS->operator!=(*arg00);
ST(0) = sv_newmortal();
ST(0) = boolSV(ret);
XSRETURN(1);
}
## QList<QPair<qreal,QPointF> > operator=(const QList<QPair<qreal,QPointF> > & l)
void
T035::operator_assign(...)
PREINIT:
QList<QPair<qreal,QPointF> > * arg00;
PPCODE:
if (sv_isa(ST(1), "Qt::Gui::Template::T035")) {
arg00 = reinterpret_cast<QList<QPair<qreal,QPointF> > *>(SvIV((SV*)SvRV(ST(1))));
QList<QPair<qreal,QPointF> > ret = THIS->operator=(*arg00);
ST(0) = sv_newmortal();
sv_setref_pv(ST(0), "Qt::Gui::Template::T035", (void *)new QList<QPair<qreal,QPointF> >(ret));
XSRETURN(1);
}
## bool operator==(const QList<QPair<qreal,QPointF> > & l)
void
T035::operator_equal_to(...)
PREINIT:
QList<QPair<qreal,QPointF> > * arg00;
PPCODE:
if (sv_isa(ST(1), "Qt::Gui::Template::T035")) {
arg00 = reinterpret_cast<QList<QPair<qreal,QPointF> > *>(SvIV((SV*)SvRV(ST(1))));
bool ret = THIS->operator==(*arg00);
ST(0) = sv_newmortal();
ST(0) = boolSV(ret);
XSRETURN(1);
}
## QPair<qreal,QPointF> & operator[](int i)
void
T035::operator_array(...)
PREINIT:
int arg00;
PPCODE:
if (SvIOK(ST(1))) {
arg00 = (int)SvIV(ST(1));
QPair<qreal,QPointF> * ret = &THIS->operator[](arg00);
ST(0) = sv_newmortal();
sv_setref_pv(ST(0), "Qt::Gui::Template::T034", (void *)ret);
XSRETURN(1);
}
## void prepend(const QPair<qreal,QPointF> & t)
void
T035::prepend(...)
PREINIT:
QPair<qreal,QPointF> * arg00;
PPCODE:
if (sv_isa(ST(1), "Qt::Gui::Template::T034")) {
arg00 = reinterpret_cast<QPair<qreal,QPointF> *>(SvIV((SV*)SvRV(ST(1))));
(void)THIS->prepend(*arg00);
XSRETURN(0);
}
## int removeAll(const QPair<qreal,QPointF> & t)
void
T035::removeAll(...)
PREINIT:
QPair<qreal,QPointF> * arg00;
PPCODE:
if (sv_isa(ST(1), "Qt::Gui::Template::T034")) {
arg00 = reinterpret_cast<QPair<qreal,QPointF> *>(SvIV((SV*)SvRV(ST(1))));
int ret = THIS->removeAll(*arg00);
ST(0) = sv_newmortal();
sv_setiv(ST(0), (IV)ret);
XSRETURN(1);
}
## void removeAt(int i)
void
T035::removeAt(...)
PREINIT:
int arg00;
PPCODE:
if (SvIOK(ST(1))) {
arg00 = (int)SvIV(ST(1));
(void)THIS->removeAt(arg00);
XSRETURN(0);
}
## bool removeOne(const QPair<qreal,QPointF> & t)
void
T035::removeOne(...)
PREINIT:
QPair<qreal,QPointF> * arg00;
PPCODE:
if (sv_isa(ST(1), "Qt::Gui::Template::T034")) {
arg00 = reinterpret_cast<QPair<qreal,QPointF> *>(SvIV((SV*)SvRV(ST(1))));
bool ret = THIS->removeOne(*arg00);
ST(0) = sv_newmortal();
ST(0) = boolSV(ret);
XSRETURN(1);
}
## void replace(int i, const QPair<qreal,QPointF> & t)
void
T035::replace(...)
PREINIT:
int arg00;
QPair<qreal,QPointF> * arg01;
PPCODE:
if (SvIOK(ST(1)) && sv_isa(ST(2), "Qt::Gui::Template::T034")) {
arg00 = (int)SvIV(ST(1));
arg01 = reinterpret_cast<QPair<qreal,QPointF> *>(SvIV((SV*)SvRV(ST(2))));
(void)THIS->replace(arg00, *arg01);
XSRETURN(0);
}
## void reserve(int size)
void
T035::reserve(...)
PREINIT:
int arg00;
PPCODE:
if (SvIOK(ST(1))) {
arg00 = (int)SvIV(ST(1));
(void)THIS->reserve(arg00);
XSRETURN(0);
}
## void setSharable(bool shrable)
void
T035::setSharable(...)
PREINIT:
bool arg00;
PPCODE:
if (1) {
arg00 = (bool)SvTRUE(ST(1));
(void)THIS->setSharable(arg00);
XSRETURN(0);
}
## int size()
void
T035::size(...)
PREINIT:
PPCODE:
if (1) {
int ret = THIS->size();
ST(0) = sv_newmortal();
sv_setiv(ST(0), (IV)ret);
XSRETURN(1);
}
## void swap(int i, int j)
void
T035::swap(...)
PREINIT:
int arg00;
int arg01;
PPCODE:
if (SvIOK(ST(1)) && SvIOK(ST(2))) {
arg00 = (int)SvIV(ST(1));
arg01 = (int)SvIV(ST(2));
(void)THIS->swap(arg00, arg01);
XSRETURN(0);
}
## QPair<qreal,QPointF> takeAt(int i)
void
T035::takeAt(...)
PREINIT:
int arg00;
PPCODE:
if (SvIOK(ST(1))) {
arg00 = (int)SvIV(ST(1));
QPair<qreal,QPointF> ret = THIS->takeAt(arg00);
ST(0) = sv_newmortal();
sv_setref_pv(ST(0), "Qt::Gui::Template::T034", (void *)new QPair<qreal,QPointF>(ret));
XSRETURN(1);
}
## QPair<qreal,QPointF> takeFirst()
void
T035::takeFirst(...)
PREINIT:
PPCODE:
if (1) {
QPair<qreal,QPointF> ret = THIS->takeFirst();
ST(0) = sv_newmortal();
sv_setref_pv(ST(0), "Qt::Gui::Template::T034", (void *)new QPair<qreal,QPointF>(ret));
XSRETURN(1);
}
## QPair<qreal,QPointF> takeLast()
void
T035::takeLast(...)
PREINIT:
PPCODE:
if (1) {
QPair<qreal,QPointF> ret = THIS->takeLast();
ST(0) = sv_newmortal();
sv_setref_pv(ST(0), "Qt::Gui::Template::T034", (void *)new QPair<qreal,QPointF>(ret));
XSRETURN(1);
}