Navigation Menu

Skip to content

Commit

Permalink
fix QgsRasterInterface sip bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Mar 14, 2013
1 parent 8a434b2 commit e46a67a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
14 changes: 14 additions & 0 deletions python/core/raster/qgsrasterinterface.sip
Expand Up @@ -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 );

};

4 changes: 2 additions & 2 deletions src/core/raster/qgsrasterinterface.h
Expand Up @@ -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
Expand Down

0 comments on commit e46a67a

Please sign in to comment.