check_imaging_table_column Class Reference

#include <check_imaging_table_column.h>

Static Public Member Functions

static void set_id_filled (std::vector< bool > &filled)
 
template<class MetricSet >
static void set_filled_for_metric_set (const MetricSet &metrics, std::vector< bool > &filled, const bool force_true=false)
 
template<class Metric >
static void set_filled_for_metric (const Metric &metric, const size_t read, const size_t q20_idx, const size_t q30_idx, const constants::tile_naming_method naming_method, std::vector< bool > &filled)
 
static uint32_t max_digits ()
 

Detailed Description

Static class to hide methods created through macro expansion

Member Function Documentation

static uint32_t max_digits ( )
inlinestatic

Get the maximum number of digits to round

Returns
maximum number of rounding digits
static void set_filled_for_metric ( const Metric &  metric,
const size_t  read,
const size_t  q20_idx,
const size_t  q30_idx,
const constants::tile_naming_method  naming_method,
std::vector< bool > &  filled 
)
inlinestatic

Update the filled metric array for each column based on whether the value is valid

Note
While this will work for any metric, it is intended only for tile_metrics. Unlike other metrics, tile_metrics may have partial entries.
Parameters
metricsource metric to populate the row of data
readread number
q20_idxindex of the q20 value
q30_idxindex of the q30 value
naming_methodtile naming method
filledboolean vector of flags indicating when the column is filled with data
static void set_filled_for_metric_set ( const MetricSet &  metrics,
std::vector< bool > &  filled,
const bool  force_true = false 
)
inlinestatic

Update the boolean filled metric array for each column based on whether the metric set is not empty

Parameters
metricssource metric set to populate the row of data
filledboolean vector of flags indicating when the column is filled with data
force_trueforce the filled column to be set true
static void set_id_filled ( std::vector< bool > &  filled)
inlinestatic

Set all the id columns as filled

Note
Unlike the case of base_metric, nothing derives from metric_set<metric_base::base_metric>, so this must be explicit
Parameters
filledboolean vector of flags indicating when the column is filled with data

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