Operations on lists of strings. More...
Go to the source code of this file.
Classes | |
struct | foundOp< StringType > |
Namespaces | |
Foam::stringListOps | |
Various utility functions to work on lists of strings. | |
Foam | |
Functions | |
template<class UnaryMatchPredicate , class StringType > | |
label | firstMatchingString (const UnaryMatchPredicate &matcher, const UList< StringType > &input, const bool invert=false) |
template<class UnaryMatchPredicate , class StringType > | |
labelList | findMatchingStrings (const UnaryMatchPredicate &matcher, const UList< StringType > &input, const bool invert=false) |
template<class StringType > | |
labelList | findStrings (const regExp &matcher, const UList< StringType > &input, const bool invert=false) |
template<class StringType > | |
labelList | findStrings (const keyType &matcher, const UList< StringType > &input, const bool invert=false) |
template<class StringType > | |
labelList | findStrings (const wordRe &matcher, const UList< StringType > &input, const bool invert=false) |
template<class StringType > | |
labelList | findStrings (const wordRes &matcher, const UList< StringType > &input, const bool invert=false) |
template<class StringType > | |
labelList | findStrings (const UList< wordRe > &patterns, const UList< StringType > &input, const bool invert=false) |
template<class UnaryMatchPredicate , class StringListType > | |
StringListType | subsetMatchingStrings (const UnaryMatchPredicate &matcher, const StringListType &input, const bool invert=false) |
template<class StringListType > | |
StringListType | subsetStrings (const regExp &matcher, const StringListType &input, const bool invert=false) |
template<class StringListType > | |
StringListType | subsetStrings (const keyType &matcher, const StringListType &input, const bool invert=false) |
template<class StringListType > | |
StringListType | subsetStrings (const wordRe &matcher, const StringListType &input, const bool invert=false) |
template<class StringListType > | |
StringListType | subsetStrings (const wordRes &matcher, const StringListType &input, const bool invert=false) |
template<class StringListType > | |
StringListType | subsetStrings (const UList< wordRe > &patterns, const StringListType &input, const bool invert=false) |
template<class UnaryMatchPredicate , class StringListType > | |
void | inplaceSubsetMatchingStrings (const UnaryMatchPredicate &matcher, StringListType &input, const bool invert=false) |
template<class StringListType > | |
void | inplaceSubsetStrings (const regExp &matcher, StringListType &input, const bool invert=false) |
template<class StringListType > | |
void | inplaceSubsetStrings (const keyType &matcher, StringListType &input, const bool invert=false) |
template<class StringListType > | |
void | inplaceSubsetStrings (const wordRe &matcher, StringListType &input, const bool invert=false) |
template<class StringListType > | |
void | inplaceSubsetStrings (const wordRes &matcher, StringListType &input, const bool invert=false) |
template<class StringListType > | |
void | inplaceSubsetStrings (const UList< wordRe > ®exs, StringListType &input, const bool invert=false) |
template<class StringListType , class AccessOp = noOp> | |
labelList | findMatching (const StringListType &input, const wordRes &allow, const wordRes &deny=wordRes(), AccessOp aop=noOp()) |
template<class StringType > | |
labelList | findStrings (const char *disallowed, const UList< StringType > &input, const bool invert=false)=delete |
template<class StringType > | |
labelList | findStrings (const std::string &disallowed, const UList< StringType > &input, const bool invert=false)=delete |
template<class StringListType > | |
StringListType | subsetStrings (const char *disallowed, const StringListType &input, const bool invert=false)=delete |
template<class StringListType > | |
StringListType | subsetStrings (const std::string &disallowed, const StringListType &input, const bool invert=false)=delete |
template<class StringListType > | |
void | inplaceSubsetStrings (const char *disallowed, StringListType &input, const bool invert=false)=delete |
template<class StringListType > | |
void | inplaceSubsetStrings (const std::string &disallowed, StringListType &input, const bool invert=false)=delete |
Operations on lists of strings.
Original source file stringListOps.H
InNamespace Foam
Definition in file stringListOps.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.