okteta
#include <abstractbitfielddatainformation.h>
Protected Member Functions | |
AbstractBitfieldDataInformation (const AbstractBitfieldDataInformation &d) | |
virtual AllPrimitiveTypes | fromVariant (const QVariant &variant, bool *ok) const |
Protected Member Functions inherited from PrimitiveDataInformation | |
PrimitiveDataInformation (const PrimitiveDataInformation &d) | |
virtual BitCount32 | offset (unsigned int index) const |
Protected Member Functions inherited from DataInformation | |
DataInformation (const DataInformation &) | |
void | setAdditionalFunction (AdditionalData::AdditionalDataType entry, const QScriptValue &value, const char *name) |
Protected Attributes | |
AllPrimitiveTypes | mValue |
quint8 | mWidth |
Protected Attributes inherited from DataInformation | |
AdditionalData | mAdditionalData |
DataInformationEndianess | mByteOrder:2 |
bool | mHasBeenUpdated:1 |
bool | mHasBeenValidated:1 |
ScriptLogger::LogLevel | mLoggedData:2 |
QString | mName |
DataInformationBase * | mParent |
bool | mValidationSuccessful:1 |
bool | mWasAbleToRead:1 |
Additional Inherited Members | |
Public Types inherited from DataInformation | |
enum | Columns { ColumnName = 0, ColumnType, ColumnValue, COLUMN_COUNT } |
enum | DataInformationEndianess { EndianessFromSettings = 0, EndianessInherit, EndianessLittle, EndianessBig } |
Static Public Member Functions inherited from PrimitiveDataInformation | |
static QString | basePrefix (int base) |
Static Public Attributes inherited from PrimitiveDataInformation | |
static const QString | binaryPrefix = QLatin1String("0b") |
static const QString | hexPrefix = QLatin1String("0x") |
static const QString | octalPrefix = QLatin1String("0o") |
Static Protected Member Functions inherited from DataInformation | |
static QVariant | eofReachedData (int role) |
Detailed Description
Definition at line 28 of file abstractbitfielddatainformation.h.
Constructor & Destructor Documentation
AbstractBitfieldDataInformation::AbstractBitfieldDataInformation | ( | const QString & | name, |
BitCount32 | width, | ||
DataInformation * | parent = 0 |
||
) |
Definition at line 52 of file abstractbitfielddatainformation.cpp.
|
virtual |
Definition at line 59 of file abstractbitfielddatainformation.cpp.
|
protected |
Definition at line 63 of file abstractbitfielddatainformation.cpp.
Member Function Documentation
|
inlinevirtual |
Reimplemented from PrimitiveDataInformation.
Definition at line 59 of file abstractbitfielddatainformation.h.
|
protectedvirtual |
Reimplemented in SignedBitfieldDataInformation.
Definition at line 110 of file abstractbitfielddatainformation.cpp.
|
inlinevirtual |
Reimplemented from DataInformationBase.
Definition at line 97 of file abstractbitfielddatainformation.h.
|
inline |
Definition at line 67 of file abstractbitfielddatainformation.h.
|
virtual |
Reads the necessary data from input
and returns the number of bytes read.
- Parameters
-
input the byte array to read from address the starting offset to read from bitsRemaining the number of bits remaining in out
bitOffset the bits that have already been read from the current byte (should be modified in this method)
- Returns
- the number of bits read or
-1
if none were read
Implements DataInformation.
Definition at line 68 of file abstractbitfielddatainformation.cpp.
|
virtual |
Writes the current data contained in this object to out.
Implements DataInformation.
Definition at line 93 of file abstractbitfielddatainformation.cpp.
|
virtual |
Implements PrimitiveDataInformation.
Reimplemented in SignedBitfieldDataInformation.
Definition at line 41 of file abstractbitfielddatainformation.cpp.
|
inline |
Definition at line 91 of file abstractbitfielddatainformation.h.
|
inlinevirtual |
the size in bits of this element
Implements DataInformation.
Definition at line 81 of file abstractbitfielddatainformation.h.
|
virtual |
needs to be virtual for bitfields
Reimplemented from DataInformation.
Definition at line 31 of file abstractbitfielddatainformation.cpp.
|
virtual |
Implements PrimitiveDataInformation.
Definition at line 47 of file abstractbitfielddatainformation.cpp.
|
virtual |
Implements PrimitiveDataInformation.
Definition at line 36 of file abstractbitfielddatainformation.cpp.
|
inline |
Definition at line 86 of file abstractbitfielddatainformation.h.
Member Data Documentation
|
protected |
Definition at line 55 of file abstractbitfielddatainformation.h.
|
protected |
Definition at line 56 of file abstractbitfielddatainformation.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.