1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: WrapTable.hxx,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef CONNECTIVITY_ADO_WRAP_TABLE_HXX
31 #define CONNECTIVITY_ADO_WRAP_TABLE_HXX
33 #include "ado/WrapTypeDefs.hxx"
35 namespace connectivity
41 class WpADOTable
: public WpOLEBase
<_ADOTable
>
44 WpADOTable(_ADOTable
* pInt
=NULL
) : WpOLEBase
<_ADOTable
>(pInt
){}
45 WpADOTable(const WpADOTable
& rhs
){operator=(rhs
);}
47 inline WpADOTable
& operator=(const WpADOTable
& rhs
)
48 {WpOLEBase
<_ADOTable
>::operator=(rhs
); return *this;}
52 ::rtl::OUString
get_Name() const;
53 void put_Name(const ::rtl::OUString
& _rName
);
54 ::rtl::OUString
get_Type() const;
55 WpADOColumns
get_Columns() const;
56 WpADOIndexes
get_Indexes() const;
57 WpADOKeys
get_Keys() const;
58 WpADOCatalog
get_ParentCatalog() const;
59 WpADOProperties
get_Properties() const;
60 void putref_ParentCatalog(/* [in] */ _ADOCatalog __RPC_FAR
*ppvObject
);
64 typedef WpOLEAppendCollection
<ADOTables
, _ADOTable
, WpADOTable
> WpADOTables
;
68 #endif //CONNECTIVITY_ADO_WRAP_TABLE_HXX