1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 .
20 module com
{ module sun
{ module star
{ module reflection
{
23 Reflects the “published” status of a UNOIDL entity.
25 <p>This interface is intended to be supported by objects that also support
26 com::sun::star::reflection::XTypeDescription.
27 (This interface could have been made an optional sub-interface of
28 com::sun::star::reflection::XTypeDescription, but is
29 instead kept independent for reasons of backwards compatibility.)</p>
31 <p>For the various kinds of UNOIDL entities that are represented by objects
32 supporting com::sun::star::reflection::XTypeDescription
33 and its subtypes, this optional interface should be supported as follows:</p>
36 (com::sun::star::reflection::XEnumTypeDescription),
38 (com::sun::star::reflection::XStructTypeDescription),
39 polymorphic struct type templates
40 (com::sun::star::reflection::XStructTypeDescription),
41 exception types (com::sun::star::reflection::XCompoundTypeDescription),
42 interface types (com::sun::star::reflection::XInterfaceTypeDescription2),
43 typedefs (com::sun::star::reflection::XIndirectTypeDescription),
45 (com::sun::star::reflection::XConstantTypeDescription),
46 constant groups (com::sun::star::reflection::XConstantsTypeDescription),
47 single-interface–based services
48 (com::sun::star::reflection::XServiceTypeDescription2),
49 accumulation-based services
50 (com::sun::star::reflection::XServiceTypeDescription2),
51 interface-based singletons
52 (com::sun::star::reflection::XSingletonTypeDescription2),
53 and service-based singletons
54 (com::sun::star::reflection::XSingletonTypeDescription2)
55 support the notion of being published. Therefore, for an object that
56 represents any such entity,
57 com::sun::star::reflection::XPublished should be
61 (com::sun::star::reflection::XIndirectTypeDescription),
62 type parameters of polymorphic struct type templates
63 (com::sun::star::reflection::XTypeDescription),
64 instantiated polymorphic struct types
65 (com::sun::star::reflection::XStructTypeDescription),
66 attributes of interface types
67 (com::sun::star::reflection::XInterfaceAttributeTypeDescription2),
68 methods of interface types
69 (com::sun::star::reflection::XInterfaceMethodTypeDescription),
70 properties of accumulation-based services
71 (com::sun::star::reflection::XPropertyTypeDescription),
73 com::sun::star::reflection::XArrayTypeDescriptions,
75 com::sun::star::reflection::XUnionTypeDescriptions do
76 not support the notion of being published.
77 Therefore, for an object that represents any such entity,
78 com::sun::star::reflection::XPublished should not be
84 interface XPublished
{
86 Returns the “published” status of a UNOIDL entity.
88 @return `TRUE` if the UNOIDL entity represented by this object is
91 boolean isPublished
();
96 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */