23#include <ql/interestrate.hpp>
24#include <ql/tuple.hpp>
25#include <boost/variant.hpp>
52 QuantLib::Real
value()
const;
63 void fromXML(
XMLNode* node,
const bool isRequired =
true,
const bool allowYieldStrike =
false);
66 const bool empty()
const;
69 mutable boost::variant<StrikeYield, StrikePrice>
strike_;
const QuantLib::Compounding & compounding()
boost::variant< StrikeYield, StrikePrice > strike_
XMLNode * toXML(XMLDocument &doc) const
void setCurrency(const std::string ¤cy)
void fromXML(XMLNode *node, const bool isRequired=true, const bool allowYieldStrike=false)
StrikeYield & strikeYield() const
QuantLib::Real value() const
void setValue(const QuantLib::Real &value)
TradeMonetary StrikePrice
StrikePrice & strikePrice() const
Small XML Document wrapper class.
Serializable Credit Default Swap.
StrikeYield(const QuantLib::Real &value, QuantLib::Compounding compounding=QuantLib::Compounding::SimpleThenCompounded)
QuantLib::Compounding compounding