55 virtual void fromXML(
XMLNode* node)
override;
59 std::map<AssetClass, std::set<std::string>>
60 underlyingIndices(
const QuantLib::ext::shared_ptr<ReferenceDataManager>& referenceDataManager =
nullptr)
const;
65 QuantLib::ext::shared_ptr<QuantExt::BondBasket> build(
const QuantLib::ext::shared_ptr<EngineFactory>& engineFactory,
66 const QuantLib::Currency& ccy,
67 const std::string& reinvestmentEndDate);
70 const std::vector<QuantLib::ext::shared_ptr<Bond>>&
bonds()
const {
return bonds_; }
75 bool isFeeFlow(
const ext::shared_ptr<QuantLib::CashFlow>& cf,
const std::string&
name);
76 void setReinvestmentScalar();
78 vector<QuantLib::ext::shared_ptr<Bond>>
bonds_;
79 std::map <string, QuantLib::ext::shared_ptr<QuantExt::FxIndex>>
fxIndexMap_;
83 std::map<std::string, std::vector<std::string> >
flowType_;
Bond trade data model and serialization.
std::map< std::string, std::vector< std::string > > flowType_
std::map< std::string, std::vector< double > > reinvestmentScalar_
const RequiredFixings & requiredFixings() const
std::map< string, QuantLib::ext::shared_ptr< QuantExt::FxIndex > > fxIndexMap_
RequiredFixings requiredFixings_
QuantLib::Date reinvestment_
vector< QuantLib::ext::shared_ptr< Bond > > bonds_
const std::vector< QuantLib::ext::shared_ptr< Bond > > & bonds() const
BondBasket()
Default constructor.
Small XML Document wrapper class.
Base class for all serializable classes.
Serializable Credit Default Swap.
Map text representations to QuantLib/QuantExt types.
trade schedule data model and serialization
base trade data model and serialization