digiKam
Loading...
Searching...
No Matches
identity.h
Go to the documentation of this file.
1
/* ============================================================
2
*
3
* This file is a part of digiKam
4
*
5
* Date : 2013-05-18
6
* Description : Wrapper class for face recognition
7
*
8
* SPDX-FileCopyrightText: 2013 by Marcel Wiesweg <marcel dot wiesweg at gmx dot de>
9
* SPDX-FileCopyrightText: 2014-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
10
*
11
* SPDX-License-Identifier: GPL-2.0-or-later
12
*
13
* ============================================================ */
14
15
#pragma once
16
17
// Qt includes
18
19
#include <QMultiMap>
20
#include <QString>
21
#include <QExplicitlySharedDataPointer>
22
23
// Local includes
24
25
#include "
digikam_export.h
"
26
27
namespace
Digikam
28
{
29
30
class
DIGIKAM_EXPORT
Identity
31
{
32
33
public
:
34
50
Identity
();
51
Identity
(
const
Identity
& other);
52
~Identity
();
53
54
Identity
& operator=(
const
Identity
& other);
55
56
bool
isNull()
const
;
57
bool
operator==
(
const
Identity
& other)
const
;
58
62
int
id()
const
;
63
void
setId(
int
id
);
64
68
QString attribute(
const
QString& att)
const
;
69
void
setAttribute(
const
QString& att,
70
const
QString& val);
71
75
QMultiMap<QString, QString> attributesMap()
const
;
76
void
setAttributesMap(
const
QMultiMap<QString, QString>& attributes);
77
78
private
:
79
80
class
Private;
81
QExplicitlySharedDataPointer<Private> d;
82
};
83
84
}
// namespace Digikam
Digikam::Identity
Definition
identity.h:31
digikam_export.h
Digikam
Definition
datefolderview.cpp:34
Digikam::operator==
bool operator==(const SearchTextSettings &a, const SearchTextSettings &b)
Definition
searchtextbar.cpp:40
core
libs
facesengine
common
identity.h
Generated by
1.9.8