On 27 March 2014 13:40, Etienne Tourigny <[email protected]> wrote:
> How about multiple inheritance for mixed class?  Say you have a class for
> rasters and a class for vectors, and a dataset that would support both types
> would inherit from these two base classes.  Is that what you mean by
> composite?

I meant separate base class for mixed dataset, then use "has a"
relationship, like in

class MixedDataset
{
public:
//
private:
RasterDataset* pDtsR
VectorDataset* pDtsV;
}


Best regards,
-- 
Mateusz  Łoskot, http://mateusz.loskot.net
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to