My Project
Loading...
Searching...
No Matches
Opm::EclIO::OutputStream::RFT Class Reference

File manager for RFT output streams. More...

#include <OutputStream.hpp>

Classes

struct  OpenExisting
 

Public Member Functions

 RFT (const ResultSet &rset, const Formatted &fmt, const OpenExisting &existing)
 Constructor.
 
 RFT (const RFT &rhs)=delete
 
 RFT (RFT &&rhs)
 
RFToperator= (const RFT &rhs)=delete
 
RFToperator= (RFT &&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< float > &data)
 Write single precision floating point data to underlying output stream.
 
void write (const std::string &kw, const std::vector< PaddedOutputString< 8 > > &data)
 Write padded character data (8 characters per string) to underlying output stream.
 

Detailed Description

File manager for RFT output streams.

Constructor & Destructor Documentation

◆ RFT()

Opm::EclIO::OutputStream::RFT::RFT ( const ResultSet rset,
const Formatted fmt,
const OpenExisting existing 
)
explicit

Constructor.

Opens file stream for writing.

Parameters
[in]rsetOutput directory and base name of output stream.
[in]fmtWhether or not to create formatted output files.
[in]existingWhether or not to open an existing output file.

Member Function Documentation

◆ write() [1/3]

void Opm::EclIO::OutputStream::RFT::write ( const std::string &  kw,
const std::vector< float > &  data 
)

Write single precision floating point data to underlying output stream.

Parameters
[in]kwName of output vector (keyword).
[in]dataOutput values.

◆ write() [2/3]

void Opm::EclIO::OutputStream::RFT::write ( const std::string &  kw,
const std::vector< int > &  data 
)

Write integer data to underlying output stream.

Parameters
[in]kwName of output vector (keyword).
[in]dataOutput values.

◆ write() [3/3]

void Opm::EclIO::OutputStream::RFT::write ( const std::string &  kw,
const std::vector< PaddedOutputString< 8 > > &  data 
)

Write padded character data (8 characters per string) to underlying output stream.

Parameters
[in]kwName of output vector (keyword).
[in]dataOutput values.

The documentation for this class was generated from the following files: