20#ifndef INCLUDED_CPPU_UNOTYPE_HXX
21#define INCLUDED_CPPU_UNOTYPE_HXX
27#if defined LIBO_INTERNAL_ONLY
35namespace com {
namespace sun {
namespace star {
namespace uno {
39 template<
typename >
class Reference;
40 template<
typename >
class Sequence;
43namespace rtl {
class OUString; }
47template<
typename >
class UnoType;
70struct UnoUnsignedShortType;
104 return *
reinterpret_cast< css::uno::Type
const *
>(tdr);
107inline css::uno::Type
const &
117namespace cppu {
namespace detail {
119inline css::uno::Type
const &
124inline css::uno::Type
const &
129inline css::uno::Type
const &
134inline css::uno::Type
const &
139inline css::uno::Type
const &
144inline css::uno::Type
const &
146 SAL_UNUSED_PARAMETER ::cppu::UnoUnsignedShortType
const *)
152#if defined LIBO_INTERNAL_ONLY
154inline css::uno::Type
const &
160inline css::uno::Type
const &
165inline css::uno::Type
const &
171inline css::uno::Type
const &
176inline css::uno::Type
const &
182inline css::uno::Type
const &
187inline css::uno::Type
const &
192inline css::uno::Type
const &
197#if defined LIBO_INTERNAL_ONLY
199inline css::uno::Type
const &
205inline css::uno::Type
const &
210inline css::uno::Type
const &
216inline css::uno::Type
const &
222template<
typename T >
inline css::uno::Type
const &
224 SAL_UNUSED_PARAMETER ::cppu::UnoSequenceType< T >
const *)
235template<
typename T >
inline css::uno::Type
const &
255template<
typename T >
inline css::uno::Type
const &
259 return ::cppu::UnoType< T >::get();
288 static css::uno::Type
const &
get() {
290#if defined LIBO_INTERNAL_ONLY
291 typedef typename std::remove_reference<T>::type T1;
319template<
typename T >
inline css::uno::Type
const &
321 return ::cppu::UnoType< T >::get();
334inline css::uno::Type
const &
336 return ::cppu::UnoType< ::cppu::UnoUnsignedShortType >::get();
349template<
typename T >
inline css::uno::Type
const &
366template<
typename T >
inline css::uno::Type
const &
368 return ::cppu::UnoType< T >::get();
382inline css::uno::Type
const &
384 return ::cppu::UnoType< ::cppu::UnoCharType >::get();
398template<
typename T >
inline css::uno::Type
const &
#define SAL_DELETED_FUNCTION
short-circuit extra-verbose API namespaces
Definition: types.h:374
#define SAL_UNUSED_PARAMETER
Annotate unused but required C++ function parameters.
Definition: types.h:539
unsigned char sal_Bool
Definition: types.h:34
sal_uInt16 sal_Unicode
Definition: types.h:119
signed char sal_Int8
Definition: types.h:39
@ typelib_TypeClass_VOID
type class of void
Definition: typeclass.h:28
@ typelib_TypeClass_UNSIGNED_SHORT
type class of unsigned short
Definition: typeclass.h:38
@ typelib_TypeClass_CHAR
type class of char
Definition: typeclass.h:30
@ typelib_TypeClass_HYPER
type class of hyper
Definition: typeclass.h:44
@ typelib_TypeClass_BYTE
type class of byte
Definition: typeclass.h:34
@ typelib_TypeClass_BOOLEAN
type class of boolean
Definition: typeclass.h:32
@ typelib_TypeClass_INTERFACE
type class of interface
Definition: typeclass.h:78
@ typelib_TypeClass_STRING
type class of string
Definition: typeclass.h:52
@ typelib_TypeClass_SHORT
type class of short
Definition: typeclass.h:36
@ typelib_TypeClass_FLOAT
type class of float
Definition: typeclass.h:48
@ typelib_TypeClass_DOUBLE
type class of double
Definition: typeclass.h:50
@ typelib_TypeClass_ANY
type class of any
Definition: typeclass.h:56
@ typelib_TypeClass_TYPE
type class of type
Definition: typeclass.h:54
@ typelib_TypeClass_UNSIGNED_HYPER
type class of unsigned hyper
Definition: typeclass.h:46
@ typelib_TypeClass_LONG
type class of long
Definition: typeclass.h:40
@ typelib_TypeClass_UNSIGNED_LONG
type class of unsigned long
Definition: typeclass.h:42
@ typelib_TypeClass_EXCEPTION
type class of exception
Definition: typeclass.h:69
enum _typelib_TypeClass typelib_TypeClass
This type class enum is binary compatible with the IDL enum com.sun.star.uno.TypeClass.
CPPU_DLLPUBLIC void typelib_static_sequence_type_init(typelib_TypeDescriptionReference **ppRef, typelib_TypeDescriptionReference *pElementType) SAL_THROW_EXTERN_C()
Inits static sequence type reference.
struct SAL_DLLPUBLIC_RTTI _typelib_TypeDescriptionReference typelib_TypeDescriptionReference
Holds a weak reference to a type description.
CPPU_DLLPUBLIC typelib_TypeDescriptionReference ** typelib_static_type_getByTypeClass(typelib_TypeClass eTypeClass) SAL_THROW_EXTERN_C()
Gets static type reference of standard types by type class.
Definition: bootstrap.hxx:30
Definition: Enterable.hxx:27
css::uno::Type const & getTypeFavourUnsigned(SAL_UNUSED_PARAMETER T const *)
A working replacement for getCppuType (see there).
Definition: unotype.hxx:320
::com::sun::star::uno::Type const & getTypeFavourChar(SAL_UNUSED_PARAMETER ::com::sun::star::uno::Sequence< T > const *)
Definition: Sequence.hxx:299
Definition: unotype.hxx:99
css::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::uno::Reference< T > const *)
Definition: unotype.hxx:256
css::uno::Type const & getTypeFromTypeDescriptionReference(::typelib_TypeDescriptionReference *const *tdr)
Definition: unotype.hxx:101
css::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::cppu::UnoVoidType const *)
Definition: unotype.hxx:120
css::uno::Type const & getTypeFromTypeClass(::typelib_TypeClass tc)
Definition: unotype.hxx:108
Get the css::uno::Type instance representing a certain UNO type.
Definition: unotype.hxx:286
static css::uno::Type const & get()
Definition: unotype.hxx:288
A unique C++ type template representing the UNO sequence types in cppu::UnoType.
Definition: unotype.hxx:97