Heart
1.3.848.aa44c26
Heart is base back end library for your c++ Qt projects.
dbpatch.cpp
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
#include "
dbpatch.h
"
10
namespace
QH
{
11
12
bool
DBPatch::isValid
()
const
{
13
return
versionFrom
<
versionTo
&&
action
;
14
}
15
16
}
dbpatch.h
QH
The QH namespace - QuasarApp Heart namespace. This namespace contains all classes of the Heart librar...
Definition
heart.cpp:13
QH::DBPatch::versionFrom
unsigned short versionFrom
Definition
dbpatch.h:28
QH::DBPatch::action
std::function< bool(QH::iObjectProvider *)> action
This is lymbda function with action that will upgrade data base to new versio.
Definition
dbpatch.h:35
QH::DBPatch::isValid
bool isValid() const
isValid This method check this oject to valid.
Definition
dbpatch.cpp:12
QH::DBPatch::versionTo
unsigned short versionTo
Definition
dbpatch.h:32
src
public
dbpatch.cpp
Generated by
1.9.8