Heart 1.3.842.34c2ab5
Heart is base back end library for your c++ Qt projects.
bigdatabase.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2021-2024 QuasarApp.
3 * Distributed under the lgplv3 software license, see the accompanying
4 * Everyone is permitted to copy and distribute verbatim copies
5 * of this license document, but changing it is not allowed.
6*/
7
8
9#ifndef BIGDATABASE_H
10#define BIGDATABASE_H
11
12#include "abstractdata.h"
13
14namespace QH {
15namespace PKG {
16
21{
22 QH_PACKAGE("BigDataBase")
23
24public:
26
31 int packageId() const;
32
37 void setPackageId(int newPackageId);
38
39 bool isValid() const override;
40 QString toString() const override;
41
42 // StreamBase interface
43protected:
44 QDataStream &fromStream(QDataStream &stream) override;
45 QDataStream &toStream(QDataStream &stream) const override;
46
47private:
48 int _packageId = 0;
49
50};
51
52}
53}
54#endif // BIGDATABASE_H
#define QH_PACKAGE(S)
QH_PACKAGE This macross prepare data to send and create a global id for package. For get global id us...
The AbstractData class is provide base functions for transport data by network For create you own pac...
The BigDataBase class This is base class of big data parts. This class contains id of movving pacakge...
Definition bigdatabase.h:21
#define HEARTSHARED_EXPORT
The QH namespace - QuasarApp Heart namespace. This namespace contains all classes of the Heart librar...
Definition heart.cpp:13