#include <ored/portfolio/tlockdata.hpp>
Public Member Functions | |
TreasuryLockData () | |
Default constructor. More... | |
TreasuryLockData (bool payer, const BondData &bondData, Real referenceRate, string dayCounter, string terminationDate, int paymentGap, string paymentCalendar) | |
Constructor that takes an explicit creditCurveId . More... | |
bool | empty () const |
bool | payer () const |
BondData & | bondData () |
const BondData & | bondData () const |
const BondData & | originalBondData () const |
Real | referenceRate () const |
const string & | dayCounter () const |
const string & | terminationDate () const |
int | paymentGap () const |
const string & | paymentCalendar () const |
virtual void | fromXML (XMLNode *node) override |
XMLSerializable interface. More... | |
virtual XMLNode * | toXML (XMLDocument &doc) const override |
Public Member Functions inherited from XMLSerializable | |
virtual | ~XMLSerializable () |
virtual void | fromXML (XMLNode *node)=0 |
virtual XMLNode * | toXML (XMLDocument &doc) const =0 |
void | fromFile (const std::string &filename) |
void | toFile (const std::string &filename) const |
void | fromXMLString (const std::string &xml) |
Parse from XML string. More... | |
std::string | toXMLString () const |
Parse from XML string. More... | |
Private Attributes | |
bool | empty_ |
bool | payer_ |
BondData | originalBondData_ |
BondData | bondData_ |
Real | referenceRate_ |
string | dayCounter_ |
string | terminationDate_ |
int | paymentGap_ |
string | paymentCalendar_ |
Serializable credit default swap data
Definition at line 38 of file tlockdata.hpp.
TreasuryLockData | ( | ) |
TreasuryLockData | ( | bool | payer, |
const BondData & | bondData, | ||
Real | referenceRate, | ||
string | dayCounter, | ||
string | terminationDate, | ||
int | paymentGap, | ||
string | paymentCalendar | ||
) |
Constructor that takes an explicit creditCurveId
.
Definition at line 44 of file tlockdata.hpp.
bool empty | ( | ) | const |
Definition at line 49 of file tlockdata.hpp.
bool payer | ( | ) | const |
Definition at line 50 of file tlockdata.hpp.
BondData & bondData | ( | ) |
Definition at line 51 of file tlockdata.hpp.
const BondData & bondData | ( | ) | const |
Definition at line 52 of file tlockdata.hpp.
const BondData & originalBondData | ( | ) | const |
Definition at line 53 of file tlockdata.hpp.
Real referenceRate | ( | ) | const |
Definition at line 54 of file tlockdata.hpp.
const string & dayCounter | ( | ) | const |
Definition at line 55 of file tlockdata.hpp.
const string & terminationDate | ( | ) | const |
Definition at line 56 of file tlockdata.hpp.
int paymentGap | ( | ) | const |
Definition at line 57 of file tlockdata.hpp.
const string & paymentCalendar | ( | ) | const |
Definition at line 58 of file tlockdata.hpp.
|
overridevirtual |
XMLSerializable interface.
Implements XMLSerializable.
Definition at line 30 of file tlockdata.cpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 44 of file tlockdata.cpp.
|
private |
Definition at line 65 of file tlockdata.hpp.
|
private |
Definition at line 66 of file tlockdata.hpp.
|
private |
Definition at line 67 of file tlockdata.hpp.
|
private |
Definition at line 67 of file tlockdata.hpp.
|
private |
Definition at line 68 of file tlockdata.hpp.
|
private |
Definition at line 69 of file tlockdata.hpp.
|
private |
Definition at line 70 of file tlockdata.hpp.
|
private |
Definition at line 71 of file tlockdata.hpp.
|
private |
Definition at line 72 of file tlockdata.hpp.