diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2012-06-26 17:51:23 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-06-27 13:34:23 +0200 |
commit | 6fcac7dfc4f2ad85e08aea781cfab28443e3781e (patch) | |
tree | fbbf82cb46dde6f13b6f5f11664c2c908b5709e1 /connectivity/source | |
parent | e5c28b86bed03c70bbe3054ccfcc6cb96291c580 (diff) |
Remove unused include files
Those never get included at any point in the code.
Change-Id: I17736e005635b9e57759cfc95176a99e7c5e8988
Diffstat (limited to 'connectivity/source')
-rw-r--r-- | connectivity/source/drivers/hsqldb/HStorage.hxx | 111 | ||||
-rw-r--r-- | connectivity/source/inc/UStringDescription_Impl.hxx | 99 | ||||
-rw-r--r-- | connectivity/source/inc/ado/ACollection.hxx | 224 | ||||
-rw-r--r-- | connectivity/source/inc/ado/AIndexColumn.hxx | 51 | ||||
-rw-r--r-- | connectivity/source/inc/ado/AKeyColumn.hxx | 51 | ||||
-rw-r--r-- | connectivity/source/inc/ado/AKeyColumns.hxx | 48 | ||||
-rw-r--r-- | connectivity/source/inc/dbase/DDatabaseMetaDataResultSet.hxx | 186 | ||||
-rw-r--r-- | connectivity/source/inc/dbase/DDatabaseMetaDataResultSetMetaData.hxx | 101 |
8 files changed, 0 insertions, 871 deletions
diff --git a/connectivity/source/drivers/hsqldb/HStorage.hxx b/connectivity/source/drivers/hsqldb/HStorage.hxx deleted file mode 100644 index 4c216f9ad5fc..000000000000 --- a/connectivity/source/drivers/hsqldb/HStorage.hxx +++ /dev/null @@ -1,111 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ -#ifndef CONNECTIVITY_HSQLDB_STORAGE_HXX -#define CONNECTIVITY_HSQLDB_STORAGE_HXX - -#include <cppuhelper/compbase6.hxx> -#include <com/sun/star/lang/XServiceInfo.hpp> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> -#include <com/sun/star/io/XStream.hpp> -#include <com/sun/star/io/XInputStream.hpp> -#include <com/sun/star/io/XOutputStream.hpp> -#include <com/sun/star/io/XSeekable.hpp> -#include <com/sun/star/embed/XStorage.hpp> -#include <com/sun/star/document/XDocumentSubStorageSupplier.hpp> -#include <com/sun/star/lang/XInitialization.hpp> -#include "connectivity/CommonTools.hxx" -#include <comphelper/broadcasthelper.hxx> - - -#define DECLARE_SERVICE_INFO_STATIC() \ - DECLARE_SERVICE_INFO(); \ - static ::rtl::OUString SAL_CALL getImplementationName_Static( ) throw (::com::sun::star::uno::RuntimeException); \ - static ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames_Static( ) throw(::com::sun::star::uno::RuntimeException); \ - static ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > \ - SAL_CALL Create(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >&) \ - - -namespace connectivity -{ - namespace hsqldb - { - typedef ::cppu::WeakComponentImplHelper6< ::com::sun::star::io::XStream - , ::com::sun::star::io::XInputStream - , ::com::sun::star::io::XOutputStream - , ::com::sun::star::io::XSeekable - , ::com::sun::star::lang::XInitialization - , ::com::sun::star::lang::XServiceInfo> OStorage_Base; - class OStorage : public ::comphelper::OBaseMutex - ,public OStorage_Base - { - ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > m_xServiceFactory; - ::com::sun::star::uno::Reference< ::com::sun::star::document::XDocumentSubStorageSupplier> m_xDS; - - - ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage> m_xStorge; - ::com::sun::star::uno::Reference< ::com::sun::star::io::XStream > m_xStream; - ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > m_xIn; - ::com::sun::star::uno::Reference< ::com::sun::star::io::XOutputStream > m_xOut; - ::com::sun::star::uno::Reference< ::com::sun::star::io::XSeekable > m_xSeek; - - OStorage(); // never implemented - OStorage(const OStorage&); // never implemented - int operator= (const OStorage&); // never implemented - - OStorage( - const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rxFactory); - protected: - /** this function is called upon disposing the component - */ - virtual void SAL_CALL disposing(); - public: - // ::com::sun::star::lang::XServiceInfo - DECLARE_SERVICE_INFO_STATIC(); - - // XInitialization - virtual void SAL_CALL initialize( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments ) throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException); - - // XStream - virtual ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > SAL_CALL getInputStream( ) throw (::com::sun::star::uno::RuntimeException); - virtual ::com::sun::star::uno::Reference< ::com::sun::star::io::XOutputStream > SAL_CALL getOutputStream( ) throw (::com::sun::star::uno::RuntimeException); - - // XInputStream - virtual ::sal_Int32 SAL_CALL readBytes( ::com::sun::star::uno::Sequence< ::sal_Int8 >& aData, ::sal_Int32 nBytesToRead ) throw (::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException); - virtual ::sal_Int32 SAL_CALL readSomeBytes( ::com::sun::star::uno::Sequence< ::sal_Int8 >& aData, ::sal_Int32 nMaxBytesToRead ) throw (::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException); - virtual void SAL_CALL skipBytes( ::sal_Int32 nBytesToSkip ) throw (::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException); - virtual ::sal_Int32 SAL_CALL available( ) throw (::com::sun::star::io::NotConnectedException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException); - virtual void SAL_CALL closeInput( ) throw (::com::sun::star::io::NotConnectedException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException); - - // XOutputStream - virtual void SAL_CALL writeBytes( const ::com::sun::star::uno::Sequence< ::sal_Int8 >& aData ) throw (::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException); - virtual void SAL_CALL flush( ) throw (::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException); - virtual void SAL_CALL closeOutput( ) throw (::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException); - - // XSeekable - virtual void SAL_CALL seek( ::sal_Int64 location ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException); - virtual ::sal_Int64 SAL_CALL getPosition( ) throw (::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException); - virtual ::sal_Int64 SAL_CALL getLength( ) throw (::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException); - }; - } -// ....................................................................... -} // connectivity -// ....................................................................... -#endif // CONNECTIVITY_HSQLDB_STORAGE_HXX - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/connectivity/source/inc/UStringDescription_Impl.hxx b/connectivity/source/inc/UStringDescription_Impl.hxx deleted file mode 100644 index 8dc4ca60b8ef..000000000000 --- a/connectivity/source/inc/UStringDescription_Impl.hxx +++ /dev/null @@ -1,99 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#ifndef CONNECTIVITY_USTRINGDESCRIPTION_IMPL_HXX -#define CONNECTIVITY_USTRINGDESCRIPTION_IMPL_HXX - -#define IMPLEMENT_CONSTASCII_USTRING(name) \ -UStringDescription name(connectivity::dbtools::get##name) - -UStringDescription::UStringDescription(PVFN _fCharFkt) -{ - pZeroTerminatedName = (*_fCharFkt)(); - nLength = 0; - const sal_Char* pIter = pZeroTerminatedName; - while((*pIter++) != '\0') - ++nLength; -} -// ------------------------------------------------------------------------- -UStringDescription::~UStringDescription() -{ -} - -IMPLEMENT_CONSTASCII_USTRING(PROPERTY_QUERYTIMEOUT ); -IMPLEMENT_CONSTASCII_USTRING(PROPERTY_MAXFIELDSIZE ); -IMPLEMENT_CONSTASCII_USTRING(PROPERTY_MAXROWS ); -IMPLEMENT_CONSTASCII_USTRING(PROPERTY_CURSORNAME ); -IMPLEMENT_CONSTASCII_USTRING(PROPERTY_RESULTSETCONCURRENCY ); -IMPLEMENT_CONSTASCII_USTRING(PROPERTY_RESULTSETTYPE ); -IMPLEMENT_CONSTASCII_USTRING(PROPERTY_FETCHDIRECTION ); -IMPLEMENT_CONSTASCII_USTRING(PROPERTY_FETCHSIZE ); -IMPLEMENT_CONSTASCII_USTRING(PROPERTY_ESCAPEPROCESSING ); -IMPLEMENT_CONSTASCII_USTRING(PROPERTY_USEBOOKMARKS ); - -IMPLEMENT_CONSTASCII_USTRING(PROPERTY_NAME); -IMPLEMENT_CONSTASCII_USTRING(PROPERTY_TYPE); -IMPLEMENT_CONSTASCII_USTRING(PROPERTY_TYPENAME); -IMPLEMENT_CONSTASCII_USTRING(PROPERTY_PRECISION); -IMPLEMENT_CONSTASCII_USTRING(PROPERTY_SCALE); -IMPLEMENT_CONSTASCII_USTRING(PROPERTY_ISNULLABLE); -IMPLEMENT_CONSTASCII_USTRING(PROPERTY_ISAUTOINCREMENT); -IMPLEMENT_CONSTASCII_USTRING(PROPERTY_ISROWVERSION); -IMPLEMENT_CONSTASCII_USTRING(PROPERTY_DESCRIPTION); -IMPLEMENT_CONSTASCII_USTRING(PROPERTY_DEFAULTVALUE); - -IMPLEMENT_CONSTASCII_USTRING(PROPERTY_REFERENCEDTABLE); -IMPLEMENT_CONSTASCII_USTRING(PROPERTY_UPDATERULE); -IMPLEMENT_CONSTASCII_USTRING(PROPERTY_DELETERULE); -IMPLEMENT_CONSTASCII_USTRING(PROPERTY_CATALOG); -IMPLEMENT_CONSTASCII_USTRING(PROPERTY_ISUNIQUE); -IMPLEMENT_CONSTASCII_USTRING(PROPERTY_ISPRIMARYKEYINDEX); -IMPLEMENT_CONSTASCII_USTRING(PROPERTY_ISCLUSTERED); -IMPLEMENT_CONSTASCII_USTRING(PROPERTY_ISASCENDING); -IMPLEMENT_CONSTASCII_USTRING(PROPERTY_SCHEMANAME); -IMPLEMENT_CONSTASCII_USTRING(PROPERTY_CATALOGNAME); -IMPLEMENT_CONSTASCII_USTRING(PROPERTY_COMMAND); -IMPLEMENT_CONSTASCII_USTRING(PROPERTY_CHECKOPTION); -IMPLEMENT_CONSTASCII_USTRING(PROPERTY_PASSWORD); -IMPLEMENT_CONSTASCII_USTRING(PROPERTY_RELATEDCOLUMN); -IMPLEMENT_CONSTASCII_USTRING(PROPERTY_ISSEARCHABLE); - -IMPLEMENT_CONSTASCII_USTRING(STAT_INVALID_INDEX); - -IMPLEMENT_CONSTASCII_USTRING(PROPERTY_FUNCTION); -IMPLEMENT_CONSTASCII_USTRING(PROPERTY_TABLENAME); -IMPLEMENT_CONSTASCII_USTRING(PROPERTY_REALNAME); -IMPLEMENT_CONSTASCII_USTRING(PROPERTY_DBASEPRECISIONCHANGED); -IMPLEMENT_CONSTASCII_USTRING(PROPERTY_ISCURRENCY); - -IMPLEMENT_CONSTASCII_USTRING(PROPERTY_ISBOOKMARKABLE); -//============================================================ -//= error messages -//============================================================ -IMPLEMENT_CONSTASCII_USTRING(ERRORMSG_SEQUENCE); -IMPLEMENT_CONSTASCII_USTRING(SQLSTATE_SEQUENCE); -IMPLEMENT_CONSTASCII_USTRING(SQLSTATE_GENERAL); -//============================================================ -//= different -//============================================================ -IMPLEMENT_CONSTASCII_USTRING(STR_DELIMITER); - -#endif // CONNECTIVITY_USTRINGDESCRIPTION_IMPL_HXX - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/connectivity/source/inc/ado/ACollection.hxx b/connectivity/source/inc/ado/ACollection.hxx deleted file mode 100644 index 937896e1e565..000000000000 --- a/connectivity/source/inc/ado/ACollection.hxx +++ /dev/null @@ -1,224 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#ifndef _CONNECTIVITY_ADO_COLLECTION_HXX_ -#define _CONNECTIVITY_ADO_COLLECTION_HXX_ - -#include <cppuhelper/implbase3.hxx> -#include <com/sun/star/container/XNameAccess.hpp> -#include <com/sun/star/container/XIndexAccess.hpp> -#include "ado/Awrapadox.hxx" -#include "ado/Aolevariant.hxx" -#include <com/sun/star/lang/XServiceInfo.hpp> - -namespace connectivity -{ - namespace ado - { - namespace starcontainer = ::com::sun::star::container; - namespace starlang = ::com::sun::star::lang; - namespace staruno = ::com::sun::star::uno; - namespace starbeans = ::com::sun::star::beans; - - typedef ::cppu::WeakImplHelper3< starcontainer::XNameAccess, - starcontainer::XIndexAccess, - starlang::XServiceInfo> OCollectionBase; - - //************************************************************ - // OCollection - //************************************************************ - template <class T,class SimT,class OCl> class OCollection : public OCollectionBase - { - private: - OCollection( const OCollection& ); // never implemented - OCollection& operator=( const OCollection& ); // never implemented - - protected: - vector<OCl*> m_aElements; - ::cppu::OWeakObject& m_rParent; - ::osl::Mutex& m_rMutex; // mutex of the parent - T* m_pCollection; - - - public: - OCollection(::cppu::OWeakObject& _rParent, ::osl::Mutex& _rMutex,T* _pCollection) - : m_rParent(_rParent) - ,m_rMutex(_rMutex) - ,m_pCollection(_pCollection) - { - m_pCollection->AddRef(); - } - - ~OCollection() - { - m_pCollection->Release(); - } - - virtual ::rtl::OUString SAL_CALL getImplementationName( ) throw (staruno::RuntimeException) - { - return ::rtl::OUString("com.sun.star.sdbcx.ACollection"); - } - virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& _rServiceName ) throw(staruno::RuntimeException) - { - staruno::Sequence< ::rtl::OUString > aSupported(getSupportedServiceNames()); - const ::rtl::OUString* pSupported = aSupported.getConstArray(); - for (sal_Int32 i=0; i<aSupported.getLength(); ++i, ++pSupported) - if (pSupported->equals(_rServiceName)) - return sal_True; - - return sal_False; - } - virtual staruno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames( ) throw(staruno::RuntimeException) - { - staruno::Sequence< ::rtl::OUString > aSupported(1); - aSupported[0] = ::rtl::OUString("com.sun.star.sdbcx.Container"); - return aSupported; - } - - // dispatch the refcounting to the parent - virtual void SAL_CALL acquire() throw() - { - m_rParent.acquire(); - } - virtual void SAL_CALL release() throw() - { - m_rParent.release(); - } - - // ::com::sun::star::container::XElementAccess - virtual staruno::Type SAL_CALL getElementType( ) throw(staruno::RuntimeException) - { - return::getCppuType(static_cast< staruno::Reference< starbeans::XPropertySet>*>(NULL)); - } - - virtual sal_Bool SAL_CALL hasElements( ) throw(staruno::RuntimeException) - { - ::osl::MutexGuard aGuard(m_rMutex); - return getCount() > 0; - } - - // starcontainer::XIndexAccess - virtual sal_Int32 SAL_CALL getCount( ) throw(staruno::RuntimeException) - { - ::osl::MutexGuard aGuard(m_rMutex); - sal_Int32 nCnt = 0; - m_pCollection->get_Count(&nCnt); - return nCnt; - } - - virtual staruno::Any SAL_CALL getByIndex( sal_Int32 Index ) throw(starlang::IndexOutOfBoundsException, starlang::WrappedTargetException, staruno::RuntimeException) - { - ::osl::MutexGuard aGuard(m_rMutex); - if (Index < 0 || Index >= getCount()) - throw starlang::IndexOutOfBoundsException(); - SimT* pCol = NULL; - m_pCollection->get_Item(OLEVariant(Index),&pCol); - if(!pCol) - throw starlang::IndexOutOfBoundsException(); - - OCl* pIndex = new OCl(pCol); - - m_aElements.push_back(pIndex); - - return staruno::makeAny( staruno::Reference< starbeans::XPropertySet >(pIndex)); - } - - - // starcontainer::XNameAccess - virtual staruno::Any SAL_CALL getByName( const ::rtl::OUString& aName ) throw(starcontainer::NoSuchElementException, starlang::WrappedTargetException, staruno::RuntimeException) - { - ::osl::MutexGuard aGuard(m_rMutex); - - SimT* pCol = NULL; - m_pCollection->get_Item(OLEVariant(aName),&pCol); - if(!pCol) - throw starlang::IndexOutOfBoundsException(); - - OCl* pIndex = new OCl(pCol); - - m_aElements.push_back(pIndex); - - return staruno::makeAny( staruno::Reference< starbeans::XPropertySet >(pIndex)); - } - virtual staruno::Sequence< ::rtl::OUString > SAL_CALL getElementNames( ) throw(staruno::RuntimeException) - { - ::osl::MutexGuard aGuard(m_rMutex); - sal_Int32 nLen = getCount(); - staruno::Sequence< ::rtl::OUString > aNameList(nLen); - - ::rtl::OUString* pStringArray = aNameList.getArray(); - OLEVariant aVar; - for (sal_Int32 i=0;i<nLen;++i) - { - aVar.setInt32(i); - SimT* pIdx = NULL; - m_pCollection->get_Item(aVar,&pIdx); - pIdx->AddRef(); - _bstr_t sBSTR; - pIdx->get_Name(&sBSTR); - (*pStringArray) = (sal_Unicode*)sBSTR; - pIdx->Release(); - ++pStringArray; - } - return aNameList; - } - virtual sal_Bool SAL_CALL hasByName( const ::rtl::OUString& aName ) throw(staruno::RuntimeException) - { - ::osl::MutexGuard aGuard(m_rMutex); - SimT* pCol = NULL; - m_pCollection->get_Item(OLEVariant(aName),&pCol); - return pCol != NULL; - } - - void SAL_CALL disposing() - { - ::osl::MutexGuard aGuard(m_rMutex); - for (::std::vector<OCl*>::const_iterator i = m_aElements.begin(); i != m_aElements.end(); ++i) - { - (*i)->disposing(); - (*i)->release(); - } - m_aElements.clear(); - } - - }; - - class OIndex; - class OKey; - class OColumn; - class OTable; - class OView; - class OGroup; - class OUser; - - typedef OCollection< ADOIndexes,ADOIndex,OIndex> OIndexes; - typedef OCollection< ADOKeys,ADOKey,OKey> OKeys; - typedef OCollection< ADOColumns,ADOColumn,OColumn> OColumns; - typedef OCollection< ADOTables,ADOTable,OTable> OTables; - typedef OCollection< ADOViews,ADOView,OView> OViews; - typedef OCollection< ADOGroups,ADOGroup,OGroup> OGroups; - typedef OCollection< ADOUsers,ADOUser,OUser> OUsers; - - } -} -#endif // _CONNECTIVITY_ADO_COLLECTION_HXX_ - - - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/connectivity/source/inc/ado/AIndexColumn.hxx b/connectivity/source/inc/ado/AIndexColumn.hxx deleted file mode 100644 index c19cac11acb3..000000000000 --- a/connectivity/source/inc/ado/AIndexColumn.hxx +++ /dev/null @@ -1,51 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#ifndef _CONNECTIVITY_ADABAS_INDEXCOLUMN_HXX_ -#define _CONNECTIVITY_ADABAS_INDEXCOLUMN_HXX_ - -#include "ado/AColumn.hxx" - -namespace connectivity -{ - namespace ado - { - class OIndexColumn : public OAdoColumn - { - protected: - sal_Bool m_IsAscending; - public: - OIndexColumn(); - OIndexColumn( sal_Bool _IsAscending, - const ::rtl::OUString& _Name, - const ::rtl::OUString& _TypeName, - const ::rtl::OUString& _DefaultValue, - sal_Int32 _IsNullable, - sal_Int32 _Precision, - sal_Int32 _Scale, - sal_Int32 _Type, - sal_Bool _IsAutoIncrement); - - virtual void construct(); - }; - } -} -#endif // _CONNECTIVITY_ADABAS_INDEXCOLUMN_HXX_ - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/connectivity/source/inc/ado/AKeyColumn.hxx b/connectivity/source/inc/ado/AKeyColumn.hxx deleted file mode 100644 index c353da825146..000000000000 --- a/connectivity/source/inc/ado/AKeyColumn.hxx +++ /dev/null @@ -1,51 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#ifndef _CONNECTIVITY_ADABAS_KEYCOLUMN_HXX_ -#define _CONNECTIVITY_ADABAS_KEYCOLUMN_HXX_ - -#include "ado/AColumn.hxx" - -namespace connectivity -{ - namespace ado - { - class OKeyColumn : public OAdoColumn - { - protected: - ::rtl::OUString m_ReferencedColumn; - public: - OKeyColumn(); - OKeyColumn( const ::rtl::OUString& _ReferencedColumn, - const ::rtl::OUString& _Name, - const ::rtl::OUString& _TypeName, - const ::rtl::OUString& _DefaultValue, - sal_Int32 _IsNullable, - sal_Int32 _Precision, - sal_Int32 _Scale, - sal_Int32 _Type, - sal_Bool _IsAutoIncrement); - - virtual void construct(); - }; - } -} -#endif // _CONNECTIVITY_ADABAS_KEYCOLUMN_HXX_ - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/connectivity/source/inc/ado/AKeyColumns.hxx b/connectivity/source/inc/ado/AKeyColumns.hxx deleted file mode 100644 index 50903579d54d..000000000000 --- a/connectivity/source/inc/ado/AKeyColumns.hxx +++ /dev/null @@ -1,48 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#ifndef _CONNECTIVITY_ADO_KEYCOLUMNS_HXX_ -#define _CONNECTIVITY_ADO_KEYCOLUMNS_HXX_ - -#include "connectivity/sdbcx/VCollection.hxx" - -namespace connectivity -{ - namespace ado - { - class OKeyColumns : public OColumns - { - protected: - virtual ::com::sun::star::uno::Reference< starcontainer::XNamed > createObject(const ::rtl::OUString& _rName); - virtual ::com::sun::star::uno::Reference< starbeans::XPropertySet > createDescriptor(); - public: - OKeyColumns( ::cppu::OWeakObject& _rParent, - ::osl::Mutex& _rMutex, - const TStringVector &_rVector, - OTable* _pTable, - connectivity::sdbcx::IRefreshableColumns* _pParent) - : OColumns(_rParent,_rMutex,_rVector,_pTable,_pParent) - { - } - }; - } -} -#endif // _CONNECTIVITY_ADO_KEYCOLUMNS_HXX_ - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/connectivity/source/inc/dbase/DDatabaseMetaDataResultSet.hxx b/connectivity/source/inc/dbase/DDatabaseMetaDataResultSet.hxx deleted file mode 100644 index 84dab9f88137..000000000000 --- a/connectivity/source/inc/dbase/DDatabaseMetaDataResultSet.hxx +++ /dev/null @@ -1,186 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#ifndef _CONNECTIVITY_FILE_ADATABASEMETADATARESULTSET_HXX_ -#define _CONNECTIVITY_FILE_ADATABASEMETADATARESULTSET_HXX_ - -#include <com/sun/star/sdbc/XResultSet.hpp> -#include <com/sun/star/sdbc/XRow.hpp> -#include <com/sun/star/sdbc/XResultSetMetaDataSupplier.hpp> -#include <com/sun/star/sdbc/XCloseable.hpp> -#include <com/sun/star/sdbc/XColumnLocate.hpp> -#include <com/sun/star/util/XCancellable.hpp> -#include <com/sun/star/sdbc/XWarningsSupplier.hpp> -#include <com/sun/star/sdbc/XResultSetUpdate.hpp> -#include <com/sun/star/sdbc/XRowUpdate.hpp> -#include <cppuhelper/compbase7.hxx> -#include <comphelper/proparrhlp.hxx> -#include "file/FStatement.hxx" -#include "connectivity/CommonTools.hxx" -#include <comphelper/propertycontainer.hxx> - -namespace connectivity -{ - namespace file - { - namespace ::com::sun::star::sdbc = ::com::sun::star::sdbc; - namespace ::com::sun::star::beans = ::com::sun::star::beans; - namespace ::com::sun::star::util = ::com::sun::star::util; - - typedef ::cppu::WeakComponentImplHelper7< ::com::sun::star::sdbc::XResultSet, - ::com::sun::star::sdbc::XRow, - ::com::sun::star::sdbc::XResultSetMetaDataSupplier, - ::com::sun::star::util::XCancellable, - ::com::sun::star::sdbc::XWarningsSupplier, - ::com::sun::star::sdbc::XCloseable, - ::com::sun::star::sdbc::XColumnLocate> ODatabaseMetaDataResultSet_BASE; - - DECLARE_STL_VECTOR(::com::sun::star::uno::Any,ORow); - DECLARE_STL_VECTOR(ORow, ORows); - - class ODatabaseMetaDataResultSet : public comphelper::OBaseMutex, - public ODatabaseMetaDataResultSet_BASE, - public ::comphelper::OPropertyContainer, - public ::comphelper::OPropertyArrayUsageHelper<ODatabaseMetaDataResultSet> - { - - - ORows m_aRows; - ORowsIterator m_aRowsIter; - ::com::sun::star::uno::WeakReferenceHelper - m_aStatement; - ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSetMetaData> - m_xMetaData; - sal_Int32 m_nRowPos; - sal_Int32 m_nColPos; - - sal_Int32 m_nFetchSize; - sal_Int32 m_nResultSetType; - sal_Int32 m_nFetchDirection; - sal_Int32 m_nResultSetConcurrency; - - sal_Bool m_bWasNull; - sal_Bool m_bBOF; - - void construct(); - - protected: - - // OPropertyArrayUsageHelper - virtual ::cppu::IPropertyArrayHelper* createArrayHelper( ) const; - // OPropertySetHelper - virtual ::cppu::IPropertyArrayHelper & SAL_CALL getInfoHelper(); - - virtual ~ODatabaseMetaDataResultSet(); - public: - DECLARE_CTY_DEFAULTS(ODatabaseMetaDataResultSet_BASE); - // a Constructor, that is needed for when Returning the Object is needed: - ODatabaseMetaDataResultSet( ); - - - void setRows(const ORows& _rRows) { m_aRows = _rRows; } - - void setCatalogsMap(); - void setSchemasMap(); - void setColumnPrivilegesMap(); - void setColumnsMap(); - void setTablesMap(); - void setTableTypes(); - void setProcedureColumnsMap(); - void setProceduresMap(); - void setExportedKeysMap(); - void setImportedKeysMap(); - void setPrimaryKeysMap(); - void setIndexInfoMap(); - void setTablePrivilegesMap(); - void setCrossReferenceMap(); - void setTypeInfoMap(); - - private: - // ::cppu::OComponentHelper - virtual void SAL_CALL disposing(void); - // XInterface - virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException); - virtual void SAL_CALL acquire() throw(); - virtual void SAL_CALL release() throw(); - //XTypeProvider - virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes( ) throw(::com::sun::star::uno::RuntimeException); - // XPropertySet - virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(::com::sun::star::uno::RuntimeException) - { - return ::cppu::OPropertySetHelper::createPropertySetInfo(getInfoHelper()); - } - // XResultSet - virtual sal_Bool SAL_CALL next( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual sal_Bool SAL_CALL isBeforeFirst( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual sal_Bool SAL_CALL isAfterLast( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual sal_Bool SAL_CALL isFirst( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual sal_Bool SAL_CALL isLast( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual void SAL_CALL beforeFirst( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual void SAL_CALL afterLast( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual sal_Bool SAL_CALL first( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual sal_Bool SAL_CALL last( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual sal_Int32 SAL_CALL getRow( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual sal_Bool SAL_CALL absolute( sal_Int32 row ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual sal_Bool SAL_CALL relative( sal_Int32 rows ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual sal_Bool SAL_CALL previous( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual void SAL_CALL refreshRow( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual sal_Bool SAL_CALL rowUpdated( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual sal_Bool SAL_CALL rowInserted( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual sal_Bool SAL_CALL rowDeleted( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL getStatement( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - // XRow - virtual sal_Bool SAL_CALL wasNull( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual ::rtl::OUString SAL_CALL getString( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual sal_Bool SAL_CALL getBoolean( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual sal_Int8 SAL_CALL getByte( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual sal_Int16 SAL_CALL getShort( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual sal_Int32 SAL_CALL getInt( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual sal_Int64 SAL_CALL getLong( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual float SAL_CALL getFloat( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual double SAL_CALL getDouble( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getBytes( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual ::com::sun::star::util::Date SAL_CALL getDate( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual ::com::sun::star::util::Time SAL_CALL getTime( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual ::com::sun::star::util::DateTime SAL_CALL getTimestamp( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > SAL_CALL getBinaryStream( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > SAL_CALL getCharacterStream( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual ::com::sun::star::uno::Any SAL_CALL getObject( sal_Int32 columnIndex, const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >& typeMap ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XRef > SAL_CALL getRef( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XBlob > SAL_CALL getBlob( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XClob > SAL_CALL getClob( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XArray > SAL_CALL getArray( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - // XResultSetMetaDataSupplier - virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSetMetaData > SAL_CALL getMetaData( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - // XCancellable - virtual void SAL_CALL cancel( ) throw(::com::sun::star::uno::RuntimeException); - // XCloseable - virtual void SAL_CALL close( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - // XWarningsSupplier - virtual ::com::sun::star::uno::Any SAL_CALL getWarnings( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual void SAL_CALL clearWarnings( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - // XColumnLocate - virtual sal_Int32 SAL_CALL findColumn( const ::rtl::OUString& columnName ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - }; - } - -} -#endif // _CONNECTIVITY_FILE_ADATABASEMETADATARESULTSET_HXX_ - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/connectivity/source/inc/dbase/DDatabaseMetaDataResultSetMetaData.hxx b/connectivity/source/inc/dbase/DDatabaseMetaDataResultSetMetaData.hxx deleted file mode 100644 index 3eccb92b2849..000000000000 --- a/connectivity/source/inc/dbase/DDatabaseMetaDataResultSetMetaData.hxx +++ /dev/null @@ -1,101 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#ifndef _CONNECTIVITY_FILE_ADATABASEMETADATARESULTSETMETADATA_HXX_ -#define _CONNECTIVITY_FILE_ADATABASEMETADATARESULTSETMETADATA_HXX_ - -#include <com/sun/star/sdbc/XResultSetMetaData.hpp> -#include <cppuhelper/implbase1.hxx> -#ifndef _VECTOR_ -#include <vector> -#endif -#include "FDatabaseMetaDataResultSet.hxx" -#include "OColumn.hxx" - -namespace connectivity -{ - namespace file - { - //************************************************************** - //************ Class: ResultSetMetaData - //************************************************************** - typedef ::cppu::WeakImplHelper1< ::com::sun::star::sdbc::XResultSetMetaData> ODatabaseMetaResultSetMetaData_BASE; - - class ODatabaseMetaDataResultSetMetaData : public ODatabaseMetaResultSetMetaData_BASE - { - friend class ODatabaseMetaDataResultSet; - - ::std::vector<sal_Int32> m_vMapping; // when not every column is needed - ::std::map<sal_Int32,connectivity::OColumn> m_mColumns; - ::std::map<sal_Int32,connectivity::OColumn>::const_iterator m_mColumnsIter; - - sal_Int32 m_nColCount; - - protected: - void setColumnPrivilegesMap(); - void setColumnsMap(); - void setTablesMap(); - void setProcedureColumnsMap(); - void setPrimaryKeysMap(); - void setIndexInfoMap(); - void setTablePrivilegesMap(); - void setCrossReferenceMap(); - void setTypeInfoMap(); - void setProceduresMap(); - void setTableTypes(); - public: - // a Constructor, that is needed for when Returning the Object is needed: - ODatabaseMetaDataResultSetMetaData( ODatabaseMetaDataResultSet* _pRes) - : m_nColCount(0) - { - } - ~ODatabaseMetaDataResultSetMetaData(); - - /// Avoid ambigous cast error from the compiler. - inline operator ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSetMetaData > () throw() - { return this; } - - virtual sal_Int32 SAL_CALL getColumnCount( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual sal_Bool SAL_CALL isAutoIncrement( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual sal_Bool SAL_CALL isCaseSensitive( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual sal_Bool SAL_CALL isSearchable( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual sal_Bool SAL_CALL isCurrency( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual sal_Int32 SAL_CALL isNullable( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual sal_Bool SAL_CALL isSigned( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual sal_Int32 SAL_CALL getColumnDisplaySize( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual ::rtl::OUString SAL_CALL getColumnLabel( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual ::rtl::OUString SAL_CALL getColumnName( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual ::rtl::OUString SAL_CALL getSchemaName( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual sal_Int32 SAL_CALL getPrecision( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual sal_Int32 SAL_CALL getScale( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual ::rtl::OUString SAL_CALL getTableName( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual ::rtl::OUString SAL_CALL getCatalogName( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual sal_Int32 SAL_CALL getColumnType( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual ::rtl::OUString SAL_CALL getColumnTypeName( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual sal_Bool SAL_CALL isReadOnly( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual sal_Bool SAL_CALL isWritable( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual sal_Bool SAL_CALL isDefinitelyWritable( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - virtual ::rtl::OUString SAL_CALL getColumnServiceName( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); - }; - } -} -#endif // _CONNECTIVITY_FILE_ADATABASEMETARESULTSETMETADATA_HXX_ - - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |