[QuantLibAddin-cvs] QuantLibAddin/qlo schedule.cpp, 1.3, 1.4 schedule.hpp, 1.3, 1.4
Brought to you by:
ericehlers,
nando
|
From: Cristina D. <cdu...@us...> - 2006-09-05 08:50:52
|
Update of /cvsroot/quantlibaddin/QuantLibAddin/qlo In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv14527/qlo Modified Files: schedule.cpp schedule.hpp Log Message: added qlSchedule2 and corresponding new Schedule constructor Index: schedule.hpp =================================================================== RCS file: /cvsroot/quantlibaddin/QuantLibAddin/qlo/schedule.hpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** schedule.hpp 9 Jun 2006 18:58:47 -0000 1.3 --- schedule.hpp 5 Sep 2006 08:50:48 -0000 1.4 *************** *** 34,37 **** --- 34,46 ---- bool startFromEnd, bool longFinal); + Schedule(const QuantLib::Date& effectiveDate, + const QuantLib::Date& terminationDate, + const QuantLib::Period& tenor, + const QuantLib::Calendar& calendar, + QuantLib::BusinessDayConvention convention, + bool backward, + bool endOfMonth, + const QuantLib::Date& firstDate, + const QuantLib::Date& nextToLastDate); }; Index: schedule.cpp =================================================================== RCS file: /cvsroot/quantlibaddin/QuantLibAddin/qlo/schedule.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** schedule.cpp 9 Jun 2006 18:58:47 -0000 1.3 --- schedule.cpp 5 Sep 2006 08:50:48 -0000 1.4 *************** *** 45,48 **** --- 45,73 ---- longFinal)); } + + Schedule::Schedule( + const QuantLib::Date& effectiveDate, + const QuantLib::Date& terminationDate, + const QuantLib::Period& tenor, + const QuantLib::Calendar& calendar, + QuantLib::BusinessDayConvention convention, + bool backward, + bool endOfMonth, + const QuantLib::Date& firstDate, + const QuantLib::Date& nextToLastDate) { + + libraryObject_ = boost::shared_ptr<QuantLib::Schedule>( + new QuantLib::Schedule(effectiveDate, + terminationDate, + tenor, + calendar, + convention, + backward, + endOfMonth, + firstDate, + nextToLastDate)); + + } + } |