1 // ***************************************************************************
2 // BamHttp_p.cpp (c) 2011 Derek Barnett
3 // Marth Lab, Department of Biology, Boston College
4 // ---------------------------------------------------------------------------
5 // Last modified: 9 September 2011 (DB)
6 // ---------------------------------------------------------------------------
7 // Provides reading/writing of BAM files on HTTP server
8 // ***************************************************************************
10 #include <api/internal/BamHttp_p.h>
11 using namespace BamTools;
12 using namespace BamTools::Internal;
16 BamHttp::BamHttp(const string& url)
19 BT_ASSERT_X(false, "BamHttp not yet implemented");
22 BamHttp::~BamHttp(void) { }
24 void BamHttp::Close(void) {
28 bool BamHttp::IsRandomAccess(void) const {
32 bool BamHttp::Open(const IBamIODevice::OpenMode mode) {
37 size_t BamHttp::Read(char* data, const unsigned int numBytes) {
43 bool BamHttp::Seek(const int64_t& position) {
48 int64_t BamHttp::Tell(void) const {
52 size_t BamHttp::Write(const char* data, const unsigned int numBytes) {