Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

SwapLeg.h

Go to the documentation of this file.
00001 #pragma once
00002 
00003 #ifndef SWAPLEG_H
00004 #define SWAPLEG_H
00005 
00006 #include "./../Common/Date.h"
00007 #include "./../Common/types.h"
00008 #include <valarray>
00009 using namespace std;
00010 
00011 class SwapLeg
00012 {
00013 public:
00014 
00018         SwapLeg(Date startDate, Real Frequency, Date endDate, Real Notional, Real AmortizingConstant, BusinessDayConvention convention);
00019         
00022         SwapLeg(valarray<Date> dates, valarray<Real> Notionals);
00023 
00025         LongInteger returnSize();
00026 
00028         valarray<Date> returnDates();
00029 
00031         valarray<Real> returnAmounts();
00032 
00033         ~SwapLeg(void);
00034 
00035 private:
00036         valarray<Date> _dateSchedule;
00037         valarray<Real> _flowSchedule;
00038 };
00039 
00040 #endif;
00041 

Note: Generated nightly - reload for latest version
Generated on Thu Dec 22 23:12:37 2005 for terreneuve by doxygen 1.3.6