okteta
abstractbitfielddatainformation.h
Go to the documentation of this file.
31 AbstractBitfieldDataInformation(const QString& name, BitCount32 width, DataInformation* parent = 0);
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
virtual QString sizeString() const
needs to be virtual for bitfields
Definition: abstractbitfielddatainformation.cpp:31
BitCount32 width() const
Definition: abstractbitfielddatainformation.h:86
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: abstractbitfielddatainformation.cpp:68
quint8 mWidth
Definition: abstractbitfielddatainformation.h:56
virtual AllPrimitiveTypes fromVariant(const QVariant &variant, bool *ok) const
Definition: abstractbitfielddatainformation.cpp:110
Definition: datainformation.h:84
virtual AllPrimitiveTypes value() const
Definition: abstractbitfielddatainformation.cpp:36
virtual ~AbstractBitfieldDataInformation()
Definition: abstractbitfielddatainformation.cpp:59
Definition: primitivedatatype.h:54
virtual BitCount32 size() const
the size in bits of this element
Definition: abstractbitfielddatainformation.h:81
virtual Qt::ItemFlags flags(int column, bool fileLoaded) const
Definition: abstractbitfielddatainformation.h:59
AbstractBitfieldDataInformation(const QString &name, BitCount32 width, DataInformation *parent=0)
Definition: abstractbitfielddatainformation.cpp:52
Definition: scripthandlerinfo.h:39
virtual PrimitiveDataType type() const
Definition: abstractbitfielddatainformation.cpp:47
quint64 mask() const
Definition: abstractbitfielddatainformation.h:67
virtual bool isBitfield() const
Definition: abstractbitfielddatainformation.h:97
This union holds the value of one primitive datatype.
Definition: allprimitivetypes.h:70
AllPrimitiveTypes mValue
Definition: abstractbitfielddatainformation.h:55
bool setData(const QVariant &valueVariant, Okteta::AbstractByteArrayModel *out, Okteta::Address address, BitCount64 bitsRemaining, quint8 bitOffset)
Writes the current data contained in this object to out.
Definition: abstractbitfielddatainformation.cpp:93
void setWidth(BitCount32 newWidth)
Definition: abstractbitfielddatainformation.h:91
A base class for all primitive data elements (e.g.
Definition: primitivedatainformation.h:34
virtual void setValue(AllPrimitiveTypes newVal)
Definition: abstractbitfielddatainformation.cpp:41
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.