https://github.com/splatlab/squeakr
Revision 8940c94c790f335029b00e1824912bb5f48ed26a authored by Prashant Pandey on 04 February 2017, 23:21:09 UTC, committed by Prashant Pandey on 04 February 2017, 23:21:09 UTC
1 parent 4a94369
Tip revision: 8940c94c790f335029b00e1824912bb5f48ed26a authored by Prashant Pandey on 04 February 2017, 23:21:09 UTC
Adding code for Squeakr.
Adding code for Squeakr.
Tip revision: 8940c94
reader.h
/*
* =====================================================================================
*
* Filename: reader.h
*
* Description:
*
* Version: 1.0
* Created: 05/06/2016 09:56:26 PM
* Revision: none
* Compiler: gcc
*
* Author: Prashant Pandey (), ppandey@cs.stonybrook.edu
* Organization: Stony Brook University
*
* =====================================================================================
*/
#include <iostream>
#include <fstream>
#include <stdio.h>
#include "libs/zlib.h"
#include "libs/bzlib.h"
#ifndef _READER_H_
#define _READER_H_
using namespace std;
namespace kmercounting {
class reader {
public:
reader();
reader(FILE *in, gzFile_s *in_gzip, BZFILE *in_bzip2, int bzerror);
FILE *in = nullptr;
gzFile_s *in_gzip = nullptr;
BZFILE *in_bzip2 = nullptr;
int bzerror;
};
reader::reader()
{
in = nullptr;
in_gzip = nullptr;
in_bzip2 = nullptr;
bzerror = 0;
}
reader::reader(FILE *_in, gzFile_s *_in_gzip, BZFILE *_in_bzip2, int _bzerror)
{
in = _in;
in_gzip = _in_gzip;
in_bzip2 = _in_bzip2;
bzerror = _bzerror;
}
}
#endif
Computing file changes ...