librcsb-core-wrapper
1.000
|
Public class that encapsulates string comparison. More...
#include <GenString.h>
Public Member Functions | |
StringLess (Char::eCompareType compareType=Char::eCASE_SENSITIVE) | |
StringLess & | operator= (const StringLess &in) |
bool | operator() (const std::string &s1, const std::string &s2) const |
Char::eCompareType | GetCompareType () |
Public class that encapsulates string comparison.
This class encapsulates string comparison. It supports the following compare types: case-sensitive, case-insensitive and as-integer.
StringLess::StringLess | ( | Char::eCompareType | compareType = Char::eCASE_SENSITIVE | ) |
|
inline |
bool StringLess::operator() | ( | const std::string & | s1, |
const std::string & | s2 | ||
) | const |
StringLess& StringLess::operator= | ( | const StringLess & | in | ) |