• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

WTF

  • sources
  • kde-4.12
  • kdelibs
  • kjs
  • wtf
  • unicode
UnicodeCategory.h
Go to the documentation of this file.
1 // -*- c-basic-offset: 2 -*-
2 /*
3  * This file is part of the KDE libraries
4  * Copyright (C) 2006 George Staikos <staikos@kde.org>
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Library General Public
8  * License as published by the Free Software Foundation; either
9  * version 2 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Library General Public License for more details.
15  *
16  * You should have received a copy of the GNU Library General Public License
17  * along with this library; see the file COPYING.LIB. If not, write to
18  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19  * Boston, MA 02110-1301, USA.
20  *
21  */
22 
23 #ifndef KJS_UNICODE_CATEGORY_H
24 #define KJS_UNICODE_CATEGORY_H
25 
26 namespace WTF {
27  namespace Unicode {
28  enum CharCategory {
29  NoCategory = 0,
30  Mark_NonSpacing = 0x00000001, // Unicode class name Mn
31  Mark_SpacingCombining = 0x00000002, // Unicode class name Mc
32  Mark_Enclosing = 0x00000004, // Unicode class name Me
33  Number_DecimalDigit = 0x00000008, // Unicode class name Nd
34  Number_Letter = 0x00000010, // Unicode class name Nl
35  Number_Other = 0x00000020, // Unicode class name No
36  Separator_Space = 0x00000040, // Unicode class name Zs
37  Separator_Line = 0x00000080, // Unicode class name Zl
38  Separator_Paragraph = 0x00000100, // Unicode class name Zp
39  Other_Control = 0x00000200, // Unicode class name Cc
40  Other_Format = 0x00000400, // Unicode class name Cf
41  Other_Surrogate = 0x00000800, // Unicode class name Cs
42  Other_PrivateUse = 0x00001000, // Unicode class name Co
43  Other_NotAssigned = 0x00002000, // Unicode class name Cn
44  Letter_Uppercase = 0x00004000, // Unicode class name Lu
45  Letter_Lowercase = 0x00008000, // Unicode class name Ll
46  Letter_Titlecase = 0x00010000, // Unicode class name Lt
47  Letter_Modifier = 0x00020000, // Unicode class name Lm
48  Letter_Other = 0x00040000, // Unicode class name Lo
49  Punctuation_Connector = 0x00080000, // Unicode class name Pc
50  Punctuation_Dash = 0x00100000, // Unicode class name Pd
51  Punctuation_Open = 0x00200000, // Unicode class name Ps
52  Punctuation_Close = 0x00400000, // Unicode class name Pe
53  Punctuation_InitialQuote = 0x00800000, // Unicode class name Pi
54  Punctuation_FinalQuote = 0x01000000, // Unicode class name Pf
55  Punctuation_Other = 0x02000000, // Unicode class name Po
56  Symbol_Math = 0x04000000, // Unicode class name Sm
57  Symbol_Currency = 0x08000000, // Unicode class name Sc
58  Symbol_Modifier = 0x10000000, // Unicode class name Sk
59  Symbol_Other = 0x20000000 // Unicode class name So
60  };
61  }
62 }
63 
64 #endif
65 // vim: ts=2 sw=2 et
WTF::Unicode::Number_DecimalDigit
Definition: UnicodeCategory.h:33
WTF::Unicode::Symbol_Modifier
Definition: UnicodeCategory.h:58
WTF::Unicode::Letter_Other
Definition: UnicodeCategory.h:48
WTF::Unicode::Separator_Line
Definition: UnicodeCategory.h:37
WTF::Unicode::Letter_Titlecase
Definition: UnicodeCategory.h:46
WTF::Unicode::Number_Letter
Definition: UnicodeCategory.h:34
WTF::Unicode::CharCategory
CharCategory
Definition: UnicodeCategory.h:28
WTF::Unicode::Symbol_Other
Definition: UnicodeCategory.h:59
WTF::Unicode::Symbol_Math
Definition: UnicodeCategory.h:56
WTF::Unicode::Other_Control
Definition: UnicodeCategory.h:39
WTF::Unicode::Punctuation_Other
Definition: UnicodeCategory.h:55
WTF::Unicode::Symbol_Currency
Definition: UnicodeCategory.h:57
WTF::Unicode::Punctuation_Close
Definition: UnicodeCategory.h:52
WTF::Unicode::Other_PrivateUse
Definition: UnicodeCategory.h:42
WTF::Unicode::Punctuation_Connector
Definition: UnicodeCategory.h:49
WTF::Unicode::Punctuation_InitialQuote
Definition: UnicodeCategory.h:53
WTF::Unicode::Letter_Uppercase
Definition: UnicodeCategory.h:44
WTF::Unicode::Letter_Lowercase
Definition: UnicodeCategory.h:45
WTF::Unicode::Number_Other
Definition: UnicodeCategory.h:35
WTF::Unicode::Mark_SpacingCombining
Definition: UnicodeCategory.h:31
WTF::Unicode::NoCategory
Definition: UnicodeCategory.h:29
WTF::Unicode::Separator_Paragraph
Definition: UnicodeCategory.h:38
WTF::Unicode::Mark_NonSpacing
Definition: UnicodeCategory.h:30
WTF::Unicode::Other_Format
Definition: UnicodeCategory.h:40
WTF::Unicode::Punctuation_Open
Definition: UnicodeCategory.h:51
WTF::Unicode::Mark_Enclosing
Definition: UnicodeCategory.h:32
WTF::Unicode::Other_NotAssigned
Definition: UnicodeCategory.h:43
WTF::Unicode::Punctuation_Dash
Definition: UnicodeCategory.h:50
WTF::Unicode::Separator_Space
Definition: UnicodeCategory.h:36
WTF::Unicode::Letter_Modifier
Definition: UnicodeCategory.h:47
WTF::Unicode::Punctuation_FinalQuote
Definition: UnicodeCategory.h:54
WTF::Unicode::Other_Surrogate
Definition: UnicodeCategory.h:41
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

WTF

Skip menu "WTF"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal