<NME> BamHeader_p.h
<BEF> ADDFILE
<MSG> Update to BamTools API 0.9.2 with exposure of SamHeader object from BamReader and to BamWriter

<DFF> @@ -0,0 +1,56 @@
+// ***************************************************************************
+// BamHeader_p.h (c) 2010 Derek Barnett
+// Marth Lab, Department of Biology, Boston College
+// All rights reserved.
+// ---------------------------------------------------------------------------
+// Last modified: 25 December 2010 (DB)
+// ---------------------------------------------------------------------------
+// Provides the basic functionality for handling BAM headers.
+// ***************************************************************************
+
+#ifndef BAMHEADER_P_H
+#define BAMHEADER_P_H
+
+//  -------------
+//  W A R N I N G
+//  -------------
+//
+// This file is not part of the BamTools API.  It exists purely as an
+// implementation detail. This header file may change from version to version
+// without notice, or even be removed.
+//
+// We mean it.
+
+#include <api/SamHeader.h>
+#include <string>
+
+namespace BamTools {
+
+class BgzfData;
+
+namespace Internal {
+
+class BamHeader {
+
+    public:
+        BamHeader(void);
+        ~BamHeader(void);
+
+    public:
+        void Clear(void);
+        bool IsValid(void) const;
+        bool Load(BgzfData* stream);
+
+    public:
+        SamHeader ToSamHeader(void) const;
+        std::string ToString(void) const;
+
+    private:
+        struct BamHeaderPrivate;
+        BamHeaderPrivate* d;
+};
+
+} // namespace Internal
+} // namespace BamTools
+
+#endif // BAMHEADER_P_H

{'addition_count': 56, 'commit_subject': 'Update to BamTools API 0.9.2 with exposure of SamHeader object from BamReader and to BamWriter', 'deletion_count': 0, 'file_extension': '.h', 'lang': 'h', 'license': 'mit', 'repo_name': 'pezmaster31/bamtools'}