MySQL++ Reference Manual

MySQL++: utility.h Source File

MySQL++ 3.3.0

utility.h
Go to the documentation of this file.
1
8 /***********************************************************************
9 Copyright (c) 2009 by Warren Young. Others may also hold copyrights
10 on code in this file. See the CREDITS.txt file in the top directory
11 of the distribution for details.
12
13 This file is part of MySQL++.
14
15 MySQL++ is free software; you can redistribute it and/or modify it
16 under the terms of the GNU Lesser General Public License as published
17 by the Free Software Foundation; either version 2.1 of the License, or
18 (at your option) any later version.
19
20 MySQL++ is distributed in the hope that it will be useful, but WITHOUT
21 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
22 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
23 License for more details.
24
25 You should have received a copy of the GNU Lesser General Public
26 License along with MySQL++; if not, write to the Free Software
27 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
28 USA
29 ***********************************************************************/
30
31 #if !defined(MYSQLPP_UTILITY_H)
32 #define MYSQLPP_UTILITY_H
33
34 #include "common.h"
35
36 #include <cctype>
37 #include <cstring>
38 #include <string>
39
40 namespace mysqlpp {
42 namespace internal {
44 void MYSQLPP_EXPORT str_to_lwr(std::string& s);
45
48 void MYSQLPP_EXPORT str_to_lwr(std::string& ls, const char* mcs);
49 } // end namespace mysqlpp::internal
50 } // end namespace mysqlpp
51
52 #endif // !defined(MYSQLPP_UTILITY_H)
common.h
This file includes top-level definitions for use both internal to the library, and outside it....
mysqlpp::internal::str_to_lwr
void str_to_lwr(std::string &s)
Lowercase a C++ string in place.
Definition: utility.cpp:30