LocARNA-1.8.11
Public Member Functions | Static Public Attributes | List of all members
LocARNA::Gap Class Reference

"enum class" of gaps in alignment edges More...

#include <aux.hh>

Collaboration diagram for LocARNA::Gap:
Collaboration graph
[legend]

Public Member Functions

 Gap (size_t idx)
 init from 0-based index More...
 
size_t idx () const
 0-based index
 
bool operator== (const Gap &x) const
 equality More...
 
bool operator!= (const Gap &x) const
 inequality More...
 

Static Public Attributes

static size_t size =0
 < index of enumeration value More...
 
static const Gap regular = Gap(Gap::size++)
 regular gap
 
static const Gap loop = Gap(Gap::size++)
 gap from inserting/deleting a loop (in sparse)
 
static const Gap locality = Gap(Gap::size++)
 gap outside of the locally aligned region (sequence and structure local alignment)
 
static const Gap other = Gap(Gap::size++)
 other gaps
 

Detailed Description

"enum class" of gaps in alignment edges

Constructor & Destructor Documentation

LocARNA::Gap::Gap ( size_t  idx)
inlineexplicit

init from 0-based index

Parameters
idxindex

Member Function Documentation

bool LocARNA::Gap::operator!= ( const Gap x) const
inline

inequality

Parameters
xoperand
Returns
whether object not equals operand
bool LocARNA::Gap::operator== ( const Gap x) const
inline

equality

Parameters
xoperand
Returns
whether object equals operand

Member Data Documentation

size_t LocARNA::Gap::size =0
static

< index of enumeration value

enum size


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