File: BaseTuple.hpp

package info (click to toggle)
pbseqlib 5.3.1%2Bdfsg-2.1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 7,136 kB
  • sloc: cpp: 77,246; python: 570; makefile: 312; sh: 111; ansic: 9
file content (28 lines) | stat: -rw-r--r-- 581 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef _BLASR_BASE_TUPLE_HPP_
#define _BLASR_BASE_TUPLE_HPP_

#include <alignment/tuples/TupleMetrics.hpp>

class BaseTuple
{
public:
    TupleData tuple;

    TupleData HashPowerOfFour(int nBits, TupleMetrics &tm);

    bool operator<(const BaseTuple &rhs) const;

    bool operator==(const BaseTuple &rhs) const;

    bool operator!=(const BaseTuple &rhs) const;

    BaseTuple &ShiftLeft(TupleMetrics &tm, int shift = 1);

    BaseTuple &ShiftRight(int shift = 1);

    BaseTuple &Append(TupleData val, TupleMetrics &tm, int nBits);

    operator TupleData() const;
};

#endif