#include "ZDataStream.h"
#include "ZByteArray.h"
#include <QtQml>
#include "zglobal.h"
Go to the source code of this file.
|
| | Zbl::readNumericDataType (qint16, ZDataStream, readInt16) readNumericDataType(quint16 |
| |
| readUInt16 | Zbl::readNumericDataType (qint32, ZDataStream, readInt32) readNumericDataType(quint32 |
| |
| readUInt16 readUInt32 | Zbl::readNumericDataType (qint64, ZDataStream, readInt64) readNumericDataType(quint64 |
| |
| readUInt16 readUInt32 readUInt64 | Zbl::readNumericDataType (float, ZDataStream, readFloat) readNumericDataType(double |
| |
| | Zbl::writeNumericDataType (qint16, ZDataStream, writeInt16) writeNumericDataType(quint16 |
| |
| writeUInt16 | Zbl::writeNumericDataType (qint32, ZDataStream, writeInt32) writeNumericDataType(quint32 |
| |
| writeUInt16 writeUInt32 | Zbl::writeNumericDataType (qint64, ZDataStream, writeInt64) writeNumericDataType(quint64 |
| |
| writeUInt16 writeUInt32 writeUInt64 | Zbl::writeNumericDataType (float, ZDataStream, writeFloat) writeNumericDataType(double |
| |
◆ readNumericDataType
| #define readNumericDataType |
( |
|
dataType, |
|
|
|
className, |
|
|
|
methodName |
|
) |
| |
Value:dataType className::methodName() \
{ \
qDebug("%s::%s", #className, #methodName); \
dataType data = 0; \
ZBL_SLOT_BEGIN_TRY \
validateReadable(); \
*m_ds >> data; \
ZBL_SLOT_END_RETURN(data, 0, \
Z_FAC_JS, className::methodName, methodName failed) \
}
Definition at line 484 of file ZDataStream.cpp.
◆ writeNumericDataType
| #define writeNumericDataType |
( |
|
dataType, |
|
|
|
className, |
|
|
|
methodName |
|
) |
| |
Value:bool className::methodName(dataType data) \
{ \
qDebug("%s::%s", #className, #methodName); \
ZBL_SLOT_BEGIN_TRY \
validateWritable(); \
*m_ds << data; \
ZBL_SLOT_END_RETURN(true, false, \
Z_FAC_JS, className::methodName, methodName failed) \
}
Definition at line 516 of file ZDataStream.cpp.
Zuble documentation copyright © 2019 Bob Dinitto.
Documentation contributions included
herein are the copyrights of their respective owners. The documentation
provided herein is licensed under the terms of the
GNU Free Documentation License version 1.3
as published by the Free Software Foundation.
Zuble is a derivative work of Qt version 5.
Qt and respective logos are trademarks of The Qt Company Ltd. in Finland
and/or other countries worldwide.
All other trademarks are property of their respective owners.