1 // ***************************************************************************
2 // BamFtp_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 FTP server
8 // ***************************************************************************
10 #include <api/internal/BamFtp_p.h>
11 using namespace BamTools;
12 using namespace BamTools::Internal;
16 BamFtp::BamFtp(const string& url)
19 BT_ASSERT_X(false, "BamFtp not yet implemented");
22 BamFtp::~BamFtp(void) { }
24 void BamFtp::Close(void) {
28 bool BamFtp::IsRandomAccess(void) const {
32 bool BamFtp::Open(const IBamIODevice::OpenMode mode) {
37 size_t BamFtp::Read(char* data, const unsigned int numBytes) {
43 bool BamFtp::Seek(const int64_t& position) {
48 int64_t BamFtp::Tell(void) const {
52 size_t BamFtp::Write(const char* data, const unsigned int numBytes) {