LibreOffice Module test (master)
1
include
test
container
xnameaccess.hxx
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
2
/*
3
* This file is part of the LibreOffice project.
4
*
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/.
8
*/
9
10
#ifndef INCLUDED_TEST_CONTAINER_XNAMEACCESS_HXX
11
#define INCLUDED_TEST_CONTAINER_XNAMEACCESS_HXX
12
13
#include <com/sun/star/uno/XInterface.hpp>
14
15
#include <com/sun/star/uno/Reference.hxx>
16
17
#include <
test/testdllapi.hxx
>
18
#include <utility>
19
20
namespace
apitest
21
{
22
class
OOO_DLLPUBLIC_TEST
XNameAccess
23
{
24
public
:
25
XNameAccess
(OUString aName)
26
:
m_aName
(
std
::move(
aName
))
27
{
28
}
29
30
virtual
css::uno::Reference<css::uno::XInterface>
init
() = 0;
31
32
void
testGetByName();
33
void
testGetElementNames();
34
void
testHasByName();
35
36
protected
:
37
~XNameAccess
() {}
38
39
private
:
40
OUString
const
m_aName
;
41
};
42
43
}
// namespace apitest
44
45
#endif
// INCLUDED_TEST_CONTAINER_XNAMEACCESS_HXX
46
47
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
apitest::XNameAccess
Definition:
xnameaccess.hxx:23
apitest::XNameAccess::m_aName
OUString const m_aName
Definition:
xnameaccess.hxx:40
apitest::XNameAccess::XNameAccess
XNameAccess(OUString aName)
Definition:
xnameaccess.hxx:25
apitest::XNameAccess::init
virtual css::uno::Reference< css::uno::XInterface > init()=0
apitest::XNameAccess::~XNameAccess
~XNameAccess()
Definition:
xnameaccess.hxx:37
aName
OUString aName
apitest
Definition:
xpropertyset.cxx:36
std
m_aName
OUString m_aName
testdllapi.hxx
OOO_DLLPUBLIC_TEST
#define OOO_DLLPUBLIC_TEST
Definition:
testdllapi.hxx:28
Generated on Sun Jul 30 2023 04:27:07 for LibreOffice Module test (master) by
1.9.3