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 CONNECTIVITY_ADO_WRAP_TABLE_HXX
24 #define CONNECTIVITY_ADO_WRAP_TABLE_HXX
25 
26 #include "ado/WrapTypeDefs.hxx"
27 
28 namespace connectivity
29 {
30 	namespace ado
31 	{
32 		class WpADOCatalog;
33 
34 		class WpADOTable : public WpOLEBase<_ADOTable>
35 		{
36 		public:
WpADOTable(_ADOTable * pInt=NULL)37 			WpADOTable(_ADOTable* pInt=NULL)	:	WpOLEBase<_ADOTable>(pInt){}
WpADOTable(const WpADOTable & rhs)38 			WpADOTable(const WpADOTable& rhs){operator=(rhs);}
39 
operator =(const WpADOTable & rhs)40 			inline WpADOTable& operator=(const WpADOTable& rhs)
41 				{WpOLEBase<_ADOTable>::operator=(rhs); return *this;}
42 
43 			void Create();
44 
45 			::rtl::OUString get_Name() const;
46 			void			put_Name(const ::rtl::OUString& _rName);
47 			::rtl::OUString get_Type() const;
48 			WpADOColumns	get_Columns() const;
49 			WpADOIndexes	get_Indexes() const;
50 			WpADOKeys		get_Keys() const;
51 			WpADOCatalog	get_ParentCatalog() const;
52 			WpADOProperties get_Properties() const;
53 			void			putref_ParentCatalog(/* [in] */ _ADOCatalog __RPC_FAR *ppvObject);
54 		};
55 
56 
57 		typedef WpOLEAppendCollection<ADOTables,	_ADOTable,	WpADOTable>		WpADOTables;
58 	}
59 }
60 
61 #endif //CONNECTIVITY_ADO_WRAP_TABLE_HXX
62