Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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


getBooleanCppuType
const ::com::sun::star::uno::Type & getBooleanCppuType() 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 type boolean.
Return
type of IDL type boolean

getCharCppuType
const ::com::sun::star::uno::Type & getCharCppuType() 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 type char.
Return
type of IDL type char

getCppuArrayType1

template< typename T >


const ::com::sun::star::uno::Type & getCppuArrayType1(
T * pT ) throw();

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

Summary
Array template function to get meta type for one-dimensional arrays.
Parameters
pT
array pointer
Return
type of array

getCppuArrayType2

template< typename T >


const ::com::sun::star::uno::Type & getCppuArrayType2(
T * pT ) throw();

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

Summary
Array template function to get meta type for two-dimensional arrays.
Parameters
pT
array pointer
Return
type of array

getCppuArrayType3

template< typename T >


const ::com::sun::star::uno::Type & getCppuArrayType3(
T * pT ) throw();

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

Summary
Array template function to get meta type for three-dimensional arrays.
Parameters
pT
array pointer
Return
type of array

getCppuArrayType4

template< typename T >


const ::com::sun::star::uno::Type & getCppuArrayType4(
T * pT ) throw();

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

Summary
Array template function to get meta type for four-dimensional arrays.
Parameters
pT
array pointer
Return
type of array

getCppuArrayType5

template< typename T >


const ::com::sun::star::uno::Type & getCppuArrayType5(
T * pT ) throw();

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

Summary
Array template function to get meta type for five-dimensional arrays.
Parameters
pT
array pointer
Return
type of array

getCppuArrayType6

template< typename T >


const ::com::sun::star::uno::Type & getCppuArrayType6(
T * pT ) throw();

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

Summary
Array template function to get meta type for six-dimensional arrays.
Parameters
pT
array pointer
Return
type of array

getCppuBooleanType
const ::com::sun::star::uno::Type & getCppuBooleanType() 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 type boolean.
Return
type of IDL type boolean

getCppuCharType
const ::com::sun::star::uno::Type & getCppuCharType() 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 type char.
Return
type of IDL type char

getCppuType
const ::com::sun::star::uno::Type & getCppuType(
const ::com::sun::star::uno::Type * ) 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 type "type".
Description
There are cases (involving templates) where uses of getCppuType are known to not compile. Use cppu::UnoType or cppu::getTypeFavourUnsigned instead.
Parameters
dummy
typed pointer for function signature
    
Return
type of IDL type "type"

getCppuType
const ::com::sun::star::uno::Type & getCppuType(
const sal_Bool * ) 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 type boolean.
Description
There are cases (involving templates) where uses of getCppuType are known to not compile. Use cppu::UnoType or cppu::getTypeFavourUnsigned instead.
Parameters
dummy
typed pointer for function signature
Return
type of IDL type boolean

getCppuType
const ::com::sun::star::uno::Type & getCppuType(
const bool * ) 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 type boolean.
Description
There are cases (involving templates) where uses of getCppuType are known to not compile. Use cppu::UnoType or cppu::getTypeFavourUnsigned instead.
Parameters
dummy
typed pointer for function signature
Return
type of IDL type boolean

getCppuType
const ::com::sun::star::uno::Type & getCppuType(
const sal_Int8 * ) 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 type byte.
Description
There are cases (involving templates) where uses of getCppuType are known to not compile. Use cppu::UnoType or cppu::getTypeFavourUnsigned instead.
Parameters
dummy
typed pointer for function signature
Return
type of IDL type byte

getCppuType
const ::com::sun::star::uno::Type & getCppuType(
const ::rtl::OUString * ) 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 type string.
Description
There are cases (involving templates) where uses of getCppuType are known to not compile. Use cppu::UnoType or cppu::getTypeFavourUnsigned instead.
Parameters
dummy
typed pointer for function signature
Return
type of IDL type string

getCppuType
const ::com::sun::star::uno::Type & getCppuType(
const sal_Int16 * ) 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 type short.
Description
There are cases (involving templates) where uses of getCppuType are known to not compile. Use cppu::UnoType or cppu::getTypeFavourUnsigned instead.
Parameters
dummy
typed pointer for function signature
Return
type of IDL type short

getCppuType
const ::com::sun::star::uno::Type & getCppuType(
const sal_uInt16 * ) 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 type unsigned short.
Description
There are cases (involving templates) where uses of getCppuType are known to not compile. Use cppu::UnoType or cppu::getTypeFavourUnsigned instead.
Parameters
dummy
typed pointer for function signature
Return
type of IDL type unsigned short

getCppuType
const ::com::sun::star::uno::Type & getCppuType(
const sal_Int32 * ) 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 type long.
Description
There are cases (involving templates) where uses of getCppuType are known to not compile. Use cppu::UnoType or cppu::getTypeFavourUnsigned instead.
Parameters
dummy
typed pointer for function signature
Return
type of IDL type long

getCppuType
const ::com::sun::star::uno::Type & getCppuType(
const sal_uInt32 * ) 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 type unsigned long.
Description
There are cases (involving templates) where uses of getCppuType are known to not compile. Use cppu::UnoType or cppu::getTypeFavourUnsigned instead.
Parameters
dummy
typed pointer for function signature
Return
type of IDL type unsigned long

getCppuType
const ::com::sun::star::uno::Type & getCppuType(
const sal_Int64 * ) 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 type hyper.
Description
There are cases (involving templates) where uses of getCppuType are known to not compile. Use cppu::UnoType or cppu::getTypeFavourUnsigned instead.
Parameters
dummy
typed pointer for function signature
Return
type of IDL type hyper

getCppuType
const ::com::sun::star::uno::Type & getCppuType(
const sal_uInt64 * ) 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 type unsigned hyper.
Description
There are cases (involving templates) where uses of getCppuType are known to not compile. Use cppu::UnoType or cppu::getTypeFavourUnsigned instead.
Parameters
dummy
typed pointer for function signature
Return
type of IDL type unsigned hyper

getCppuType
const ::com::sun::star::uno::Type & getCppuType(
const float * ) 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 type float.
Description
There are cases (involving templates) where uses of getCppuType are known to not compile. Use cppu::UnoType or cppu::getTypeFavourUnsigned instead.
Parameters
dummy
typed pointer for function signature
Return
type of IDL type float

getCppuType
const ::com::sun::star::uno::Type & getCppuType(
const double * ) 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 type double.
Description
There are cases (involving templates) where uses of getCppuType are known to not compile. Use cppu::UnoType or cppu::getTypeFavourUnsigned instead.
Parameters
dummy
typed pointer for function signature
Return
type of IDL type double

getCppuType

template< typename T >


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

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

D E P R E C A T E D
Summary
Gets the meta type of an IDL type.
Description
The difference between this function template (with a type parameter) and the overloaded getCppuType function with a single (dummy) parameter of a specific type is that this function template may not work for the UNO type "unsigned short" (sal_uInt16 in C++), while the overloaded one-parameter function may not work for the UNO type "char" (sal_Unicode in C++, which may have the same underlying C++ type as sal_uInt16 on certain platforms).
Return
type of the given IDL type Use cppu::UnoType instead (or the internal-only cppu::getTypeFavourChar). Also note that getCppuType< com::sun::star::uno::Sequence< sal_Unicode > >() does not work as expected.
Since
UDK 3.2.0

getCppuVoidType
const ::com::sun::star::uno::Type & getCppuVoidType() 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 type void.
Return
type of IDL type void

getVoidCppuType
const ::com::sun::star::uno::Type & getVoidCppuType() 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 type void.
Return
type of IDL type void

Top of Page

Apache Software Foundation

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

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