[QuantLibAddin-cvs] QuantLibAddin/qlo swap.cpp, 1.18, 1.19 swap.hpp, 1.15, 1.16
Brought to you by:
ericehlers,
nando
|
From: Cristina D. <cdu...@us...> - 2006-11-21 13:53:12
|
Update of /cvsroot/quantlibaddin/QuantLibAddin/qlo In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv17111/qlo Modified Files: swap.cpp swap.hpp Log Message: Removed Swap constructor using only two legs. Index: swap.cpp =================================================================== RCS file: /cvsroot/quantlibaddin/QuantLibAddin/qlo/swap.cpp,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** swap.cpp 21 Nov 2006 08:11:40 -0000 1.18 --- swap.cpp 21 Nov 2006 13:53:09 -0000 1.19 *************** *** 30,43 **** namespace QuantLibAddin { - Swap::Swap(const boost::shared_ptr<CashFlowStream>& paidLegWrapper, - const boost::shared_ptr<CashFlowStream>& recvLegWrapper, - const QuantLib::Handle<QuantLib::YieldTermStructure>& hYTS) - { - const Leg& paidLeg = paidLegWrapper->getVector(); - const Leg& recvLeg = recvLegWrapper->getVector(); - libraryObject_ = boost::shared_ptr<QuantLib::Instrument>( - new QuantLib::Swap(hYTS, paidLeg, recvLeg)); - } - Swap::Swap(const std::vector<boost::shared_ptr<CashFlowStream> >& legWrappers, const std::vector<bool>& payer, --- 30,33 ---- Index: swap.hpp =================================================================== RCS file: /cvsroot/quantlibaddin/QuantLibAddin/qlo/swap.hpp,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** swap.hpp 21 Nov 2006 08:11:40 -0000 1.15 --- swap.hpp 21 Nov 2006 13:53:09 -0000 1.16 *************** *** 30,36 **** class Swap : public Instrument { public: - Swap(const boost::shared_ptr<CashFlowStream>& paidLegWrapper, - const boost::shared_ptr<CashFlowStream>& recvLegWrapper, - const QuantLib::Handle<QuantLib::YieldTermStructure>& hYTS); Swap(const std::vector<boost::shared_ptr<CashFlowStream> >& legWrappers, const std::vector<bool>& payer, --- 30,33 ---- |