|
OpenMS
2.6.0
|
Go to the documentation of this file.
39 #include <OpenMS/OpenMSConfig.h>
57 typedef std::vector<String>::iterator
Iterator;
68 static StringList fromQStringList(
const QStringList& rhs);
175 struct TrimmableStringPredicate_
177 TrimmableStringPredicate_(
const String& target,
const bool trim) :
181 if (trim_) target_.trim();
206 struct PrefixPredicate_ :
207 TrimmableStringPredicate_
209 PrefixPredicate_(
const String& target,
const bool trim) :
210 TrimmableStringPredicate_(target, trim)
219 inline bool operator()(
const String& value)
221 return getValue(value).hasPrefix(target_);
227 struct SuffixPredicate_ :
228 TrimmableStringPredicate_
230 SuffixPredicate_(
const String& target,
const bool trim) :
231 TrimmableStringPredicate_(target, trim)
240 inline bool operator()(
const String& value)
242 return getValue(value).hasSuffix(target_);
A more convenient string class.
Definition: String.h:59
String & trim()
removes whitespaces (space, tab, line feed, carriage return) at the beginning and the end of the stri...
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
std::vector< String > StringList
Vector of String.
Definition: ListUtils.h:70
StringListUtils(const StringListUtils &)
Definition: StringListUtils.h:250
StringListUtils & operator=(StringListUtils &)
Definition: StringListUtils.h:251
std::vector< String >::reverse_iterator ReverseIterator
Mutable reverse iterator.
Definition: StringListUtils.h:62
Utilities operating on lists of Strings.
Definition: StringListUtils.h:51
std::vector< String >::const_reverse_iterator ConstReverseIterator
Non-mutable reverse iterator.
Definition: StringListUtils.h:64
std::vector< String >::iterator Iterator
Mutable iterator.
Definition: StringListUtils.h:58
INTERNAL StringListUtils()
hide c'tors to avoid instantiation of utils class
Definition: StringListUtils.h:249
std::vector< String >::const_iterator ConstIterator
Non-mutable iterator.
Definition: StringListUtils.h:60