Serializable object holding generic trade actions. More...
#include <ored/portfolio/tradeactions.hpp>
Public Member Functions | |
TradeActions (const vector< TradeAction > &actions=vector< TradeAction >()) | |
void | addAction (const TradeAction &action) |
const vector< TradeAction > & | actions () const |
bool | empty () const |
Returns true of this set of actions is empty. | |
void | clear () |
Clear the trade actions. | |
virtual void | fromXML (XMLNode *node) override |
virtual XMLNode * | toXML (XMLDocument &doc) override |
Public Member Functions inherited from XMLSerializable | |
void | fromFile (const std::string &filename) |
void | toFile (const std::string &filename) |
void | fromXMLString (const std::string &xml) |
Parse from XML string. | |
std::string | toXMLString () |
Parse from XML string. | |
Serializable object holding generic trade actions.