Heart 1.3.842.34c2ab5
Heart is base back end library for your c++ Qt projects.
bigdataheader.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
10#ifndef BIGDATAHEADER_H
11#define BIGDATAHEADER_H
12
13#include "bigdatabase.h"
14
15
16namespace QH {
17namespace PKG {
18
29{
30 QH_PACKAGE("BigDataHeader")
31
32public:
34
35 bool isValid() const override;
36 QString toString() const override;
37
38 // StreamBase interface
43 int getPackagesCount() const;
44
49 void setPackagesCount(int newPackagesCount);
50
55 unsigned short getCommand() const;
56
61 void setCommand(unsigned short newCommand);
62
63protected:
64 QDataStream &fromStream(QDataStream &stream) override;
65 QDataStream &toStream(QDataStream &stream) const override;
66
67private:
68 int packagesCount;
69 unsigned short _command = 0;
70};
71}
72}
73#endif // BIGDATAHEADER_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 BigDataBase class This is base class of big data parts. This class contains id of movving pacakge...
Definition bigdatabase.h:21
The BigDataHeader class is first empty pacakge with information of big data package.
#define HEARTSHARED_EXPORT
The QH namespace - QuasarApp Heart namespace. This namespace contains all classes of the Heart librar...
Definition heart.cpp:13