Heart 1.3.842.34c2ab5
Heart is base back end library for your c++ Qt projects.
streammultiversion.cpp
Go to the documentation of this file.
2#include <QDataStream>
3
4namespace QH {
5
9
10QDataStream &StreamMultiversion::fromStream(QDataStream &stream) {
11 stream >> _realVersion ;
12 return stream;
13}
14
15QDataStream &StreamMultiversion::toStream(QDataStream &stream) const {
16 stream << _realVersion;
17
18 return stream;
19}
20
22 return _realVersion;
23}
24}
QDataStream & fromStream(QDataStream &stream) override
fromStream This method should be read all bytes from the stream object and full the current object.
virtual int realVersion() const
realVersion This method return value of the version that was be saved in the bytes array.
QDataStream & toStream(QDataStream &stream) const override
fromStream This method should be write all members of the current object to the stream object.
The QH namespace - QuasarApp Heart namespace. This namespace contains all classes of the Heart librar...
Definition heart.cpp:13