#include <ored/portfolio/additionalfieldgetter.hpp>
Public Member Functions | |
| virtual std::set< std::string > | fieldNames () const =0 |
| Returns the set of all possible additional fields. | |
| virtual std::map< std::string, std::string > | fields (const std::string &tradeId) const =0 |
| virtual std::string | npvCurrency (const std::string &tradeId) const =0 |
Returns the npv currency for a given trade ID tradeId. | |
Abstract class that defines an interface for getting additional fields for a given trade ID.
|
pure virtual |
Returns the set of all possible additional fields.
Implemented in PortfolioFieldGetter.
|
pure virtual |
Returns the map of additional fields for the given trade ID tradeId
Implemented in PortfolioFieldGetter.
|
pure virtual |
Returns the npv currency for a given trade ID tradeId.
Implemented in PortfolioFieldGetter.