Accelerated Computation Engine
|
#include <edatastream.h>
Public Member Functions | |
const EDataStream & | operator>> (qint8 &value) const |
const EDataStream & | operator>> (qint16 &value) const |
const EDataStream & | operator>> (qint32 &value) const |
const EDataStream & | operator>> (qint64 &value) const |
const EDataStream & | operator>> (quint8 &value) const |
const EDataStream & | operator>> (quint16 &value) const |
const EDataStream & | operator>> (quint32 &value) const |
const EDataStream & | operator>> (quint64 &value) const |
const EDataStream & | operator>> (float &value) const |
const EDataStream & | operator>> (double &value) const |
const EDataStream & | operator>> (QString &value) const |
const EDataStream & | operator>> (QByteArray &value) const |
EDataStream & | operator<< (qint8 value) |
EDataStream & | operator<< (qint16 value) |
EDataStream & | operator<< (qint32 value) |
EDataStream & | operator<< (qint64 value) |
EDataStream & | operator<< (quint8 value) |
EDataStream & | operator<< (quint16 value) |
EDataStream & | operator<< (quint32 value) |
EDataStream & | operator<< (quint64 value) |
EDataStream & | operator<< (float value) |
EDataStream & | operator<< (double value) |
EDataStream & | operator<< (const QString &value) |
EDataStream & | operator<< (const QByteArray &value) |
EDataStream (Ace::DataObject *parent) | |
This provides a C++ style stream for input and output of a data object. This also provides endian compatibility for cross platform loading. All data written by this data stream is in beg endian and all reading is switched back to little endian if the local machine is little endian. If the local machine is big endian then no switching of bits is done. Therefore means data object files are always big endian, also called network endian. This class handles all read operations from the data object as constant to keep in line with the constant paradigm used in data objects and ACE in general.
|
explicit |
This constructs a new data stream attached to the given data object where streamed data will be written to and read from. The given data object becomes this data stream's parent.
parent | Pointer to the data object this data stream is attached to. |
EDataStream & EDataStream::operator<< | ( | qint8 | value | ) |
Writes out the given value to this data stream.
value | The value that is written to this data stream. |
EDataStream & EDataStream::operator<< | ( | qint16 | value | ) |
Writes out the given value to this data stream.
value | The value that is written to this data stream. |
EDataStream & EDataStream::operator<< | ( | qint32 | value | ) |
Writes out the given value to this data stream.
value | The value that is written to this data stream. |
EDataStream & EDataStream::operator<< | ( | qint64 | value | ) |
Writes out the given value to this data stream.
value | The value that is written to this data stream. |
EDataStream & EDataStream::operator<< | ( | quint8 | value | ) |
Writes out the given value to this data stream.
value | The value that is written to this data stream. |
EDataStream & EDataStream::operator<< | ( | quint16 | value | ) |
Writes out the given value to this data stream.
value | The value that is written to this data stream. |
EDataStream & EDataStream::operator<< | ( | quint32 | value | ) |
Writes out the given value to this data stream.
value | The value that is written to this data stream. |
EDataStream & EDataStream::operator<< | ( | quint64 | value | ) |
Writes out the given value to this data stream.
value | The value that is written to this data stream. |
EDataStream & EDataStream::operator<< | ( | float | value | ) |
Writes out the given value to this data stream.
value | The value that is written to this data stream. |
EDataStream & EDataStream::operator<< | ( | double | value | ) |
Writes out the given value to this data stream.
value | The value that is written to this data stream. |
EDataStream & EDataStream::operator<< | ( | const QString & | value | ) |
Writes out the given value to this data stream.
value | The value that is written to this data stream. |
EDataStream & EDataStream::operator<< | ( | const QByteArray & | value | ) |
Writes out the given value to this data stream. The given byte array should not have any endian sensitive data stored within it because this does not handle it at all.
value | The value that is written to this data stream. |
const EDataStream & EDataStream::operator>> | ( | qint8 & | value | ) | const |
Reads in data from this data stream setting the given value to the data read in.
value | Reference to value that is set to the value read in from this data stream. |
const EDataStream & EDataStream::operator>> | ( | qint16 & | value | ) | const |
Reads in data from this data stream setting the given value to the data read in.
value | Reference to value that is set to the value read in from this data stream. |
const EDataStream & EDataStream::operator>> | ( | qint32 & | value | ) | const |
Reads in data from this data stream setting the given value to the data read in.
value | Reference to value that is set to the value read in from this data stream. |
const EDataStream & EDataStream::operator>> | ( | qint64 & | value | ) | const |
Reads in data from this data stream setting the given value to the data read in.
value | Reference to value that is set to the value read in from this data stream. |
const EDataStream & EDataStream::operator>> | ( | quint8 & | value | ) | const |
Reads in data from this data stream setting the given value to the data read in.
value | Reference to value that is set to the value read in from this data stream. |
const EDataStream & EDataStream::operator>> | ( | quint16 & | value | ) | const |
Reads in data from this data stream setting the given value to the data read in.
value | Reference to value that is set to the value read in from this data stream. |
const EDataStream & EDataStream::operator>> | ( | quint32 & | value | ) | const |
Reads in data from this data stream setting the given value to the data read in.
value | Reference to value that is set to the value read in from this data stream. |
const EDataStream & EDataStream::operator>> | ( | quint64 & | value | ) | const |
Reads in data from this data stream setting the given value to the data read in.
value | Reference to value that is set to the value read in from this data stream. |
const EDataStream & EDataStream::operator>> | ( | float & | value | ) | const |
Reads in data from this data stream setting the given value to the data read in.
value | Reference to value that is set to the value read in from this data stream. |
const EDataStream & EDataStream::operator>> | ( | double & | value | ) | const |
Reads in data from this data stream setting the given value to the data read in.
value | Reference to value that is set to the value read in from this data stream. |
const EDataStream & EDataStream::operator>> | ( | QString & | value | ) | const |
Reads in data from this data stream setting the given value to the data read in.
value | Reference to value that is set to the value read in from this data stream. |
const EDataStream & EDataStream::operator>> | ( | QByteArray & | value | ) | const |
Reads in data from this data stream setting the given value to the data read in. The given byte array should not have any endian sensitive data stored within it because this does not handle it at all.
value | Reference to value that is set to the value read in from this data stream. |