Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
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>

Go to the source code of this file.

Classes

class  LegDataFactory
 

Namespaces

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

Functions

template<class T >
QuantLib::ext::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

Definition in file legdatafactory.hpp.