![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
00001 /******************************************************************************** 00002 * * 00003 * A S C I I C h a r a c t e r I n f o * 00004 * * 00005 ********************************************************************************* 00006 * Copyright (C) 2005,2009 by Jeroen van der Zijp. All Rights Reserved. * 00007 ********************************************************************************* 00008 * This library is free software; you can redistribute it and/or modify * 00009 * it under the terms of the GNU Lesser General Public License as published by * 00010 * the Free Software Foundation; either version 3 of the License, or * 00011 * (at your option) any later version. * 00012 * * 00013 * This library is distributed in the hope that it will be useful, * 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00016 * GNU Lesser General Public License for more details. * 00017 * * 00018 * You should have received a copy of the GNU Lesser General Public License * 00019 * along with this program. If not, see <http://www.gnu.org/licenses/> * 00020 ********************************************************************************* 00021 * $Id: fxascii.h,v 1.8 2009/01/06 13:07:29 fox Exp $ * 00022 ********************************************************************************/ 00023 #ifndef FXASCII_H 00024 #define FXASCII_H 00025 00026 00027 namespace FX { 00028 00029 namespace Ascii { 00030 00031 /// Get numeric value of character (this includes hex value) 00032 extern FXAPI FXint digitValue(FXchar asc); 00033 00034 /// Ascii-only common functions 00035 extern FXAPI FXbool hasCase(FXchar asc); 00036 extern FXAPI FXbool isUpper(FXchar asc); 00037 extern FXAPI FXbool isLower(FXchar asc); 00038 extern FXAPI FXbool isTitle(FXchar asc); 00039 extern FXAPI FXbool isAscii(FXchar asc); 00040 extern FXAPI FXbool isLetter(FXchar asc); 00041 extern FXAPI FXbool isDigit(FXchar asc); 00042 extern FXAPI FXbool isAlphaNumeric(FXchar asc); 00043 extern FXAPI FXbool isControl(FXchar asc); 00044 extern FXAPI FXbool isSpace(FXchar asc); 00045 extern FXAPI FXbool isBlank(FXchar asc); 00046 extern FXAPI FXbool isPunct(FXchar asc); 00047 extern FXAPI FXbool isGraph(FXchar asc); 00048 extern FXAPI FXbool isPrint(FXchar asc); 00049 extern FXAPI FXbool isHexDigit(FXchar asc); 00050 extern FXAPI FXbool isSymbol(FXchar asc); 00051 extern FXAPI FXbool isSep(FXchar asc); 00052 00053 /// Case conversion 00054 extern FXAPI FXchar toUpper(FXchar asc); 00055 extern FXAPI FXchar toLower(FXchar asc); 00056 extern FXAPI FXchar toTitle(FXchar asc); 00057 00058 } 00059 00060 } 00061 00062 #endif
![]() |