index_metric_v1 Struct Reference

#include <index_metrics_test.h>

Inheritance diagram for index_metric_v1:
metric_test< model::metrics::index_metric, 1 >

Public Types

enum  { disable_check_record_size =true, disable_binary_data_size =true }
 
- Public Types inherited from metric_test< model::metrics::index_metric, 1 >
enum  Checks
 
typedef model::metrics::index_metric metric_t
 
typedef model::metric_base::metric_set< model::metrics::index_metricmetric_set_t
 
typedef metric_t::header_type header_t
 
typedef metric_set_t::const_iterator const_iterator
 

Static Public Member Functions

static void create_expected (metric_set_t &metrics, const model::run::info &=model::run::info())
 
template<class Collection >
static void create_binary_data (Collection &buffer)
 
static void create_summary (model::summary::index_flowcell_summary &index_summary)
 
- Static Public Member Functions inherited from metric_test< model::metrics::index_metric, 1 >
static std::string name ()
 
static std::vector< T > to_vector (const T(&vals)[N])
 
static std::vector< T > to_vector (const sparse_value< T, Size >(&vals)[N])
 

Detailed Description

This generator creates an expected metric set and the corresponding binary data

See also
model::metrics::index_metric
Note
Version 1

Member Enumeration Documentation

anonymous enum
Enumerator
disable_check_record_size 

Do not check record size (does not have it)

disable_binary_data_size 

Do not check the expected binary data size

Member Function Documentation

static void create_binary_data ( Collection &  buffer)
inlinestatic

Get the expected binary data

Parameters
bufferbinary data string
static void create_expected ( metric_set_t metrics,
const model::run::info = model::run::info() 
)
inlinestatic

Create the expected metric set

Parameters
metricsdestination metric set
static void create_summary ( model::summary::index_flowcell_summary index_summary)
inlinestatic

Get the summary for these metrics

Returns
index_summary index summary

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