yat
0.14.5pre
|
#include <yat/omic/BamPair.h>
Public Member Functions | |
BamPairProxy (void) | |
Default constructor. | |
BamPairProxy (const BamRead *first, const BamRead *second) | |
const BamRead & | first (void) const |
const BamRead & | second (void) const |
operator BamPair () const | |
A proxy class that behaves like a const BamPair&.
The class is used in BamPairIterator. The class allows to create an object that looks like a const reference of BamPair from two BamRead pointers without copying the BamRead objects. As the class is aimed at looking like a const BamPair&, implicit conversion to BamPair is allowed to mimic: BamPair = const BamPair&.
Create a proxy from first and second.
const BamRead& theplu::yat::omic::BamPairProxy::first | ( | void | ) | const |
theplu::yat::omic::BamPairProxy::operator BamPair | ( | ) | const |
Implicit conversion from BamPairProxy to BamPair.
const BamRead& theplu::yat::omic::BamPairProxy::second | ( | void | ) | const |