// Marth Lab, Department of Biology, Boston College\r
// All rights reserved.\r
// ---------------------------------------------------------------------------\r
-// Last modified: 9 October 2010 (DB)\r
+// Last modified: 19 November 2010 (DB)\r
// ---------------------------------------------------------------------------\r
// Provides the basic constants, data structures, utilities etc. \r
// used throughout the API for handling BAM files\r
#ifndef BAMAUX_H\r
#define BAMAUX_H\r
\r
+#include <api/api_global.h>\r
+\r
#include <fstream> \r
#include <iostream>\r
#include <string>\r
// Data structs & typedefs\r
\r
// CIGAR operation data structure\r
-struct CigarOp {\r
+struct API_EXPORT CigarOp {\r
\r
// data members\r
char Type; // Operation type (MIDNSHP)\r
};\r
\r
// Reference data entry\r
-struct RefData {\r
+struct API_EXPORT RefData {\r
\r
// data members\r
std::string RefName; // Name of reference sequence\r
typedef std::vector<RefData> RefVector;\r
\r
// General (sequential) genome region\r
-struct BamRegion {\r
+struct API_EXPORT BamRegion {\r
\r
// data members\r
int LeftRefID;\r