Reflects a singleton, supporting interface-based singletons. More...
import "XSingletonTypeDescription2.idl";
Public Member Functions | |
| boolean | isInterfaceBased () |
| Returns whether this object reflects an interface-based singleton. | |
| XTypeDescription | getInterface () |
| Returns the interface type associated with the singleton. | |
Public Member Functions inherited from XSingletonTypeDescription | |
| XServiceTypeDescription | getService () |
| Returns the service associated with the singleton. | |
Public Member Functions inherited from XTypeDescription | |
| com::sun::star::uno::TypeClass | getTypeClass () |
| Returns the type class of the reflected UNOIDL entity. | |
| string | getName () |
| Returns the fully qualified name of the UNOIDL entity. | |
Public Member Functions inherited from XInterface | |
| any | queryInterface ([in] type aType) |
| queries for a new interface to an existing UNO object. | |
| void | acquire () |
| increases the reference counter by one. | |
| void | release () |
| decreases the reference counter by one. | |
Reflects a singleton, supporting interface-based singletons.
This type supersedes XSingletonTypeDescription, which only supports obsolete, service-based singletons.
| XTypeDescription getInterface | ( | ) |
Returns the interface type associated with the singleton.
NULL is returned | boolean isInterfaceBased | ( | ) |
Returns whether this object reflects an interface-based singleton.
TRUE if this object reflects an interface-based singleton, and FALSE if this object reflects an obsolete, service-based singleton