check_imaging_table_column.h File Reference
#include <vector>
#include "interop/util/exception.h"
#include "interop/util/constant_mapping.h"
#include "interop/constants/enums.h"
#include "interop/logic/utils/enums.h"
#include "interop/model/run_metrics.h"
#include "interop/model/model_exceptions.h"
#include "interop/model/table/imaging_column.h"
#include "interop/logic/table/table_util.h"
Go to the source code of this file.
Classes | |
class | check_imaging_table_column |
Namespaces | |
illumina | |
illumina::interop | |
illumina::interop::logic | |
illumina::interop::logic::table | |
Macros | |
#define | INTEROP_TUPLE7(Ignore1, Ignore2, Method, Param, Ignore4, Ignore5, Ignored6) set_filled_##Method##Param(metrics, filled, force_true); |
#define | INTEROP_TUPLE7(Ignore1, Ignore2, Method, Param, Ignore4, Ignore5, Ignored6) set_filled_metric_##Method##Param(metric, read, static_cast<uint_t>(q20_idx), static_cast<uint_t>(q30_idx), naming_method, filled); |
#define | INTEROP_TUPLE7(Ignored0, Ignored1, Ignored2, Ignored3, Ignored4, Ignored5, Round) Round, |
#define | INTEROP_TUPLE7(Id, Metric, Method, Param, Ignored1, Ignored2, Ignored3) |
#define | INTEROP_TUPLE7(Id, Metric, Method, Param, Ignored1, Ignored2, Ignored3) |
Detailed Description
Logic to check if a column should be populated
- Date
- 7/22/16
- Version
- 1.0
- Copyright
- GNU Public License.
Macro Definition Documentation
#define INTEROP_TUPLE7 | ( | Ignore1, | |
Ignore2, | |||
Method, | |||
Param, | |||
Ignore4, | |||
Ignore5, | |||
Ignored6 | |||
) | set_filled_##Method##Param(metrics, filled, force_true); |
#define INTEROP_TUPLE7 | ( | Ignore1, | |
Ignore2, | |||
Method, | |||
Param, | |||
Ignore4, | |||
Ignore5, | |||
Ignored6 | |||
) | set_filled_metric_##Method##Param(metric, read, static_cast<uint_t>(q20_idx), static_cast<uint_t>(q30_idx), naming_method, filled); |
#define INTEROP_TUPLE7 | ( | Ignored0, | |
Ignored1, | |||
Ignored2, | |||
Ignored3, | |||
Ignored4, | |||
Ignored5, | |||
Round | |||
) | Round, |
#define INTEROP_TUPLE7 | ( | Id, | |
Metric, | |||
Method, | |||
Param, | |||
Ignored1, | |||
Ignored2, | |||
Ignored3 | |||
) |
Value:
static void set_filled_##Method##Param(const model::metric_base::metric_set<model:: Metric>& metrics, std::vector<bool>& filled, const bool force_true)\
{\
filled[model::table::Id##Column] = (force_true) ? true : metrics.size()>0;\
}\
static void set_filled_##Method##Param(const model::metric_base::empty_header&, std::vector<bool>&, const bool){}
#define INTEROP_TUPLE7 | ( | Id, | |
Metric, | |||
Method, | |||
Param, | |||
Ignored1, | |||
Ignored2, | |||
Ignored3 | |||
) |
Value:
static void set_filled_metric_##Method##Param(const model::Metric& metric,\
const size_t Read,\
const uint_t Q20,\
const uint_t Q30,\
const constants::tile_naming_method NamingConvention,\
std::vector<bool>& filled)\
{\
if(is_valid(call_adapter(metric, Param, &model:: Metric::Method))) filled[model::table::Id##Column] = true;\
(void)Q20;(void)Q30;(void)NamingConvention;(void)Read;\
}\
static void set_filled_metric_##Method##Param(const model::metric_base::empty_metric&,\
const size_t,\
const uint_t,\
const uint_t,\
const constants::tile_naming_method,\
std::vector<bool>&){}
R call_adapter(const T &obj, P2 param1, R(T::*func)(P1) const)
Definition: table_util.h:26