[gdal-dev] Draft GDAL/OGR class hierarchy for GDAL 2.0

Mateusz Łoskot mateusz at loskot.net
Thu Mar 27 05:32:23 PDT 2014


On 27 March 2014 11:24, Even Rouault <even.rouault at mines-paris.org> wrote:
>>
>> Is it possible to put it as a member in classes ?
>
> That could have been a way of doing it, yes. Always the debate composition vs
> inheritance.

The base classes for raster and vector datasets could have common base class.
The mixed raster/vector dataset could be defined as a composite of the
former two.

Best regards,
-- 
Mateusz  Łoskot, http://mateusz.loskot.net


More information about the gdal-dev mailing list