Heart 1.4.918.d927d9c
Heart is base back end library for your c++ Qt projects.
Loading...
Searching...
No Matches
bigdatarequest.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2021-2025 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 BIGDATAREQUEST_H
10#define BIGDATAREQUEST_H
11#include "bigdatabase.h"
12
13namespace QH {
14namespace PKG {
15
20class HEARTSHARED_EXPORT BigDataRequest: public BigDataBase
21{
22 QH_PACKAGE("BigDataRequest")
23
24public:
26
27 // StreamBase interface
28
33 int currentPart() const;
34
39 void setCurrentPart(int newCurrentPart);
40
41protected:
42 QDataStream &fromStream(QDataStream &stream) override;
43 QDataStream &toStream(QDataStream &stream) const override;
44
45private:
46 int _currentPart = 0;
47
48
49};
50
51}
52}
53
54#endif // BIGDATAREQUEST_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...
QDataStream & fromStream(QDataStream &stream) override
fromStream This method should be read all bytes from the stream object and full the current object.
int currentPart() const
currentPart This method return current part number.
QDataStream & toStream(QDataStream &stream) const override
fromStream This method should be write all members of the current object to the stream object.
void setCurrentPart(int newCurrentPart)
setCurrentPart This method sets current new value of current page
The PKG namesapce - this namespace contains all default packages of the Heart library....
Definition heart.h:211
The QH namespace - QuasarApp Heart namespace. This namespace contains all classes of the Heart librar...
Definition heart.cpp:13