LibreOffice
LibreOffice 24.2 SDK API Reference
Public Member Functions | List of all members
XMethodParameter Interface Referencepublished

Reflects a method parameter. More...

import"XMethodParameter.idl";

Inheritance diagram for XMethodParameter:
XInterface XParameter

Public Member Functions

string getName ()
 Returns the name of the parameter. More...
 
com::sun::star::reflection::XTypeDescription getType ()
 Returns the type of the parameter. More...
 
boolean isIn ()
 Returns true, if the parameter is declared as [in] or [inout] in IDL. More...
 
boolean isOut ()
 Returns true, if the parameter is declared as [out] or [inout] in IDL. More...
 
long getPosition ()
 Returns the position of the parameter regarding the IDL method declaration. More...
 
- Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object. More...
 
void acquire ()
 increases the reference counter by one. More...
 
void release ()
 decreases the reference counter by one. More...
 

Detailed Description

Reflects a method parameter.

This type is superseded by XParameter, which supports parameters of service constructors as well as parameters of interface methods.

See also
XInterfaceMethodTypeDescription

Member Function Documentation

◆ getName()

string getName ( )

Returns the name of the parameter.

Returns
name of parameter

◆ getPosition()

long getPosition ( )

Returns the position of the parameter regarding the IDL method declaration.

Returns
position of the parameter

◆ getType()

Returns the type of the parameter.

Returns
type of parameter

◆ isIn()

boolean isIn ( )

Returns true, if the parameter is declared as [in] or [inout] in IDL.

Returns
true, if declared [in] or [inout] parameter

◆ isOut()

boolean isOut ( )

Returns true, if the parameter is declared as [out] or [inout] in IDL.

Returns
true, if declared [out] or [inout] parameter

The documentation for this interface was generated from the following file: