LibreOffice: com/sun/star/sdb/DefinitionContainer.idl Source File

LibreOffice LibreOffice 7.3 SDK API Reference

DefinitionContainer.idl
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 * This file incorporates work covered by the following license notice:
10 *
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 .
18 */
19#ifndef __com_sun_star_sdb_DefinitionContainer_idl__
20#define __com_sun_star_sdb_DefinitionContainer_idl__
21
22 module com { module sun { module star { module container {
23 published interface XNameAccess;
24 published interface XNameContainer;
25 published interface XIndexAccess;
26 published interface XEnumerationAccess;
27};};};};
28
29 module com { module sun { module star { module util {
30 published interface XRefreshable;
31};};};};
32 module com { module sun { module star { module lang {
33 published interface XSingleServiceFactory;
34};};};};
35
36 module com { module sun { module star { module sdb {
37
38
54published service DefinitionContainer
55{
56 // gives access to the elements by name.
57 interface com::sun::star::container::XNameAccess;
58
59 // allows to insert and remove by name.
60 interface com::sun::star::container::XNameContainer;
61
62 // gives access to the elements by index.
63 interface com::sun::star::container::XIndexAccess;
64
65 // allows to create an enumeration of the elements.
66 interface com::sun::star::container::XEnumerationAccess;
67
68
71 [optional] interface com::sun::star::util::XRefreshable;
72
80 [optional] interface com::sun::star::lang::XSingleServiceFactory;
81};
82
83
84}; }; }; };
85
86/*===========================================================================
87===========================================================================*/
88#endif
89
90/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::container::XEnumerationAccess
used to enumerate objects in a container which contains objects.
Definition: XEnumerationAccess.idl:34
com::sun::star::container::XIndexAccess
provides access to the elements of a collection through an index.
Definition: XIndexAccess.idl:40
com::sun::star::container::XNameAccess
is used to access named objects within a container.
Definition: XNameAccess.idl:40
com::sun::star::container::XNameContainer
This is the generic interface for supporting the insertion and removal of named elements.
Definition: XNameContainer.idl:41
com::sun::star::lang::XSingleServiceFactory
Factory interface to produce instances of an implementation of a service specification.
Definition: XSingleServiceFactory.idl:40
com::sun::star::util::XRefreshable
is supported by objects with data that can be refreshed from a data source.
Definition: XRefreshable.idl:34
com
Definition: Ambiguous.idl:22
com::sun::star::sdb::DefinitionContainer
describes a container which provides access to database related definitions like commands,...
Definition: DefinitionContainer.idl:55