1 // ***************************************************************************
2 // BamPipe_p.h (c) 2011 Derek Barnett
3 // Marth Lab, Department of Biology, Boston College
4 // ---------------------------------------------------------------------------
5 // Last modified: 10 November 2011 (DB)
6 // ---------------------------------------------------------------------------
7 // Provides BAM pipe-specific IO behavior
8 // ***************************************************************************
17 // This file is not part of the BamTools API. It exists purely as an
18 // implementation detail. This header file may change from version to version
19 // without notice, or even be removed.
23 #include "api/internal/io/ILocalIODevice_p.h"
29 class BamPipe : public ILocalIODevice {
36 // IBamIODevice implementation
38 bool IsRandomAccess(void) const;
39 bool Open(const IBamIODevice::OpenMode mode);
40 bool Seek(const int64_t& position, const int origin = SEEK_SET);
43 } // namespace Internal
44 } // namespace BamTools