Heart 1.3.842.34c2ab5
Heart is base back end library for your c++ Qt projects.
dbaddresskey.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2018-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 DBADDRESSKEY_H
10#define DBADDRESSKEY_H
11#include "abstractkey.h"
12#include "dbaddress.h"
13
14namespace QH {
15
20{
21public:
23 DbAddressKey(const DbAddress& address);
24
30 DbAddressKey(const QString& table, const QVariant& value);
31
32 unsigned int hash() const override;
33
34 bool equal(const AbstractKey *other) const override;
35
36 bool isValid() const override;
37
38 QString toString() const override;
39
40};
41}
42#endif // DBADDRESSKEY_H
The Abstractkey class is provide general hash function for all keys of Heart library....
Definition abstractkey.h:19
The DbAddressKey class is implementation for calc hash key of DbAddress objects.
The DbAddress class use to work with database addresses. Database Address it is structure with 2 valu...
Definition dbaddress.h:24
#define HEARTSHARED_EXPORT
The QH namespace - QuasarApp Heart namespace. This namespace contains all classes of the Heart librar...
Definition heart.cpp:13