Logo
Reference manual - version ored_version
legdatafactory.hpp File Reference

Leg data factory that can be used to build instances of leg data. More...

#include <boost/make_shared.hpp>
#include <functional>
#include <map>
#include <ored/utilities/log.hpp>
#include <ql/patterns/singleton.hpp>

Classes

class  LegDataFactory

Namespaces

namespace  ore
 Serializable Credit Default Swap.
namespace  ore::data

Functions

template<class T>
QuantLib::ext::shared_ptr< LegAdditionalDatacreateLegData ()

Detailed Description

Leg data factory that can be used to build instances of leg data.

The idea here is taken from: https://stackoverflow.com/a/582456/1771882