OpenMS
CSVWriter Struct Reference

#include <OpenMS/OPENSWATHALGO/DATAACCESS/DataFrameWriter.h>

Inheritance diagram for CSVWriter:
[legend]
Collaboration diagram for CSVWriter:
[legend]

Public Member Functions

 CSVWriter (std::string filename)
 
void store (const std::string &rowname, const std::vector< double > &values) override
 
 ~CSVWriter () override
 
void colnames (const std::vector< std::string > &colnames) override
 
- Public Member Functions inherited from IDataFrameWriter
virtual ~IDataFrameWriter ()
 

Private Attributes

std::ofstream file_stream_
 
std::string sep_
 
std::string eol_
 

Constructor & Destructor Documentation

◆ CSVWriter()

CSVWriter ( std::string  filename)
explicit

◆ ~CSVWriter()

~CSVWriter ( )
override

Member Function Documentation

◆ colnames()

void colnames ( const std::vector< std::string > &  colnames)
overridevirtual

Implements IDataFrameWriter.

◆ store()

void store ( const std::string &  rowname,
const std::vector< double > &  values 
)
overridevirtual

Implements IDataFrameWriter.

Member Data Documentation

◆ eol_

std::string eol_
private

◆ file_stream_

std::ofstream file_stream_
private

◆ sep_

std::string sep_
private