// Marth Lab, Department of Biology, Boston College\r
// All rights reserved.\r
// ---------------------------------------------------------------------------\r
-// Last modified: 18 September 2010 (DB)\r
+// Last modified: 9 October 2010 (DB)\r
// ---------------------------------------------------------------------------\r
// Provides the basic constants, data structures, utilities etc. \r
// used throughout the API for handling BAM files\r
, RightPosition(rightPos)\r
{ }\r
\r
+ // copy constructor\r
+ BamRegion(const BamRegion& other)\r
+ : LeftRefID(other.LeftRefID)\r
+ , LeftPosition(other.LeftPosition)\r
+ , RightRefID(other.RightRefID)\r
+ , RightPosition(other.RightPosition)\r
+ { }\r
+ \r
// member functions\r
void clear(void) { LeftRefID = -1; LeftPosition = -1; RightRefID = -1; RightPosition = -1; }\r
bool isLeftBoundSpecified(void) const { return ( LeftRefID != -1 && LeftPosition != -1 ); }\r