LibreOffice Module connectivity (master)
1
connectivity
source
drivers
file
FTables.cxx
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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
* This file incorporates work covered by the following license notice:
10
*
11
* Licensed to the Apache Software Foundation (ASF) under one or more
12
* contributor license agreements. See the NOTICE file distributed
13
* with this work for additional information regarding copyright
14
* ownership. The ASF licenses this file to you under the Apache
15
* License, Version 2.0 (the "License"); you may not use this file
16
* except in compliance with the License. You may obtain a copy of
17
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
18
*/
19
20
#include <
file/FTables.hxx
>
21
#include <
file/FCatalog.hxx
>
22
23
using namespace
connectivity
;
24
using namespace
connectivity::file
;
25
using namespace
::
com::sun::star::uno
;
26
using namespace
::
com::sun::star::beans
;
27
using namespace
::
com::sun::star::sdbcx
;
28
using namespace
::
com::sun::star::sdbc
;
29
using namespace
::
com::sun::star::container
;
30
31
sdbcx::ObjectType
OTables::createObject(
const
OUString&
/*_rName*/
)
32
{
33
return
sdbcx::ObjectType
();
34
}
35
36
void
OTables::impl_refresh
( )
37
{
38
static_cast<
OFileCatalog
&
>
(
m_rParent
).refreshTables();
39
}
40
41
Any
SAL_CALL
OTables::queryInterface
(
const
Type
& rType )
42
{
43
if
( rType ==
cppu::UnoType<XColumnLocate>::get
()||
44
rType ==
cppu::UnoType<XDataDescriptorFactory>::get
()||
45
rType ==
cppu::UnoType<XAppend>::get
()||
46
rType ==
cppu::UnoType<XDrop>::get
())
47
return
Any
();
48
49
typedef
sdbcx::OCollection
OTables_BASE;
50
return
OTables_BASE::queryInterface(rType);
51
}
52
53
54
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
FCatalog.hxx
FTables.hxx
connectivity::file::OFileCatalog
Definition:
FCatalog.hxx:31
connectivity::file::OTables::queryInterface
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &rType) override
Definition:
FTables.cxx:41
connectivity::file::OTables::impl_refresh
virtual void impl_refresh() override
Definition:
FTables.cxx:36
connectivity::sdbcx::OCollection
Definition:
VCollection.hxx:89
connectivity::sdbcx::OCollection::m_rParent
::cppu::OWeakObject & m_rParent
Definition:
VCollection.hxx:97
cppu::UnoType
GotoObjFlags::Any
@ Any
com::sun::star::beans
com::sun::star::container
com::sun::star::sdbc
com::sun::star::sdbcx
com::sun::star::uno
Type
Type
connectivity::file
Definition:
FStatement.cxx:44
connectivity::sdbcx::ObjectType
css::uno::Reference< css::beans::XPropertySet > ObjectType
Definition:
VCollection.hxx:59
connectivity
Generated on Sun Jul 30 2023 04:41:19 for LibreOffice Module connectivity (master) by
1.9.3