okteta
#include <piecetablebytearraymodel_p.h>
|
| PieceTableByteArrayModelPrivate (PieceTableByteArrayModel *parent, const QByteArray &data) |
|
| PieceTableByteArrayModelPrivate (PieceTableByteArrayModel *parent, int size, Byte fillByte= '\0') |
|
| ~PieceTableByteArrayModelPrivate () |
|
void | addBookmarks (const QList< Bookmark > &bookmarks) |
|
const Bookmark & | bookmarkAt (unsigned int index) const |
|
const Bookmark & | bookmarkFor (int offset) const |
|
unsigned int | bookmarksCount () const |
|
Byte | byte (Address offset) const |
|
void | cancelGroupedChange () |
|
QList< ByteArrayChange > | changes (int firstVersionIndex, int lastVersionIndex) const |
|
void | closeGroupedChange (const QString &description) |
|
bool | containsBookmarkFor (int offset) const |
|
BookmarksConstIterator | createBookmarksConstIterator () const |
|
void | doChanges (const QList< Okteta::ByteArrayChange > &changes, int oldVersionIndex, int newVersionIndex) |
|
Size | fill (Byte fillByte, Address offset=0, Size fillLength=-1) |
|
const QByteArray & | initialData () const |
|
Size | insert (Address offset, const Byte *insertData, int insertLength) |
|
bool | isModified () const |
|
bool | isReadOnly () const |
|
void | openGroupedChange (const QString &description) |
|
Size | remove (const AddressRange &removeRange) |
|
void | removeAllBookmarks () |
|
void | removeBookmarks (const QList< Bookmark > &bookmarks) |
|
Size | replace (const AddressRange &removeRange, const Byte *insertData, int insertLength) |
|
void | revertToVersionByIndex (int versionIndex) |
|
void | setBookmark (unsigned int index, const Bookmark &bookmark) |
|
void | setByte (Address offset, Byte byte) |
|
void | setData (const QByteArray &data) |
|
void | setModified (bool modified=true) |
|
void | setReadOnly (bool isReadOnly=true) |
|
Size | size () const |
|
bool | swap (Address firstStart, const AddressRange &secondRange) |
|
int | versionCount () const |
|
QString | versionDescription (int versionIndex) const |
|
int | versionIndex () const |
|
Okteta::PieceTableByteArrayModelPrivate::PieceTableByteArrayModelPrivate |
( |
PieceTableByteArrayModel * |
parent, |
|
|
const QByteArray & |
data |
|
) |
| |
|
explicit |
Okteta::PieceTableByteArrayModelPrivate::PieceTableByteArrayModelPrivate |
( |
PieceTableByteArrayModel * |
parent, |
|
|
int |
size, |
|
|
Byte |
fillByte = '\0' |
|
) |
| |
|
explicit |
creates a writeable buffer which is deleted at the end
Okteta::PieceTableByteArrayModelPrivate::~PieceTableByteArrayModelPrivate |
( |
| ) |
|
void Okteta::PieceTableByteArrayModelPrivate::addBookmarks |
( |
const QList< Bookmark > & |
bookmarks | ) |
|
|
inline |
void Okteta::PieceTableByteArrayModelPrivate::beginChanges |
( |
| ) |
|
|
protected |
const Bookmark & Okteta::PieceTableByteArrayModelPrivate::bookmarkAt |
( |
unsigned int |
index | ) |
const |
|
inline |
const Bookmark & Okteta::PieceTableByteArrayModelPrivate::bookmarkFor |
( |
int |
offset | ) |
const |
|
inline |
unsigned int Okteta::PieceTableByteArrayModelPrivate::bookmarksCount |
( |
| ) |
const |
|
inline |
Byte Okteta::PieceTableByteArrayModelPrivate::byte |
( |
Address |
offset | ) |
const |
void Okteta::PieceTableByteArrayModelPrivate::cancelGroupedChange |
( |
| ) |
|
QList<ByteArrayChange> Okteta::PieceTableByteArrayModelPrivate::changes |
( |
int |
firstVersionIndex, |
|
|
int |
lastVersionIndex |
|
) |
| const |
void Okteta::PieceTableByteArrayModelPrivate::closeGroupedChange |
( |
const QString & |
description | ) |
|
bool Okteta::PieceTableByteArrayModelPrivate::containsBookmarkFor |
( |
int |
offset | ) |
const |
|
inline |
void Okteta::PieceTableByteArrayModelPrivate::doChanges |
( |
const QList< Okteta::ByteArrayChange > & |
changes, |
|
|
int |
oldVersionIndex, |
|
|
int |
newVersionIndex |
|
) |
| |
void Okteta::PieceTableByteArrayModelPrivate::doFillChange |
( |
Address |
offset, |
|
|
Size |
filledLength, |
|
|
Byte |
fillByte, |
|
|
int |
fillLength |
|
) |
| |
|
protected |
void Okteta::PieceTableByteArrayModelPrivate::doInsertChange |
( |
Address |
offset, |
|
|
const Byte * |
insertData, |
|
|
int |
insertLength |
|
) |
| |
|
protected |
void Okteta::PieceTableByteArrayModelPrivate::doRemoveChange |
( |
const AddressRange & |
removeRange | ) |
|
|
protected |
void Okteta::PieceTableByteArrayModelPrivate::doReplaceChange |
( |
const AddressRange & |
removeRange, |
|
|
const Byte * |
insertData, |
|
|
int |
insertLength |
|
) |
| |
|
protected |
void Okteta::PieceTableByteArrayModelPrivate::doSwapChange |
( |
Address |
firstStart, |
|
|
const AddressRange & |
secondRange |
|
) |
| |
|
protected |
void Okteta::PieceTableByteArrayModelPrivate::endChanges |
( |
| ) |
|
|
protected |
Size Okteta::PieceTableByteArrayModelPrivate::fill |
( |
Byte |
fillByte, |
|
|
Address |
offset = 0 , |
|
|
Size |
fillLength = -1 |
|
) |
| |
const QByteArray & Okteta::PieceTableByteArrayModelPrivate::initialData |
( |
| ) |
const |
|
inline |
Size Okteta::PieceTableByteArrayModelPrivate::insert |
( |
Address |
offset, |
|
|
const Byte * |
insertData, |
|
|
int |
insertLength |
|
) |
| |
bool Okteta::PieceTableByteArrayModelPrivate::isModified |
( |
| ) |
const |
|
inline |
bool Okteta::PieceTableByteArrayModelPrivate::isReadOnly |
( |
| ) |
const |
|
inline |
void Okteta::PieceTableByteArrayModelPrivate::openGroupedChange |
( |
const QString & |
description | ) |
|
Size Okteta::PieceTableByteArrayModelPrivate::remove |
( |
const AddressRange & |
removeRange | ) |
|
void Okteta::PieceTableByteArrayModelPrivate::removeAllBookmarks |
( |
| ) |
|
|
inline |
void Okteta::PieceTableByteArrayModelPrivate::removeBookmarks |
( |
const QList< Bookmark > & |
bookmarks | ) |
|
|
inline |
Size Okteta::PieceTableByteArrayModelPrivate::replace |
( |
const AddressRange & |
removeRange, |
|
|
const Byte * |
insertData, |
|
|
int |
insertLength |
|
) |
| |
void Okteta::PieceTableByteArrayModelPrivate::revertToVersionByIndex |
( |
int |
versionIndex | ) |
|
void Okteta::PieceTableByteArrayModelPrivate::setBookmark |
( |
unsigned int |
index, |
|
|
const Bookmark & |
bookmark |
|
) |
| |
|
inline |
void Okteta::PieceTableByteArrayModelPrivate::setByte |
( |
Address |
offset, |
|
|
Byte |
byte |
|
) |
| |
void Okteta::PieceTableByteArrayModelPrivate::setData |
( |
const QByteArray & |
data | ) |
|
void Okteta::PieceTableByteArrayModelPrivate::setModified |
( |
bool |
modified = true | ) |
|
|
inline |
void Okteta::PieceTableByteArrayModelPrivate::setReadOnly |
( |
bool |
isReadOnly = true | ) |
|
|
inline |
Size Okteta::PieceTableByteArrayModelPrivate::size |
( |
| ) |
const |
|
inline |
bool Okteta::PieceTableByteArrayModelPrivate::swap |
( |
Address |
firstStart, |
|
|
const AddressRange & |
secondRange |
|
) |
| |
int Okteta::PieceTableByteArrayModelPrivate::versionCount |
( |
| ) |
const |
|
inline |
QString Okteta::PieceTableByteArrayModelPrivate::versionDescription |
( |
int |
versionIndex | ) |
const |
|
inline |
int Okteta::PieceTableByteArrayModelPrivate::versionIndex |
( |
| ) |
const |
|
inline |
bool Okteta::PieceTableByteArrayModelPrivate::mBeforeChangesModified |
|
protected |
int Okteta::PieceTableByteArrayModelPrivate::mBeforeChangesVersionIndex |
|
protected |
int Okteta::PieceTableByteArrayModelPrivate::mBeforeGroupedChangeVersionIndex |
|
protected |
BookmarkList Okteta::PieceTableByteArrayModelPrivate::mBookmarks |
|
protected |
bool Okteta::PieceTableByteArrayModelPrivate::mBookmarksModified |
|
protected |
QByteArray Okteta::PieceTableByteArrayModelPrivate::mInitialData |
|
protected |
bool Okteta::PieceTableByteArrayModelPrivate::mReadOnly |
|
protected |
The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:13 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.