LibreOffice Module connectivity (master) 1
Catalog.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9
10#pragma once
11
12#include <sdbcx/VCatalog.hxx>
13
15 {
17 {
18 css::uno::Reference< css::sdbc::XConnection >
20
21 public:
22 explicit Catalog(const css::uno::Reference< css::sdbc::XConnection >& rConnection);
23
24 // OCatalog
25 virtual void refreshTables() override;
26 virtual void refreshViews() override;
27
28 // IRefreshableGroups
29 virtual void refreshGroups() override;
30
31 // IRefreshableUsers
32 virtual void refreshUsers() override;
33
35 sdbcx::OCollection* getPrivateViews() const { return m_pViews.get(); }
36 };
37
38} // namespace connectivity::firebird
39
40/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
sdbcx::OCollection * getPrivateTables() const
Definition: Catalog.hxx:34
sdbcx::OCollection * getPrivateViews() const
Definition: Catalog.hxx:35
Catalog(const css::uno::Reference< css::sdbc::XConnection > &rConnection)
virtual void refreshTables() override
virtual void refreshGroups() override
css::uno::Reference< css::sdbc::XConnection > m_xConnection
Definition: Catalog.hxx:19
virtual void refreshViews() override
virtual void refreshUsers() override
std::unique_ptr< OCollection > m_pTables
Definition: VCatalog.hxx:64
std::unique_ptr< OCollection > m_pViews
Definition: VCatalog.hxx:65