Logo
Reference manual - version orea_version
Public Member Functions | List of all members
SensitivityInMemoryStream Class Reference

Class for streaming SensitivityRecords from csv file. More...

#include <orea/engine/sensitivityinmemorystream.hpp>

+ Inheritance diagram for SensitivityInMemoryStream:

Public Member Functions

 SensitivityInMemoryStream ()
 Default constructor.
 
template<class Iter >
 SensitivityInMemoryStream (Iter begin, Iter end)
 Constructor from set of sensitivity records.
 
SensitivityRecord next () override
 Returns the next SensitivityRecord in the stream.
 
void reset () override
 Resets the stream so that SensitivityRecords can be streamed again.
 
void add (const SensitivityRecord &sr)
 
- Public Member Functions inherited from SensitivityStream
virtual ~SensitivityStream ()
 Destructor.
 

Detailed Description

Class for streaming SensitivityRecords from csv file.

Member Function Documentation

◆ add()

void add ( const SensitivityRecord sr)

Add a record to the in-memory collection.

Warning:
this causes reset() to be called. In other words, after any call to add, a call to next() will start at the beginning again.