Notation used in Ruby API documentation
Module: QtCore
Description: Binding of QDataStream
Sub-classes: ByteOrder, QFlags_ByteOrder, FloatingPointPrecision, QFlags_FloatingPointPrecision, Status, QFlags_Status
new QDataStream | new | Constructor QDataStream::QDataStream() | |
new QDataStream | new | (QIODevice ptr arg1) | Constructor QDataStream::QDataStream(QIODevice *) |
new QDataStream | new | (bytes ptr arg1, QIODevice_QFlags_OpenModeFlag flags) | Constructor QDataStream::QDataStream(QByteArray *, QFlags<QIODevice::OpenModeFlag> flags) |
new QDataStream | new | (bytes arg1) | Constructor QDataStream::QDataStream(const QByteArray &) |
[const] | QDataStream ptr | _const_cast | Returns a non-const reference to self. | |
void | _create | Ensures the C++ object is created | ||
void | _destroy | Explicitly destroys the object | ||
[const] | bool | _destroyed? | Returns a value indicating whether the object was already destroyed | |
[const] | bool | _is_const_object? | Returns a value indicating whether the reference is a const reference | |
void | _manage | Marks the object as managed by the script side. | ||
void | _unmanage | Marks the object as no longer owned by the script side. | ||
void | abortTransaction | Method void QDataStream::abortTransaction() | ||
[const] | bool | atEnd | Method bool QDataStream::atEnd() | |
[const] | QDataStream_ByteOrder | byteOrder | Method QDataStream::ByteOrder QDataStream::byteOrder() | |
void | byteOrder= | (const QDataStream_ByteOrder arg1) | Method void QDataStream::setByteOrder(QDataStream::ByteOrder) | |
bool | commitTransaction | Method bool QDataStream::commitTransaction() | ||
[const] | QIODevice ptr | device | Method QIODevice *QDataStream::device() | |
void | device= | (QIODevice ptr arg1) | Method void QDataStream::setDevice(QIODevice *) | |
[const] | QDataStream_FloatingPointPrecision | floatingPointPrecision | Method QDataStream::FloatingPointPrecision QDataStream::floatingPointPrecision() | |
void | floatingPointPrecision= | (const QDataStream_FloatingPointPrecision precision) | Method void QDataStream::setFloatingPointPrecision(QDataStream::FloatingPointPrecision precision) | |
QDataStream ptr | put_b | (bool arg1) | Non-ambiguous adaptation of the corresponding operator<< | |
QDataStream ptr | put_ba | (bytes arg1) | Non-ambiguous adaptation of the corresponding operator<< | |
QDataStream ptr | put_d | (double arg1) | Non-ambiguous adaptation of the corresponding operator<< | |
QDataStream ptr | put_f | (float arg1) | Non-ambiguous adaptation of the corresponding operator<< | |
QDataStream ptr | put_i16 | (short arg1) | Non-ambiguous adaptation of the corresponding operator<< | |
QDataStream ptr | put_i32 | (int arg1) | Non-ambiguous adaptation of the corresponding operator<< | |
QDataStream ptr | put_i64 | (long long arg1) | Non-ambiguous adaptation of the corresponding operator<< | |
QDataStream ptr | put_i8 | (signed char arg1) | Non-ambiguous adaptation of the corresponding operator<< | |
QDataStream ptr | put_il | (int[] arg1) | Non-ambiguous adaptation of the corresponding operator<< | |
QDataStream ptr | put_iv | (int[] arg1) | Non-ambiguous adaptation of the corresponding operator<< | |
QDataStream ptr | put_qc | (unsigned int arg1) | Non-ambiguous adaptation of the corresponding operator<< | |
QDataStream ptr | put_s | (string arg1) | Non-ambiguous adaptation of the corresponding operator<< | |
QDataStream ptr | put_ui16 | (unsigned short arg1) | Non-ambiguous adaptation of the corresponding operator<< | |
QDataStream ptr | put_ui32 | (unsigned int arg1) | Non-ambiguous adaptation of the corresponding operator<< | |
QDataStream ptr | put_ui64 | (unsigned long long arg1) | Non-ambiguous adaptation of the corresponding operator<< | |
QDataStream ptr | put_ui8 | (unsigned char arg1) | Non-ambiguous adaptation of the corresponding operator<< | |
bool | read_b | Non-ambiguous adaptation of the corresponding operator>> | ||
bytes | read_ba | Non-ambiguous adaptation of the corresponding operator>> | ||
double | read_d | Non-ambiguous adaptation of the corresponding operator>> | ||
float | read_f | Non-ambiguous adaptation of the corresponding operator>> | ||
short | read_i16 | Non-ambiguous adaptation of the corresponding operator>> | ||
int | read_i32 | Non-ambiguous adaptation of the corresponding operator>> | ||
long long | read_i64 | Non-ambiguous adaptation of the corresponding operator>> | ||
signed char | read_i8 | Non-ambiguous adaptation of the corresponding operator>> | ||
int[] | read_il | Non-ambiguous adaptation of the corresponding operator>> | ||
int[] | read_iv | Non-ambiguous adaptation of the corresponding operator>> | ||
unsigned int | read_qc | Non-ambiguous adaptation of the corresponding operator>> | ||
string | read_s | Non-ambiguous adaptation of the corresponding operator>> | ||
unsigned short | read_ui16 | Non-ambiguous adaptation of the corresponding operator>> | ||
unsigned int | read_ui32 | Non-ambiguous adaptation of the corresponding operator>> | ||
unsigned long long | read_ui64 | Non-ambiguous adaptation of the corresponding operator>> | ||
unsigned char | read_ui8 | Non-ambiguous adaptation of the corresponding operator>> | ||
void | resetStatus | Method void QDataStream::resetStatus() | ||
void | rollbackTransaction | Method void QDataStream::rollbackTransaction() | ||
void | setByteOrder | (const QDataStream_ByteOrder arg1) | Method void QDataStream::setByteOrder(QDataStream::ByteOrder) | |
void | setDevice | (QIODevice ptr arg1) | Method void QDataStream::setDevice(QIODevice *) | |
void | setFloatingPointPrecision | (const QDataStream_FloatingPointPrecision precision) | Method void QDataStream::setFloatingPointPrecision(QDataStream::FloatingPointPrecision precision) | |
void | setStatus | (const QDataStream_Status status) | Method void QDataStream::setStatus(QDataStream::Status status) | |
void | setVersion | (int arg1) | Method void QDataStream::setVersion(int) | |
int | skipRawData | (int len) | Method int QDataStream::skipRawData(int len) | |
void | startTransaction | Method void QDataStream::startTransaction() | ||
[const] | QDataStream_Status | status | Method QDataStream::Status QDataStream::status() | |
void | status= | (const QDataStream_Status status) | Method void QDataStream::setStatus(QDataStream::Status status) | |
void | unsetDevice | Method void QDataStream::unsetDevice() | ||
[const] | int | version | Method int QDataStream::version() | |
void | version= | (int arg1) | Method void QDataStream::setVersion(int) | |
QDataStream | writeBytes | (string arg1, unsigned int len) | Method QDataStream &QDataStream::writeBytes(const char *, unsigned int len) | |
int | writeRawData | (string arg1, int len) | Method int QDataStream::writeRawData(const char *, int len) |
[static,const] | QDataStream_ByteOrder | BigEndian | Enum constant QDataStream::BigEndian | |
[static,const] | QDataStream_FloatingPointPrecision | DoublePrecision | Enum constant QDataStream::DoublePrecision | |
[static,const] | QDataStream_ByteOrder | LittleEndian | Enum constant QDataStream::LittleEndian | |
[static,const] | QDataStream_Status | Ok | Enum constant QDataStream::Ok | |
[static,const] | QDataStream_Status | ReadCorruptData | Enum constant QDataStream::ReadCorruptData | |
[static,const] | QDataStream_Status | ReadPastEnd | Enum constant QDataStream::ReadPastEnd | |
[static,const] | QDataStream_FloatingPointPrecision | SinglePrecision | Enum constant QDataStream::SinglePrecision | |
[static,const] | QDataStream_Status | WriteFailed | Enum constant QDataStream::WriteFailed |
void | create | Use of this method is deprecated. Use _create instead | ||
void | destroy | Use of this method is deprecated. Use _destroy instead | ||
[const] | bool | destroyed? | Use of this method is deprecated. Use _destroyed? instead | |
[const] | bool | is_const_object? | Use of this method is deprecated. Use _is_const_object? instead |
BigEndian | Signature: [static,const] QDataStream_ByteOrder BigEndian Description: Enum constant QDataStream::BigEndian Python specific notes: |
DoublePrecision | Signature: [static,const] QDataStream_FloatingPointPrecision DoublePrecision Description: Enum constant QDataStream::DoublePrecision Python specific notes: |
LittleEndian | Signature: [static,const] QDataStream_ByteOrder LittleEndian Description: Enum constant QDataStream::LittleEndian Python specific notes: |
Ok | Signature: [static,const] QDataStream_Status Ok Description: Enum constant QDataStream::Ok Python specific notes: |
ReadCorruptData | Signature: [static,const] QDataStream_Status ReadCorruptData Description: Enum constant QDataStream::ReadCorruptData Python specific notes: |
ReadPastEnd | Signature: [static,const] QDataStream_Status ReadPastEnd Description: Enum constant QDataStream::ReadPastEnd Python specific notes: |
SinglePrecision | Signature: [static,const] QDataStream_FloatingPointPrecision SinglePrecision Description: Enum constant QDataStream::SinglePrecision Python specific notes: |
WriteFailed | Signature: [static,const] QDataStream_Status WriteFailed Description: Enum constant QDataStream::WriteFailed Python specific notes: |
_const_cast | Signature: [const] QDataStream ptr _const_cast Description: Returns a non-const reference to self. Basically, this method allows turning a const object reference to a non-const one. This method is provided as last resort to remove the constness from an object. Usually there is a good reason for a const object reference, so using this method may have undesired side effects. This method has been introduced in version 0.29.6. |
_create | Signature: void _create Description: 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. |
_destroy | Signature: void _destroy Description: 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. |
_destroyed? | Signature: [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. |
_is_const_object? | Signature: [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. |
_manage | Signature: void _manage Description: 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. |
_unmanage | Signature: void _unmanage Description: 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. |
abortTransaction | Signature: void abortTransaction Description: Method void QDataStream::abortTransaction() |
atEnd | Signature: [const] bool atEnd Description: Method bool QDataStream::atEnd() |
byteOrder | Signature: [const] QDataStream_ByteOrder byteOrder Description: Method QDataStream::ByteOrder QDataStream::byteOrder() Python specific notes: |
byteOrder= | Signature: void byteOrder= (const QDataStream_ByteOrder arg1) Description: Method void QDataStream::setByteOrder(QDataStream::ByteOrder) Python specific notes: |
commitTransaction | Signature: bool commitTransaction Description: Method bool QDataStream::commitTransaction() |
create | Signature: void create Description: Ensures the C++ object is created Use of this method is deprecated. Use _create instead 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. |
destroy | Signature: void destroy Description: Explicitly destroys the object Use of this method is deprecated. Use _destroy instead 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. |
destroyed? | Signature: [const] bool destroyed? Description: Returns a value indicating whether the object was already destroyed Use of this method is deprecated. Use _destroyed? instead 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. |
device | Signature: [const] QIODevice ptr device Description: Method QIODevice *QDataStream::device() Python specific notes: |
device= | Signature: void device= (QIODevice ptr arg1) Description: Method void QDataStream::setDevice(QIODevice *) Python specific notes: |
floatingPointPrecision | Signature: [const] QDataStream_FloatingPointPrecision floatingPointPrecision Description: Method QDataStream::FloatingPointPrecision QDataStream::floatingPointPrecision() Python specific notes: |
floatingPointPrecision= | Signature: void floatingPointPrecision= (const QDataStream_FloatingPointPrecision precision) Description: Method void QDataStream::setFloatingPointPrecision(QDataStream::FloatingPointPrecision precision) Python specific notes: |
is_const_object? | Signature: [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 This method returns true, if self is a const reference. In that case, only const methods may be called on self. |
new | (1) Signature: [static] new QDataStream new Description: Constructor QDataStream::QDataStream() This method creates an object of class QDataStream. Python specific notes: |
(2) Signature: [static] new QDataStream new (QIODevice ptr arg1) Description: Constructor QDataStream::QDataStream(QIODevice *) This method creates an object of class QDataStream. Python specific notes: | |
(3) Signature: [static] new QDataStream new (bytes ptr arg1, QIODevice_QFlags_OpenModeFlag flags) Description: Constructor QDataStream::QDataStream(QByteArray *, QFlags<QIODevice::OpenModeFlag> flags) This method creates an object of class QDataStream. Python specific notes: | |
(4) Signature: [static] new QDataStream new (bytes arg1) Description: Constructor QDataStream::QDataStream(const QByteArray &) This method creates an object of class QDataStream. Python specific notes: | |
put_b | Signature: QDataStream ptr put_b (bool arg1) Description: Non-ambiguous adaptation of the corresponding operator<< |
put_ba | Signature: QDataStream ptr put_ba (bytes arg1) Description: Non-ambiguous adaptation of the corresponding operator<< |
put_d | Signature: QDataStream ptr put_d (double arg1) Description: Non-ambiguous adaptation of the corresponding operator<< |
put_f | Signature: QDataStream ptr put_f (float arg1) Description: Non-ambiguous adaptation of the corresponding operator<< |
put_i16 | Signature: QDataStream ptr put_i16 (short arg1) Description: Non-ambiguous adaptation of the corresponding operator<< |
put_i32 | Signature: QDataStream ptr put_i32 (int arg1) Description: Non-ambiguous adaptation of the corresponding operator<< |
put_i64 | Signature: QDataStream ptr put_i64 (long long arg1) Description: Non-ambiguous adaptation of the corresponding operator<< |
put_i8 | Signature: QDataStream ptr put_i8 (signed char arg1) Description: Non-ambiguous adaptation of the corresponding operator<< |
put_il | Signature: QDataStream ptr put_il (int[] arg1) Description: Non-ambiguous adaptation of the corresponding operator<< |
put_iv | Signature: QDataStream ptr put_iv (int[] arg1) Description: Non-ambiguous adaptation of the corresponding operator<< |
put_qc | Signature: QDataStream ptr put_qc (unsigned int arg1) Description: Non-ambiguous adaptation of the corresponding operator<< |
put_s | Signature: QDataStream ptr put_s (string arg1) Description: Non-ambiguous adaptation of the corresponding operator<< |
put_ui16 | Signature: QDataStream ptr put_ui16 (unsigned short arg1) Description: Non-ambiguous adaptation of the corresponding operator<< |
put_ui32 | Signature: QDataStream ptr put_ui32 (unsigned int arg1) Description: Non-ambiguous adaptation of the corresponding operator<< |
put_ui64 | Signature: QDataStream ptr put_ui64 (unsigned long long arg1) Description: Non-ambiguous adaptation of the corresponding operator<< |
put_ui8 | Signature: QDataStream ptr put_ui8 (unsigned char arg1) Description: Non-ambiguous adaptation of the corresponding operator<< |
read_b | Signature: bool read_b Description: Non-ambiguous adaptation of the corresponding operator>> |
read_ba | Signature: bytes read_ba Description: Non-ambiguous adaptation of the corresponding operator>> |
read_d | Signature: double read_d Description: Non-ambiguous adaptation of the corresponding operator>> |
read_f | Signature: float read_f Description: Non-ambiguous adaptation of the corresponding operator>> |
read_i16 | Signature: short read_i16 Description: Non-ambiguous adaptation of the corresponding operator>> |
read_i32 | Signature: int read_i32 Description: Non-ambiguous adaptation of the corresponding operator>> |
read_i64 | Signature: long long read_i64 Description: Non-ambiguous adaptation of the corresponding operator>> |
read_i8 | Signature: signed char read_i8 Description: Non-ambiguous adaptation of the corresponding operator>> |
read_il | Signature: int[] read_il Description: Non-ambiguous adaptation of the corresponding operator>> |
read_iv | Signature: int[] read_iv Description: Non-ambiguous adaptation of the corresponding operator>> |
read_qc | Signature: unsigned int read_qc Description: Non-ambiguous adaptation of the corresponding operator>> |
read_s | Signature: string read_s Description: Non-ambiguous adaptation of the corresponding operator>> |
read_ui16 | Signature: unsigned short read_ui16 Description: Non-ambiguous adaptation of the corresponding operator>> |
read_ui32 | Signature: unsigned int read_ui32 Description: Non-ambiguous adaptation of the corresponding operator>> |
read_ui64 | Signature: unsigned long long read_ui64 Description: Non-ambiguous adaptation of the corresponding operator>> |
read_ui8 | Signature: unsigned char read_ui8 Description: Non-ambiguous adaptation of the corresponding operator>> |
resetStatus | Signature: void resetStatus Description: Method void QDataStream::resetStatus() |
rollbackTransaction | Signature: void rollbackTransaction Description: Method void QDataStream::rollbackTransaction() |
setByteOrder | Signature: void setByteOrder (const QDataStream_ByteOrder arg1) Description: Method void QDataStream::setByteOrder(QDataStream::ByteOrder) Python specific notes: |
setDevice | Signature: void setDevice (QIODevice ptr arg1) Description: Method void QDataStream::setDevice(QIODevice *) Python specific notes: |
setFloatingPointPrecision | Signature: void setFloatingPointPrecision (const QDataStream_FloatingPointPrecision precision) Description: Method void QDataStream::setFloatingPointPrecision(QDataStream::FloatingPointPrecision precision) Python specific notes: |
setStatus | Signature: void setStatus (const QDataStream_Status status) Description: Method void QDataStream::setStatus(QDataStream::Status status) Python specific notes: |
setVersion | Signature: void setVersion (int arg1) Description: Method void QDataStream::setVersion(int) Python specific notes: |
skipRawData | Signature: int skipRawData (int len) Description: Method int QDataStream::skipRawData(int len) |
startTransaction | Signature: void startTransaction Description: Method void QDataStream::startTransaction() |
status | Signature: [const] QDataStream_Status status Description: Method QDataStream::Status QDataStream::status() Python specific notes: |
status= | Signature: void status= (const QDataStream_Status status) Description: Method void QDataStream::setStatus(QDataStream::Status status) Python specific notes: |
unsetDevice | Signature: void unsetDevice Description: Method void QDataStream::unsetDevice() |
version | Signature: [const] int version Description: Method int QDataStream::version() Python specific notes: |
version= | Signature: void version= (int arg1) Description: Method void QDataStream::setVersion(int) Python specific notes: |
writeBytes | Signature: QDataStream writeBytes (string arg1, unsigned int len) Description: Method QDataStream &QDataStream::writeBytes(const char *, unsigned int len) |
writeRawData | Signature: int writeRawData (string arg1, int len) Description: Method int QDataStream::writeRawData(const char *, int len) |