QGIS/tests/scripts/sipifyheader.expected.sip
Denis Rouzaud 15e4903890 sipify improvements
* add demo file and start a short doc
* fix some annotations
* do not display hidden line (SIP_SKIP, delete)
* use a defined var for SIP_SKIP
* remove constructor definition in header
* fix comment after method definition in header
* add a test for sipify itself
2017-03-30 15:13:01 +02:00

118 lines
2.3 KiB
Plaintext

/******************************************************************
* This file has been generated automatically by sipify.pl *
* Do not edit manually ! Edit header file and generate it again. *
*****************************************************************/
typedef qint64 QgsFeatureId;
typedef QVector<QVariant> QgsSuperClass;
%MappedType QgsSuperClass
{
// The annotations are modified by astyle (these will be fixed by sipify.pl)
%TypeHeaderCode
#include <qgssipifyheader.h>
%End
%ConvertFromTypeCode
// Create the list.
PyObject *l;
return l;
%End
}
class QgsSipifyHeader : QtClass<QVariant>
{
%Docstring
\ingroup core
Documentation goes here
%End
%TypeHeaderCode
#include "sipifyheader.h"
%End
public:
enum MyEnum
{
Success,
NoSuccess,
};
explicit QgsSipifyHeader();
%Docstring
A constructor with definition in header
%End
QgsSipifyHeader( QWidget *parent /TransferThis/ = 0 );
%Docstring
A classic constructor with arguments
%End
void multilineMethod( const QgsPoint &startPoint,
QgsFeatureId featureId,
QgsVectorLayer *vl,
QgsSnapper::SnappingType snap_to ) const;
%Docstring
A multiline method signature
%End
virtual QgsMapLayerRenderer *createMapRenderer( QgsRenderContext &rendererContext ) /Factory/;
%Docstring
Factory annotation
%End
void LongDocStringMethod();
%Docstring
My long doc string
is not very interesting!
%End
bool isOKwithErrMesg( QString &ErrMsg /Out/ );
void InOutParam( bool &ok = true /In,Out/ );
void setDiagramRenderer( QgsDiagramRenderer *r /Transfer/ );
inlineKeyWordShouldNotAppear();
QString labelForRange( double lower, double upper ) const /PyName=labelForLowerUpper/;
void setComposition( QgsComposition *c /KeepReference/ );
void removeProxyFactory( QNetworkProxyFactory *factory /TransferBack/ );
bool removeFunctionBody( const QList<int, QString> &list, QgsVectorLayer *vl );
protected:
bool thisShouldBeListed();
private:
void privateMethodSIPRUNareShown();
public:
void FallBackToPublic();
};
class ClassWithPrivateInheritanceOnly
{
%TypeHeaderCode
#include "sipifyheader.h"
%End
explicit ClassWithPrivateInheritanceOnly();
%Docstring
A constructor with definition in header on several lines
%End
}