LibreOffice LibreOffice 25.2 SDK API Reference

XUnionTypeDescription.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
20
21
22 module com { module sun { module star { module reflection {
23
24
29published interface XUnionTypeDescription: com::sun::star::reflection::XTypeDescription
30{
36 com::sun::star::reflection::XTypeDescription getDiscriminantType();
37
43 any getDefaultDiscriminant();
44
50 com::sun::star::reflection::XTypeDescription getDefaultMemberType();
51
57 sequence< any > getDiscriminants();
58
64 sequence< com::sun::star::reflection::XTypeDescription > getMemberTypes();
65
71 sequence< string > getMemberNames();
72};
73
74
75}; }; }; };
76
77/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::reflection::XTypeDescription
Reflects a UNOIDL entity.
Definition: XTypeDescription.idl:42
com::sun::star::reflection::XUnionTypeDescription
Deprecated, UNOIDL does not have a union concept.
Definition: XUnionTypeDescription.idl:30
com::sun::star::reflection::XUnionTypeDescription::getDefaultDiscriminant
any getDefaultDiscriminant()
Returns the default discriminant value.
com::sun::star::reflection::XUnionTypeDescription::getDefaultMemberType
com::sun::star::reflection::XTypeDescription getDefaultMemberType()
Returns the type of the default value.
com::sun::star::reflection::XUnionTypeDescription::getMemberTypes
sequence< com::sun::star::reflection::XTypeDescription > getMemberTypes()
Returns types of all members in order of IDL declaration.
com::sun::star::reflection::XUnionTypeDescription::getDiscriminants
sequence< any > getDiscriminants()
Returns discriminants of all members in order of IDL declaration.
com::sun::star::reflection::XUnionTypeDescription::getDiscriminantType
com::sun::star::reflection::XTypeDescription getDiscriminantType()
Returns the (ordinal) discriminant type.
com::sun::star::reflection::XUnionTypeDescription::getMemberNames
sequence< string > getMemberNames()
Returns names of all members in order of IDL declaration.
com
Definition: Ambiguous.idl:20