Serializable object holding generic trade actions. More...
#include <ored/portfolio/tradeactions.hpp>
Inheritance diagram for TradeActions: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) const override |
Public Member Functions inherited from XMLSerializable | |
| void | fromFile (const std::string &filename) |
| void | toFile (const std::string &filename) const |
| void | fromXMLString (const std::string &xml) |
| Parse from XML string. | |
| std::string | toXMLString () const |
| Parse from XML string. | |
Serializable object holding generic trade actions.