Custom combined key compare and hash functor that uses a lower case string in case CASE_SENSE_NAMES is set to NO.
More...
#include <src/filename.h>
|
std::size_t | operator() (const std::string &input) const noexcept |
| used as hash function
|
|
bool | operator() (const std::string &t1, const std::string &t2) const |
| used as equal operator
|
|
|
std::string | searchKey (const std::string &input) const |
|
Custom combined key compare and hash functor that uses a lower case string in case CASE_SENSE_NAMES is set to NO.
Definition at line 45 of file filename.h.
◆ operator()() [1/2]
std::size_t FileNameFn::operator() |
( |
const std::string & | input | ) |
const |
|
inlinenoexcept |
used as hash function
Definition at line 49 of file filename.h.
50 {
51 return std::hash<std::string>()(
searchKey(input));
52 }
std::string searchKey(const std::string &input) const
References searchKey().
◆ operator()() [2/2]
bool FileNameFn::operator() |
( |
const std::string & | t1, |
|
|
const std::string & | t2 ) const |
|
inline |
◆ searchKey()
std::string FileNameFn::searchKey |
( |
const std::string & | input | ) |
const |
|
inlineprivate |
The documentation for this class was generated from the following file: