Skip to content
Snippets Groups Projects
  • Mark OLESEN's avatar
    ENH: simplify/extend IOobjectList code with templated predicates · c0a1509d
    Mark OLESEN authored
    - replace explicit use of word, wordRe, wordRes, wordHashSet as filters
      with a MatchPredicate, since they all satisfy the requirements for
      use a predicate. This change reduces code duplication, allows other
      matcher types (eg, keyType) as well as lambda functions.
    
    - add special treatment for a 'const char*' parameter
      for lookupClass() and the now-deprecated single item lookup() method
      to promote these parameters to 'word'.
    c0a1509d
IOobjectList.H 13.38 KiB