Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_meta_data_store.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2007 Cyrille Berger <cberger@cberger.net>
3
*
4
* SPDX-License-Identifier: LGPL-2.1-or-later
5
*/
6
7
8
#ifndef _KIS_META_DATA_STORE_H_
9
#define _KIS_META_DATA_STORE_H_
10
11
#include <kritametadata_export.h>
12
13
#include <QHash>
14
15
namespace
KisMetaData
16
{
17
class
Schema;
18
class
Entry
;
19
class
Filter
;
20
class
Value
;
21
26
class
KRITAMETADATA_EXPORT
Store
27
{
28
struct
Private
;
29
public
:
30
Store
();
31
Store
(
const
Store
&);
32
~Store
();
33
public
:
34
38
void
copyFrom(
const
Store
* store);
39
43
bool
empty()
const
;
44
bool
isEmpty()
const
;
45
46
56
bool
addEntry(
const
Entry
& entry);
57
62
Entry
& getEntry(
const
QString & entryKey);
63
69
Entry
& getEntry(
const
QString & uri,
const
QString & entryName);
70
76
Entry
& getEntry(
const
KisMetaData::Schema
* schema,
const
QString & entryName);
77
82
const
Entry
& getEntry(
const
QString & entryKey)
const
;
88
const
Entry
& getEntry(
const
QString & uri,
const
QString & entryName)
const
;
89
95
const
Entry
& getEntry(
const
KisMetaData::Schema
* schema,
const
QString & entryName)
const
;
96
101
void
removeEntry(
const
QString & entryKey);
102
108
void
removeEntry(
const
QString & uri,
const
QString & entryName);
109
115
void
removeEntry(
const
KisMetaData::Schema
* schema,
const
QString & entryName);
116
123
const
Value
&
getValue
(
const
QString & uri,
const
QString & entryName)
const
;
124
125
QHash<QString, Entry>::const_iterator begin()
const
;
126
QHash<QString, Entry>::const_iterator end()
const
;
127
132
bool
containsEntry(
const
QString & entryKey)
const
;
133
137
bool
containsEntry(
const
KisMetaData::Schema
* schema,
const
QString & entryName)
const
;
138
144
bool
containsEntry(
const
QString & uri,
const
QString & entryName)
const
;
145
149
void
debugDump()
const
;
150
154
void
applyFilters(
const
QList<const Filter*>
& filters);
155
159
QList<QString>
keys()
const
;
160
164
QList<Entry>
entries
()
const
;
165
private
:
166
Private
*
const
d
;
167
};
168
}
169
170
#endif
getValue
auto getValue
Definition
CssLengthPercentageModel.cpp:9
Filter
Definition
Filter.h:31
KisMetaData::Entry
Definition
kis_meta_data_entry.h:25
KisMetaData::Schema
Definition
kis_meta_data_schema.h:22
KisMetaData::Store
Definition
kis_meta_data_store.h:27
KisMetaData::Store::entries
QList< Entry > entries() const
KisMetaData::Store::Store
Store(const Store &)
KisMetaData::Store::d
Private *const d
Definition
kis_meta_data_store.h:166
KisMetaData::Value
Definition
kis_meta_data_value.h:35
QList
Definition
KisQStringListFwd.h:16
KisMetaData
Definition
kis_image.h:47
Private
Definition
SvgTransformParser.cpp:20
Entry
Definition
kis_meta_data_entry.cc:17
Value
Definition
kis_meta_data_value.cc:19
libs
metadata
kis_meta_data_store.h
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52