LibreOffice
LibreOffice 24.2 SDK API Reference
|
Reflects a struct type, supporting polymorphic struct types. More...
import"XStructTypeDescription.idl";
Public Member Functions | |
sequence< string > | getTypeParameters () |
Returns the type parameters of a polymorphic struct type template. More... | |
sequence< XTypeDescription > | getTypeArguments () |
Returns the type arguments of an instantiated polymorphic struct type. More... | |
Public Member Functions inherited from XCompoundTypeDescription | |
com::sun::star::reflection::XTypeDescription | getBaseType () |
Returns the type of the base type of the compound type. More... | |
sequence< com::sun::star::reflection::XTypeDescription > | getMemberTypes () |
Returns the member types of the struct/exception in IDL declaration order. More... | |
sequence< string > | getMemberNames () |
Returns the member names of the struct/exception in IDL declaration order. 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 struct type, supporting polymorphic struct types.
This type supersedes XCompoundTypeDescription, which only supports plain struct types.
This type is used to reflect all of the following:
Polymorphic struct type templates, like Struct<T, U>
. For these, com::sun::star::reflection::XStructTypeDescription::getTypeParameters() returns a non-empty sequence, while com::sun::star::reflection::XStructTypeDescription::getTypeArguments() returns an empty sequence.
Instantiated polymorphic struct types, like Struct<long, hyper>
. For these, com::sun::star::reflection::XStructTypeDescription::getTypeParameters() returns an empty sequence, while com::sun::star::reflection::XStructTypeDescription::getTypeArguments() returns a non-empty sequence.
sequence<XTypeDescription> getTypeArguments | ( | ) |
Returns the type arguments of an instantiated polymorphic struct type.
sequence<string> getTypeParameters | ( | ) |
Returns the type parameters of a polymorphic struct type template.