LibreOffice
LibreOffice 7.3 SDK API Reference
XIdlMethod.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_XIdlMethod_idl__
20 #define __com_sun_star_reflection_XIdlMethod_idl__
21 
23 
25 
27 
29 
31 
32 
33 
34  module com { module sun { module star { module reflection {
35 
36  published interface XIdlClass;
37 
38 
42 {
49 
56  sequence<XIdlClass> getParameterTypes();
57 
66  sequence<ParamInfo> getParameterInfos();
67 
73  sequence<com::sun::star::reflection::XIdlClass> getExceptionTypes();
74 
83 
107  any invoke(
108  [in] any obj,
109  [inout] sequence<any> args )
112 };
113 
114 
115 }; }; }; };
116 
117 #endif
118 
119 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument.
Definition: IllegalArgumentException.idl:31
This exception denotes a checked exception (wrapping an originating exception) and may be thrown upon...
Definition: InvocationTargetException.idl:35
Provides information reflecting a UNO type.
Definition: XIdlClass.idl:39
Base interface for XIdlField2s and XIdlMethods.
Definition: XIdlMember.idl:33
Reflects an IDL interface method.
Definition: XIdlMethod.idl:42
sequence< ParamInfo > getParameterInfos()
Returns formal parameter information of the reflected method in order of IDL declaration.
any invoke([in] any obj, [inout] sequence< any > args)
Invokes the reflected method on a given object with the given parameters.
com::sun::star::reflection::MethodMode getMode()
Returns the method mode in which calls are run, i.e.
XIdlClass getReturnType()
Returns the return type of the reflected method.
sequence< com::sun::star::reflection::XIdlClass > getExceptionTypes()
Returns the declared exceptions types of the reflected method.
sequence< XIdlClass > getParameterTypes()
Returns the formal parameter types of the reflected method in order of IDL declaration.
MethodMode
MethodMode denotes the mode in which method calls are run, i.e.
Definition: MethodMode.idl:32
Definition: Ambiguous.idl:22