[Dune] [#791] Unify interface class LevelIterator and LeafIterator

Dune flyspray at dune-project.org
Sat May 22 14:52:35 CEST 2010


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Martin Nolte (nolte) 

Attached to Project - Dune
Summary - Unify interface class LevelIterator and LeafIterator
Task Type - Feature Request
Category - Grid
Status - New
Assigned To - 
Operating System - Unspecified / All
Severity - Low
Priority - Normal
Reported Version - SVN (pre2.1)
Due in Version - Undecided
Due Date - Undecided
Details - The interface classes LevelIterator and LeafIterator don't differ (except for their name). On grid where leaf iterators coincide with level iterators, the will be only one implementation. Yet, the interface class will differ in type.

When grids start actually implementing their grid views, these grids will have to provide two different ones because of this difference in type. If a grid implementor now wants to store these grid views, he will store the lowest level grid view twice (as leaf and level views differ in type). This is not only a waste of memory (which can obviously be circumvented) but makes coding less transparent (at least to me).

Therefore, I request to unify LevelIterators and LeafIterators into one class. As to the name, I have no preference. GridIterator, ViewIterator of EntityIterator are all fine with me (the type is very rarely visible anyway).

More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=791

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.




More information about the Dune mailing list