29#include <ql/shared_ptr.hpp>
57 const bool empty()
const;
72 bool has(
const string&
id)
const;
82 void add(
const QuantLib::ext::shared_ptr<NettingSetDefinition>& nettingSet);
87 QuantLib::ext::shared_ptr<NettingSetDefinition>
get(
const string&
id)
const;
88 QuantLib::ext::shared_ptr<NettingSetDefinition>
get(
const NettingSetDetails& nettingSetDetails)
const;
100 map<NettingSetDetails, const QuantLib::ext::shared_ptr<NettingSetDefinition>>
data_;
Serializable object holding netting set identification data.
const std::map< NettingSetDetails, const QuantLib::ext::shared_ptr< NettingSetDefinition > > & nettingSetDefinitions()
vector< NettingSetDetails > uniqueKeys() const
vector< NettingSetDetails > uniqueKeys_
map< NettingSetDetails, const QuantLib::ext::shared_ptr< NettingSetDefinition > > data_
const std::set< NettingSetDetails > calculateIMNettingSets() const
const bool calculateIMAmount() const
void add(const QuantLib::ext::shared_ptr< NettingSetDefinition > &nettingSet)
void fromXML(XMLNode *node) override
XMLNode * toXML(XMLDocument &doc) const override
bool has(const string &id) const
QuantLib::ext::shared_ptr< NettingSetDefinition > get(const string &id) const
Small XML Document wrapper class.
Base class for all serializable classes.
trade envelope data model and serialization
Serializable Credit Default Swap.
Netting Set Definition - including CSA information where available.