#include <ored/portfolio/scriptedtrade.hpp>
Public Member Functions | |
ScriptLibraryData () | |
ScriptLibraryData (const ScriptLibraryData &d) | |
ScriptLibraryData (ScriptLibraryData &&d) | |
ScriptLibraryData & | operator= (const ScriptLibraryData &d) |
ScriptLibraryData & | operator= (ScriptLibraryData &&d) |
virtual void | fromXML (XMLNode *node) override |
virtual XMLNode * | toXML (ore::data::XMLDocument &doc) const override |
bool | has (const std::string &scriptName, const std::string &purpose, const bool fallBackOnEmptyPurpose=true) const |
std::pair< std::string, ScriptedTradeScriptData > | get (const std::string &scriptName, const std::string &purpose, const bool fallBackOnEmptyPurpose=true) 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 Attributes | |
std::map< std::string, std::pair< std::string, std::map< std::string, ScriptedTradeScriptData > > > | scripts_ |
Definition at line 180 of file scriptedtrade.hpp.
Definition at line 182 of file scriptedtrade.hpp.
ScriptLibraryData | ( | const ScriptLibraryData & | d | ) |
Definition at line 593 of file scriptedtrade.cpp.
ScriptLibraryData | ( | ScriptLibraryData && | d | ) |
Definition at line 595 of file scriptedtrade.cpp.
ScriptLibraryData & operator= | ( | const ScriptLibraryData & | d | ) |
Definition at line 597 of file scriptedtrade.cpp.
ScriptLibraryData & operator= | ( | ScriptLibraryData && | d | ) |
Definition at line 602 of file scriptedtrade.cpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 636 of file scriptedtrade.cpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 659 of file scriptedtrade.cpp.
bool has | ( | const std::string & | scriptName, |
const std::string & | purpose, | ||
const bool | fallBackOnEmptyPurpose = true |
||
) | const |
Definition at line 607 of file scriptedtrade.cpp.
std::pair< std::string, ScriptedTradeScriptData > get | ( | const std::string & | scriptName, |
const std::string & | purpose, | ||
const bool | fallBackOnEmptyPurpose = true |
||
) | const |
Definition at line 617 of file scriptedtrade.cpp.
|
private |
Definition at line 199 of file scriptedtrade.hpp.