Logo
Reference manual - version orea_version
Namespaces | Macros | Functions
initbuilders.hpp File Reference

add builders to factories More...

Namespaces

 ore
 
 ore::analytics
 

Macros

#define ORE_REGISTER_ANALYTIC_BUILDER(NAME, SUBANALYTICS, CLASS, OVERWRITE)
 

Functions

void initBuilders (const bool registerOREAnalytics=true)
 

Detailed Description

add builders to factories

Macro Definition Documentation

◆ ORE_REGISTER_ANALYTIC_BUILDER

#define ORE_REGISTER_ANALYTIC_BUILDER (   NAME,
  SUBANALYTICS,
  CLASS,
  OVERWRITE 
)
Value:
ore::analytics::AnalyticFactory::instance().addBuilder( \
NAME, SUBANALYTICS, QuantLib::ext::make_shared<ore::analytics::AnalyticBuilder<CLASS>>(), OVERWRITE);