]> git.donarmstrong.com Git - bamtools.git/commit
Made BamAlignment flag queries symmetrical
authorderek <derekwbarnett@gmail.com>
Mon, 13 Dec 2010 20:28:33 +0000 (15:28 -0500)
committerderek <derekwbarnett@gmail.com>
Mon, 13 Dec 2010 20:28:33 +0000 (15:28 -0500)
commit8cff313e03c7756e753c06097d710b8dc73b6eb7
tree27f5dd4a068b35c723c8cacad0797f40d9a500c2
parent9cee14686c62b841e9a3ed08793aac18d9d40369
Made BamAlignment flag queries symmetrical

 * For example: there is now a SetIsMapped() setter to match the
IsMapped() getter.  Before you had to reverse your logic on a few of the
flags (in this case, using SetIsUnmapped()).  Not impossible to use, but
not immediately obvious and intuitive, and hard to remember when to use
the opposite setter.  These older methods will remain available, but
should be considered deprecated.
src/api/BamAlignment.cpp
src/api/BamAlignment.h