Changeset 3176 for trunk/yat/omic/BamPair.cc
- Timestamp:
- Mar 15, 2014, 10:10:37 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yat/omic/BamPair.cc
r3175 r3176 23 23 24 24 #include "BamPair.h" 25 26 #include <cassert> 25 27 26 28 namespace theplu { … … 60 62 } 61 63 64 ///////////// BamPairProxy //////////////////// 65 66 BamPairProxy::BamPairProxy(void) 67 : first_(NULL), second_(NULL) {} 68 69 BamPairProxy::BamPairProxy(const BamRead* first, const BamRead* second) 70 : first_(first), second_(second) {} 71 72 const BamRead& BamPairProxy::first(void) const 73 { 74 assert(first_); 75 return *first_; 76 } 77 78 79 const BamRead& BamPairProxy::second(void) const 80 { 81 assert(second_); 82 return *second_; 83 } 84 85 86 BamPairProxy::operator BamPair() const 87 { 88 return BamPair(*first_, *second_); 89 } 90 62 91 }}}
Note: See TracChangeset
for help on using the changeset viewer.