okteta
bytearrayrowscolumntextrenderer.cpp
Go to the documentation of this file.
37 ByteArrayRowsColumnTextRenderer::ByteArrayRowsColumnTextRenderer( const Okteta::AbstractByteArrayModel* byteArrayModel,
66 void ByteArrayRowsColumnTextRenderer::setWidths( int byteWidth, int byteSpacingWidth, int noOfGroupedBytes )
100 void ByteArrayRowsColumnTextRenderer::renderFirstLine( QTextStream *stream, int lineIndex ) const
107 void ByteArrayRowsColumnTextRenderer::renderNextLine( QTextStream* stream, bool isSubline ) const
virtual ~ByteArrayRowsColumnTextRenderer()
Definition: bytearrayrowscolumntextrenderer.cpp:177
could it be useful to hide the data access behind an iterator? * class KDataBufferIterator { public: ...
Definition: abstractbytearraymodel.h:79
static QString whiteSpace(unsigned int length)
Definition: abstractcolumntextrenderer.cpp:35
const int mNoOfBytesPerLine
Definition: bytearrayrowscolumntextrenderer.h:77
virtual Character decode(Byte byte) const =0
const int mVisibleCodings
Definition: bytearrayrowscolumntextrenderer.h:79
ByteArrayRowsColumnTextRenderer(const Okteta::AbstractByteArrayModel *byteArrayModel, Okteta::Address offset, const Okteta::CoordRange &coordRange, int noOfBytesPerLine, int byteSpacingWidth, int noOfGroupedBytes, int visibleCodings, Okteta::ValueCoding valueCoding, const QString &charCodecName, QChar substituteChar, QChar undefinedChar)
Definition: bytearrayrowscolumntextrenderer.cpp:37
const Okteta::AbstractByteArrayModel * mByteArrayModel
Definition: bytearrayrowscolumntextrenderer.h:73
void renderLine(QTextStream *stream, bool isSubline) const
Definition: bytearrayrowscolumntextrenderer.cpp:112
int *const mLinePositions
Definition: bytearrayrowscolumntextrenderer.h:93
int mNoOfCharsPerLine
buffered value of how many chars a line needs
Definition: bytearrayrowscolumntextrenderer.h:91
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...
virtual void renderFirstLine(QTextStream *stream, int lineIndex) const
Definition: bytearrayrowscolumntextrenderer.cpp:100
const Okteta::ValueCodec * mValueCodec
Definition: bytearrayrowscolumntextrenderer.h:80
const QChar mSubstituteChar
Definition: bytearrayrowscolumntextrenderer.h:82
virtual void renderNextLine(QTextStream *stream, bool isSubline) const
Definition: bytearrayrowscolumntextrenderer.cpp:107
void setWidths(int byteWidth, int byteSpacingWidth, int noOfGroupedBytes)
Definition: bytearrayrowscolumntextrenderer.cpp:66
const Okteta::CharCodec * mCharCodec
Definition: bytearrayrowscolumntextrenderer.h:81
const Okteta::CoordRange mCoordRange
Definition: bytearrayrowscolumntextrenderer.h:75
const QChar mUndefinedChar
Definition: bytearrayrowscolumntextrenderer.h:83
virtual unsigned int encodingWidth() const =0
Definition: character.h:35
virtual int noOfSublinesNeeded() const
default returns 1
Definition: bytearrayrowscolumntextrenderer.cpp:61
virtual void encode(QString &digits, unsigned int pos, Byte byte) const =0
Encodes the byte using full coding width, prefixing with 0s if needed, and writes the result to digit...
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:07 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:07 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.