#include <ored/marketdata/strike.hpp>
Public Member Functions | |
| virtual void | fromString (const std::string &strStrike)=0 |
Populate the Strike object from strStrike. | |
| virtual std::string | toString () const =0 |
| Write the Strike object to string. | |
Protected Member Functions | |
| virtual bool | equal_to (const BaseStrike &other) const =0 |
| Override in derived classes to compare specific Strikes. | |
Friends | |
| class | boost::serialization::access |
| Serialization. | |
| bool | operator== (const BaseStrike &lhs, const BaseStrike &rhs) |
| Will be used for Strike comparison. | |
Abstract base class to hold information that describes a strike. Need to use Base in class Name to differentiate from existing ore::data::Strike.
|
pure virtual |
Populate the Strike object from strStrike.
Implemented in AbsoluteStrike, AtmStrike, DeltaStrike, and MoneynessStrike.
|
pure virtual |
Write the Strike object to string.
Implemented in AbsoluteStrike, AtmStrike, DeltaStrike, and MoneynessStrike.
|
protectedpure virtual |
Override in derived classes to compare specific Strikes.
Implemented in AbsoluteStrike, AtmStrike, DeltaStrike, and MoneynessStrike.