API reference - Class QDataStreamNotation used in Ruby API documentation Description: Binding of QDataStream Class hierarchy: QDataStream Sub-classes: ByteOrder, FloatingPointPrecision, Status
Public constructors
Public methods
Public static methods and constants
Deprecated methods (protected, public, static, non-static and constructors)
Detailed description[static,const] new QDataStream_ByteOrder ptr BigEndianDescription: Enum constant QDataStream::BigEndian [static,const] new QDataStream_FloatingPointPrecision ptr DoublePrecisionDescription: Enum constant QDataStream::DoublePrecision [static,const] new QDataStream_ByteOrder ptr LittleEndianDescription: Enum constant QDataStream::LittleEndian [static,const] new QDataStream_Status ptr OkDescription: Enum constant QDataStream::Ok [static,const] new QDataStream_Status ptr ReadCorruptDataDescription: Enum constant QDataStream::ReadCorruptData [static,const] new QDataStream_Status ptr ReadPastEndDescription: Enum constant QDataStream::ReadPastEnd [static,const] new QDataStream_FloatingPointPrecision ptr SinglePrecisionDescription: Enum constant QDataStream::SinglePrecision void _createDescription: Ensures the C++ object is created Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. void _destroyDescription: Explicitly destroys the object Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing. [const] bool _destroyed?Description: Returns a value indicating whether the object was already destroyed This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself. [const] bool _is_const_object?Description: Returns a value indicating whether the reference is a const reference This method returns true, if self is a const reference. In that case, only const methods may be called on self. void _manageDescription: Marks the object as managed by the script side. After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required. Usually it's not required to call this method. It has been introduced in version 0.24. void _unmanageDescription: Marks the object as no longer owned by the script side. Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur. Usually it's not required to call this method. It has been introduced in version 0.24. [const] bool atEndDescription: Method bool QDataStream::atEnd() [const] QDataStream_ByteOrder byteOrderDescription: Method QDataStream::ByteOrder QDataStream::byteOrder() Python specific notes:The object exposes a readable attribute 'byteOrder'. This is the getter. void byteOrder=(const QDataStream_ByteOrder arg1)Description: Method void QDataStream::setByteOrder(QDataStream::ByteOrder) Python specific notes:The object exposes a writable attribute 'byteOrder'. This is the setter. void createDescription: Ensures the C++ object is created Use of this method is deprecated. Use _create instead void destroyDescription: Explicitly destroys the object Use of this method is deprecated. Use _destroy instead [const] bool destroyed?Description: Returns a value indicating whether the object was already destroyed Use of this method is deprecated. Use _destroyed? instead [const] QIODevice ptr deviceDescription: Method QIODevice *QDataStream::device() Python specific notes:The object exposes a readable attribute 'device'. This is the getter. void device=(QIODevice ptr arg1)Description: Method void QDataStream::setDevice(QIODevice *) Python specific notes:The object exposes a writable attribute 'device'. This is the setter. [const] QDataStream_FloatingPointPrecision floatingPointPrecisionDescription: Method QDataStream::FloatingPointPrecision QDataStream::floatingPointPrecision() Python specific notes:The object exposes a readable attribute 'floatingPointPrecision'. This is the getter. void floatingPointPrecision=(const QDataStream_FloatingPointPrecision precision)Description: Method void QDataStream::setFloatingPointPrecision(QDataStream::FloatingPointPrecision precision) Python specific notes:The object exposes a writable attribute 'floatingPointPrecision'. This is the setter. [const] bool is_const_object?Description: Returns a value indicating whether the reference is a const reference Use of this method is deprecated. Use _is_const_object? instead [static] new QDataStream newDescription: Constructor QDataStream::QDataStream() This method creates an object of class QDataStream. Python specific notes:This method is the default initializer of the object [static] new QDataStream new(QIODevice ptr arg1)Description: Constructor QDataStream::QDataStream(QIODevice *) This method creates an object of class QDataStream. Python specific notes:This method is the default initializer of the object [static] new QDataStream new(string ptr arg1,const QIODevice_QFlags_OpenModeFlag flags)Description: Constructor QDataStream::QDataStream(QByteArray *, QFlags<QIODevice::OpenModeFlag> flags) This method creates an object of class QDataStream. Python specific notes:This method is the default initializer of the object [static] new QDataStream new(string arg1)Description: Constructor QDataStream::QDataStream(const QByteArray &) This method creates an object of class QDataStream. Python specific notes:This method is the default initializer of the object QDataStream ptr put_b(bool arg1)Description: Unambiguous adaptation of the corresponding operator<< QDataStream ptr put_ba(string arg1)Description: Unambiguous adaptation of the corresponding operator<< QDataStream ptr put_d(double arg1)Description: Unambiguous adaptation of the corresponding operator<< QDataStream ptr put_f(float arg1)Description: Unambiguous adaptation of the corresponding operator<< QDataStream ptr put_i16(short arg1)Description: Unambiguous adaptation of the corresponding operator<< QDataStream ptr put_i32(int arg1)Description: Unambiguous adaptation of the corresponding operator<< QDataStream ptr put_i64(long long arg1)Description: Unambiguous adaptation of the corresponding operator<< QDataStream ptr put_i8(signed char arg1)Description: Unambiguous adaptation of the corresponding operator<< QDataStream ptr put_il(int[] arg1)Description: Unambiguous adaptation of the corresponding operator<< QDataStream ptr put_iv(int[] arg1)Description: Unambiguous adaptation of the corresponding operator<< QDataStream ptr put_qc(unsigned int arg1)Description: Unambiguous adaptation of the corresponding operator<< QDataStream ptr put_s(string arg1)Description: Unambiguous adaptation of the corresponding operator<< QDataStream ptr put_ui16(unsigned short arg1)Description: Unambiguous adaptation of the corresponding operator<< QDataStream ptr put_ui32(unsigned int arg1)Description: Unambiguous adaptation of the corresponding operator<< QDataStream ptr put_ui64(unsigned long long arg1)Description: Unambiguous adaptation of the corresponding operator<< QDataStream ptr put_ui8(unsigned char arg1)Description: Unambiguous adaptation of the corresponding operator<< bool read_bDescription: Unambiguous adaptation of the corresponding operator>> string read_baDescription: Unambiguous adaptation of the corresponding operator>> double read_dDescription: Unambiguous adaptation of the corresponding operator>> float read_fDescription: Unambiguous adaptation of the corresponding operator>> short read_i16Description: Unambiguous adaptation of the corresponding operator>> int read_i32Description: Unambiguous adaptation of the corresponding operator>> long long read_i64Description: Unambiguous adaptation of the corresponding operator>> signed char read_i8Description: Unambiguous adaptation of the corresponding operator>> int[] read_ilDescription: Unambiguous adaptation of the corresponding operator>> int[] read_ivDescription: Unambiguous adaptation of the corresponding operator>> unsigned int read_qcDescription: Unambiguous adaptation of the corresponding operator>> string read_sDescription: Unambiguous adaptation of the corresponding operator>> unsigned short read_ui16Description: Unambiguous adaptation of the corresponding operator>> unsigned int read_ui32Description: Unambiguous adaptation of the corresponding operator>> unsigned long long read_ui64Description: Unambiguous adaptation of the corresponding operator>> unsigned char read_ui8Description: Unambiguous adaptation of the corresponding operator>> void resetStatusDescription: Method void QDataStream::resetStatus() void setByteOrder(const QDataStream_ByteOrder arg1)Description: Method void QDataStream::setByteOrder(QDataStream::ByteOrder) Python specific notes:The object exposes a writable attribute 'byteOrder'. This is the setter. void setDevice(QIODevice ptr arg1)Description: Method void QDataStream::setDevice(QIODevice *) Python specific notes:The object exposes a writable attribute 'device'. This is the setter. void setFloatingPointPrecision(const QDataStream_FloatingPointPrecision precision)Description: Method void QDataStream::setFloatingPointPrecision(QDataStream::FloatingPointPrecision precision) Python specific notes:The object exposes a writable attribute 'floatingPointPrecision'. This is the setter. void setStatus(const QDataStream_Status status)Description: Method void QDataStream::setStatus(QDataStream::Status status) Python specific notes:The object exposes a writable attribute 'status'. This is the setter. void setVersion(int arg1)Description: Method void QDataStream::setVersion(int) Python specific notes:The object exposes a writable attribute 'version'. This is the setter. int skipRawData(int len)Description: Method int QDataStream::skipRawData(int len) [const] QDataStream_Status statusDescription: Method QDataStream::Status QDataStream::status() Python specific notes:The object exposes a readable attribute 'status'. This is the getter. void status=(const QDataStream_Status status)Description: Method void QDataStream::setStatus(QDataStream::Status status) Python specific notes:The object exposes a writable attribute 'status'. This is the setter. void unsetDeviceDescription: Method void QDataStream::unsetDevice() [const] int versionDescription: Method int QDataStream::version() Python specific notes:The object exposes a readable attribute 'version'. This is the getter. void version=(int arg1)Description: Method void QDataStream::setVersion(int) Python specific notes:The object exposes a writable attribute 'version'. This is the setter. QDataStream writeBytes(string arg1,unsigned int len)Description: Method QDataStream &QDataStream::writeBytes(const char *, unsigned int len) int writeRawData(string arg1,int len)Description: Method int QDataStream::writeRawData(const char *, int len) |