The Cute::DataStream allows custom types to be streamed in remote signal slot connections as well as direct remote slot calls. More...
Header: | #include <DataStream> |
DataStream(QIODevice *ioDevice) | |
~DataStream() | |
bool | atEnd() const |
qint32 | containerReserveLimit() const |
QIODevice * | device() const |
bool | isValid() const |
qint64 | readData(char *data, qint64 length) |
void | resetStatus() |
void | setContainerReserveLimit(qint32 containerReserveLimit) |
qint64 | writeData(const char *data, qint64 length) |
Cute::DataStream & | operator<<(qint8 i) |
Cute::DataStream & | operator<<(quint8 i) |
Cute::DataStream & | operator<<(const std::deque<T> &d) |
Cute::DataStream & | operator<<(const QSet<T> &set) |
Cute::DataStream & | operator<<(const std::unordered_set<T> &set) |
Cute::DataStream & | operator<<(const QStack<T> &stack) |
Cute::DataStream & | operator<<(const std::stack<T> &stack) |
Cute::DataStream & | operator<<(const QQueue<T> &q) |
Cute::DataStream & | operator<<(const std::queue<T> &q) |
Cute::DataStream & | operator<<(const QMap<Key, T> &map) |
Cute::DataStream & | operator<<(const QHash<Key, T> &hash) |
Cute::DataStream & | operator<<(const std::map<Key, T> &map) |
Cute::DataStream & | operator<<(const std::unordered_map<Key, T> &map) |
Cute::DataStream & | operator<<(const QMultiMap<Key, T> &map) |
Cute::DataStream & | operator<<(const QMultiHash<Key, T> &hash) |
Cute::DataStream & | operator<<(const std::multimap<Key, T> &map) |
Cute::DataStream & | operator<<(const std::unordered_multimap<Key, T> &map) |
Cute::DataStream & | operator<<(const std::pair<T1, T2> &p) |
Cute::DataStream & | operator<<(qint16 i) |
Cute::DataStream & | operator<<(quint16 i) |
Cute::DataStream & | operator<<(qint32 i) |
Cute::DataStream & | operator<<(quint32 i) |
Cute::DataStream & | operator<<(qint64 i) |
Cute::DataStream & | operator<<(quint64 i) |
Cute::DataStream & | operator<<(float f) |
Cute::DataStream & | operator<<(double d) |
Cute::DataStream & | operator<<(qfloat16 f) |
Cute::DataStream & | operator<<(std::nullptr_t) |
Cute::DataStream & | operator<<(bool b) |
Cute::DataStream & | operator<<(char16_t c) |
Cute::DataStream & | operator<<(char32_t c) |
Cute::DataStream & | operator<<(char c) |
Cute::DataStream & | operator<<(QChar c) |
Cute::DataStream & | operator<<(const QBitArray &ba) |
Cute::DataStream & | operator<<(const QUrl &url) |
Cute::DataStream & | operator<<(const QUuid &id) |
Cute::DataStream & | operator<<(const QDate &date) |
Cute::DataStream & | operator<<(const QTime &time) |
Cute::DataStream & | operator<<(const QTimeZone &tz) |
Cute::DataStream & | operator<<(const QDateTime &dt) |
Cute::DataStream & | operator<<(const QLocale &l) |
Cute::DataStream & | operator<<(const QRegularExpression &re) |
Cute::DataStream & | operator<<(QFlags<Enum> e) |
Cute::DataStream & | operator<<(const QVariant &variant) |
Cute::DataStream & | operator<<(const QByteArray &ba) |
Cute::DataStream & | operator<<(const std::string &str) |
Cute::DataStream & | operator<<(const QString &str) |
Cute::DataStream & | operator<<(const std::u16string &str) |
Cute::DataStream & | operator<<(const std::u32string &str) |
Cute::DataStream & | operator<<(const QList<T> &list) |
Cute::DataStream & | operator<<(const std::vector<T> &v) |
Cute::DataStream & | operator<<(const std::list<T> &l) |
Cute::DataStream & | operator>>(qint8 &i) |
Cute::DataStream & | operator>>(quint8 &i) |
Cute::DataStream & | operator>>(std::deque<T> &d) |
Cute::DataStream & | operator>>(QSet<T> &set) |
Cute::DataStream & | operator>>(std::unordered_set<T> &set) |
Cute::DataStream & | operator>>(QStack<T> &stack) |
Cute::DataStream & | operator>>(std::stack<T> &stack) |
Cute::DataStream & | operator>>(QQueue<T> &q) |
Cute::DataStream & | operator>>(std::queue<T> &q) |
Cute::DataStream & | operator>>(QMap<Key, T> &map) |
Cute::DataStream & | operator>>(QHash<Key, T> &hash) |
Cute::DataStream & | operator>>(std::map<Key, T> &map) |
Cute::DataStream & | operator>>(std::unordered_map<Key, T> &map) |
Cute::DataStream & | operator>>(QMultiMap<Key, T> &map) |
Cute::DataStream & | operator>>(QMultiHash<Key, T> &hash) |
Cute::DataStream & | operator>>(std::multimap<Key, T> &map) |
Cute::DataStream & | operator>>(std::unordered_multimap<Key, T> &map) |
Cute::DataStream & | operator>>(std::pair<T1, T2> &p) |
Cute::DataStream & | operator>>(qint16 &i) |
Cute::DataStream & | operator>>(quint16 &i) |
Cute::DataStream & | operator>>(qint32 &i) |
Cute::DataStream & | operator>>(quint32 &i) |
Cute::DataStream & | operator>>(qint64 &i) |
Cute::DataStream & | operator>>(quint64 &i) |
Cute::DataStream & | operator>>(float &f) |
Cute::DataStream & | operator>>(double &d) |
Cute::DataStream & | operator>>(qfloat16 &f) |
Cute::DataStream & | operator>>(std::nullptr_t &ptr) |
Cute::DataStream & | operator>>(bool &b) |
Cute::DataStream & | operator>>(char16_t &c) |
Cute::DataStream & | operator>>(char32_t &c) |
Cute::DataStream & | operator>>(char &c) |
Cute::DataStream & | operator>>(QChar &c) |
Cute::DataStream & | operator>>(QBitArray &ba) |
Cute::DataStream & | operator>>(QUrl &url) |
Cute::DataStream & | operator>>(QUuid &id) |
Cute::DataStream & | operator>>(QDate &date) |
Cute::DataStream & | operator>>(QTime &time) |
Cute::DataStream & | operator>>(QTimeZone &tz) |
Cute::DataStream & | operator>>(QDateTime &dt) |
Cute::DataStream & | operator>>(QLocale &l) |
Cute::DataStream & | operator>>(QRegularExpression &re) |
Cute::DataStream & | operator>>(QFlags<Enum> &e) |
Cute::DataStream & | operator>>(QVariant &variant) |
Cute::DataStream & | operator>>(QByteArray &ba) |
Cute::DataStream & | operator>>(std::string &str) |
Cute::DataStream & | operator>>(QString &str) |
Cute::DataStream & | operator>>(std::u16string &str) |
Cute::DataStream & | operator>>(std::u32string &str) |
Cute::DataStream & | operator>>(QList<T> &list) |
Cute::DataStream & | operator>>(std::vector<T> &v) |
Cute::DataStream & | operator>>(std::list<T> &l) |
Constructs a data stream that uses ioDevice as its I/O device.
Destroys the data stream.
Returns true if this data stream is at the end of its I/O device.
Returns the number of bytes allowed to be allocated by this data stream when reading containers from data. The default value is 4096 bytes.
See also setContainerReserveLimit().
Returns the I/O device associated with this data stream.
Returns true if this data stream is valid. Otherwise, false is returned.
Reads length bytes from the stream into data and returns the number of bytes read.
Resets the status of this data stream.
Sets the maximum allowed size in bytes that can be reserved by this stream when reading container from data to containerReserveLimit. The default value is 4096 bytes.
See also containerReserveLimit().
Writes length bytes of data pointed by data to the stream and returns the number of bytes written.
Writes i to the stream and returns a reference to the stream.
Writes i to the stream and returns a reference to the stream.
Writes d to the stream and returns a reference to the stream.
Writes set to the stream and returns a reference to the stream.
Writes set to the stream and returns a reference to the stream.
Writes stack to the stream and returns a reference to the stream.
Writes stack to the stream and returns a reference to the stream.
Writes q to the stream and returns a reference to the stream.
Writes q to the stream and returns a reference to the stream.
Writes map to the stream and returns a reference to the stream.
Writes hash to the stream and returns a reference to the stream.
Writes map to the stream and returns a reference to the stream.
Writes map to the stream and returns a reference to the stream.
Writes map to the stream and returns a reference to the stream.
Writes hash to the stream and returns a reference to the stream.
Writes map to the stream and returns a reference to the stream.
Writes map to the stream and returns a reference to the stream.
Writes p to the stream and returns a reference to the stream.
Writes i to the stream and returns a reference to the stream.
Writes i to the stream and returns a reference to the stream.
Writes i to the stream and returns a reference to the stream.
Writes i to the stream and returns a reference to the stream.
Writes i to the stream and returns a reference to the stream.
Writes i to the stream and returns a reference to the stream.
Writes f to the stream and returns a reference to the stream.
Writes d to the stream and returns a reference to the stream.
Writes f to the stream and returns a reference to the stream.
Writes null pointer to the stream and returns a reference to the stream.
Writes b to the stream and returns a reference to the stream.
Writes c to the stream and returns a reference to the stream.
Writes c to the stream and returns a reference to the stream.
Writes c to the stream and returns a reference to the stream.
Writes c to the stream and returns a reference to the stream.
Writes ba to the stream and returns a reference to the stream.
Writes url to the stream and returns a reference to the stream.
Writes id to the stream and returns a reference to the stream.
Writes date to the stream and returns a reference to the stream.
Writes time to the stream and returns a reference to the stream.
Writes tz to the stream and returns a reference to the stream.
Writes dt to the stream and returns a reference to the stream.
Writes l to the stream and returns a reference to the stream.
Writes re to the stream and returns a reference to the stream.
Writes e to the stream and returns a reference to the stream.
Writes variant to the stream and returns a reference to the stream.
Writes ba to the stream and returns a reference to the stream.
Writes str to the stream and returns a reference to the stream.
Writes str to the stream and returns a reference to the stream.
Writes str to the stream and returns a reference to the stream.
Writes str to the stream and returns a reference to the stream.
Writes list to the stream and returns a reference to the stream.
Writes v to the stream and returns a reference to the stream.
Writes l to the stream and returns a reference to the stream.
Reads i from the stream and returns a reference to the stream.
Reads i from the stream and returns a reference to the stream.
Reads d from the stream and returns a reference to the stream.
Reads set from the stream and returns a reference to the stream.
Reads set from the stream and returns a reference to the stream.
Reads stack from the stream and returns a reference to the stream.
Reads stack from the stream and returns a reference to the stream.
Reads q from the stream and returns a reference to the stream.
Reads q from the stream and returns a reference to the stream.
Reads map from the stream and returns a reference to the stream.
Reads hash from the stream and returns a reference to the stream.
Reads map from the stream and returns a reference to the stream.
Reads map from the stream and returns a reference to the stream.
Reads map from the stream and returns a reference to the stream.
Reads hash from the stream and returns a reference to the stream.
Reads map from the stream and returns a reference to the stream.
Reads map from the stream and returns a reference to the stream.
Reads p from the stream and returns a reference to the stream.
Reads i from the stream and returns a reference to the stream.
Reads i from the stream and returns a reference to the stream.
Reads i from the stream and returns a reference to the stream.
Reads i from the stream and returns a reference to the stream.
Reads i from the stream and returns a reference to the stream.
Reads i from the stream and returns a reference to the stream.
Reads f from the stream and returns a reference to the stream.
Reads d from the stream and returns a reference to the stream.
Reads f from the stream and returns a reference to the stream.
Reads ptr from the stream and returns a reference to the stream.
Reads b from the stream and returns a reference to the stream.
Reads c from the stream and returns a reference to the stream.
Reads c from the stream and returns a reference to the stream.
Reads c from the stream and returns a reference to the stream.
Reads c from the stream and returns a reference to the stream.
Reads ba from the stream and returns a reference to the stream.
Reads url from the stream and returns a reference to the stream.
Reads id from the stream and returns a reference to the stream.
Reads date from the stream and returns a reference to the stream.
Reads time from the stream and returns a reference to the stream.
Reads tz from the stream and returns a reference to the stream.
Reads dt from the stream and returns a reference to the stream.
Reads l from the stream and returns a reference to the stream.
Reads re from the stream and returns a reference to the stream.
Reads e from the stream and returns a reference to the stream.
Reads variant from the stream and returns a reference to the stream.
Reads ba from the stream and returns a reference to the stream.
Reads str from the stream and returns a reference to the stream.
Reads str from the stream and returns a reference to the stream.
Reads str from the stream and returns a reference to the stream.
Reads str from the stream and returns a reference to the stream.
Reads list from the stream and returns a reference to the stream.
Reads v from the stream and returns a reference to the stream.
Reads l from the stream and returns a reference to the stream.