#include <ored/marketdata/strike.hpp>
Public Member Functions | |
virtual | ~BaseStrike () |
virtual void | fromString (const std::string &strStrike)=0 |
Populate the Strike object from strStrike . More... | |
virtual std::string | toString () const =0 |
Write the Strike object to string. More... | |
Protected Member Functions | |
virtual bool | equal_to (const BaseStrike &other) const =0 |
Override in derived classes to compare specific Strikes. More... | |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Friends | |
class | boost::serialization::access |
Serialization. More... | |
bool | operator== (const BaseStrike &lhs, const BaseStrike &rhs) |
Will be used for Strike comparison. More... | |
Abstract base class to hold information that describes a strike. Need to use Base in class Name to differentiate from existing ore::data::Strike.
Definition at line 43 of file strike.hpp.
|
virtual |
Definition at line 45 of file strike.hpp.
|
pure virtual |
Populate the Strike object from strStrike
.
Implemented in AbsoluteStrike, DeltaStrike, AtmStrike, and MoneynessStrike.
|
pure virtual |
Write the Strike object to string.
Implemented in AbsoluteStrike, DeltaStrike, AtmStrike, and MoneynessStrike.
|
protectedpure virtual |
Override in derived classes to compare specific Strikes.
Implemented in AbsoluteStrike, DeltaStrike, AtmStrike, and MoneynessStrike.
|
private |
Definition at line 289 of file strike.cpp.
|
friend |
Serialization.
Definition at line 62 of file strike.hpp.
|
friend |
Will be used for Strike comparison.
Definition at line 38 of file strike.cpp.