• 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
  • kasten
  • controllers
  • view
  • structures
  • datatypes
  • strings
utf32stringdata.h
Go to the documentation of this file.
1 /*
2  <one line to give the library's name and an idea of what it does.>
3  Copyright (C) 2011 Alex Richardson <alex.richardson@gmx.de>
4 
5  This library is free software; you can redistribute it and/or
6  modify it under the terms of the GNU Lesser General Public
7  License as published by the Free Software Foundation; either
8  version 2.1 of the License, or (at your option) any later version.
9 
10  This library is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  Lesser General Public License for more details.
14 
15  You should have received a copy of the GNU Lesser General Public
16  License along with this library; if not, write to the Free Software
17  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 */
19 
20 
21 #ifndef UTF32STRINGDATA_H
22 #define UTF32STRINGDATA_H
23 
24 #include "stringdata.h"
25 
26 #include <QVector>
27 
28 
29 class Utf32StringData : public StringData
30 {
31 public:
32  explicit Utf32StringData(StringDataInformation* parent);
33  virtual ~Utf32StringData();
34 
35  virtual QString charType() const;
36  virtual QString completeString(bool skipInvalid = false) const;
37  virtual uint count() const;
38  virtual qint64 read(Okteta::AbstractByteArrayModel* input, Okteta::Address address, BitCount64 bitsRemaining);
39  virtual BitCount32 size() const;
40  virtual BitCount32 sizeAt(uint i) const;
41  virtual QString stringValue(int row) const;
42  virtual QString typeName() const;
43 private:
44  QVector<quint32> mCodePoints;
45  int mNonBMPCount;
46 };
47 
48 #endif // UTF32STRINGDATA_H
Okteta::Address
qint32 Address
Definition: address.h:34
Okteta::AbstractByteArrayModel
could it be useful to hide the data access behind an iterator? * class KDataBufferIterator { public: ...
Definition: abstractbytearraymodel.h:79
StringData
Definition: stringdata.h:36
Utf32StringData::sizeAt
virtual BitCount32 sizeAt(uint i) const
Definition: utf32stringdata.cpp:203
BitCount64
quint64 BitCount64
Definition: datainformationbase.h:42
Utf32StringData
Definition: utf32stringdata.h:29
QVector< quint32 >
BitCount32
quint32 BitCount32
Definition: datainformationbase.h:37
Utf32StringData::typeName
virtual QString typeName() const
Definition: utf32stringdata.cpp:49
Utf32StringData::size
virtual BitCount32 size() const
Definition: utf32stringdata.cpp:198
Utf32StringData::~Utf32StringData
virtual ~Utf32StringData()
Definition: utf32stringdata.cpp:40
Utf32StringData::read
virtual qint64 read(Okteta::AbstractByteArrayModel *input, Okteta::Address address, BitCount64 bitsRemaining)
Definition: utf32stringdata.cpp:108
Utf32StringData::stringValue
virtual QString stringValue(int row) const
Definition: utf32stringdata.cpp:59
stringdata.h
Utf32StringData::charType
virtual QString charType() const
Definition: utf32stringdata.cpp:44
Utf32StringData::completeString
virtual QString completeString(bool skipInvalid=false) const
Definition: utf32stringdata.cpp:80
Utf32StringData::count
virtual uint count() const
Definition: utf32stringdata.cpp:54
Utf32StringData::Utf32StringData
Utf32StringData(StringDataInformation *parent)
Definition: utf32stringdata.cpp:35
StringDataInformation
Definition: stringdatainformation.h:39
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:09 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