Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
Public Member Functions | List of all members
TradeBuilder< T > Class Template Reference

Template TradeBuilder class. More...

#include <ored/portfolio/tradefactory.hpp>

+ Inheritance diagram for TradeBuilder< T >:
+ Collaboration diagram for TradeBuilder< T >:

Public Member Functions

virtual QuantLib::ext::shared_ptr< Tradebuild () const override
 
- Public Member Functions inherited from AbstractTradeBuilder
virtual ~AbstractTradeBuilder ()
 
virtual QuantLib::ext::shared_ptr< Tradebuild () const =0
 

Detailed Description

template<class T>
class ore::data::TradeBuilder< T >

Template TradeBuilder class.

Definition at line 54 of file tradefactory.hpp.

Member Function Documentation

◆ build()

virtual QuantLib::ext::shared_ptr< Trade > build ( ) const
overridevirtual

Implements AbstractTradeBuilder.

Definition at line 56 of file tradefactory.hpp.

56{ return QuantLib::ext::make_shared<T>(); }