43 :
Trade(
"CreditDefaultSwap", env),
swap_(swap) {}
45 virtual void build(
const QuantLib::ext::shared_ptr<EngineFactory>&)
override;
46 QuantLib::Real notional()
const override;
48 virtual void fromXML(
XMLNode* node)
override;
53 const std::map<std::string,boost::any>& additionalData()
const override;
CreditDefaultSwapData swap_
const CreditDefaultSwapData & swap() const
CreditDefaultSwap()
Default constructor.
CreditDefaultSwap(const Envelope &env, const CreditDefaultSwapData &swap)
Serializable object holding generic trade data, reporting dimensions.
Small XML Document wrapper class.
A class to hold credit default swap data.
Serializable Credit Default Swap.
base trade data model and serialization