Mantid
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Mantid::Kernel::MultiFileNameParsing::ReverseCaselessCompare Class Reference

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...
 

Detailed Description

Comparator for set that holds instrument names in Parser.

Definition at line 38 of file MultiFileNameParser.h.

Member Function Documentation

◆ operator()()

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.


The documentation for this class was generated from the following files: