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

interface XIdlReflection
Description
Interface to reflect types.
See also
CoreReflection, XIdlClass

Methods' Summary
forName Obtaining a reflection interface for a type. You specify the type by its name. If the given type name can not be reflected, then a null-reference is returned.  
getType Obtaining a reflection interface for an object. This method takes the type of the object the any contains into account. If the any contains no object, then a null-reference is returned.  
Methods' Details
forName
XIdlClass
forName( [in] string  aTypeName );

Description
Obtaining a reflection interface for a type. You specify the type by its name. If the given type name can not be reflected, then a null-reference is returned.
Parameter aTypeName
the type's name
Returns
reflection interface for the demanded type (or null)
getType
XIdlClass
getType( [in] any  aObj );

Description
Obtaining a reflection interface for an object. This method takes the type of the object the any contains into account. If the any contains no object, then a null-reference is returned.
Parameter aObj
an object
Returns
reflection interface of the type of the demanded object (or null)
Top of Page