generic_layout< corrected_intensity_metric, 3 > Struct Template Reference
Inheritance diagram for generic_layout< corrected_intensity_metric, 3 >:
![](structillumina_1_1interop_1_1io_1_1generic__layout_3_01corrected__intensity__metric_00_013_01_4.png)
Public Types | |
typedef layout::base_cycle_metric< ::uint16_t > | metric_id_t |
typedef ::uint16_t | intensity_t |
typedef ::uint32_t | count_t |
![]() | |
enum | |
typedef ::uint8_t | record_size_t |
typedef ::uint8_t | version_t |
Static Public Member Functions | |
template<class Stream , class Metric , class Header > | |
static std::streamsize | map_stream (Stream &stream, Metric &metric, Header &, const bool) |
static record_size_t | compute_size (const corrected_intensity_metric::header_type &) |
static record_size_t | compute_header_size (const corrected_intensity_metric::header_type &) |
![]() | |
static std::streamsize | map_stream_for_header (Stream &, Header &) |
static RecordSize | map_stream_record_size (Stream &stream, RecordSize record_size) |
static bool | skip_metric (const Metric &metric) |
static bool | is_valid (const LayoutId &id) |
Detailed Description
template<>
struct illumina::interop::io::generic_layout< corrected_intensity_metric, 3 >
Corrected Intensity Metric Record Layout Version 3
This class provides an interface to reading the corrected intensity metric file:
- InterOp/CorrectedIntMetrics.bin
- InterOp/CorrectedIntMetricsOut.bin
The class takes two template arguments:
1. Metric Type: corrected_intensity_metric 2. Version: 3
Member Typedef Documentation
typedef ::uint32_t count_t |
Count type
typedef ::uint16_t intensity_t |
Intensity type
typedef layout::base_cycle_metric< ::uint16_t > metric_id_t |
Metric ID type
Member Function Documentation
|
inlinestatic |
Compute header size
- Returns
- header size
|
inlinestatic |
Compute the layout size
- Returns
- size of the record
|
inlinestatic |
Map reading/writing to stream
Reading and writing are symmetric operations, map it once
- Parameters
-
stream input/output stream metric source/destination metric
- Returns
- number of bytes read or total number of bytes written
The documentation for this struct was generated from the following file:
- /io/src/interop/model/metrics/corrected_intensity_metric.cpp