Jean-Marc Lasgouttes wrote: > Good idea. Also, while you are at it, I think that the central part of > Converters::convert should be moved to a new Converter::convert > (without the 's'). Doing such things would help make the code more > understandable. > > JMarc
Actually, what would be a good naming/file distribution? In converter.C we have four classes: class Format (a format item) class Formats (the set of formats) class Converter (a converter item) class Converters (the set of converters) I'm adding one more, the converter graph (if done properly, should not contain references to conversion at all, but right now I'm in an intermediate step) Is it ok to split it into 3 files?/What would be a good namig for them? file 1: Format+Formats file 2: Converter+Converters file 3: graph for Converters So, I need a proper naming for the four classes and 3 files. * unrelated, but what's the use of the two global instances of Converters/Formats? Can't we have only one of them (and make it a Singleton class, my newest learning)? Alfredo