Skip to content
Permalink
Browse files

Add missing /Transfer/ annotations to geometry classes

  • Loading branch information
wonder-sk committed Nov 5, 2016
1 parent 93e559d commit 91e2f009c9652aac2a54380083f2c1c591069471
@@ -18,7 +18,7 @@ class QgsMultiCurveV2: public QgsGeometryCollectionV2
QString asJSON( int precision = 17 ) const;

/** Adds a geometry and takes ownership. Returns true in case of success*/
virtual bool addGeometry( QgsAbstractGeometryV2* g );
virtual bool addGeometry( QgsAbstractGeometryV2* g /Transfer/ );
/** Returns a geometry without curves. Caller takes ownership*/
QgsAbstractGeometryV2* segmentize() const /Factory/;

@@ -18,7 +18,7 @@ class QgsMultiLineStringV2: public QgsMultiCurveV2
QString asJSON( int precision = 17 ) const;

/** Adds a geometry and takes ownership. Returns true in case of success*/
virtual bool addGeometry( QgsAbstractGeometryV2* g );
virtual bool addGeometry( QgsAbstractGeometryV2* g /Transfer/ );

/** Returns the geometry converted to the more generic curve type QgsMultiCurveV2
@return the converted geometry. Caller takes ownership*/
@@ -19,7 +19,7 @@ class QgsMultiPointV2: public QgsGeometryCollectionV2
virtual int nCoordinates() const;

/** Adds a geometry and takes ownership. Returns true in case of success*/
virtual bool addGeometry( QgsAbstractGeometryV2* g );
virtual bool addGeometry( QgsAbstractGeometryV2* g /Transfer/ );

virtual QgsAbstractGeometryV2* boundary() const /Factory/;

@@ -18,7 +18,7 @@ class QgsMultiPolygonV2: public QgsMultiSurfaceV2


/** Adds a geometry and takes ownership. Returns true in case of success*/
virtual bool addGeometry( QgsAbstractGeometryV2* g );
virtual bool addGeometry( QgsAbstractGeometryV2* g /Transfer/ );

/** Returns the geometry converted to the more generic curve type QgsMultiSurfaceV2
@return the converted geometry. Caller takes ownership*/
@@ -18,7 +18,7 @@ class QgsMultiSurfaceV2: public QgsGeometryCollectionV2


/** Adds a geometry and takes ownership. Returns true in case of success*/
virtual bool addGeometry( QgsAbstractGeometryV2* g );
virtual bool addGeometry( QgsAbstractGeometryV2* g /Transfer/ );

virtual QgsAbstractGeometryV2* boundary() const /Factory/;

0 comments on commit 91e2f00

Please sign in to comment.
You can’t perform that action at this time.