The Free and Open Productivity Suite
Follow us on Twitter: @ApacheOO

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


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 Software Foundation

Copyright & License | Privacy | Website Feedback | Contact Us | Donate | Thanks

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.