1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 #ifndef DBACCESS_CORE_API_CROWSETCOLUMN_HXX
24 #define DBACCESS_CORE_API_CROWSETCOLUMN_HXX
25 
26 #ifndef DBACCESS_CORE_API_ROWSETROW_HXX
27 #include "RowSetRow.hxx"
28 #endif
29 #ifndef _CONNECTIVITY_COMMONTOOLS_HXX_
30 #include <connectivity/CommonTools.hxx>
31 #endif
32 #ifndef _COMPHELPER_PROPERTY_ARRAY_HELPER_HXX_
33 #include <comphelper/proparrhlp.hxx>
34 #endif
35 #ifndef DBACCESS_CORE_API_CROWSETDATACOLUMN_HXX
36 #include "CRowSetDataColumn.hxx"
37 #endif
38 
39 namespace dbaccess
40 {
41 	class ORowSetColumn;
42     class ORowSetColumn :public ORowSetDataColumn
43                         ,public ::comphelper::OPropertyArrayUsageHelper< ORowSetColumn >
44 
45 	{
46 	public:
47 		ORowSetColumn(	const ::com::sun::star::uno::Reference < ::com::sun::star::sdbc::XResultSetMetaData >& _xMetaData,
48 						const ::com::sun::star::uno::Reference < ::com::sun::star::sdbc::XRow >& _xRow,
49 						sal_Int32 _nPos,
50                         const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDatabaseMetaData >& _rxDBMeta,
51 						const ::rtl::OUString& _rDescription,
52                         const ::rtl::OUString& i_sLabel,
53 						ORowSetCacheIterator& _rColumnValue);
54 
55 		virtual ::cppu::IPropertyArrayHelper* createArrayHelper( ) const;
56 		virtual ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper();
57 		virtual void SAL_CALL setFastPropertyValue_NoBroadcast( sal_Int32 nHandle,const ::com::sun::star::uno::Any& rValue )throw (::com::sun::star::uno::Exception );
58 	};
59 
60 }
61 
62 #endif // DBACCESS_CORE_API_CROWSETCOLUMN_HXX
63