Namespaces | Functions
stringListOps.H File Reference

Operations on lists of strings. More...

Include dependency graph for stringListOps.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Foam
 Namespace for OpenFOAM.
 

Functions

bool findStrings (const wordReListMatcher &matcher, const std::string &str)
 Return true if string matches one of the regular expressions. More...
 
template<class Matcher , class StringType >
labelList findMatchingStrings (const Matcher &, const UList< StringType > &, const bool invert=false)
 Return list indices for matching strings. More...
 
template<class StringType >
labelList findStrings (const regExp &re, const UList< StringType > &lst, const bool invert=false)
 Return list indices for strings matching the regular expression. More...
 
template<class StringType >
labelList findStrings (const char *rePattern, const UList< StringType > &lst, const bool invert=false)
 Return list indices for strings matching the regular expression. More...
 
template<class StringType >
labelList findStrings (const std::string &rePattern, const UList< StringType > &lst, const bool invert=false)
 Return list indices for strings matching the regular expression. More...
 
template<class StringType >
labelList findStrings (const wordRe &wre, const UList< StringType > &lst, const bool invert=false)
 Return list indices for strings matching the regular expression. More...
 
template<class StringType >
labelList findStrings (const wordReListMatcher &matcher, const UList< StringType > &lst, const bool invert=false)
 Return list indices for strings matching one of the regular expression. More...
 
template<class Matcher , class StringListType >
StringListType subsetMatchingStrings (const Matcher &, const StringListType &, const bool invert=false)
 Extract elements of StringList when regular expression matches. More...
 
template<class StringListType >
StringListType subsetStrings (const regExp &re, const StringListType &lst, const bool invert=false)
 Extract elements of StringList when regular expression matches. More...
 
template<class StringListType >
StringListType subsetStrings (const char *rePattern, const StringListType &lst, const bool invert=false)
 Extract elements of StringList when regular expression matches. More...
 
template<class StringListType >
StringListType subsetStrings (const std::string &rePattern, const StringListType &lst, const bool invert=false)
 Extract elements of StringList when regular expression matches. More...
 
template<class StringListType >
StringListType subsetStrings (const wordRe &wre, const StringListType &lst, const bool invert=false)
 Extract elements of StringList when regular expression matches. More...
 
template<class StringListType >
StringListType subsetStrings (const wordReListMatcher &matcher, const StringListType &lst, const bool invert=false)
 Extract elements of StringList when regular expression matches. More...
 
template<class Matcher , class StringListType >
void inplaceSubsetMatchingStrings (const Matcher &, StringListType &, const bool invert=false)
 Inplace extract elements of StringList when regular expression matches. More...
 
template<class StringListType >
void inplaceSubsetStrings (const regExp &re, StringListType &lst, const bool invert=false)
 Inplace extract elements of StringList when regular expression matches. More...
 
template<class StringListType >
void inplaceSubsetStrings (const char *rePattern, StringListType &lst, const bool invert=false)
 Inplace extract elements of StringList when regular expression matches. More...
 
template<class StringListType >
void inplaceSubsetStrings (const std::string &rePattern, StringListType &lst, const bool invert=false)
 Inplace extract elements of StringList when regular expression matches. More...
 
template<class StringListType >
void inplaceSubsetStrings (const wordRe &wre, StringListType &lst, const bool invert=false)
 Inplace extract elements of StringList when regular expression matches. More...
 
template<class StringListType >
void inplaceSubsetStrings (const wordReListMatcher &matcher, StringListType &lst, const bool invert=false)
 Inplace extract elements of StringList when regular expression matches. More...
 

Detailed Description

Operations on lists of strings.

Original source file stringListOps.H

InNamspace Foam

Source files

Definition in file stringListOps.H.