LibreOffice
LibreOffice 6.4 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 
26 #include <com/sun/star/uno/Uik.idl>
27 
28 
29 module 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: */
Uik.idl
XInterface.idl
com::sun::star::reflection::XIdlClass::createObject
void createObject([out] any obj)
This method creates instances of the reflected type.
com::sun::star::reflection::XIdlClass
Provides information reflecting a UNO type.
Definition: XIdlClass.idl:39
TypeClass.idl
com::sun::star::reflection::XIdlField
Deprecated.
Definition: XIdlField.idl:43
com::sun::star::reflection::XIdlClass::getSuperclasses
sequence< XIdlClass > getSuperclasses()
If the reflected type is an interface, then the returned sequence of XIdlClass reflect the base inter...
com::sun::star::reflection::XIdlClass::getTypeClass
com::sun::star::uno::TypeClass getTypeClass()
Returns the com::sun::star::uno::TypeClass of the reflected type.
com::sun::star::reflection::XIdlArray
Reflects an IDL sequence and provides dynamic access to instances of that sequence.
Definition: XIdlArray.idl:42
com::sun::star::reflection::XIdlClass::getClass
XIdlClass getClass([in] string aName)
Deprecated.
com::sun::star::reflection::XIdlClass::getInterfaces
sequence< XIdlClass > getInterfaces()
Deprecated.
com::sun::star::reflection::XIdlClass::equals
boolean equals([in] XIdlClass Type)
Tests whether two reflecting objects reflect the same type.
com::sun::star::reflection::XIdlMethod
Reflects an IDL interface method.
Definition: XIdlMethod.idl:42
com::sun::star::reflection::XIdlClass::getClasses
sequence< XIdlClass > getClasses()
Deprecated.
com::sun::star::reflection::XIdlClass::getMethods
sequence< XIdlMethod > getMethods()
If the reflected type is an interface, then you get a sequence of XIdlMethod interfaces reflecting al...
com::sun::star::reflection::XIdlClass::getFields
sequence< XIdlField > getFields()
If the reflected type is an interface, struct or union, then you get a sequence of XIdlField interfac...
com::sun::star::reflection::XIdlClass::isAssignableFrom
boolean isAssignableFrom([in] XIdlClass xType)
Tests whether values of this reflected type are assignable from values of a second one (xType).
com::sun::star::reflection::XIdlClass::getMethod
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::Uik
Specifies a universal interface key (globally unique).
Definition: Uik.idl:32
com::sun::star::reflection::XIdlClass::getUik
com::sun::star::uno::Uik getUik()
Deprecated.
com
Definition: Ambiguous.idl:22
com::sun::star::uno::TypeClass
TypeClass
This enum describes all type classes of UNO.
Definition: TypeClass.idl:37
com::sun::star::reflection::XIdlClass::getField
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::reflection::XIdlClass::getName
string getName()
Returns the fully-qualified name of the reflected type.
com::sun::star::reflection::XIdlClass::getArray
XIdlArray getArray()
If the reflected type is an array, then you get a XIdlArray interface to modify instances of the arra...
com::sun::star::reflection::XIdlClass::getComponentType
XIdlClass getComponentType()
If the reflected type is an array or sequence, then this method returns a XIdlClass interface reflect...
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition: XInterface.idl:48