The Free and Open Productivity Suite
QA Volunteers Needed -- Help us test OpenOffice

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for Apache OpenOffice version 3.4.

:: com :: sun :: star :: reflection ::

interface XCompoundTypeDescription
Base Interfaces
XCompoundTypeDescriptionXTypeDescription

XTypeDescription
(referenced interface's summary:)
Reflects a UNOIDL entity.
Description
Reflects a compound type, i.e. a struct or exception.

For struct types, this type is superseded by XStructTypeDescription, which supports polymorphic struct types.


Methods' Summary
getBaseType Returns the type of the base type of the compound type. If the compound does not have a base type, the method returns a null interface.  
getMemberTypes Returns the member types of the struct/exception in IDL declaration order.  
getMemberNames Returns the member names of the struct/exception in IDL declaration order.  
Methods' Details
getBaseType
XTypeDescription
getBaseType();

Description
Returns the type of the base type of the compound type. If the compound does not have a base type, the method returns a null interface.
Returns
base interface or null
getMemberTypes
sequence< XTypeDescription >
getMemberTypes();

Description
Returns the member types of the struct/exception in IDL declaration order.

For a polymorphic struct type template, a member of parameterized type is represented by an instance of XTypeDescription whose type class is UNKNOWN and whose name is the name of the type parameter.

Returns
members of struct/exception
getMemberNames
sequence< string >
getMemberNames();

Description
Returns the member names of the struct/exception in IDL declaration order.
Returns
members names of struct/exception
Top of Page

Apache Feather

Copyright & License | Privacy | Contact Us | Donate

Apache, the Apache feather logo, and OpenOffice are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.