ionFinder/src/peptide.cpp
std::string PeptideNamespace::concatMods(PeptideNamespace::PepIonIt begin, PeptideNamespace::PepIonIt end)
{
	std::string ret;
	for(auto it = begin; it != end; ++it)
		if(it->hasDynamicMod())
			ret += it->getMod();
	return ret;
}
/**
 Returns a string containing all the modifications if interest in vec.
 
 \param begin iterator to start of vec
 \param end iterator to end of vec
 
 \return all modifications concated into a single string
 */
Returns a string containing all the modifications if interest in vec.
\param begin iterator to start of vec
\param end iterator to end of vec

\return all modifications concated into a single string
Returns a string containing all the modifications if interest in vec . \ param begin iterator to start of vec \ param end iterator to end of vec \ return all modifications concated into a single string
std::string PeptideNamespace::concatMods(PeptideNamespace::PepIonIt begin, PeptideNamespace::PepIonIt end)
{
	std::string ret;
	for(auto it = begin; it != end; ++it)
		if(it->hasDynamicMod())
			ret += it->getMod();
	return ret;
}
std :: string PeptideNamespace :: concatMods ( PeptideNamespace :: PepIonIt begin , PeptideNamespace :: PepIonIt end ) { std :: string ret ; for ( auto it = begin ; it != end ; ++ it ) if ( it -> hasDynamicMod ( ) ) ret += it -> getMod ( ) ; return ret ; }
Returns a string containing all the modifications if interest in vec.
Returns a string containing all the modifications if interest in vec .