FEAT 3
Finite Element Analysis Toolbox
Loading...
Searching...
No Matches
FEAT::String::NoCaseLess Class Reference

A class providing case-insensitive String comparison. More...

#include <string.hpp>

Public Member Functions

bool operator() (const String &left, const String &right) const
 Compares two Strings without regard to case. More...
 

Detailed Description

A class providing case-insensitive String comparison.

This class provides an STL-conforming function object for case-insensitive comparison of Strings which can be used in associative containers as e.g. std::map or std::set.

Note
This class does not implement the String comparison itself but calls the String::compare_no_case() member function for the dirty work instead.
Author
Peter Zajac

Definition at line 61 of file string.hpp.

Member Function Documentation

◆ operator()()

bool FEAT::String::NoCaseLess::operator() ( const String left,
const String right 
) const
inline

Compares two Strings without regard to case.

Parameters
[in]left,rightThe two Strings which are to be compared.
Returns
true, if left is less than right without regard to case, otherwise false.

Definition at line 73 of file string.hpp.


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