|
LibreOffice
LibreOffice 24.8 SDK API Reference
|
Reflects a parameter of an interface method or a service constructor. More...
import "XParameter.idl";
Public Member Functions | |
| boolean | isRestParameter () |
| Returns whether this is a rest parameter. | |
| Public Member Functions inherited from XMethodParameter | |
| string | getName () |
| Returns the name of the parameter. | |
| com::sun::star::reflection::XTypeDescription | getType () |
| Returns the type of the parameter. | |
| boolean | isIn () |
| Returns true, if the parameter is declared as [in] or [inout] in IDL. | |
| boolean | isOut () |
| Returns true, if the parameter is declared as [out] or [inout] in IDL. | |
| long | getPosition () |
| Returns the position of the parameter regarding the IDL method declaration. | |
| Public Member Functions inherited from XInterface | |
| any | queryInterface ([in] type aType) |
| queries for a new interface to an existing UNO object. | |
| void | acquire () |
| increases the reference counter by one. | |
| void | release () |
| decreases the reference counter by one. | |
Reflects a parameter of an interface method or a service constructor.
This type supersedes XMethodParameter, which only supports parameters of interface methods (which cannot have rest parameters).
| boolean isRestParameter | ( | ) |
Returns whether this is a rest parameter.
A rest parameter must always come last in a parameter list.
Currently, only service constructors can have rest parameters, and those rest parameters must be in parameters of type any.