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)
 
 ~RFT ()
 
 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)
 
void write (const std::string &kw, const std::vector< float > &data)
 
void write (const std::string &kw, const std::vector< PaddedOutputString< 8 > > &data)
 

Detailed Description

File manager for RFT output streams.

Constructor & Destructor Documentation

◆ RFT() [1/3]

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.

◆ ~RFT()

Opm::EclIO::OutputStream::RFT::~RFT ( )

◆ RFT() [2/3]

Opm::EclIO::OutputStream::RFT::RFT ( const RFT rhs)
delete

◆ RFT() [3/3]

Opm::EclIO::OutputStream::RFT::RFT ( RFT &&  rhs)

Member Function Documentation

◆ operator=() [1/2]

RFT & Opm::EclIO::OutputStream::RFT::operator= ( const RFT rhs)
delete

◆ operator=() [2/2]

RFT & Opm::EclIO::OutputStream::RFT::operator= ( RFT &&  rhs)

◆ 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 file: