cid#1636693 COPY_INSTEAD_OF_MOVE
[LibreOffice.git] / connectivity / source / inc / ado / WrapTable.hxx
blobdc06dbc03a8eac3defc54e33c0a45baf844d4ce1
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #pragma once
21 #include <sal/config.h>
23 #include <string_view>
25 #include <ado/WrapTypeDefs.hxx>
27 namespace connectivity::ado
29 class WpADOCatalog;
31 class WpADOTable : public WpOLEBase<_ADOTable>
33 public:
34 WpADOTable() = default;
35 WpADOTable(const WpADOTable& rhs) : WpOLEBase<_ADOTable>(rhs) {}
37 WpADOTable& operator=(const WpADOTable& rhs)
38 {WpOLEBase<_ADOTable>::operator=(rhs); return *this;}
40 void Create();
42 OUString get_Name() const;
43 void put_Name(std::u16string_view _rName);
44 OUString get_Type() const;
45 WpADOColumns get_Columns() const;
46 WpADOIndexes get_Indexes() const;
47 WpADOKeys get_Keys() const;
48 WpADOCatalog get_ParentCatalog() const;
49 WpADOProperties get_Properties() const;
50 void putref_ParentCatalog(/* [in] */ _ADOCatalog __RPC_FAR *ppvObject);
54 typedef WpOLEAppendCollection<ADOTables, WpADOTable> WpADOTables;
57 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */