okteta
structuredatainformation.cpp
Go to the documentation of this file.
49 mWasAbleToRead = readChildren(mChildren, input, address, bitsRemaining, bitOffset, &bitsRead, topLevelDataInformation());
53 BitCount64 StructureDataInformation::childPosition(const DataInformation* child, Okteta::Address start) const
80 Q_ASSERT(sizeof(qint64) == sizeof(Okteta::Address) || readBits < (qint64(std::numeric_limits<qint32>::max()) * 8));
Interface that must be implemented by all datatypes.
Definition: datainformation.h:67
could it be useful to hide the data access behind an iterator? * class KDataBufferIterator { public: ...
Definition: abstractbytearraymodel.h:79
TopLevelDataInformation * topLevelDataInformation() const
Definition: datainformation.cpp:240
QVector< DataInformation * > mChildren
Definition: datainformationwithchildren.h:32
virtual qint64 readData(Okteta::AbstractByteArrayModel *input, Okteta::Address address, BitCount64 bitsRemaining, quint8 *bitOffset)
Reads the necessary data from input and returns the number of bytes read.
Definition: structuredatainformation.cpp:44
virtual BitCount64 childPosition(const DataInformation *child, Okteta::Address start) const
Definition: structuredatainformation.cpp:53
void updateDataInformation(DataInformation *data)
The pointer may be changed while updating, CHECK AS SOON AS FUNCTION RETURNS!
Definition: scripthandler.cpp:101
virtual qint64 readData(Okteta::AbstractByteArrayModel *input, Okteta::Address address, BitCount64 bitsRemaining, quint8 *bitOffset)=0
Reads the necessary data from input and returns the number of bytes read.
virtual bool isTopLevel() const =0
static bool readChildren(const QVector< DataInformation * > children, Okteta::AbstractByteArrayModel *input, Okteta::Address address, BitCount64 bitsRemaining, quint8 *bitOffset, qint64 *readBitsPtr, TopLevelDataInformation *top)
Definition: structuredatainformation.cpp:71
DataInformation * asDataInformation()
Definition: datainformationbase.h:107
StructureDataInformation(const QString &name, const QVector< DataInformation * > &children=QVector< DataInformation * >(), DataInformation *parent=0)
Definition: structuredatainformation.cpp:38
ScriptHandler * scriptHandler() const
Definition: topleveldatainformation.h:179
void setChildDataChanged()
Definition: topleveldatainformation.h:164
virtual BitCount64 childPosition(const DataInformation *child, Okteta::Address start) const =0
virtual ~StructureDataInformation()
Definition: structuredatainformation.cpp:34
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
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.