mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-29 00:03:59 -04:00
fix QgsRasterInterface sip bindings
This commit is contained in:
parent
8a434b2991
commit
e46a67ab31
@ -192,5 +192,19 @@ class QgsRasterInterface
|
|||||||
const QgsRectangle & theExtent = QgsRectangle(),
|
const QgsRectangle & theExtent = QgsRectangle(),
|
||||||
int theSampleSize = 0 );
|
int theSampleSize = 0 );
|
||||||
|
|
||||||
|
/** Switch on (and clear old statistics) or off collection of statistics */
|
||||||
|
//void setStatsOn( bool on );
|
||||||
|
|
||||||
|
/** Last total time (for allbands) consumed by this interface for call to block()
|
||||||
|
* If cumulative is true, the result includes also time spent in all preceding
|
||||||
|
* interfaces. If cumulative is false, only time consumed by this interface is
|
||||||
|
* returned. */
|
||||||
|
//double time( bool cumulative = false );
|
||||||
|
|
||||||
|
/** Write base class members to xml. */
|
||||||
|
virtual void writeXML( QDomDocument& doc, QDomElement& parentElem ) const;
|
||||||
|
/** Sets base class members from xml. Usually called from create() methods of subclasses */
|
||||||
|
virtual void readXML( const QDomElement& filterElem );
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -261,9 +261,9 @@ class CORE_EXPORT QgsRasterInterface
|
|||||||
//double time( bool cumulative = false );
|
//double time( bool cumulative = false );
|
||||||
|
|
||||||
/** Write base class members to xml. */
|
/** Write base class members to xml. */
|
||||||
virtual void writeXML( QDomDocument& doc, QDomElement& parentElem ) { Q_UNUSED( doc ); Q_UNUSED( parentElem ); };
|
virtual void writeXML( QDomDocument& doc, QDomElement& parentElem ) const { Q_UNUSED( doc ); Q_UNUSED( parentElem ); }
|
||||||
/** Sets base class members from xml. Usually called from create() methods of subclasses */
|
/** Sets base class members from xml. Usually called from create() methods of subclasses */
|
||||||
virtual void readXML( const QDomElement& filterElem ) { Q_UNUSED( filterElem ); };
|
virtual void readXML( const QDomElement& filterElem ) { Q_UNUSED( filterElem ); }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
// QgsRasterInterface used as input
|
// QgsRasterInterface used as input
|
||||||
|
Loading…
x
Reference in New Issue
Block a user