ldas-tools-al  2.6.3
Public Member Functions | List of all members
LDASTools::AL::CaseInsensitiveCmp Class Reference

Case-Insensitive Compare Functional. More...

#include <util.hh>

Public Member Functions

bool operator() (const std::string &s1, const std::string &s2) const
 Overloaded call operator. More...
 
bool operator() (const std::string &s1, const std::string &s2) const
 Overloaded call operator. More...
 
bool operator() (const std::string &s1, const std::string &s2) const
 Overloaded call operator. More...
 

Detailed Description

Case-Insensitive Compare Functional.

A Function Object used to perform a case-insensitive compare of two string objects.

Member Function Documentation

◆ operator()() [1/3]

bool LDASTools::AL::CaseInsensitiveCmp::operator() ( const std::string &  s1,
const std::string &  s2 
) const
inline

Overloaded call operator.

Parameters
s1A reference to the first string object.
s2A reference to the second string object.
Returns
bool True if strings are equal, false otherwise.

◆ operator()() [2/3]

bool LDASTools::AL::CaseInsensitiveCmp::operator() ( const std::string &  s1,
const std::string &  s2 
) const
inline

Overloaded call operator.

Parameters
s1A reference to the first string object.
s2A reference to the second string object.
Returns
bool True if strings are equal, false otherwise.

◆ operator()() [3/3]

bool LDASTools::AL::CaseInsensitiveCmp::operator() ( const std::string &  s1,
const std::string &  s2 
) const
inline

Overloaded call operator.

Parameters
s1A reference to the first string object.
s2A reference to the second string object.
Returns
bool True if strings are equal, false otherwise.

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