Hi Sascha,
thanks for your detailed mail and some historical context.
Your solution of using the class not directly but only via the IFileReader interface seems like a good solution that I did not consider.. Thanks!
Regards,
Daniel
Sascha Zelzer <[email protected]> hat am 21. Februar 2017 um 19:40 geschrieben:
This is a little strange indeed. The way it was designed is to use the IFileReader and IFileWriter interfaces, and not work with the AbstractFileIO directly (except when implementing a reader / writer pair). So in that sense, it would be more idiomatic to get a IFileReader first and then work with that:
MySpecialFileIO_C special_io;
mitk::IFileReader& reader = special_io;
reader.SetInput(...);
This way, no ambiguity exists.
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
