From aa74468c12e93e6b166b374236c59e4a1a43405b Mon Sep 17 00:00:00 2001 From: Andreas Date: Thu, 3 Mar 2022 17:07:10 +0100 Subject: [PATCH] exposing function Tell to users --- src/api/BamReader.cpp | 5 +++++ src/api/BamReader.h | 2 ++ 2 files changed, 7 insertions(+) diff --git a/src/api/BamReader.cpp b/src/api/BamReader.cpp index 56e6c395..3fd5fd30 100644 --- a/src/api/BamReader.cpp +++ b/src/api/BamReader.cpp @@ -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(); +} diff --git a/src/api/BamReader.h b/src/api/BamReader.h index 1991a67f..e213713a 100644 --- a/src/api/BamReader.h +++ b/src/api/BamReader.h @@ -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