[QGIS Commit] r15279 - branches/raster-providers/src/core

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sun Feb 27 14:46:41 EST 2011


Author: rblazek
Date: 2011-02-27 11:46:41 -0800 (Sun, 27 Feb 2011)
New Revision: 15279

Modified:
   branches/raster-providers/src/core/qgsrasterdataprovider.h
Log:
pyramidal fix, the methods must be virtual

Modified: branches/raster-providers/src/core/qgsrasterdataprovider.h
===================================================================
--- branches/raster-providers/src/core/qgsrasterdataprovider.h	2011-02-27 19:38:25 UTC (rev 15278)
+++ branches/raster-providers/src/core/qgsrasterdataprovider.h	2011-02-27 19:46:41 UTC (rev 15279)
@@ -333,7 +333,7 @@
                 ) {};
 
     /** \brief Create pyramid overviews */
-    QString buildPyramids( const QList<QgsRasterPyramid>  & thePyramidList,
+    virtual QString buildPyramids( const QList<QgsRasterPyramid>  & thePyramidList,
                            const QString &  theResamplingMethod = "NEAREST",
                            bool theTryInternalFlag = false ) { return "FAILED_NOT_SUPPORTED"; };
 
@@ -342,7 +342,7 @@
      * ACTUALLY exists you need to look at the existsFlag member in each struct stored in the
      * list.
      */
-    QList<QgsRasterPyramid> buildPyramidList() { return QList<QgsRasterPyramid>(); };
+    virtual QList<QgsRasterPyramid> buildPyramidList() { return QList<QgsRasterPyramid>(); };
 
 
     /** \brief helper function to create zero padded band names */



More information about the QGIS-commit mailing list