LibreOffice
LibreOffice 7.4 SDK API Reference
Public Member Functions | List of all members
XStructTypeDescription Interface Reference

Reflects a struct type, supporting polymorphic struct types. More...

import"XStructTypeDescription.idl";

Inheritance diagram for XStructTypeDescription:
XCompoundTypeDescription XTypeDescription XInterface

Public Member Functions

sequence< string > getTypeParameters ()
 Returns the type parameters of a polymorphic struct type template. More...
 
sequence< XTypeDescriptiongetTypeArguments ()
 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::XTypeDescriptiongetMemberTypes ()
 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...
 

Detailed Description

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:

Since
OOo 2.0

Member Function Documentation

◆ getTypeArguments()

sequence<XTypeDescription> getTypeArguments ( )

Returns the type arguments of an instantiated polymorphic struct type.

Returns
a sequence of all type arguments, in the correct order; for a plain struct type, or a polymorphic struct type template, an empty sequence is returned

◆ getTypeParameters()

sequence<string> getTypeParameters ( )

Returns the type parameters of a polymorphic struct type template.

Returns
a sequence of the names of all type parameters, in the correct order; for a plain struct type, or an instantiated polymorphic struct type, an empty sequence is returned

The documentation for this interface was generated from the following file: