Serializable schedule data.
Serializable object holding a trade action.
const ScheduleData & schedule() const
virtual void fromXML(XMLNode *node) override
virtual XMLNode * toXML(XMLDocument &doc) const override
TradeAction(const string &type, const string &owner, const ScheduleData &schedule)
Constructor.
const string & type() const
const string & owner() const
TradeAction()
Default constructor.
Serializable object holding generic trade actions.
bool empty() const
Returns true of this set of actions is empty.
virtual void fromXML(XMLNode *node) override
vector< TradeAction > actions_
virtual XMLNode * toXML(XMLDocument &doc) const override
void addAction(const TradeAction &action)
void clear()
Clear the trade actions.
TradeActions(const vector< TradeAction > &actions=vector< TradeAction >())
const vector< TradeAction > & actions() const
Small XML Document wrapper class.
Base class for all serializable classes.
Serializable Credit Default Swap.
trade schedule data model and serialization