GFC Logo GFC Title Logo
Reference Manual
Main Page  |  Namespace List  |  Alphabetical List  |  Class List  |  File List

unicode.hh

Go to the documentation of this file.
00001 /* GFC-Core: GTK+ Foundation Classes (Core Library) 00002 * Copyright (C) 2002-2004 The GFC Development Team. 00003 * 00004 * This program is free software; you can redistribute it and/or modify 00005 * it under the terms of the GNU General Public License as published by 00006 * the Free Software Foundation; either version 2 of the License, or 00007 * (at your option) any later version. 00008 * 00009 * This program is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 * GNU Library General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU Library General Public License 00015 * along with this program; if not, write to the Free Software 00016 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00017 */ 00018 00021 00022 #ifndef GFC_G_UNICODE_HH 00023 #define GFC_G_UNICODE_HH 00024 00025 #ifndef GFC_INTEGER_OBJECT_HH 00026 #include <gfc/integerobject.hh> 00027 #endif 00028 00029 #ifndef __G_UNICODE_H__ 00030 #include <glib/gunicode.h> 00031 #endif 00032 00033 namespace GFC { 00034 00035 namespace G { 00036 00042 00043 class Unichar : public IntegerObject<gunichar> 00044 { 00045 public: 00048 00049 Unichar(); 00051 00052 Unichar(gunichar c); 00055 00056 Unichar(const Unichar& src); 00059 00060 Unichar& operator=(const Unichar& src); 00063 00067 00068 bool is_alnum() const; 00070 00071 bool is_alpha() const; 00073 00074 bool is_cntrl() const; 00076 00077 bool is_digit() const; 00079 00080 bool is_graph() const; 00083 00084 bool is_lower() const; 00086 00087 bool is_print() const; 00089 00090 bool is_punct() const; 00092 00093 bool is_space() const; 00098 00099 bool is_upper() const; 00101 00102 bool is_xdigit() const; 00104 00105 bool is_title() const; 00111 00112 bool is_defined() const; 00114 00115 bool is_wide() const; 00117 00118 GUnicodeType type() const; 00121 00122 GUnicodeBreakType break_type() const; 00128 00132 00133 Unichar upper() const; 00139 00140 Unichar lower() const; 00146 00147 Unichar title() const; 00153 00154 int digit_value() const; 00158 00159 int xdigit_value() const; 00163 00164 bool validate() const; 00170 00171 bool get_mirror_char(Unichar *mirrored_ch = 0); 00186 00188 }; 00189 00190 } // namespace G 00191 00192 } // namespace GFC 00193 00194 #include <gfc/glib/inline/unicode.inl> 00195 00196 #endif // GFC_G_UNICODE_HH 00197 00198 00199 00200 00201 00202 00203 00204 00205

Generated on Tue Aug 24 00:04:56 2004 for GFC-Core by doxygen 1.3.8