Mantid
|
Comparator for set that holds instrument names in Parser. More...
#include <MultiFileNameParser.h>
Public Member Functions | |
bool | operator() (const std::string &a, const std::string &b) const |
Comparator for the set that holds instrument names in Parser. More... | |
Comparator for set that holds instrument names in Parser.
Definition at line 38 of file MultiFileNameParser.h.
bool Mantid::Kernel::MultiFileNameParsing::ReverseCaselessCompare::operator() | ( | const std::string & | a, |
const std::string & | b | ||
) | const |
Comparator for the set that holds instrument names in Parser.
This is reversed since we want to come across the longer instrument names first. It is caseless so we don't get "inst" coming before "INSTRUMENT" - though this is probably overkill.
Definition at line 121 of file MultiFileNameParser.cpp.