41 const std::vector<double>&
spreads,
42 const std::vector<std::string>&
spreadDates = std::vector<std::string>(),
43 const std::vector<double>&
caps = std::vector<double>(),
44 const std::vector<std::string>&
capDates = std::vector<std::string>(),
45 const std::vector<double>&
floors = std::vector<double>(),
46 const std::vector<std::string>&
floorDates = std::vector<std::string>(),
47 const std::vector<double>&
gearings = std::vector<double>(),
48 const std::vector<std::string>&
gearingDates = std::vector<std::string>(),
65 const std::vector<double>&
caps()
const {
return caps_; }
const std::vector< std::string > & capDates() const
const std::vector< double > & gearings() const
const std::vector< double > & spreads() const
const std::vector< double > & floors() const
DurationAdjustedCmsLegData()
vector< double > & floors()
vector< string > & floorDates()
const std::vector< std::string > & gearingDates() const
vector< double > & caps()
std::vector< std::string > gearingDates_
std::vector< double > spreads_
virtual void fromXML(XMLNode *node) override
virtual XMLNode * toXML(XMLDocument &doc) const override
std::vector< std::string > capDates_
std::vector< std::string > floorDates_
std::vector< double > floors_
std::vector< double > caps_
const std::vector< double > & caps() const
DurationAdjustedCmsLegData(const std::string &swapIndex, Size duration, Size fixingDays, bool isInArrears, const std::vector< double > &spreads, const std::vector< std::string > &spreadDates=std::vector< std::string >(), const std::vector< double > &caps=std::vector< double >(), const std::vector< std::string > &capDates=std::vector< std::string >(), const std::vector< double > &floors=std::vector< double >(), const std::vector< std::string > &floorDates=std::vector< std::string >(), const std::vector< double > &gearings=std::vector< double >(), const std::vector< std::string > &gearingDates=std::vector< std::string >(), bool nakedOption=false)
Detailed constructor.
const std::string & swapIndex() const
std::vector< std::string > spreadDates_
vector< string > & capDates()
const std::vector< std::string > & floorDates() const
const std::vector< std::string > & spreadDates() const
std::vector< double > gearings_
Serializable Additional Leg Data.
std::set< std::string > indices_
Small XML Document wrapper class.
leg data model and serialization
Serializable Credit Default Swap.