librcsb-core-wrapper  1.000
Public Member Functions | List of all members
StringLess Class Reference

Public class that encapsulates string comparison. More...

#include <GenString.h>

Collaboration diagram for StringLess:
Collaboration graph

Public Member Functions

 StringLess (Char::eCompareType compareType=Char::eCASE_SENSITIVE)
 
StringLessoperator= (const StringLess &in)
 
bool operator() (const std::string &s1, const std::string &s2) const
 
Char::eCompareType GetCompareType ()
 

Detailed Description

Public class that encapsulates string comparison.

This class encapsulates string comparison. It supports the following compare types: case-sensitive, case-insensitive and as-integer.

Constructor & Destructor Documentation

StringLess::StringLess ( Char::eCompareType  compareType = Char::eCASE_SENSITIVE)

Member Function Documentation

Char::eCompareType StringLess::GetCompareType ( )
inline
bool StringLess::operator() ( const std::string &  s1,
const std::string &  s2 
) const
StringLess& StringLess::operator= ( const StringLess in)

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