interface XIdlReflection in module com::sun::star::reflection::

(Global Index)

Syntax

interface XIdlReflection : com::sun::star::uno::XInterface ;

Description

offers access to the repository of all known IDL types.

The core reflection service has the name "uno.CoreReflection". You can get this service from the global service manager. The implementation of this interface must also look in the global service manager ( getGlobalServiceManager() ) to get the XIdlClass from a service provider.

For information about the concept see href=service.html>Global Service Manager .

Method Summary

forName

getType

Method Details



forName

Syntax

com::sun::star::reflection::XIdlClass forName (
string aTypeName );

Description

Example

The following code fragment returns the run-time descriptor for the interface named XInterface :
 IdlClass = xIdlReflection.forName("XInterface")

getType

Syntax

com::sun::star::reflection::XIdlClass getType (
any aObj );

Description

Returns

the XIdlClass that represents the type of passed object.
Top of Page