X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=src%2Fapi%2FBamAlignment.h;h=e12aad675fe4bf5ff70a3223179c3c185a192657;hb=f7d86e0fa7161081f69c5c178ee0141bea599f71;hp=d18b239d65f50b44703682184e760927fd181f81;hpb=e9977c58d60d1a1b2034eb3f01cd0183cbfe8736;p=bamtools.git diff --git a/src/api/BamAlignment.h b/src/api/BamAlignment.h index d18b239..e12aad6 100644 --- a/src/api/BamAlignment.h +++ b/src/api/BamAlignment.h @@ -2,7 +2,7 @@ // BamAlignment.h (c) 2009 Derek Barnett // Marth Lab, Department of Biology, Boston College // --------------------------------------------------------------------------- -// Last modified: 18 November 2012 (DB) +// Last modified: 4 December 2012 (DB) // --------------------------------------------------------------------------- // Provides the BamAlignment data structure // *************************************************************************** @@ -86,6 +86,9 @@ struct API_EXPORT BamAlignment { // retrieves the SAM/BAM type-code for requested tag name bool GetTagType(const std::string& tag, char& type) const; + // retrieves the SAM/BAM type-code for the data elements in an array tag + bool GetArrayTagType(const std::string& tag, char& type) const; + // returns true if alignment has a record for this tag name bool HasTag(const std::string& tag) const;