LibreOffice LibreOffice 25.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
20
21module com { module sun { module star { module reflection {
22
23 published interface XIdlField;
24 published interface XIdlMethod;
25 published interface XIdlArray;
26
27
30published interface XIdlClass: com::sun::star::uno::XInterface
31{
35 sequence<XIdlClass> getClasses();
39 XIdlClass getClass( [in] string aName );
40
46 boolean equals( [in] XIdlClass Type );
47
57 boolean isAssignableFrom( [in] XIdlClass xType );
58
65 com::sun::star::uno::TypeClass getTypeClass();
66
72 string getName();
73
78 com::sun::star::uno::Uik getUik();
79
89 sequence<XIdlClass> getSuperclasses();
90
94 sequence<XIdlClass> getInterfaces();
95
104 XIdlClass getComponentType();
105
119 XIdlField getField( [in] string aName );
120
133 sequence<XIdlField> getFields();
134
147 XIdlMethod getMethod( [in] string aName );
148
159 sequence<XIdlMethod> getMethods();
160
169 XIdlArray getArray();
170
181 void createObject( [out] any obj );
182};
183
184
185}; }; }; };
186
187/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::reflection::XIdlArray
Reflects an IDL sequence and provides dynamic access to instances of that sequence.
Definition: XIdlArray.idl:34
com::sun::star::reflection::XIdlClass
Provides information reflecting a UNO type.
Definition: XIdlClass.idl:31
com::sun::star::reflection::XIdlClass::equals
boolean equals([in] XIdlClass Type)
Tests whether two reflecting objects reflect the same type.
com::sun::star::reflection::XIdlClass::getName
string getName()
Returns the fully-qualified name of the reflected type.
com::sun::star::reflection::XIdlClass::createObject
void createObject([out] any obj)
This method creates instances of the reflected type.
com::sun::star::reflection::XIdlClass::getInterfaces
sequence< XIdlClass > getInterfaces()
Deprecated.
com::sun::star::reflection::XIdlClass::getClass
XIdlClass getClass([in] string aName)
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::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::reflection::XIdlClass::getTypeClass
com::sun::star::uno::TypeClass getTypeClass()
Returns the com::sun::star::uno::TypeClass of the reflected type.
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::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::getClasses
sequence< XIdlClass > getClasses()
Deprecated.
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::getUik
com::sun::star::uno::Uik getUik()
Deprecated.
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::getComponentType
XIdlClass getComponentType()
If the reflected type is an array or sequence, then this method returns a XIdlClass interface reflect...
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::XIdlField
Deprecated.
Definition: XIdlField.idl:31
com::sun::star::reflection::XIdlMethod
Reflects an IDL interface method.
Definition: XIdlMethod.idl:30
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition: XInterface.idl:46
com::sun::star::uno::TypeClass
TypeClass
This enum describes all type classes of UNO.
Definition: TypeClass.idl:35
com
Definition: Ambiguous.idl:20
com::sun::star::uno::Uik
Specifies a universal interface key (globally unique).
Definition: Uik.idl:30