From: Luigi B. <lui...@gm...> - 2007-07-27 14:05:50
|
On Fri, 2007-07-27 at 06:56 -0700, gi...@us... wrote: > Revision: 11998 > http://quantlib.svn.sourceforge.net/quantlib/?rev=11998&view=rev > Author: giorfa > Date: 2007-07-27 06:56:28 -0700 (Fri, 27 Jul 2007) > Modified: branches/swaptionBondRefactoring/QuantLib/ql/instrument.hpp > =================================================================== > --- branches/swaptionBondRefactoring/QuantLib/ql/instrument.hpp 2007-07-27 13:03:27 UTC (rev 11997) > +++ branches/swaptionBondRefactoring/QuantLib/ql/instrument.hpp 2007-07-27 13:56:28 UTC (rev 11998) > @@ -101,6 +102,9 @@ > mutable std::map<std::string,boost::any> additionalResults_; > //@} > boost::shared_ptr<PricingEngine> engine_; > + private: > + // Cash Flows Collections > + std::vector<Leg> legs_; > }; > No, this doesn't belong to the Instrument class. Later, Luigi -- Perfection is reached, not when there is no longer anything to add, but when there is no longer anything to take away. -- Antoine de Saint-Exupery |