kaori
A C++ library for barcode extraction and matching
Loading...
Searching...
No Matches
Public Attributes | List of all members
kaori::ScanTemplate< max_size >::State Struct Reference

Details on the current match to the read sequence. More...

#include <ScanTemplate.hpp>

Public Attributes

size_t position = static_cast<size_t>(-1)
 
int forward_mismatches = -1
 
int reverse_mismatches = -1
 
bool finished = false
 

Detailed Description

template<size_t max_size>
struct kaori::ScanTemplate< max_size >::State

Details on the current match to the read sequence.

Member Data Documentation

◆ finished

template<size_t max_size>
bool kaori::ScanTemplate< max_size >::State::finished = false

Whether the match is at the end of the read sequence. If true, next() should not be called.

◆ forward_mismatches

template<size_t max_size>
int kaori::ScanTemplate< max_size >::State::forward_mismatches = -1

Number of mismatches on the forward strand. This should only be used once next() is called.

◆ position

template<size_t max_size>
size_t kaori::ScanTemplate< max_size >::State::position = static_cast<size_t>(-1)

Position of the match. This should only be used once next() is called.

◆ reverse_mismatches

template<size_t max_size>
int kaori::ScanTemplate< max_size >::State::reverse_mismatches = -1

Number of mismatches on the reverse strand. This should only be used once next() is called.


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