okteta
stringdatainformation.h
Go to the documentation of this file.
35 QLatin1String("ascii"), QLatin1String("latin1"), QLatin1String("utf-8"), QLatin1String("utf-16le"),
47 StringDataInformation(const QString& name, StringType encoding, DataInformationBase* parent = 0);
76 virtual QScriptValue childToScriptValue(uint index, QScriptEngine* engine, ScriptHandlerInfo* handlerInfo) const;
Interface that must be implemented by all datatypes.
Definition: datainformation.h:67
virtual BitCount32 size() const
the size in bits of this element
Definition: stringdatainformation.cpp:105
This class declares all methods that are needed if there can be dummy children.
Definition: dummydatainformation.h:73
virtual QVariant childData(int row, int column, int role) const
the data of child at index row.
Definition: stringdatainformation.cpp:144
could it be useful to hide the data access behind an iterator? * class KDataBufferIterator { public: ...
Definition: abstractbytearraymodel.h:79
virtual ~StringDataInformation()
Definition: stringdatainformation.cpp:56
virtual BitCount64 childPosition(const DataInformation *child, Okteta::Address start) const
Definition: stringdatainformation.cpp:280
virtual bool isString() const
Definition: stringdatainformation.cpp:309
uint terminationCodePoint() const
Definition: stringdatainformation.h:135
Definition: dummydatainformation.h:30
void setTerminationCodePoint(uint term)
Definition: stringdatainformation.h:140
virtual void setWidgetData(QWidget *w) const
initialize the delegate widget with the correct data
Definition: stringdatainformation.cpp:110
virtual QScriptValue childToScriptValue(uint index, QScriptEngine *engine, ScriptHandlerInfo *handlerInfo) const
Definition: stringdatainformation.cpp:274
virtual Qt::ItemFlags flags(int column, bool fileLoaded=true) const
Definition: stringdatainformation.cpp:139
virtual bool canHaveChildren() const
true for unions and structs and arrays
Definition: stringdatainformation.h:105
virtual void setChildWidgetData(uint index, QWidget *w) const
initialize the delegate widget with the correct data
Definition: stringdatainformation.cpp:249
virtual QWidget * createChildEditWidget(uint index, QWidget *parent) const
create a QWidget for the QItemDelegate
Definition: stringdatainformation.cpp:266
virtual QVariant data(int column, int role) const
get the necessary data (for the model)
Definition: stringdatainformation.cpp:297
void setMaxCharCount(uint count)
Definition: stringdatainformation.h:130
void unsetTerminationMode(StringData::TerminationMode mode)
Removes this mode from the termination modes.
Definition: stringdatainformation.cpp:314
StringDataInformation(const QString &name, StringType encoding, DataInformationBase *parent=0)
Definition: stringdatainformation.cpp:43
virtual QString childTypeName(uint index) const
Definition: stringdatainformation.cpp:243
virtual unsigned int childCount() const
Definition: stringdatainformation.cpp:134
virtual QVariant dataFromWidget(const QWidget *w) const
get the needed data from the widget
Definition: stringdatainformation.cpp:115
virtual bool setData(const QVariant &value, Okteta::AbstractByteArrayModel *input, Okteta::Address address, BitCount64 bitsRemaining, quint8 bitOffset)
Writes the current data contained in this object to out.
Definition: stringdatainformation.cpp:67
void setEncoding(StringType encoding)
Definition: stringdatainformation.cpp:183
virtual DataInformation * child(const QString &name) const
Looks for a child of this object with given name.
Definition: datainformation.cpp:228
virtual BitCount32 childSize(uint index) const
Definition: stringdatainformation.cpp:238
virtual QVariant dataFromChildWidget(uint index, const QWidget *w) const
get the needed data from the widget
Definition: stringdatainformation.cpp:257
virtual bool setChildData(uint row, const QVariant &value, Okteta::AbstractByteArrayModel *out, Okteta::Address address, BitCount64 bitsRemaining, quint8 bitOffset)
Definition: stringdatainformation.cpp:74
virtual DataInformation * childAt(unsigned int) const
Definition: stringdatainformation.cpp:60
uint maxByteCount() const
Definition: stringdatainformation.h:115
Definition: scripthandlerinfo.h:39
virtual Qt::ItemFlags childFlags(int row, int column, bool fileLoaded=true) const
Definition: stringdatainformation.cpp:174
Definition: datainformationbase.h:44
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: stringdatainformation.cpp:87
virtual QWidget * createEditWidget(QWidget *parent) const
create a QWidget for the QItemDelegate
Definition: stringdatainformation.cpp:122
QString valueAt(int index) const
Definition: stringdatainformation.h:160
uint maxCharCount() const
Definition: stringdatainformation.h:125
void setMaxByteCount(uint count)
Definition: stringdatainformation.h:120
Definition: stringdatainformation.h:39
uint terminationMode() const
Definition: stringdatainformation.h:155
int stringByteLength() const
Definition: stringdatainformation.h:150
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.