Changeset 3835
- Timestamp:
- Aug 8, 2019, 3:36:46 AM (4 years ago)
- Location:
- branches/0.16-stable
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/0.16-stable/NEWS
r3833 r3835 6 6 7 7 version 0.16.2 (released NOT YET) 8 - utility::Aligner::Cigar::begin(void) and ::end(void) are now 9 implemented (see bug #929) 8 10 9 11 A complete list of closed tickets can be found here [[br]] -
branches/0.16-stable/test/cigar.cc
r3213 r3835 77 77 suite.err() << "error: incorrect string\n"; 78 78 } 79 for (utility::Aligner::Cigar::const_iterator c=cig.begin();c!=cig.end();++c){ 80 std::string str(BAM_CIGAR_STR); 81 assert(*c < str.size()); 82 suite.out() << str[*c]; 83 } 84 suite.out() << "\n"; 79 85 80 86 if (!suite.add(cig.length()==17)) -
branches/0.16-stable/yat/utility/Aligner.cc
r3462 r3835 2 2 3 3 /* 4 Copyright (C) 2012, 2014, 2016 Peter Johansson4 Copyright (C) 2012, 2014, 2016, 2019 Peter Johansson 5 5 6 6 This file is part of the yat library, http://dev.thep.lu.se/yat … … 158 158 // ================ Cigar ======================= 159 159 160 Aligner::Cigar::const_iterator Aligner::Cigar::begin(void) const 161 { 162 return const_iterator(cigar_.begin()); 163 } 164 165 160 166 void Aligner::Cigar::clear(void) 161 167 { 162 168 cigar_.clear(); 169 } 170 171 172 Aligner::Cigar::const_iterator Aligner::Cigar::end(void) const 173 { 174 return const_iterator(cigar_.end()); 163 175 } 164 176 -
branches/0.16-stable/yat/utility/Aligner.h
r3462 r3835 7 7 Copyright (C) 2012 Peter Johansson 8 8 Copyright (C) 2013 Jari Häkkinen, Peter Johansson 9 Copyright (C) 2014, 2016 Peter Johansson9 Copyright (C) 2014, 2016, 2019 Peter Johansson 10 10 11 11 This file is part of the yat library, http://dev.thep.lu.se/yat … … 190 190 191 191 \since New in yat 0.13 192 193 \note was not implemented prior 0.16.2 192 194 */ 193 195 const_iterator begin(void) const; … … 202 204 203 205 \since New in yat 0.13 206 207 \note was not implemented prior 0.16.2 204 208 */ 205 209 const_iterator end(void) const;
Note: See TracChangeset
for help on using the changeset viewer.