23#ifndef INCLUDED_COM_SUN_STAR_UNO_TYPE_H 
   24#define INCLUDED_COM_SUN_STAR_UNO_TYPE_H 
   27#include "com/sun/star/uno/TypeClass.hdl" 
   67    static void * SAL_CALL 
operator new ( 
size_t nSize )
 
   68        { return ::rtl_allocateMemory( nSize ); }
 
   69    static void SAL_CALL 
operator delete ( 
void * pMem )
 
   71    static void * SAL_CALL 
operator new ( size_t, 
void * pMem )
 
   73    static void SAL_CALL 
operator delete ( 
void *, 
void * )
 
   86    inline Type( TypeClass eTypeClass, const ::rtl::OUString & rTypeName );
 
   93    inline Type( TypeClass eTypeClass, 
const char * pTypeName );
 
  132    inline Type & SAL_CALL operator = ( 
const Type & rType );
 
  134#if defined LIBO_INTERNAL_ONLY 
  135    inline Type & SAL_CALL operator = ( 
Type && );
 
  143        { 
return static_cast<TypeClass
>(_pType->eTypeClass); }
 
 
  149    inline ::rtl::OUString SAL_CALL getTypeName() 
const;
 
  174        { return ::typelib_typedescriptionreference_isAssignableFrom( _pType, rType._pType ); }
 
 
  182        { return ::typelib_typedescriptionreference_equals( _pType, rType._pType ); }
 
 
  188    bool SAL_CALL operator == ( 
const Type & rType )
 const 
  189        { return ::typelib_typedescriptionreference_equals( _pType, rType._pType ); }
 
 
  195    bool SAL_CALL operator != ( 
const Type & rType )
 const 
 
 
  226inline const ::
com::sun::star::uno::Type & SAL_CALL 
getCppuType( const ::
com::sun::star::uno::Type * );
 
  356inline const ::
com::sun::star::uno::Type & SAL_CALL 
getCppuType( const sal_Int16 * );
 
  371inline const ::
com::sun::star::uno::Type & SAL_CALL 
getCppuType( const sal_uInt16 * );
 
  386inline const ::
com::sun::star::uno::Type & SAL_CALL 
getCppuType( const sal_Int32 * );
 
  401inline const ::
com::sun::star::uno::Type & SAL_CALL 
getCppuType( const sal_uInt32 * );
 
  416inline const ::
com::sun::star::uno::Type & SAL_CALL 
getCppuType( const sal_Int64 * );
 
  431inline const ::
com::sun::star::uno::Type & SAL_CALL 
getCppuType( const sal_uInt64 * );
 
  461inline const ::
com::sun::star::uno::Type & SAL_CALL 
getCppuType( const 
double * );
 
  482inline const ::
com::sun::star::uno::Type & SAL_CALL
 
  497inline const ::
com::sun::star::uno::Type & SAL_CALL
 
#define SAL_DEPRECATED(message)
Use as follows: SAL_DEPRECATED("Don't use, it's evil.") void doit(int nPara);.
Definition types.h:492
__sal_NoAcquire
Definition types.h:371
unsigned char sal_Bool
Definition types.h:38
sal_uInt16 sal_Unicode
Definition types.h:123
signed char sal_Int8
Definition types.h:43
#define SAL_WARN_UNUSED
Annotate classes where a compiler should warn if an instance is unused.
Definition types.h:611
SAL_DLLPUBLIC void rtl_freeMemory(void *Ptr) SAL_THROW_EXTERN_C()
Free memory.
struct SAL_DLLPUBLIC_RTTI _typelib_TypeDescription typelib_TypeDescription
Full type description of a type.
CPPU_DLLPUBLIC void typelib_typedescriptionreference_release(typelib_TypeDescriptionReference *pRef) SAL_THROW_EXTERN_C()
Increments reference count of type description reference.
CPPU_DLLPUBLIC void typelib_typedescriptionreference_getDescription(typelib_TypeDescription **ppRet, typelib_TypeDescriptionReference *pRef) SAL_THROW_EXTERN_C()
Retrieves the type description for a given reference.
struct SAL_DLLPUBLIC_RTTI _typelib_TypeDescriptionReference typelib_TypeDescriptionReference
Holds a weak reference to a type description.
CPPU_DLLPUBLIC sal_Bool typelib_typedescriptionreference_equals(const typelib_TypeDescriptionReference *p1, const typelib_TypeDescriptionReference *p2) SAL_THROW_EXTERN_C()
Tests whether two types description references are equal, i.e.
const ::com::sun::star::uno::Type & getCppuType(SAL_UNUSED_PARAMETER const ::com::sun::star::uno::Any *)
Gets the meta type of IDL type any.
Definition Any.h:501
const ::com::sun::star::uno::Type & getCppuBooleanType()
Gets the meta type of IDL type boolean.
Definition Type.hxx:139
const ::com::sun::star::uno::Type & getBooleanCppuType()
Gets the meta type of IDL type boolean.
Definition Type.hxx:143
const ::com::sun::star::uno::Type & getVoidCppuType()
Gets the meta type of IDL type void.
Definition Type.hxx:134
const ::com::sun::star::uno::Type & getCppuCharType()
Gets the meta type of IDL type char.
Definition Type.hxx:162
const ::com::sun::star::uno::Type & getCppuVoidType()
Gets the meta type of IDL type void.
Definition Type.hxx:130
const ::com::sun::star::uno::Type & getCharCppuType()
Gets the meta type of IDL type char.
Definition Type.hxx:158
Definition bootstrap.hxx:34
Definition typedescription.hxx:43
UnoType_NoAcquire
Enum defining UNO_TYPE_NO_ACQUIRE for type description reference transfer.
Definition Type.h:44
@ UNO_TYPE_NO_ACQUIRE
This enum value can be used for creating a Type object granting a given type description reference,...
Definition Type.h:48
C++ class representing an IDL meta type.
Definition Type.h:59
bool equals(const Type &rType) const
Compares two types.
Definition Type.h:181
void getDescription(typelib_TypeDescription **ppDescr) const
Obtains a full type description of set type.
Definition Type.h:155
~Type()
Destructor: Releases acquired C type description reference.
Definition Type.h:124
Type()
Default Constructor: Type is set to void.
Definition Type.hxx:44
bool isAssignableFrom(const Type &rType) const
Tests if values of this reflected type can be assigned by values of given type.
Definition Type.h:173
TypeClass getTypeClass() const
Gets the type class of set type.
Definition Type.h:142
typelib_TypeDescriptionReference * getTypeLibType() const
Gets the C typelib type description reference pointer.
Definition Type.h:162
Helper class to specify a type pointer for idl arrays.
Definition Type.h:203
static typelib_TypeDescriptionReference * s_pType
Definition Type.h:205