Heart
1.4.918.d927d9c
Heart is base back end library for your c++ Qt projects.
Toggle main menu visibility
Loading...
Searching...
No Matches
cacheddbobjectsrequest.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2018-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 CACHEDDBOBJECTSREQUEST_H
10
#define CACHEDDBOBJECTSREQUEST_H
11
12
#include <QString>
13
#include "heart_global.h"
14
15
16
namespace
QH
{
17
namespace
PKG
{
18
19
template
<
class
BASE>
37
class
HEARTSHARED_EXPORT
CachedDbObjectsRequest
:
public
BASE
38
{
39
40
public
:
41
CachedDbObjectsRequest
(
const
QString&
condition
) {
42
_condition =
condition
;
43
}
44
45
QString
condition
() const override final{
46
return
_condition;
47
}
48
49
bool
isCached
()
const override
{
50
return
false
;
51
}
52
53
private
:
54
QString _condition;
55
};
56
57
}
58
59
}
60
#endif
// CACHEDDBOBJECTSREQUEST_H
QH::PKG::CachedDbObjectsRequest::CachedDbObjectsRequest
CachedDbObjectsRequest(const QString &condition)
Definition
cacheddbobjectsrequest.h:41
QH::PKG::CachedDbObjectsRequest::isCached
bool isCached() const override
Definition
cacheddbobjectsrequest.h:49
QH::PKG::CachedDbObjectsRequest::condition
QString condition() const override final
Definition
cacheddbobjectsrequest.h:45
QH::PKG
The PKG namesapce - this namespace contains all default packages of the Heart library....
Definition
heart.h:211
QH
The QH namespace - QuasarApp Heart namespace. This namespace contains all classes of the Heart librar...
Definition
heart.cpp:13
src
public
packages
cacheddbobjectsrequest.h
Generated by
1.18.0