Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

service TypeDescriptionManager
Description
This service manages type descriptions and acts as a central access point to every type description. It delegates calls for demanded types to subsequent TypeDescriptionProviders and may cache type descriptions.
Using cppuhelper's bootstrapping routines bootstrapping an initial component context, there is a singleton accessable via key "/singletons/com.sun.star.reflection.theTypeDescriptionManager". This singleton object is hooked into the C UNO runtime typelib and lives until the context is shut down.
See also
TypeDescriptionProvider, XTypeDescription

Exported Interfaces - Summary
::com::sun::star::container::XHierarchicalNameAccess

Interface to retrieve type descriptions. (details)

::com::sun::star::container::XSet

You can manually add or remove a providers via this interface.

::com::sun::star::lang::XComponent

Interface to signal shutdown to the manager.
This signals all providers to shut down, because usually each provider references its manager, listening for disposing events. (details)

XTypeDescriptionEnumerationAccess

Interface for creating enumerations for type descriptions supported by this TypeDescriptionManager (details)

Exported Interfaces - Details
::com::sun::star::container::XHierarchicalNameAccess
Description
Interface to retrieve type descriptions.
  • Names are given in dotted notation, for example "com.sun.star.uno.XInterface".
  • Sequence types are accessible via "[]ComponentType"
  • Instantiated polymorphic struct types are accessible via "StructType<Parameter1,…,Parametern>".
  • Members of interface types are accessible via "InterfaceType::Member".

The returned values are of interface type XTypeDescription.

Even though the name of this interface suggests that the used type names are hierarchic, this need not be the case. (For example, consider the names of instantiated polymorphic struct types, like "Struct<long>".)

::com::sun::star::container::XSet
Description
You can manually add or remove a providers via this interface.
::com::sun::star::lang::XComponent
Usage Restrictions
optional
Description
Interface to signal shutdown to the manager.
This signals all providers to shut down, because usually each provider references its manager, listening for disposing events.
XTypeDescriptionEnumerationAccess
Usage Restrictions
optional
Description
Interface for creating enumerations for type descriptions supported by this TypeDescriptionManager
Since
OOo 1.1.2

 
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.