Akonadi

schema.h
1 /***************************************************************************
2  * SPDX-FileCopyrightText: 2013 Volker Krause <[email protected]> *
3  * *
4  * SPDX-License-Identifier: LGPL-2.0-or-later *
5  ***************************************************************************/
6 
7 #ifndef SCHEMA_H
8 #define SCHEMA_H
9 
10 #include "schematypes.h"
11 
12 namespace Akonadi
13 {
14 namespace Server
15 {
16 
20 class Schema
21 {
22 public:
23  inline virtual ~Schema() = default;
24 
26  virtual QVector<TableDescription> tables() = 0;
27 
30 
31 protected:
32  explicit Schema() = default;
33 
34 private:
35  Q_DISABLE_COPY_MOVE(Schema)
36 };
37 
38 } // namespace Server
39 } // namespace Akonadi
40 
41 #endif
virtual QVector< TableDescription > tables()=0
List of tables in the schema.
virtual QVector< RelationDescription > relations()=0
List of relations (N:M helper tables) in the schema.
Methods to access the desired database schema (.
Definition: schema.h:20
Definition: item.h:31
Helper integration between Akonadi and Qt.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Aug 6 2020 23:15:19 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.