Top   Module   Use   Manual   Index 
 EXPORTING SERVICES | METHODS' SUMMARY | METHODS' DETAILS 

com :: sun :: star :: reflection ::

interface XIdlReflection

Base Interface
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 .



Known Services which Export this Interface

com::sun::star::reflection::CoreReflection This service is the implementation of the interface XIdlReflection.
com::sun::star::reflection::CoreReflection This service is the implementation of the interface XIdlReflection.

Methods' Summary

forName
getType

Methods' Details

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

Example
The following code fragment returns the run-time descriptor for the interface named XInterface :
 IdlClass = xIdlReflection.forName("XInterface")
getType
 
com::sun::star::reflection::XIdlClass
getType(
[ in ] any aObj );

Returns
the XIdlClass that represents the type of passed object.

Top of Page