#include "ZTextStream.h"
#include "ZByteArray.h"
#include <QtQml>
#include <cstdio>
#include "zglobal.h"
Go to the source code of this file.
|
| | Zbl::readNumericDataType (signed short, ZTextStream, readShort) readNumericDataType(unsigned short |
| |
| readUShort | Zbl::readNumericDataType (signed int, ZTextStream, readInt) readNumericDataType(unsigned int |
| |
| readUShort readUInt | Zbl::readNumericDataType (signed long, ZTextStream, readLong) readNumericDataType(unsigned long |
| |
| readUShort readUInt readULong | Zbl::readNumericDataType (qlonglong, ZTextStream, readLongLong) readNumericDataType(qulonglong |
| |
| readUShort readUInt readULong readULongLong | Zbl::readNumericDataType (float, ZTextStream, readFloat) readNumericDataType(double |
| |
| | Zbl::writeNumericDataType (signed short, ZTextStream, writeShort) writeNumericDataType(unsigned short |
| |
| writeUShort | Zbl::writeNumericDataType (signed int, ZTextStream, writeInt) writeNumericDataType(unsigned int |
| |
| writeUShort writeUInt | Zbl::writeNumericDataType (signed long, ZTextStream, writeLong) writeNumericDataType(unsigned long |
| |
| writeUShort writeUInt writeULong | Zbl::writeNumericDataType (qlonglong, ZTextStream, writeLongLong) writeNumericDataType(qulonglong |
| |
| writeUShort writeUInt writeULong writeULongLong | Zbl::writeNumericDataType (float, ZTextStream, 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_t >> data; \
ZBL_SLOT_END_RETURN(data, 0, \
Z_FAC_JS, className::methodName, methodName failed) \
}
Definition at line 440 of file ZTextStream.cpp.
◆ writeNumericDataType
| #define writeNumericDataType |
( |
|
dataType, |
|
|
|
className, |
|
|
|
methodName |
|
) |
| |
Value:bool className::methodName(dataType data) \
{ \
qDebug("%s::%s", #className, #methodName); \
ZBL_SLOT_BEGIN_TRY \
validateWritable(); \
*m_t << data; \
ZBL_SLOT_END_RETURN(true, false, \
Z_FAC_JS, className::methodName, methodName failed) \
}
Definition at line 498 of file ZTextStream.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.