Serializable object holding indexing data. More...
#include <ored/portfolio/indexing.hpp>
Public Member Functions | |
Indexing () | |
Indexing (const std::string &index, const string &indexFixingCalendar="", const bool indexIsDirty=false, const bool indexIsRelative=true, const bool indexIsConditionalOnSurvival=true, const Real quantity=1.0, const Real initialFixing=Null< Real >(), const Real initialNotionalFixing=Null< Real >(), const ScheduleData &valuationSchedule=ScheduleData(), const Size fixingDays=0, const string &fixingCalendar="", const string &fixingConvention="", const bool inArrearsFixing=false) | |
Inspectors | |
bool | hasData () const |
Real | quantity () const |
const string & | index () const |
const string & | indexFixingCalendar () const |
bool | indexIsDirty () const |
bool | indexIsRelative () const |
bool | indexIsConditionalOnSurvival () const |
Real | initialFixing () const |
Real | initialNotionalFixing () const |
const ScheduleData & | valuationSchedule () const |
Size | fixingDays () const |
const string & | fixingCalendar () const |
const string & | fixingConvention () const |
bool | inArrearsFixing () const |
Modifiers | |
Real & | quantity () |
string & | index () |
string & | indexFixingCalendar () |
bool & | indexIsDirty () |
bool & | indexIsRelative () |
bool & | indexIsConditionalOnSurvival () |
Real & | initialFixing () |
Real & | initialNotionalFixing () |
ScheduleData & | valuationSchedule () |
Size & | fixingDays () |
string & | fixingCalendar () |
string & | fixingConvention () |
bool & | inArrearsFixing () |
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... | |
Serialisation | |
bool | hasData_ |
Real | quantity_ |
string | index_ |
string | indexFixingCalendar_ |
bool | indexIsDirty_ |
bool | indexIsRelative_ |
bool | indexIsConditionalOnSurvival_ |
Real | initialFixing_ |
Real | initialNotionalFixing_ |
ScheduleData | valuationSchedule_ |
Size | fixingDays_ |
string | fixingCalendar_ |
string | fixingConvention_ |
bool | inArrearsFixing_ |
virtual void | fromXML (XMLNode *node) override |
virtual XMLNode * | toXML (XMLDocument &doc) const override |
Serializable object holding indexing data.
Definition at line 39 of file indexing.hpp.
Indexing | ( | ) |
Definition at line 41 of file indexing.hpp.
|
explicit |
Definition at line 43 of file indexing.hpp.
bool hasData | ( | ) | const |
Definition at line 58 of file indexing.hpp.
Real quantity | ( | ) | const |
Definition at line 59 of file indexing.hpp.
const string & index | ( | ) | const |
const string & indexFixingCalendar | ( | ) | const |
Definition at line 62 of file indexing.hpp.
bool indexIsDirty | ( | ) | const |
Definition at line 64 of file indexing.hpp.
bool indexIsRelative | ( | ) | const |
Definition at line 65 of file indexing.hpp.
bool indexIsConditionalOnSurvival | ( | ) | const |
Definition at line 66 of file indexing.hpp.
Real initialFixing | ( | ) | const |
Definition at line 68 of file indexing.hpp.
Real initialNotionalFixing | ( | ) | const |
Definition at line 69 of file indexing.hpp.
const ScheduleData & valuationSchedule | ( | ) | const |
Definition at line 70 of file indexing.hpp.
Size fixingDays | ( | ) | const |
Definition at line 71 of file indexing.hpp.
const string & fixingCalendar | ( | ) | const |
Definition at line 72 of file indexing.hpp.
const string & fixingConvention | ( | ) | const |
Definition at line 73 of file indexing.hpp.
bool inArrearsFixing | ( | ) | const |
Definition at line 74 of file indexing.hpp.
Real & quantity | ( | ) |
Definition at line 79 of file indexing.hpp.
string & index | ( | ) |
Definition at line 80 of file indexing.hpp.
string & indexFixingCalendar | ( | ) |
Definition at line 82 of file indexing.hpp.
bool & indexIsDirty | ( | ) |
Definition at line 84 of file indexing.hpp.
bool & indexIsRelative | ( | ) |
Definition at line 85 of file indexing.hpp.
bool & indexIsConditionalOnSurvival | ( | ) |
Definition at line 86 of file indexing.hpp.
Real & initialFixing | ( | ) |
Definition at line 88 of file indexing.hpp.
Real & initialNotionalFixing | ( | ) |
Definition at line 89 of file indexing.hpp.
ScheduleData & valuationSchedule | ( | ) |
Definition at line 90 of file indexing.hpp.
Size & fixingDays | ( | ) |
Definition at line 91 of file indexing.hpp.
string & fixingCalendar | ( | ) |
Definition at line 92 of file indexing.hpp.
string & fixingConvention | ( | ) |
Definition at line 93 of file indexing.hpp.
bool & inArrearsFixing | ( | ) |
Definition at line 94 of file indexing.hpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 26 of file indexing.cpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 61 of file indexing.cpp.
|
private |
Definition at line 103 of file indexing.hpp.
|
private |
Definition at line 104 of file indexing.hpp.
|
private |
Definition at line 105 of file indexing.hpp.
|
private |
Definition at line 106 of file indexing.hpp.
|
private |
Definition at line 107 of file indexing.hpp.
|
private |
Definition at line 108 of file indexing.hpp.
|
private |
Definition at line 109 of file indexing.hpp.
|
private |
Definition at line 110 of file indexing.hpp.
|
private |
Definition at line 111 of file indexing.hpp.
|
private |
Definition at line 112 of file indexing.hpp.
|
private |
Definition at line 113 of file indexing.hpp.
|
private |
Definition at line 114 of file indexing.hpp.
|
private |
Definition at line 115 of file indexing.hpp.
|
private |
Definition at line 116 of file indexing.hpp.