20 stream >> _apisVersions;
21 stream >> _packagesVersions;
26 stream << _apisVersions;
27 stream << _packagesVersions;
37 _apisVersions = newApisVersions;
41 return _packagesVersions;
45 _packagesVersions = newPackagesVersions;
49 if (_apisVersions.isEmpty())
52 for (
const auto &
version: _apisVersions) {
58 for (
const auto &
version: _packagesVersions) {
void setPackagesVersions(const PackagesVersionData &newPackagesVersions)
void setApisVersions(const VersionData &newApisVersions)
bool isValid() const override
isValid This method check current object to valid.
VersionData apisVersions() const
QDataStream & fromStream(QDataStream &stream) override
fromStream This method should be read all bytes from the stream object and full the current object.
static unsigned short version()
PackagesVersionData packagesVersions() const
packagesVersions This method return list of available multi-version packages on the node.
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...
QHash< QString, DistVersion > VersionData
VersionData This is array of all available apis and supported its versions.
QHash< unsigned short, DistVersion > PackagesVersionData
PackagesVersionData This is some as VersionData but for int commands.