[Dune] [#385] Grid::name() should be static

Dune dune at dune-project.org
Thu Jan 22 16:32:09 CET 2009


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#385 - Grid::name() should be static
User who did this - Oliver Sander (sander)

----------
The real question is: what is the precise meaning of this method?  The way it is implemented now, all it does is give you the type of the grid in string form.  That is static information, hence the method should be static.

If on the other hand, you want to assign names to grid _objects_, then of course the method should not be static.

However, actually, I don't really see why a grid object handle such a thing as a 'name' at all.  Object names are easily added as external data (e.g., std:map<MyGridType*,std::string>).
Type names as well.

----------

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

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