text_layout< error_metric, 1 > Struct Template Reference

Public Types

typedef error_metric::header_type header_type
 

Static Public Member Functions

static size_t write_header (std::ostream &out, const header_type &, const std::vector< std::string > &, const char sep, const char eol)
 
static size_t write_metric (std::ostream &out, const error_metric &metric, const header_type &, const char sep, const char eol, const char)
 

Detailed Description

template<>
struct illumina::interop::io::text_layout< error_metric, 1 >

Error Metric CSV text format

This class provide an interface for writing the error metrics to a CSV file:

  • ErrorMetrics.csv

Member Typedef Documentation

Define a header type

Member Function Documentation

static size_t write_header ( std::ostream &  out,
const header_type ,
const std::vector< std::string > &  ,
const char  sep,
const char  eol 
)
inlinestatic

Write header to the output stream

Parameters
outoutput stream
sepcolumn separator
eolrow separator
Returns
number of column headers
static size_t write_metric ( std::ostream &  out,
const error_metric metric,
const header_type ,
const char  sep,
const char  eol,
const char   
)
inlinestatic

Write a error metric to the output stream

Parameters
outoutput stream
metricerror metric
sepcolumn separator
eolrow separator
Returns
number of columns written

The documentation for this struct was generated from the following file: