Source-highlight Library
utils.h
1//
2// Author: Lorenzo Bettini <http://www.lorenzobettini.it>, (C) 2006
3//
4// Copyright: See COPYING file that comes with this distribution
5//
6//
7#ifndef UTILS_H
8#define UTILS_H
9
10#include <string>
11
12namespace srchilite {
13
17class Utils{
18public:
23 static void toUpper(std::string &s);
24
29 static void toLower(std::string &s);
30
36 static std::string toupper(const std::string &s);
37
43 static std::string tolower(const std::string &s);
44
45};
46
47}
48
49#endif
generic utils functions (e.g., string manipulation)
Definition: utils.h:17
static std::string tolower(const std::string &s)
returns a lowerized version of the passed string
Definition: utils.cpp:52
static std::string toupper(const std::string &s)
returns a capitalized version of the passed string
Definition: utils.cpp:45
static void toUpper(std::string &s)
Capitalizes the passed string.
Definition: utils.cpp:33
static void toLower(std::string &s)
Lowerizes the passed string.
Definition: utils.cpp:39
C++ class: doctemplate.h.
Definition: bufferedoutput.cpp:13