Logo
Reference manual - version ored_version
Public Member Functions | List of all members
TradeFactory Class Reference

TradeFactory. More...

#include <ored/portfolio/tradefactory.hpp>

+ Inheritance diagram for TradeFactory:

Public Member Functions

std::map< std::string, boost::shared_ptr< AbstractTradeBuilder > > getBuilders () const
 
boost::shared_ptr< AbstractTradeBuildergetBuilder (const std::string &tradeType) const
 
void addBuilder (const std::string &tradeType, const boost::shared_ptr< AbstractTradeBuilder > &builder, const bool allowOverwrite=false)
 
boost::shared_ptr< Tradebuild (const std::string &className) const
 Build, throws for unknown className.
 

Detailed Description

TradeFactory.