Overview | Module | Use | Devguide | Index

Methods' Summary | Attributes' Summary | Methods' Details | Attributes' Details

:: com :: sun :: star :: reflection ::
unpublished | interface XStructTypeDescription |
  Base Interfaces
      XStructTypeDescription
      ┗ XCompoundTypeDescription
         ┗ XTypeDescription
  XCompoundTypeDescription | (referenced interface's summary:) Reflects a compound type, i.e. a struct or exception.
Usage Restrictions not published 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: Polymorphic struct type templates, like `Struct<T, U>`. For these, XStructTypeDescription::getTypeParameters returns a non-empty sequence, while XStructTypeDescription::getTypeArguments returns an empty sequence. Instantiated polymorphic struct types, like `Struct<long, hyper>`. For these, XStructTypeDescription::getTypeParameters returns an empty sequence, while XStructTypeDescription::getTypeArguments returns a non-empty sequence. Plain struct types. For these, both XStructTypeDescription::getTypeParameters and XStructTypeDescription::getTypeArguments return an empty sequence. Since OOo 2.0

Methods' Summary
getTypeParameters | Returns the type parameters of a polymorphic struct type template.
getTypeArguments | Returns the type arguments of an instantiated polymorphic struct type.

Methods' Details
getTypeParameters
sequence< string >
getTypeParameters();
Description 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
getTypeArguments
sequence< XTypeDescription >
getTypeArguments();
Description 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

Top of Page

Copyright © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.