(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: 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 OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos 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.