Source-highlight Library
srchilite::Utils Class Reference

generic utils functions (e.g., string manipulation) More...

#include <utils.h>

List of all members.

Static Public Member Functions

static void toUpper (std::string &s)
 Capitalizes the passed string.
static void toLower (std::string &s)
 Lowerizes the passed string.
static std::string toupper (const std::string &s)
 returns a capitalized version of the passed string
static std::string tolower (const std::string &s)
 returns a lowerized version of the passed string

Detailed Description

generic utils functions (e.g., string manipulation)


Member Function Documentation

void srchilite::Utils::toLower ( std::string &  s) [static]

Lowerizes the passed string.

Parameters:
sthe string to lowerize
std::string srchilite::Utils::tolower ( const std::string &  s) [static]

returns a lowerized version of the passed string

Parameters:
sthe string to lowerize
Returns:
a lowerized version of the passed string
void srchilite::Utils::toUpper ( std::string &  s) [static]

Capitalizes the passed string.

Parameters:
sthe string to capitalize
std::string srchilite::Utils::toupper ( const std::string &  s) [static]

returns a capitalized version of the passed string

Parameters:
sthe string to capitalize
Returns:
a capitalized version of the passed string

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