LibreOffice
LibreOffice 24.2 SDK API Reference
|
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. More... | |
XTypeDescription | getInterface () |
Returns the interface type associated with the singleton. More... | |
Public Member Functions inherited from XSingletonTypeDescription | |
XServiceTypeDescription | getService () |
Returns the service associated with the singleton. More... | |
Public Member Functions inherited from XTypeDescription | |
com::sun::star::uno::TypeClass | getTypeClass () |
Returns the type class of the reflected UNOIDL entity. More... | |
string | getName () |
Returns the fully qualified name of the UNOIDL entity. More... | |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
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