#include <ored/portfolio/scriptedtrade.hpp>
Classes | |
class | CalibrationData |
class | NewScheduleData |
Public Member Functions | |
ScriptedTradeScriptData () | |
ScriptedTradeScriptData (const std::string &code, const std::string &npv, const std::vector< std::pair< std::string, std::string > > &results, const std::vector< std::string > &schedulesEligibleForCoarsening, const std::vector< NewScheduleData > &newSchedules={}, const std::vector< CalibrationData > &calibrationSpec={}, const std::vector< std::string > &stickyCloseOutStates={}, const std::vector< std::string > &conditionalExpectationModelStates={}) | |
virtual void | fromXML (XMLNode *node) override |
virtual XMLNode * | toXML (ore::data::XMLDocument &doc) const override |
const std::string & | code () const |
const std::string & | npv () const |
const std::vector< std::pair< std::string, std::string > > & | results () const |
const std::vector< std::string > & | schedulesEligibleForCoarsening () const |
const std::vector< NewScheduleData > & | newSchedules () const |
const std::vector< CalibrationData > & | calibrationSpec () const |
const std::vector< std::string > & | stickyCloseOutStates () const |
const std::vector< std::string > & | conditionalExpectationModelStates () const |
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 Member Functions | |
void | formatCode () |
Private Attributes | |
std::string | code_ |
std::string | npv_ |
std::vector< std::pair< std::string, std::string > > | results_ |
std::vector< std::string > | schedulesEligibleForCoarsening_ |
std::vector< NewScheduleData > | newSchedules_ |
std::vector< CalibrationData > | calibrationSpec_ |
std::vector< std::string > | stickyCloseOutStates_ |
std::vector< std::string > | conditionalExpectationModelStates_ |
Definition at line 102 of file scriptedtrade.hpp.
Definition at line 138 of file scriptedtrade.hpp.
ScriptedTradeScriptData | ( | const std::string & | code, |
const std::string & | npv, | ||
const std::vector< std::pair< std::string, std::string > > & | results, | ||
const std::vector< std::string > & | schedulesEligibleForCoarsening, | ||
const std::vector< NewScheduleData > & | newSchedules = {} , |
||
const std::vector< CalibrationData > & | calibrationSpec = {} , |
||
const std::vector< std::string > & | stickyCloseOutStates = {} , |
||
const std::vector< std::string > & | conditionalExpectationModelStates = {} |
||
) |
Definition at line 140 of file scriptedtrade.hpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 523 of file scriptedtrade.cpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 558 of file scriptedtrade.cpp.
const std::string & code | ( | ) | const |
Definition at line 156 of file scriptedtrade.hpp.
const std::string & npv | ( | ) | const |
Definition at line 157 of file scriptedtrade.hpp.
const std::vector< std::pair< std::string, std::string > > & results | ( | ) | const |
Definition at line 159 of file scriptedtrade.hpp.
const std::vector< std::string > & schedulesEligibleForCoarsening | ( | ) | const |
Definition at line 160 of file scriptedtrade.hpp.
const std::vector< NewScheduleData > & newSchedules | ( | ) | const |
const std::vector< CalibrationData > & calibrationSpec | ( | ) | const |
Definition at line 162 of file scriptedtrade.hpp.
const std::vector< std::string > & stickyCloseOutStates | ( | ) | const |
Definition at line 163 of file scriptedtrade.hpp.
const std::vector< std::string > & conditionalExpectationModelStates | ( | ) | const |
Definition at line 164 of file scriptedtrade.hpp.
|
private |
Definition at line 586 of file scriptedtrade.cpp.
|
private |
Definition at line 170 of file scriptedtrade.hpp.
|
private |
Definition at line 171 of file scriptedtrade.hpp.
|
private |
Definition at line 172 of file scriptedtrade.hpp.
|
private |
Definition at line 173 of file scriptedtrade.hpp.
|
private |
Definition at line 174 of file scriptedtrade.hpp.
|
private |
Definition at line 175 of file scriptedtrade.hpp.
|
private |
Definition at line 176 of file scriptedtrade.hpp.
|
private |
Definition at line 177 of file scriptedtrade.hpp.