LibreOffice: com/sun/star/uno/Type.hxx File Reference

LibreOffice LibreOffice 5.1 SDK C/C++ API Reference

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List
- File Members

Namespaces | Functions
Type.hxx File Reference
`#include <sal/config.h>`
`#include <cstddef>`
`#include <com/sun/star/uno/Type.h>`
`#include <cppu/unotype.hxx>`

Go to the source code of this file.

## Namespaces
| com
| com::sun
| com::sun::star
| com::sun::star::uno

## Functions
const ::com::sun::star::uno::Type & | getCppuType (SAL_UNUSED_PARAMETER const ::com::sun::star::uno::Type *)
const ::com::sun::star::uno::Type & | getCppuVoidType ()
| Gets the meta type of IDL type void. More...
const ::com::sun::star::uno::Type & | getVoidCppuType ()
| Gets the meta type of IDL type void. More...
const ::com::sun::star::uno::Type & | getCppuBooleanType ()
| Gets the meta type of IDL type boolean. More...
const ::com::sun::star::uno::Type & | getBooleanCppuType ()
| Gets the meta type of IDL type boolean. More...
const ::com::sun::star::uno::Type & | getCppuType (SAL_UNUSED_PARAMETER const sal_Bool *)
const ::com::sun::star::uno::Type & | getCppuType (SAL_UNUSED_PARAMETER bool const *)
const ::com::sun::star::uno::Type & | getCharCppuType ()
| Gets the meta type of IDL type char. More...
const ::com::sun::star::uno::Type & | getCppuCharType ()
| Gets the meta type of IDL type char. More...
const ::com::sun::star::uno::Type & | getCppuType (SAL_UNUSED_PARAMETER const sal_Int8 *)
const ::com::sun::star::uno::Type & | getCppuType (SAL_UNUSED_PARAMETER const ::rtl::OUString *)
const ::com::sun::star::uno::Type & | getCppuType (SAL_UNUSED_PARAMETER const sal_Int16 *)
const ::com::sun::star::uno::Type & | getCppuType (SAL_UNUSED_PARAMETER const sal_uInt16 *)
const ::com::sun::star::uno::Type & | getCppuType (SAL_UNUSED_PARAMETER const sal_Int32 *)
const ::com::sun::star::uno::Type & | getCppuType (SAL_UNUSED_PARAMETER const sal_uInt32 *)
const ::com::sun::star::uno::Type & | getCppuType (SAL_UNUSED_PARAMETER const sal_Int64 *)
const ::com::sun::star::uno::Type & | getCppuType (SAL_UNUSED_PARAMETER const sal_uInt64 *)
const ::com::sun::star::uno::Type & | getCppuType (SAL_UNUSED_PARAMETER const float *)
const ::com::sun::star::uno::Type & | getCppuType (SAL_UNUSED_PARAMETER const double *)
template<typename T >
const ::com::sun::star::uno::Type & | getCppuType ()
| Gets the meta type of an IDL type. More...
template<>
const ::com::sun::star::uno::Type & | getCppuType< sal_Unicode > ()
| Gets the meta type of IDL type char. More...

## Function Documentation

const ::com::sun::star::uno::Type& getBooleanCppuType | ( |  | ) |
| inline

Gets the meta type of IDL type boolean.

Returns
  type of IDL type boolean

Deprecated:
  Use cppu::UnoType instead.

const ::com::sun::star::uno::Type& getCharCppuType | ( |  | ) |
| inline

Gets the meta type of IDL type char.

Returns
  type of IDL type char

Deprecated:
  Use cppu::UnoType instead.

const ::com::sun::star::uno::Type& getCppuBooleanType | ( |  | ) |
| inline

Gets the meta type of IDL type boolean.

Returns
  type of IDL type boolean

Deprecated:
  Use cppu::UnoType instead.

const ::com::sun::star::uno::Type& getCppuCharType | ( |  | ) |
| inline

Gets the meta type of IDL type char.

Returns
  type of IDL type char

Deprecated:
  Use cppu::UnoType instead.

const ::com::sun::star::uno::Type& getCppuType | ( | SAL_UNUSED_PARAMETER const ::com::sun::star::uno::Type * |  | ) |
| inline

const ::com::sun::star::uno::Type& getCppuType | ( | SAL_UNUSED_PARAMETER const sal_Bool * |  | ) |
| inline

const ::com::sun::star::uno::Type& getCppuType | ( | SAL_UNUSED_PARAMETER bool const * |  | ) |
| inline

const ::com::sun::star::uno::Type& getCppuType | ( | SAL_UNUSED_PARAMETER const sal_Int8 * |  | ) |
| inline

const ::com::sun::star::uno::Type& getCppuType | ( | SAL_UNUSED_PARAMETER const ::rtl::OUString * |  | ) |
| inline

const ::com::sun::star::uno::Type& getCppuType | ( | SAL_UNUSED_PARAMETER const sal_Int16 * |  | ) |
| inline

const ::com::sun::star::uno::Type& getCppuType | ( | SAL_UNUSED_PARAMETER const sal_uInt16 * |  | ) |
| inline

const ::com::sun::star::uno::Type& getCppuType | ( | SAL_UNUSED_PARAMETER const sal_Int32 * |  | ) |
| inline

const ::com::sun::star::uno::Type& getCppuType | ( | SAL_UNUSED_PARAMETER const sal_uInt32 * |  | ) |
| inline

const ::com::sun::star::uno::Type& getCppuType | ( | SAL_UNUSED_PARAMETER const sal_Int64 * |  | ) |
| inline

const ::com::sun::star::uno::Type& getCppuType | ( | SAL_UNUSED_PARAMETER const sal_uInt64 * |  | ) |
| inline

const ::com::sun::star::uno::Type& getCppuType | ( | SAL_UNUSED_PARAMETER const float * |  | ) |
| inline

const ::com::sun::star::uno::Type& getCppuType | ( | SAL_UNUSED_PARAMETER const double * |  | ) |
| inline

template<typename T >

const ::com::sun::star::uno::Type& getCppuType | ( |  | ) |
| inline

Gets the meta type of an IDL type.

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).

Returns
  type of the given IDL type

Deprecated:
  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

template<>

const ::com::sun::star::uno::Type& getCppuType< sal_Unicode > | ( |  | ) |
| inline

Gets the meta type of IDL type char.

Returns
  type of IDL type char

Deprecated:
  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

const ::com::sun::star::uno::Type& getCppuVoidType | ( |  | ) |
| inline

Gets the meta type of IDL type void.

Returns
  type of IDL type void

Deprecated:
  Use cppu::UnoType instead.

const ::com::sun::star::uno::Type& getVoidCppuType | ( |  | ) |
| inline

Gets the meta type of IDL type void.

Returns
  type of IDL type void

Deprecated:
  Use cppu::UnoType instead.