fix QgsRasterInterface sip bindings

This commit is contained in:
Juergen E. Fischer 2013-03-14 17:34:38 +01:00
parent 8a434b2991
commit e46a67ab31
2 changed files with 16 additions and 2 deletions

View File

@ -192,5 +192,19 @@ class QgsRasterInterface
const QgsRectangle & theExtent = QgsRectangle(),
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 );
};

View File

@ -261,9 +261,9 @@ class CORE_EXPORT QgsRasterInterface
//double time( bool cumulative = false );
/** 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 */
virtual void readXML( const QDomElement& filterElem ) { Q_UNUSED( filterElem ); };
virtual void readXML( const QDomElement& filterElem ) { Q_UNUSED( filterElem ); }
protected:
// QgsRasterInterface used as input