35 inline void lowerCh(
char& c ) { c = tolower( c ); }
36 inline void upperCh(
char& c ) { c = toupper( c ); }
39 std::for_each( str.begin(), str.end(),
lowerCh );
42 std::for_each( str.begin(), str.end(),
upperCh );
45 std::string
toLower(
const std::string& str );
46 std::string
toUpper(
const std::string& str );
56 return strcasecmp(
s.c_str(), s2 );
60 int find_nocase(
const std::string&
s,
const std::string& s2 );
61 inline int find_nocase(
const std::string&
s,
const char* s2 ) {
66 unsigned int rwHash(
const std::string& str );
unsigned int rwHash(const std::string &str)
std::string toUpper(const std::string &str)
int find_nocase(const std::string &s, const std::string &s2)
int compare_nocase(const std::string &s, const std::string &s2)
void transformToUpper(std::string &str)
std::string toLower(const std::string &str)
void transformToLower(std::string &str)