okteta
abstractbytearraymodel.cpp
Go to the documentation of this file.
73 Address AbstractByteArrayModel::indexOf( const Byte* pattern, int patternLength, Address fromOffset, Address toOffset ) const
104 Address AbstractByteArrayModel::lastIndexOf( const Byte* pattern, int patternLength, Address fromOffset, Address toOffset ) const
162 Address AbstractByteArrayModel::indexOfCaseInsensitive( const CharCodec* charCodec, const QByteArray& _pattern, Address fromOffset, Address toOffset ) const
207 Address AbstractByteArrayModel::lastIndexOfCaseInsensitive( const CharCodec* charCodec, const QByteArray& _pattern, Address fromOffset, Address toOffset ) const
virtual Size replace(const AddressRange &removeRange, const Byte *insertData, int insertLength)=0
replaces as much as possible
virtual Size insert(Address offset, const Byte *insertData, int insertLength)
inserts bytes copied from the given source at Position.
Definition: abstractbytearraymodel.cpp:47
static QByteArray toLower(const QByteArray &_pattern, const CharCodec *charCodec)
Definition: abstractbytearraymodel.cpp:143
virtual Character decode(Byte byte) const =0
virtual Size copyTo(Byte *dest, const AddressRange ©Range) const
copies the data of the section into a given array Dest.
Definition: abstractbytearraymodel.cpp:60
Address lastIndexOfCaseInsensitive(const CharCodec *charCodec, const QByteArray &pattern, Address fromOffset=-1, Address toOffset=0) const
Definition: abstractbytearraymodel.cpp:207
virtual Size size() const =0
virtual Address lastIndexOf(const Byte *pattern, int patternLength, Address fromOffset=-1, Address toOffset=0) const
searches for a given data string The section limits the data within which the key has to be found If ...
Definition: abstractbytearraymodel.cpp:104
Definition: charcodec.h:42
AbstractByteArrayModel(QObject *parent=0)
Definition: abstractbytearraymodel.cpp:36
virtual void setReadOnly(bool isReadOnly)
sets the readonly flag for the byte array if this is possible.
Definition: abstractbytearraymodel.cpp:42
Address indexOfCaseInsensitive(const CharCodec *charCodec, const QByteArray &pattern, Address fromOffset=0, Address toOffset=-1) const
Definition: abstractbytearraymodel.cpp:162
virtual Byte byte(Address offset) const =0
locates working range The idea behind is to tell buffer which range will be requested in the followin...
void searchedBytes(Okteta::Size bytes) const
virtual ~AbstractByteArrayModel()
Definition: abstractbytearraymodel.cpp:260
virtual bool encode(Byte *byte, const QChar &_char) const =0
static const int SearchedByteCountSignalLimit
Definition: abstractbytearraymodel.cpp:33
virtual Address indexOf(const Byte *pattern, int patternLength, Address fromOffset=0, Address toOffset=-1) const
searches beginning with byte at Pos.
Definition: abstractbytearraymodel.cpp:73
Definition: character.h:35
virtual Size remove(const AddressRange &removeRange)
removes beginning with position as much as possible
Definition: abstractbytearraymodel.cpp:53
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:06 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:06 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.