File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -192,5 +192,19 @@ class QgsRasterInterface
192
192
const QgsRectangle & theExtent = QgsRectangle(),
193
193
int theSampleSize = 0 );
194
194
195
+ /** Switch on (and clear old statistics) or off collection of statistics */
196
+ //void setStatsOn( bool on );
197
+
198
+ /** Last total time (for allbands) consumed by this interface for call to block()
199
+ * If cumulative is true, the result includes also time spent in all preceding
200
+ * interfaces. If cumulative is false, only time consumed by this interface is
201
+ * returned. */
202
+ //double time( bool cumulative = false );
203
+
204
+ /** Write base class members to xml. */
205
+ virtual void writeXML( QDomDocument& doc, QDomElement& parentElem ) const;
206
+ /** Sets base class members from xml. Usually called from create() methods of subclasses */
207
+ virtual void readXML( const QDomElement& filterElem );
208
+
195
209
};
196
210
Original file line number Diff line number Diff line change @@ -261,9 +261,9 @@ class CORE_EXPORT QgsRasterInterface
261
261
// double time( bool cumulative = false );
262
262
263
263
/* * Write base class members to xml. */
264
- virtual void writeXML ( QDomDocument& doc, QDomElement& parentElem ) { Q_UNUSED ( doc ); Q_UNUSED ( parentElem ); };
264
+ virtual void writeXML ( QDomDocument& doc, QDomElement& parentElem ) const { Q_UNUSED ( doc ); Q_UNUSED ( parentElem ); }
265
265
/* * Sets base class members from xml. Usually called from create() methods of subclasses */
266
- virtual void readXML ( const QDomElement& filterElem ) { Q_UNUSED ( filterElem ); };
266
+ virtual void readXML ( const QDomElement& filterElem ) { Q_UNUSED ( filterElem ); }
267
267
268
268
protected:
269
269
// QgsRasterInterface used as input
You can’t perform that action at this time.
0 commit comments