PbiReferenceEntry

#include <pbbam/PbiRawData.h>
class PacBio::BAM::PbiReferenceEntry

The PbiReferenceEntryClass represents a single reference in the PBI CoordinateSorted section.

A reference entry consists of an associated reference ID (tId), as well as start and end indices into the BAM or PBI.

Note
Rows are given in the interval [start, end).

Constructors & Related Methods

PbiReferenceEntry()

Creates a default entry.

  • default ID: PbiReferenceEntry::UNMAPPED_ID
  • default rows: PbiReferenceEntry::UNSET_ROW

PbiReferenceEntry(ID id)

Creates a reference entry, with no rows set.

  • default rows: PbiReferenceEntry::UNSET_ROW

PbiReferenceEntry(ID id, Row beginRow, Row endRow)

Creates a reference entry, with rows set.

PbiReferenceEntry(const PbiReferenceEntry &other)
PbiReferenceEntry(PbiReferenceEntry &&other)
PbiReferenceEntry &operator=(const PbiReferenceEntry &other)
PbiReferenceEntry &operator=(PbiReferenceEntry &&other)
bool operator==(const PbiReferenceEntry &other) const

Reference Data Members

ID tId_
Row beginRow_
Row endRow_

Public Types

using ID = uint32_t
using Row = uint32_t

Public Static Attributes

const ID UNMAPPED_ID
const Row UNSET_ROW