use separate slot implementation for each module
[lqt.git] / cpptoxml / parser / rpp / pp-cctype.h
blobd66f68cf0e9dc8a76cd843068df487f2ead39b76
1 /****************************************************************************
2 **
3 ** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved.
4 ** Copyright 2005 Roberto Raggi <roberto@kdevelop.org>
5 **
6 ** This file is part of $PRODUCT$.
7 **
8 ** $CPP_LICENSE$
9 **
10 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
11 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
13 ****************************************************************************/
15 #ifndef PP_CCTYPE_H
16 #define PP_CCTYPE_H
18 #include <cctype>
20 namespace rpp {
22 inline bool pp_isalpha (int __ch)
23 { return std::isalpha ((unsigned char) __ch) != 0; }
25 inline bool pp_isalnum (int __ch)
26 { return std::isalnum ((unsigned char) __ch) != 0; }
28 inline bool pp_isdigit (int __ch)
29 { return std::isdigit ((unsigned char) __ch) != 0; }
31 inline bool pp_isspace (int __ch)
32 { return std::isspace ((unsigned char) __ch) != 0; }
34 } // namespace rpp
36 #endif // PP_CCTYPE_H
38 // kate: space-indent on; indent-width 2; replace-tabs on;