okteta
#include <bytearraymodel_p.h>
|
| ByteArrayModelPrivate (ByteArrayModel *parent, Byte *data, int size, int rawSize, bool keepsMemory) |
|
| ByteArrayModelPrivate (ByteArrayModel *parent, const Byte *data, int size) |
|
| ByteArrayModelPrivate (ByteArrayModel *parent, int size, int maxSize) |
|
| ~ByteArrayModelPrivate () |
|
void | addBookmarks (const QList< Bookmark > &bookmarks) |
|
bool | autoDelete () const |
|
const Bookmark & | bookmarkAt (unsigned int index) const |
|
const Bookmark & | bookmarkFor (int offset) const |
|
unsigned int | bookmarksCount () const |
|
Byte | byte (Address offset) const |
|
bool | containsBookmarkFor (int offset) const |
|
BookmarksConstIterator | createBookmarksConstIterator () const |
|
Byte * | data () const |
|
Size | fill (Byte fillByte, Address offset=0, Size fillLength=-1) |
|
Size | insert (Address offset, const Byte *insertData, int insertLength) |
|
bool | isModified () const |
|
bool | isReadOnly () const |
|
bool | keepsMemory () const |
|
int | maxSize () const |
|
Size | remove (const AddressRange &removeRange) |
|
void | removeAllBookmarks () |
|
void | removeBookmarks (const QList< Bookmark > &bookmarks) |
|
Size | replace (const AddressRange &removeRange, const Byte *insertData, int insertLength) |
|
void | setAutoDelete (bool autoDelete=true) |
|
void | setBookmark (unsigned int index, const Bookmark &bookmark) |
|
void | setByte (Address offset, Byte byte) |
|
void | setData (Byte *data, int size, int rawSize=-1, bool keepsMemory=true) |
|
void | setKeepsMemory (bool keepsMemory=true) |
|
void | setMaxSize (int maxSize) |
|
void | setModified (bool modified=true) |
|
void | setReadOnly (bool readOnly=true) |
|
Size | size () const |
|
bool | swap (Address firstStart, const AddressRange &secondRange) |
|
|
int | addSize (int AddSize, int splitOffset=-1, bool saveUpperPart=true) |
|
Definition at line 39 of file bytearraymodel_p.h.
Okteta::ByteArrayModelPrivate::ByteArrayModelPrivate |
( |
ByteArrayModel * |
parent, |
|
|
Byte * |
data, |
|
|
int |
size, |
|
|
int |
rawSize, |
|
|
bool |
keepsMemory |
|
) |
| |
Okteta::ByteArrayModelPrivate::ByteArrayModelPrivate |
( |
ByteArrayModel * |
parent, |
|
|
const Byte * |
data, |
|
|
int |
size |
|
) |
| |
Okteta::ByteArrayModelPrivate::ByteArrayModelPrivate |
( |
ByteArrayModel * |
parent, |
|
|
int |
size, |
|
|
int |
maxSize |
|
) |
| |
Okteta::ByteArrayModelPrivate::~ByteArrayModelPrivate |
( |
| ) |
|
|
inline |
void Okteta::ByteArrayModelPrivate::addBookmarks |
( |
const QList< Bookmark > & |
bookmarks | ) |
|
|
inline |
int Okteta::ByteArrayModelPrivate::addSize |
( |
int |
AddSize, |
|
|
int |
splitOffset = -1 , |
|
|
bool |
saveUpperPart = true |
|
) |
| |
|
protected |
resizes the buffer, if possible, saving the data and splitting the data, if demanded
- Parameters
-
AddSize | additional size the buffer should grow |
splitOffset | if -1 does not split |
saveUpperPart | true if upper part should be copied into new buffer |
- Returns
- additional size the buffer has grown
bool Okteta::ByteArrayModelPrivate::autoDelete |
( |
| ) |
const |
|
inline |
const Bookmark & Okteta::ByteArrayModelPrivate::bookmarkAt |
( |
unsigned int |
index | ) |
const |
|
inline |
const Bookmark & Okteta::ByteArrayModelPrivate::bookmarkFor |
( |
int |
offset | ) |
const |
|
inline |
unsigned int Okteta::ByteArrayModelPrivate::bookmarksCount |
( |
| ) |
const |
|
inline |
Byte Okteta::ByteArrayModelPrivate::byte |
( |
Address |
offset | ) |
const |
|
inline |
bool Okteta::ByteArrayModelPrivate::containsBookmarkFor |
( |
int |
offset | ) |
const |
|
inline |
Byte * Okteta::ByteArrayModelPrivate::data |
( |
| ) |
const |
|
inline |
Size Okteta::ByteArrayModelPrivate::fill |
( |
Byte |
fillByte, |
|
|
Address |
offset = 0 , |
|
|
Size |
fillLength = -1 |
|
) |
| |
Size Okteta::ByteArrayModelPrivate::insert |
( |
Address |
offset, |
|
|
const Byte * |
insertData, |
|
|
int |
insertLength |
|
) |
| |
bool Okteta::ByteArrayModelPrivate::isModified |
( |
| ) |
const |
|
inline |
bool Okteta::ByteArrayModelPrivate::isReadOnly |
( |
| ) |
const |
|
inline |
bool Okteta::ByteArrayModelPrivate::keepsMemory |
( |
| ) |
const |
|
inline |
returns whether the memory of the byte array is kept on resize
Definition at line 163 of file bytearraymodel_p.h.
int Okteta::ByteArrayModelPrivate::maxSize |
( |
| ) |
const |
|
inline |
void Okteta::ByteArrayModelPrivate::removeAllBookmarks |
( |
| ) |
|
|
inline |
void Okteta::ByteArrayModelPrivate::removeBookmarks |
( |
const QList< Bookmark > & |
bookmarks | ) |
|
|
inline |
Size Okteta::ByteArrayModelPrivate::replace |
( |
const AddressRange & |
removeRange, |
|
|
const Byte * |
insertData, |
|
|
int |
insertLength |
|
) |
| |
void Okteta::ByteArrayModelPrivate::setAutoDelete |
( |
bool |
autoDelete = true | ) |
|
|
inline |
void Okteta::ByteArrayModelPrivate::setBookmark |
( |
unsigned int |
index, |
|
|
const Bookmark & |
bookmark |
|
) |
| |
|
inline |
void Okteta::ByteArrayModelPrivate::setByte |
( |
Address |
offset, |
|
|
Byte |
byte |
|
) |
| |
|
inline |
void Okteta::ByteArrayModelPrivate::setData |
( |
Byte * |
data, |
|
|
int |
size, |
|
|
int |
rawSize = -1 , |
|
|
bool |
keepsMemory = true |
|
) |
| |
void Okteta::ByteArrayModelPrivate::setKeepsMemory |
( |
bool |
keepsMemory = true | ) |
|
|
inline |
sets whether the memory given by setData or in the constructor should be kept on resize
Definition at line 142 of file bytearraymodel_p.h.
void Okteta::ByteArrayModelPrivate::setMaxSize |
( |
int |
maxSize | ) |
|
|
inline |
void Okteta::ByteArrayModelPrivate::setModified |
( |
bool |
modified = true | ) |
|
|
inline |
void Okteta::ByteArrayModelPrivate::setReadOnly |
( |
bool |
readOnly = true | ) |
|
|
inline |
Size Okteta::ByteArrayModelPrivate::size |
( |
| ) |
const |
|
inline |
bool Okteta::ByteArrayModelPrivate::swap |
( |
Address |
firstStart, |
|
|
const AddressRange & |
secondRange |
|
) |
| |
bool Okteta::ByteArrayModelPrivate::mAutoDelete |
|
protected |
Byte* Okteta::ByteArrayModelPrivate::mData |
|
protected |
bool Okteta::ByteArrayModelPrivate::mKeepsMemory |
|
protected |
flag whether the initially given memory should be kept
Definition at line 113 of file bytearraymodel_p.h.
int Okteta::ByteArrayModelPrivate::mMaxSize |
|
protected |
bool Okteta::ByteArrayModelPrivate::mModified |
|
protected |
int Okteta::ByteArrayModelPrivate::mRawSize |
|
protected |
bool Okteta::ByteArrayModelPrivate::mReadOnly |
|
protected |
int Okteta::ByteArrayModelPrivate::mSize |
|
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.