Container for storing simulated market data. More...
#include <orea/scenario/aggregationscenariodata.hpp>
Public Member Functions | |
AggregationScenarioData () | |
default ctor More... | |
AggregationScenarioData (AggregationScenarioData &)=delete | |
Do not allow copying. More... | |
AggregationScenarioData & | operator= (AggregationScenarioData const &)=delete |
virtual | ~AggregationScenarioData () |
dtor More... | |
virtual Size | dimDates () const =0 |
Return the length of each dimension. More... | |
virtual Size | dimSamples () const =0 |
virtual bool | has (const AggregationScenarioDataType &type, const string &qualifier="") const =0 |
Check whether data is available for the given type. More... | |
virtual Real | get (Size dateIndex, Size sampleIndex, const AggregationScenarioDataType &type, const string &qualifier="") const =0 |
Get a value from the cube. More... | |
virtual void | set (Size dateIndex, Size sampleIndex, Real value, const AggregationScenarioDataType &type, const string &qualifier="")=0 |
Set a value in the cube. More... | |
virtual std::vector< std::pair< AggregationScenarioDataType, std::string > > | keys () const =0 |
virtual void | set (Real value, const AggregationScenarioDataType &type, const string &qualifier="") |
Set a value in the cube, assumes normal traversal of the cube (dates then samples) More... | |
virtual void | next () |
Go to the next point on the cube. More... | |
Private Attributes | |
Size | dIndex_ |
Size | sIndex_ |
Container for storing simulated market data.
The indexes for dates and samples are (by convention) the same as in the npv cube
\ingroup scenario
Definition at line 58 of file aggregationscenariodata.hpp.
default ctor
Definition at line 61 of file aggregationscenariodata.hpp.
|
delete |
Do not allow copying.
|
virtual |
|
delete |
|
pure virtual |
Return the length of each dimension.
Implemented in InMemoryAggregationScenarioData.
|
pure virtual |
|
pure virtual |
Check whether data is available for the given type.
Implemented in InMemoryAggregationScenarioData.
|
pure virtual |
Get a value from the cube.
Implemented in InMemoryAggregationScenarioData.
|
pure virtual |
Set a value in the cube.
Implemented in InMemoryAggregationScenarioData.
|
pure virtual |
|
virtual |
Set a value in the cube, assumes normal traversal of the cube (dates then samples)
Definition at line 86 of file aggregationscenariodata.hpp.
|
virtual |
Go to the next point on the cube.
Go to the next point on the cube, assumes we do date, then samples
Definition at line 92 of file aggregationscenariodata.hpp.
|
private |
Definition at line 100 of file aggregationscenariodata.hpp.
|
private |
Definition at line 100 of file aggregationscenariodata.hpp.