LibreOffice
LibreOffice 7.2 SDK API Reference
XIdlClass.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_reflection_XIdlClass_idl__
20#define __com_sun_star_reflection_XIdlClass_idl__
21
23
25
27
28
29module com { module sun { module star { module reflection {
30
31 published interface XIdlField;
32 published interface XIdlMethod;
33 published interface XIdlArray;
34
35
39{
43 sequence<XIdlClass> getClasses();
47 XIdlClass getClass( [in] string aName );
48
54 boolean equals( [in] XIdlClass Type );
55
65 boolean isAssignableFrom( [in] XIdlClass xType );
66
74
80 string getName();
81
87
97 sequence<XIdlClass> getSuperclasses();
98
102 sequence<XIdlClass> getInterfaces();
103
113
127 XIdlField getField( [in] string aName );
128
141 sequence<XIdlField> getFields();
142
155 XIdlMethod getMethod( [in] string aName );
156
167 sequence<XIdlMethod> getMethods();
168
178
189 void createObject( [out] any obj );
190};
191
192
193}; }; }; };
194
195#endif
196
197/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Reflects an IDL sequence and provides dynamic access to instances of that sequence.
Definition: XIdlArray.idl:42
Provides information reflecting a UNO type.
Definition: XIdlClass.idl:39
boolean equals([in] XIdlClass Type)
Tests whether two reflecting objects reflect the same type.
string getName()
Returns the fully-qualified name of the reflected type.
void createObject([out] any obj)
This method creates instances of the reflected type.
sequence< XIdlClass > getInterfaces()
Deprecated.
XIdlClass getClass([in] string aName)
Deprecated.
sequence< XIdlMethod > getMethods()
If the reflected type is an interface, then you get a sequence of XIdlMethod interfaces reflecting al...
XIdlMethod getMethod([in] string aName)
If the reflected type is an interface, then you get a XIdlMethod interface reflecting the demanded me...
com::sun::star::uno::TypeClass getTypeClass()
Returns the com::sun::star::uno::TypeClass of the reflected type.
boolean isAssignableFrom([in] XIdlClass xType)
Tests whether values of this reflected type are assignable from values of a second one (xType).
sequence< XIdlField > getFields()
If the reflected type is an interface, struct or union, then you get a sequence of XIdlField interfac...
sequence< XIdlClass > getClasses()
Deprecated.
XIdlField getField([in] string aName)
If the reflected type is an interface, struct or union, then you get a XIdlField interface reflecting...
com::sun::star::uno::Uik getUik()
Deprecated.
sequence< XIdlClass > getSuperclasses()
If the reflected type is an interface, then the returned sequence of XIdlClass reflect the base inter...
XIdlClass getComponentType()
If the reflected type is an array or sequence, then this method returns a XIdlClass interface reflect...
XIdlArray getArray()
If the reflected type is an array, then you get a XIdlArray interface to modify instances of the arra...
Deprecated.
Definition: XIdlField.idl:43
Reflects an IDL interface method.
Definition: XIdlMethod.idl:42
base interface of all UNO interfaces
Definition: XInterface.idl:48
TypeClass
This enum describes all type classes of UNO.
Definition: TypeClass.idl:37
Definition: Accessible.idl:22
Specifies a universal interface key (globally unique).
Definition: Uik.idl:32