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

okteta

  • sources
  • kde-4.12
  • kdesdk
  • okteta
  • core
oktetacore.h
Go to the documentation of this file.
1 /*
2  This file is part of the Okteta Core library, made within the KDE community.
3 
4  Copyright 2003,2009 Friedrich W. H. Kossebau <kossebau@kde.org>
5 
6  This library is free software; you can redistribute it and/or
7  modify it under the terms of the GNU Lesser General Public
8  License as published by the Free Software Foundation; either
9  version 2.1 of the License, or (at your option) version 3, or any
10  later version accepted by the membership of KDE e.V. (or its
11  successor approved by the membership of KDE e.V.), which shall
12  act as a proxy defined in Section 6 of version 3 of the license.
13 
14  This library is distributed in the hope that it will be useful,
15  but WITHOUT ANY WARRANTY; without even the implied warranty of
16  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17  Lesser General Public License for more details.
18 
19  You should have received a copy of the GNU Lesser General Public
20  License along with this library. If not, see <http://www.gnu.org/licenses/>.
21 */
22 
23 #ifndef OKTETACORE_H
24 #define OKTETACORE_H
25 
26 // Qt
27 #include <QtCore/Qt>
28 
29 // here we collect all general data
30 // let's see how much it gets ;)
31 
32 namespace Okteta
33 {
34  enum ValueCoding { HexadecimalCoding=0, DecimalCoding=1, OctalCoding=2, BinaryCoding=3,
35  InvalidCoding=0xFFFE, MaxCodingId=0xFFFF };
36  static const int NoOfCodings = 4;
37 
39  enum CharCoding
40  {
42  LocalEncoding=0,
44  ISO8859_1Encoding,
46  ISO8859_2Encoding,
48  ISO8859_3Encoding,
50  ISO8859_4Encoding,
52  ISO8859_5Encoding,
54  ISO8859_6Encoding,
56  ISO8859_7Encoding,
58  ISO8859_8Encoding,
60  ISO8859_8_IEncoding,
62  ISO8859_9Encoding,
64  ISO8859_11Encoding,
66  ISO8859_13Encoding,
68  ISO8859_14Encoding,
70  ISO8859_15Encoding,
72  ISO8859_16Encoding,
74  CP1250Encoding,
76  CP1251Encoding,
78  CP1252Encoding,
80  CP1253Encoding,
82  CP1254Encoding,
84  CP1255Encoding,
86  CP1256Encoding,
88  CP1257Encoding,
90  CP1258Encoding,
92  IBM850Encoding,
94  IBM866Encoding,
96  IBM874Encoding,
98  KOI8_REncoding,
100  KOI8_UEncoding,
102  EBCDIC1047Encoding,
104  StartOfOwnEncoding=0x8000,
105  InvalidEncoding=0xFFFE,
107  MaxEncodingId=0xFFFF
108  };
109 
110  // TODO: add PDP endianess
111  enum ByteOrder
112  {
113  LittleEndian = 0,
114  BigEndian = 1
115  };
116  static const ByteOrder thisMachineByteOrder =
117 #if Q_BYTE_ORDER == Q_LITTLE_ENDIAN
118  LittleEndian;
119 #else
120  BigEndian;
121 #endif
122 
123 }
124 
125 #endif
Okteta::InvalidCoding
Definition: oktetacore.h:35
Okteta::ISO8859_15Encoding
Definition: oktetacore.h:70
Okteta::StartOfOwnEncoding
Offset for own encodings which are bound in by plugins.
Definition: oktetacore.h:104
Okteta::CP1255Encoding
Definition: oktetacore.h:84
Okteta::MaxEncodingId
this should enable extension without breaking binary compatibility
Definition: oktetacore.h:107
Okteta::CP1256Encoding
Definition: oktetacore.h:86
Okteta::IBM866Encoding
Definition: oktetacore.h:94
Okteta::CharCoding
CharCoding
Definition: oktetacore.h:39
Okteta::ISO8859_3Encoding
Definition: oktetacore.h:48
Okteta::ISO8859_8_IEncoding
Definition: oktetacore.h:60
Okteta::ISO8859_1Encoding
ASCII encoding, also known as Latin1.
Definition: oktetacore.h:44
Okteta::KOI8_UEncoding
Definition: oktetacore.h:100
Okteta::NoOfCodings
static const int NoOfCodings
Definition: oktetacore.h:36
Okteta::IBM850Encoding
Definition: oktetacore.h:92
Okteta::OctalCoding
Definition: oktetacore.h:34
Okteta::ByteOrder
ByteOrder
Definition: oktetacore.h:111
Okteta::CP1258Encoding
Definition: oktetacore.h:90
Okteta::KOI8_REncoding
Definition: oktetacore.h:98
Okteta::MaxCodingId
Definition: oktetacore.h:35
Okteta::EBCDIC1047Encoding
the most common EBCDIC codepage
Definition: oktetacore.h:102
Okteta::LittleEndian
Definition: oktetacore.h:113
Okteta::DecimalCoding
Definition: oktetacore.h:34
Okteta::BinaryCoding
Definition: oktetacore.h:34
Okteta::ISO8859_2Encoding
Definition: oktetacore.h:46
Okteta::CP1251Encoding
Definition: oktetacore.h:76
Okteta::ISO8859_13Encoding
Definition: oktetacore.h:66
Okteta::InvalidEncoding
Definition: oktetacore.h:105
Okteta::CP1253Encoding
Definition: oktetacore.h:80
Okteta::CP1257Encoding
Definition: oktetacore.h:88
Okteta::ISO8859_7Encoding
Definition: oktetacore.h:56
Okteta::CP1250Encoding
Definition: oktetacore.h:74
Okteta::ISO8859_11Encoding
Definition: oktetacore.h:64
Okteta::CP1254Encoding
Definition: oktetacore.h:82
Okteta::BigEndian
Definition: oktetacore.h:114
Okteta::ValueCoding
ValueCoding
Definition: oktetacore.h:34
Okteta::CP1252Encoding
Definition: oktetacore.h:78
Okteta::ISO8859_5Encoding
Definition: oktetacore.h:52
Okteta::LocalEncoding
the coding of your shell
Definition: oktetacore.h:42
Okteta::ISO8859_4Encoding
Definition: oktetacore.h:50
Okteta::IBM874Encoding
Definition: oktetacore.h:96
Okteta::ISO8859_8Encoding
Definition: oktetacore.h:58
Okteta::ISO8859_9Encoding
Definition: oktetacore.h:62
Okteta::HexadecimalCoding
Definition: oktetacore.h:34
Okteta::ISO8859_16Encoding
Definition: oktetacore.h:72
Okteta::ISO8859_14Encoding
Definition: oktetacore.h:68
Okteta::ISO8859_6Encoding
Definition: oktetacore.h:54
Okteta::thisMachineByteOrder
static const ByteOrder thisMachineByteOrder
Definition: oktetacore.h:116
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

okteta

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

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • okteta
  • umbrello
  •   umbrello

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