Posted by
Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/Re-QuantLib-svn-SF-net-SVN-quantlib-10331-trunk-QuantLib-tp9414p9416.html
On Tue, 2007-04-24 at 10:05 +0200, Ferdinando Ametrano wrote:
> > Were we to choose, I'd go for the short format since the files are
> > contained in the marketmodel directory anyway. I wouldn't worry that the
> > class name doesn't match exactly the file name---and after all, it does
> > match if we take the parent folder into account.
> I prefer whenever possible the file name to match the class name. Any
> alternative can easily have some ambiguity, e.g. for classes as
> ParametricExercise (in the montecarlo folder) and
> MarketModelParametricExercise (in the marketmodel folder)
Nando,
true, but my point was that marketmodel/parametricexercise.hpp does
match MarketModelParametricExercise. Since we use the full path in
header inclusions, marketmodel/marketmodelparametricexercise.hpp is
redundant.
Later,
Luigi
----------------------------------------
It is better to know some of the questions than all of the answers.
-- James Thurber
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev