LibreOffice Module test (master) 1
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
20namespace apitest
21{
23{
24public:
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
36protected:
38
39private:
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: */
OUString const m_aName
Definition: xnameaccess.hxx:40
XNameAccess(OUString aName)
Definition: xnameaccess.hxx:25
virtual css::uno::Reference< css::uno::XInterface > init()=0
OUString aName
OUString m_aName
#define OOO_DLLPUBLIC_TEST
Definition: testdllapi.hxx:28