OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Static Public Member Functions | List of all members
Misc::StringUtils Class Reference

#include <stringops.hpp>

Collaboration diagram for Misc::StringUtils:

Classes

struct  ci
 

Static Public Member Functions

static char toLower (char c)
 
static bool ciLess (const std::string &x, const std::string &y)
 
static bool ciEqual (const std::string &x, const std::string &y)
 
static int ciCompareLen (const std::string &x, const std::string &y, size_t len)
 
static void lowerCaseInPlace (std::string &inout)
 Transforms input string to lower case w/o copy. More...
 
static std::string lowerCase (const std::string &in)
 Returns lower case copy of input string. More...
 

Member Function Documentation

static int Misc::StringUtils::ciCompareLen ( const std::string &  x,
const std::string &  y,
size_t  len 
)
inlinestatic

Here is the call graph for this function:

Here is the caller graph for this function:

static bool Misc::StringUtils::ciEqual ( const std::string &  x,
const std::string &  y 
)
inlinestatic

Here is the call graph for this function:

static bool Misc::StringUtils::ciLess ( const std::string &  x,
const std::string &  y 
)
inlinestatic

Here is the caller graph for this function:

static std::string Misc::StringUtils::lowerCase ( const std::string &  in)
inlinestatic

Returns lower case copy of input string.

Here is the call graph for this function:

static void Misc::StringUtils::lowerCaseInPlace ( std::string &  inout)
inlinestatic

Transforms input string to lower case w/o copy.

Here is the call graph for this function:

Here is the caller graph for this function:

static char Misc::StringUtils::toLower ( char  c)
inlinestatic

Plain and simple locale-unaware toLower. Anything from A to Z is lower-cased, multibyte characters are unchanged. Don't use std::tolower(char, locale&) because that is abysmally slow. Don't use tolower(int) because that depends on global locale.

Here is the caller graph for this function:


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