Syndication

rdfvocab.h
1/*
2 This file is part of the syndication library
3 SPDX-FileCopyrightText: 2006 Frank Osterfeld <osterfeld@kde.org>
4
5 SPDX-License-Identifier: LGPL-2.0-or-later
6*/
7
8#ifndef SYNDICATION_RDF_RDFVOCAB_H
9#define SYNDICATION_RDF_RDFVOCAB_H
10
11#include <QSharedPointer>
12
13#include "../syndication_export.h"
14
15#include <memory>
16
17class QString;
18
19namespace Syndication
20{
21namespace RDF
22{
23class Property;
24typedef QSharedPointer<Property> PropertyPtr;
25class Resource;
26typedef QSharedPointer<Resource> ResourcePtr;
27
28/**
29 * singleton holding RDF vocabulary, expressed as RDF.
30 */
32{
33public:
34 /**
35 * returns the singleton instance
36 */
37 static RDFVocab *self();
38
39 /**
40 * destructor
41 */
43
44 /**
45 * the RDF namespace, which is
46 * http://www.w3.org/1999/02/22-rdf-syntax-ns#
47 */
49
50 /**
51 * the sequence type
52 */
54
55 /**
56 * the rdf:type property (A rdf:type B means A is instance of B)
57 */
59
60 /**
61 * the rdf:li property, used for list items in RDF containers (like
62 * rdf:seq)
63 */
65
66private:
67 RDFVocab();
68 Q_DISABLE_COPY(RDFVocab)
69 class RDFVocabPrivate;
70 std::unique_ptr<RDFVocabPrivate> const d;
71};
72
73} // namespace RDF
74} // namespace Syndication
75
76#endif // SYNDICATION_RDF_RDFVOCAB_H
singleton holding RDF vocabulary, expressed as RDF.
Definition rdfvocab.h:32
PropertyPtr li()
the rdf:li property, used for list items in RDF containers (like rdf:seq)
Definition rdfvocab.cpp:70
PropertyPtr type()
the rdf:type property (A rdf:type B means A is instance of B)
Definition rdfvocab.cpp:65
static RDFVocab * self()
returns the singleton instance
Definition rdfvocab.cpp:36
QString namespaceURI()
the RDF namespace, which is http://www.w3.org/1999/02/22-rdf-syntax-ns#
Definition rdfvocab.cpp:75
ResourcePtr seq()
the sequence type
Definition rdfvocab.cpp:60
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:02:57 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.