1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*************************************************************************
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 * Copyright 2000, 2010 Oracle and/or its affiliates.
8 * OpenOffice.org - a multi-platform office productivity suite
10 * This file is part of OpenOffice.org.
12 * OpenOffice.org is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU Lesser General Public License version 3
14 * only, as published by the Free Software Foundation.
16 * OpenOffice.org is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Lesser General Public License version 3 for more details
20 * (a copy is included in the LICENSE file that accompanied this code).
22 * You should have received a copy of the GNU Lesser General Public License
23 * version 3 along with OpenOffice.org. If not, see
24 * <http://www.openoffice.org/license.html>
25 * for a copy of the LGPLv3 License.
27 ************************************************************************/
28 #ifndef CONNECTIVITY_ADO_WRAP_COLUMN_HXX
29 #define CONNECTIVITY_ADO_WRAP_COLUMN_HXX
31 #include "ado/Aolewrap.hxx"
33 #include "ado_pre_sys_include.h"
35 #include "ado_post_sys_include.h"
37 namespace connectivity
41 class WpADOColumn
: public WpOLEBase
<_ADOColumn
>
44 WpADOColumn(_ADOColumn
* pInt
=NULL
) : WpOLEBase
<_ADOColumn
>(pInt
){}
45 WpADOColumn(const WpADOColumn
& rhs
) : WpOLEBase
<_ADOColumn
>(rhs
) {}
49 inline WpADOColumn
& operator=(const WpADOColumn
& rhs
)
50 {WpOLEBase
<_ADOColumn
>::operator=(rhs
); return *this;}
52 ::rtl::OUString
get_Name() const;
53 ::rtl::OUString
get_RelatedColumn() const;
54 void put_Name(const ::rtl::OUString
& _rName
);
55 void put_RelatedColumn(const ::rtl::OUString
& _rName
);
56 DataTypeEnum
get_Type() const;
57 void put_Type(const DataTypeEnum
& _eNum
) ;
58 sal_Int32
get_Precision() const;
59 void put_Precision(sal_Int32 _nPre
) ;
60 sal_uInt8
get_NumericScale() const;
61 void put_NumericScale(sal_Int8 _nScale
);
62 SortOrderEnum
get_SortOrder() const;
63 void put_SortOrder(SortOrderEnum _nScale
);
64 sal_Int32
get_DefinedSize() const;
65 ColumnAttributesEnum
get_Attributes() const;
66 sal_Bool
put_Attributes(const ColumnAttributesEnum
& _eNum
);
67 WpADOProperties
get_Properties() const;
68 void put_ParentCatalog(/* [in] */ _ADOCatalog __RPC_FAR
*ppvObject
);
73 #endif //CONNECTIVITY_ADO_WRAP_COLUMN_HXX
75 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */