-
-
Notifications
You must be signed in to change notification settings - Fork 3k
/
sipifyheader.expected.sip
141 lines (102 loc) · 3.71 KB
/
sipifyheader.expected.sip
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
/************************************************************************
* This file has been generated automatically from *
* *
* tests/scripts/sipifyheader.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
typedef qint64 QgsFeatureId;
typedef QSet<qint64 > QgsFeatureIds;
typedef QMap<qint64 , QMap<int, QVariant>> QgsChangedAttributesMap;
typedef QMap<qint64, QMap<int, QVariant> > QgsChangedAttributesMap;
typedef QMap<qint64, QMap<int, QVariant>> QgsChangedAttributesMap;
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/ );
void differentDefaultValue( bool defaultValue = false , QWidget *parent = 0, QString msg = "hello" );
void differentType( QList<qint64> &list );
void complexDefaultValueAndType( QList<QPair<qint64 , QMap<int, QString>>> list = QList<QPair<qint64, QMap<int, QString>>> );
%Docstring
complex default value and type (i.e. containing commas) should be given as a string with single quotes
%End
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
}
/************************************************************************
* This file has been generated automatically from *
* *
* tests/scripts/sipifyheader.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/