Update of /cvsroot/quantlibaddin/QuantLibAddin/qlo
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv16871/qlo
Modified Files:
vanillaswap.cpp vanillaswap.hpp
Log Message:
introducing and using Payer/Receiver
Index: vanillaswap.hpp
===================================================================
RCS file: /cvsroot/quantlibaddin/QuantLibAddin/qlo/vanillaswap.hpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** vanillaswap.hpp 17 Aug 2006 12:35:08 -0000 1.12
--- vanillaswap.hpp 12 Oct 2006 14:39:15 -0000 1.13
***************
*** 28,32 ****
public:
VanillaSwap(
! const bool payFixed,
const QuantLib::Real nominal,
const boost::shared_ptr<QuantLib::Schedule>& fixedSchedule,
--- 28,32 ----
public:
VanillaSwap(
! const QuantLib::VanillaSwap::Type type,
const QuantLib::Real nominal,
const boost::shared_ptr<QuantLib::Schedule>& fixedSchedule,
Index: vanillaswap.cpp
===================================================================
RCS file: /cvsroot/quantlibaddin/QuantLibAddin/qlo/vanillaswap.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** vanillaswap.cpp 17 Aug 2006 12:35:08 -0000 1.9
--- vanillaswap.cpp 12 Oct 2006 14:39:15 -0000 1.10
***************
*** 30,34 ****
VanillaSwap::VanillaSwap(
! const bool payFixed,
const QuantLib::Real nominal,
const boost::shared_ptr<QuantLib::Schedule>& fixedSchedule,
--- 30,34 ----
VanillaSwap::VanillaSwap(
! const QuantLib::VanillaSwap::Type type,
const QuantLib::Real nominal,
const boost::shared_ptr<QuantLib::Schedule>& fixedSchedule,
***************
*** 42,46 ****
{
libraryObject_ = boost::shared_ptr<QuantLib::Instrument>(
! new QuantLib::VanillaSwap(payFixed,
nominal,
*fixedSchedule,
--- 42,46 ----
{
libraryObject_ = boost::shared_ptr<QuantLib::Instrument>(
! new QuantLib::VanillaSwap(type,
nominal,
*fixedSchedule,
|