]> git.donarmstrong.com Git - bamtools.git/blobdiff - src/api/SamHeader.h
Minor update to API version 0.9.3 - addition of SamHeader::SetHeaderText().
[bamtools.git] / src / api / SamHeader.h
index 899459cd54e8afe2e733f5277625cb77de39e6a1..5de15606577fe59f378246de5c04c245ba4ecc6b 100644 (file)
@@ -3,7 +3,7 @@
 // Marth Lab, Department of Biology, Boston College
 // All rights reserved.
 // ---------------------------------------------------------------------------
-// Last modified: 23 December 2010 (DB)
+// Last modified: 12 January 2011 (DB)
 // ---------------------------------------------------------------------------
 // Provides functionality for querying/manipulating SAM header data
 // **************************************************************************
@@ -38,6 +38,9 @@ struct API_EXPORT SamHeader {
         // otherwise, output is suppressed and only validation check occurs
         bool IsValid(bool verbose = false) const;
 
+        // replaces SamHeader contents with headerText
+        void SetHeaderText(const std::string& headerText);
+
         // retrieves the printable, SAM-formatted header
         // (with any local modifications since construction)
         std::string ToString(void) const;