Reference Manual
Inti Logo
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

unicode.h

Go to the documentation of this file.
00001 /*  Inti: Integrated Foundation Classes
00002  *  Copyright (C) 2002-2003 The Inti 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 INTI_G_UNICODE_H
00023 #define INTI_G_UNICODE_H
00024 
00025 #ifndef INTI_INTEGER_OBJECT_H
00026 #include <inti/integerobject.h>
00027 #endif
00028 
00029 #ifndef __G_UNICODE_H__
00030 #include <glib/gunicode.h>
00031 #endif
00032 
00033 namespace Inti {
00034 
00035 namespace G {
00036 
00042 
00043 class Unichar : public IntegerObject<gunichar>
00044 {
00045 public:
00048 
00049         Unichar(gunichar c);
00052         
00053         Unichar(const Unichar& src);
00056 
00057         Unichar& operator=(const Unichar& src);
00060 
00064 
00065         bool is_alnum() const;
00067 
00068         bool is_alpha() const;
00070 
00071         bool is_cntrl() const;
00073 
00074         bool is_digit() const;
00076 
00077         bool is_graph() const;
00080 
00081         bool is_lower() const;
00083 
00084         bool is_print() const;
00086 
00087         bool is_punct() const;
00089 
00090         bool is_space() const;
00095 
00096         bool is_upper() const;
00098 
00099         bool is_xdigit() const;
00101 
00102         bool is_title() const;
00108 
00109         bool is_defined() const;
00111 
00112         bool is_wide() const;
00114 
00115         GUnicodeType type() const;
00118 
00119         GUnicodeBreakType break_type() const;
00125 
00129 
00130         Unichar upper() const;
00136 
00137         Unichar lower() const;
00143 
00144         Unichar title() const;
00150 
00151         int digit_value() const;
00155 
00156         int xdigit_value() const;
00160 
00161         bool validate() const;
00167 
00169 };
00170 
00171 } // namespace G
00172 
00173 } // namespace Inti
00174 
00175 #endif // INTI_G_UNICODE_H
00176 
00177 
00178 
00179 
00180 
00181 
00182 
00183 
00184 
Main Page - Footer


Generated on Sun Sep 14 20:08:04 2003 for Inti by doxygen 1.3.2 written by Dimitri van Heesch, © 1997-2002