Logo
Reference manual - version ored_version
Classes | Namespaces | Functions
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

 ore
 Serializable Credit Default Swap.
 
 ore::data
 

Functions

template<class T >
boost::shared_ptr< LegAdditionalData > createLegData ()
 

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