149 |
|
* sv.push_back("C"); |
150 |
|
* sv.push_back("N"); |
151 |
|
|
152 |
< |
* while (replaceWildCard(sic, sv, resultString)) { |
152 |
> |
* while (replaceWithWildCard(sic, sv, resultString)) { |
153 |
|
* for(std::vector<std::string>::iterator i = resultString.begin(); i != resultString.end(); ++i) { |
154 |
|
* std::cout << *i << "\t"; |
155 |
|
* } |
165 |
|
* //H C N |
166 |
|
* @endcode |
167 |
|
*/ |
168 |
< |
bool replaceWildCard(std::vector<std::vector<std::string>::iterator>& cont, |
168 |
> |
bool replaceWithWildCard(std::vector<std::vector<std::string>::iterator>& cont, |
169 |
|
std::vector<std::string>& sequence, std::vector<std::string>& result, |
170 |
|
const std::string& wildCard = "X") { |
171 |
|
if (cont.size() > sequence.size()) { |