small redesign of EMC mapper (rev. 8162) [message #10464] |
Wed, 24 March 2010 14:24 |
Dima Melnychuk
Messages: 213 Registered: April 2004 Location: National Centre for Nucle...
|
first-grade participant |
From: *fuw.edu.pl
|
|
Hi all,
I made small redesign of EMC mapper. All the modifications are internal and interface is left unchanged.
Main idea was to implement all the possible mappings not in single "if-else", but as subclasses of PndEmcMapper. It should simplify possible extension. And as a result different subclasses of PndEmcMapper are instantiated depending on the mapper version. So it's something motivated by Factory Design Pattern.
Best regards,
Dima
|
|
|