Skip to content
Permalink
Browse files
fix QgsRasterInterface sip bindings
  • Loading branch information
jef-n committed Mar 14, 2013
1 parent 8a434b2 commit e46a67ab316ae52016bbafaace9cfd303762b06b
Showing with 16 additions and 2 deletions.
  1. +14 −0 python/core/raster/qgsrasterinterface.sip
  2. +2 −2 src/core/raster/qgsrasterinterface.h
@@ -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 );

};

@@ -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

0 comments on commit e46a67a

Please sign in to comment.