(incubating) | The Free and Open Productivity Suite
Announcing Apache OpenOffice 3.4

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

Global Functions in Global Namespace C++
in Sourcefile Sequence.h


getCharSequenceCppuType
const ::com::sun::star::uno::Type & getCharSequenceCppuType() throw();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
Gets the meta type of IDL sequence< char >. This function has been introduced due to ambiguities with unsigned short.
Parameters
dummy
typed pointer for function signature
Return
type of IDL sequence< char >

getCppuSequenceType

template< typename E >


const ::com::sun::star::uno::Type & getCppuSequenceType(
const ::com::sun::star::uno::Type & rElementType ) throw();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO YES NO YES NO

Description
Gets the meta type of IDL sequence. This function has been introduced, because one cannot get the (templated) cppu type out of C++ array types. Array types have special getCppuArrayTypeN() functions.
ATTENTION!
the given element type must be the same as the template argument type!
Template Parameters
E
element type of sequence
Parameters
rElementType
element type of sequence
Return
type of IDL sequence

getCppuType

template< typename E >


const ::com::sun::star::uno::Type & getCppuType(
const ::com::sun::star::uno::Sequence< E > * ) throw();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO YES NO YES NO

Summary
Gets the meta type of IDL sequence.
Description
There are cases (involving templates) where uses of getCppuType are known to not compile. Use cppu::UnoType or cppu::getTypeFavourUnsigned instead.
Template Parameters
E
element type of sequence
    
Parameters
dummy
typed pointer for function signature
    
Return
type of IDL sequence

Top of Page

Apache Feather

Copyright & License | Privacy | Contact Us

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.

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.