Debian Codegraph @

core/utilities/geolocation/engine/geodata/handlers/dgml/DgmlAuxillaryDictionary.cpp

raw
1 /* ============================================================
2 *
3 * This file is a part of digiKam project
4 * https://www.digikam.org
5 *
6 * Date : 2023-05-15
7 * Description : geolocation engine based on Marble.
8 * (c) 2007-2022 Marble Team
9 * https://invent.kde.org/education/marble/-/raw/master/data/credits_authors.html
10 *
11 * SPDX-FileCopyrightText: 2023-2026 by Gilles Caulier <caulier dot gilles at gmail dot com>
12 *
13 * SPDX-License-Identifier: LGPL-2.1-or-later
14 *
15 * ============================================================ */
16
17 #include "DgmlAuxillaryDictionary.h"
18
19 // One static list of all auxiliary strings, to avoid string comparisons all-over-the-place
20
21 // This tags are compared with the backend attribute from the
22 // <layer> tag in the .dgml file.
23 // When the backend value is parsed, it is turned
24 // tolower so if the values in this class are not lowercase
25 // it wont see they are the same
26
27 namespace Marble
28 {
29
30 namespace dgml
31 {
32
33 const char dgmlValue_true[] = "true";
34 const char dgmlValue_on[] = "on";
35 const char dgmlValue_texture[] = "texture";
36 const char dgmlValue_vector[] = "vector";
37 const char dgmlValue_vectortile[] = "vectortile";
38 const char dgmlValue_geodata[] = "geodata";
39
40 } // namespace dgml
41
42 } // namespace Marble