File manager for "init" output streams.
More...
#include <OutputStream.hpp>
|
| Init (const ResultSet &rset, const Formatted &fmt) |
| Constructor.
|
|
| Init (const Init &rhs)=delete |
|
| Init (Init &&rhs) |
|
Init & | operator= (const Init &rhs)=delete |
|
Init & | operator= (Init &&rhs) |
|
void | write (const std::string &kw, const std::vector< int > &data) |
| Write integer data to underlying output stream.
|
|
void | write (const std::string &kw, const std::vector< bool > &data) |
| Write boolean data to underlying output stream.
|
|
void | write (const std::string &kw, const std::vector< float > &data) |
| Write single precision floating point data to underlying output stream.
|
|
void | write (const std::string &kw, const std::vector< double > &data) |
| Write double precision floating point data to underlying output stream.
|
|
File manager for "init" output streams.
◆ Init()
Constructor.
Opens file stream for writing.
- Parameters
-
[in] | rset | Output directory and base name of output stream. |
[in] | fmt | Whether or not to create formatted output files. |
◆ write() [1/4]
void Opm::EclIO::OutputStream::Init::write |
( |
const std::string & |
kw, |
|
|
const std::vector< bool > & |
data |
|
) |
| |
Write boolean data to underlying output stream.
- Parameters
-
[in] | kw | Name of output vector (keyword). |
[in] | data | Output values. |
◆ write() [2/4]
void Opm::EclIO::OutputStream::Init::write |
( |
const std::string & |
kw, |
|
|
const std::vector< double > & |
data |
|
) |
| |
Write double precision floating point data to underlying output stream.
- Parameters
-
[in] | kw | Name of output vector (keyword). |
[in] | data | Output values. |
◆ write() [3/4]
void Opm::EclIO::OutputStream::Init::write |
( |
const std::string & |
kw, |
|
|
const std::vector< float > & |
data |
|
) |
| |
Write single precision floating point data to underlying output stream.
- Parameters
-
[in] | kw | Name of output vector (keyword). |
[in] | data | Output values. |
◆ write() [4/4]
void Opm::EclIO::OutputStream::Init::write |
( |
const std::string & |
kw, |
|
|
const std::vector< int > & |
data |
|
) |
| |
Write integer data to underlying output stream.
- Parameters
-
[in] | kw | Name of output vector (keyword). |
[in] | data | Output values. |
The documentation for this class was generated from the following files: