Skip to content

Commit

Permalink
exposing function Tell to users
Browse files Browse the repository at this point in the history
  • Loading branch information
glis-glis authored and SoapZA committed Mar 3, 2022
1 parent 80bbca5 commit aa74468
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/api/BamReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -400,3 +400,8 @@ bool BamReader::SetRegion(const int& leftRefID, const int& leftBound, const int&
{
return d->SetRegion(BamRegion(leftRefID, leftBound, rightRefID, rightBound));
}

int64_t BamReader::Tell() const
{
return d->Tell();
}
2 changes: 2 additions & 0 deletions src/api/BamReader.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ class API_EXPORT BamReader
// sets the target region of interest
bool SetRegion(const int& leftRefID, const int& leftPosition, const int& rightRefID,
const int& rightPosition);
int64_t Tell() const;


// ----------------------
// access alignment data
Expand Down

0 comments on commit aa74468

Please sign in to comment.