#include <ored/portfolio/formulabasedlegdata.hpp>
Definition at line 32 of file formulabasedlegdata.hpp.
◆ FormulaBasedLegData() [1/2]
Default constructor.
Definition at line 35 of file formulabasedlegdata.hpp.
LegAdditionalData(const string &legType, const string &legNodeName)
◆ FormulaBasedLegData() [2/2]
◆ formulaBasedIndex()
const string & formulaBasedIndex |
( |
| ) |
const |
◆ fixingDays()
◆ fixingCalendar()
const string & fixingCalendar |
( |
| ) |
const |
◆ isInArrears()
bool isInArrears |
( |
| ) |
const |
◆ fromXML()
Implements XMLSerializable.
Definition at line 60 of file formulabasedlegdata.cpp.
60 {
64
66 if (arrNode)
68 else
72}
const string & legNodeName() const
static void checkNode(XMLNode *n, const string &expectedName)
static string getChildValue(XMLNode *node, const string &name, bool mandatory=false, const string &defaultValue=string())
static bool getChildValueAsBool(XMLNode *node, const string &name, bool mandatory=false, bool defaultValue=true)
static XMLNode * getChildNode(XMLNode *n, const string &name="")
static int getChildValueAsInt(XMLNode *node, const string &name, bool mandatory=false, int defaultValue=0)
rapidxml::xml_node< char > XMLNode
◆ toXML()
◆ initIndices()
Definition at line 74 of file formulabasedlegdata.cpp.
74 {
75 std::vector<std::string> variables;
77 indices_.insert(variables.begin(), variables.end());
78}
std::set< std::string > indices_
QuantExt::CompiledFormula parseFormula(const std::string &text, std::vector< std::string > &variables)
◆ formulaBasedIndex_
string formulaBasedIndex_ |
|
private |
◆ fixingDays_
◆ fixingCalendar_
◆ isInArrears_