20 #ifndef INCLUDED_CPPU_UNOTYPE_HXX 21 #define INCLUDED_CPPU_UNOTYPE_HXX 28 namespace com {
namespace sun {
namespace star {
namespace uno {
36 namespace rtl {
class OUString; }
63 struct UnoUnsignedShortType;
100 inline ::com::sun::star::uno::Type
const &
110 namespace cppu {
namespace detail {
112 inline ::com::sun::star::uno::Type
const &
117 inline ::com::sun::star::uno::Type
const &
122 inline ::com::sun::star::uno::Type
const &
127 inline ::com::sun::star::uno::Type
const &
132 inline ::com::sun::star::uno::Type
const &
137 inline ::com::sun::star::uno::Type
const &
139 SAL_UNUSED_PARAMETER ::cppu::UnoUnsignedShortType
const *)
145 inline ::com::sun::star::uno::Type
const &
150 inline ::com::sun::star::uno::Type
const &
156 inline ::com::sun::star::uno::Type
const &
161 inline ::com::sun::star::uno::Type
const &
167 inline ::com::sun::star::uno::Type
const &
172 inline ::com::sun::star::uno::Type
const &
177 inline ::com::sun::star::uno::Type
const &
182 inline ::com::sun::star::uno::Type
const &
187 inline ::com::sun::star::uno::Type
const &
193 inline ::com::sun::star::uno::Type
const &
199 template<
typename T > inline ::com::sun::star::uno::Type
const &
201 SAL_UNUSED_PARAMETER ::cppu::UnoSequenceType< T >
const *)
212 template<
typename T > inline ::com::sun::star::uno::Type
const &
214 SAL_UNUSED_PARAMETER ::com::sun::star::uno::Sequence< T >
const *)
221 SAL_UNUSED_PARAMETER ::com::sun::star::uno::Exception
const *)
227 SAL_UNUSED_PARAMETER ::com::sun::star::uno::XInterface
const *)
232 template<
typename T > inline ::com::sun::star::uno::Type
const &
234 SAL_UNUSED_PARAMETER ::com::sun::star::uno::Reference< T >
const *)
236 return ::cppu::UnoType< T >::get();
263 template<
typename T >
class UnoType {
265 static inline ::com::sun::star::uno::Type
const &
get() {
286 template<
typename T > inline ::com::sun::star::uno::Type
const &
288 return ::cppu::UnoType< T >::get();
301 inline ::com::sun::star::uno::Type
const &
303 return ::cppu::UnoType< ::cppu::UnoUnsignedShortType >::get();
316 template<
typename T > inline ::com::sun::star::uno::Type
const &
333 template<
typename T > inline ::com::sun::star::uno::Type
const &
335 return ::cppu::UnoType< T >::get();
349 inline ::com::sun::star::uno::Type
const &
351 return ::cppu::UnoType< ::cppu::UnoCharType >::get();
365 template<
typename T > inline ::com::sun::star::uno::Type
const &
sal_uInt16 sal_Unicode
Definition: types.h:152
Holds a weak reference to a type description.
Definition: typedescription.h:40
Definition: bootstrap.hxx:24
type class of void
Definition: typeclass.h:29
CPPU_DLLPUBLIC void typelib_static_sequence_type_init(typelib_TypeDescriptionReference **ppRef, typelib_TypeDescriptionReference *pElementType) SAL_THROW_EXTERN_C()
Inits static sequence type reference.
C++ class representing an IDL meta type.
Definition: Type.h:54
signed char sal_Int8
Definition: types.h:53
type class of double
Definition: typeclass.h:51
::com::sun::star::uno::Type const & getTypeFavourChar(SAL_UNUSED_PARAMETER::com::sun::star::uno::Sequence< T > const *)
Definition: Sequence.hxx:217
type class of unsigned long
Definition: typeclass.h:43
type class of string
Definition: typeclass.h:53
type class of long
Definition: typeclass.h:41
type class of char
Definition: typeclass.h:31
type class of exception
Definition: typeclass.h:70
type class of short
Definition: typeclass.h:37
type class of any
Definition: typeclass.h:57
Template C++ class representing an IDL sequence.
Definition: unotype.hxx:33
type class of boolean
Definition: typeclass.h:33
type class of hyper
Definition: typeclass.h:45
type class of interface
Definition: typeclass.h:79
unsigned char sal_Bool
Definition: types.h:48
type class of float
Definition: typeclass.h:49
Get the com::sun::star::uno::Type instance representing a certain UNO type.
Definition: unotype.hxx:40
enum _typelib_TypeClass typelib_TypeClass
This type class enum is binary compatible with the IDL enum com.sun.star.uno.TypeClass.
type class of type
Definition: typeclass.h:55
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.
::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER::com::sun::star::uno::Reference< T > const *)
Definition: unotype.hxx:233
Template reference class for interface type derived from BaseReference.
Definition: unotype.hxx:32
inline::com::sun::star::uno::Type const & getTypeFromTypeDescriptionReference(::typelib_TypeDescriptionReference *const *tdr)
Definition: unotype.hxx:94
type class of byte
Definition: typeclass.h:35
Definition: unotype.hxx:92
type class of unsigned hyper
Definition: typeclass.h:47
inline::com::sun::star::uno::Type const & getTypeFromTypeClass(::typelib_TypeClass tc)
Definition: unotype.hxx:101
Definition: Enterable.hxx:26
A unique C++ type template representing the UNO sequence types in cppu::UnoType.
Definition: unotype.hxx:90
type class of unsigned short
Definition: typeclass.h:39
#define SAL_UNUSED_PARAMETER
Annotate unused but required C++ function parameters.
Definition: types.h:567
::com::sun::star::uno::Type const & getTypeFavourUnsigned(::com::sun::star::uno::Sequence< T > const *)
A working replacement for getCppuType (see there).