finalizing the Iterator API

Boudewijn Rempt boud at
Tue Jul 6 15:19:28 CEST 2004

On Tuesday 06 July 2004 15:00, Casper Boemann wrote:

> If you don't have GOF I'll explain some more on request.

Krita developers who don't have that book but would like to read the text can 
contact me privately. I might be able to help them out.

> Also if we should think Boudewijn wish of decoupling the tilemanager from
> the paint device (allowing different "tilemanagers") into our design we
> need a factory method pattern, meaning a larger number of Iterator classes.
> The factory would be the paint device and the concrete factories would be
> TileMgr, CacheMgr etc. The factories should be done now, but the Iterators
> can be refactored later if the need ever arises (I don't think it ever
> will). But now I have brought it up.

I like the factory idea (naturally :-), and it will fit well with the rest of 

Boudewijn Rempt |

More information about the kimageshop mailing list