Class for streaming SensitivityRecords from csv file. More...
#include <orea/engine/sensitivityreportstream.hpp>
Inheritance diagram for SensitivityReportStream:
Collaboration diagram for SensitivityReportStream:Public Member Functions | |
| SensitivityReportStream (const QuantLib::ext::shared_ptr< ore::data::InMemoryReport > &report) | |
| Constructor. More... | |
| virtual | ~SensitivityReportStream () |
| SensitivityRecord | next () override |
| Returns the next SensitivityRecord in the stream. More... | |
| void | reset () override |
| Resets the stream so that SensitivityRecord objects can be streamed again. More... | |
Public Member Functions inherited from SensitivityStream | |
| virtual | ~SensitivityStream () |
| Destructor. More... | |
| virtual SensitivityRecord | next ()=0 |
| Returns the next SensitivityRecord in the stream. More... | |
| virtual void | reset ()=0 |
| Resets the stream so that SensitivityRecord objects can be streamed again. More... | |
Private Member Functions | |
| SensitivityRecord | processRecord (const std::vector< ore::data::Report::ReportType > &entries) const |
| Create a record from a collection of strings. More... | |
Private Attributes | |
| QuantLib::ext::shared_ptr< ore::data::InMemoryReport > | report_ |
| QuantLib::Size | row_ = 0 |
Class for streaming SensitivityRecords from csv file.
Definition at line 35 of file sensitivityreportstream.hpp.
| SensitivityReportStream | ( | const QuantLib::ext::shared_ptr< ore::data::InMemoryReport > & | report | ) |
Constructor.
Definition at line 38 of file sensitivityreportstream.hpp.
|
virtual |
Definition at line 39 of file sensitivityreportstream.hpp.
|
overridevirtual |
Returns the next SensitivityRecord in the stream.
Implements SensitivityStream.
Definition at line 37 of file sensitivityreportstream.cpp.
Here is the call graph for this function:
|
overridevirtual |
Resets the stream so that SensitivityRecord objects can be streamed again.
Implements SensitivityStream.
Definition at line 51 of file sensitivityreportstream.cpp.
|
private |
Create a record from a collection of strings.
Definition at line 55 of file sensitivityreportstream.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 47 of file sensitivityreportstream.hpp.
|
private |
Definition at line 49 of file sensitivityreportstream.hpp.