Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
Public Member Functions | List of all members
SensitivityBufferStream Class Reference

#include <orea/engine/sensitivityfilestream.hpp>

+ Inheritance diagram for SensitivityBufferStream:
+ Collaboration diagram for SensitivityBufferStream:

Public Member Functions

 SensitivityBufferStream (const std::string &buffer, char delim=',', const std::string &comment="#")
 Constructor providing path to csv file fileName. More...
 
- Public Member Functions inherited from SensitivityInputStream
 SensitivityInputStream (char delim=',', const std::string &comment="#")
 Constructor. More...
 
virtual ~SensitivityInputStream ()
 
void setStream (std::istream *stream)
 
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...
 

Detailed Description

Definition at line 73 of file sensitivityfilestream.hpp.

Constructor & Destructor Documentation

◆ SensitivityBufferStream()

SensitivityBufferStream ( const std::string &  buffer,
char  delim = ',',
const std::string &  comment = "#" 
)

Constructor providing path to csv file fileName.

Definition at line 120 of file sensitivityfilestream.cpp.

121 : SensitivityInputStream(delim, comment) {
122 std::stringstream* stream = new std::stringstream(buffer);
123 setStream(stream);
124}
SensitivityInputStream(char delim=',', const std::string &comment="#")
Constructor.
+ Here is the call graph for this function: