23#ifndef INCLUDED_TYPELIB_TYPEDESCRIPTION_HXX 
   24#define INCLUDED_TYPELIB_TYPEDESCRIPTION_HXX 
   59    static void * SAL_CALL 
operator new ( 
size_t nSize )
 
   60        { return ::rtl_allocateMemory( nSize ); }
 
   61    static void SAL_CALL 
operator delete ( 
void * pMem )
 
   63    static void * SAL_CALL 
operator new ( size_t, 
void * pMem )
 
   65    static void SAL_CALL 
operator delete ( 
void *, 
void * )
 
   89#if defined LIBO_INTERNAL_ONLY 
   91    { other._pTypeDescr = 
nullptr; }
 
  121#if defined LIBO_INTERNAL_ONLY 
  123        if (_pTypeDescr != 
nullptr) {
 
  126        _pTypeDescr = other._pTypeDescr;
 
  127        other._pTypeDescr = 
nullptr;
 
  144        { 
return equals( rTypeDescr._pTypeDescr ); }
 
 
  155        { 
return _pTypeDescr; }
 
 
  160    bool SAL_CALL 
is()
 const 
  161        { 
return (_pTypeDescr != NULL); }
 
 
 
  165    : _pTypeDescr( pTypeDescr )
 
 
  172    : _pTypeDescr( NULL )
 
 
  179    : _pTypeDescr( NULL )
 
 
  186    : _pTypeDescr( rTypeDescr._pTypeDescr )
 
 
  193    : _pTypeDescr( NULL )
 
 
  199    : _pTypeDescr( NULL )
 
 
  216    _pTypeDescr = pTypeDescr;
 
 
  222    return (_pTypeDescr && pTypeDescr &&
 
 
  228    if (_pTypeDescr && !_pTypeDescr->bComplete)
 
 
 
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 sal_Bool typelib_typedescription_equals(const typelib_TypeDescription *p1, const typelib_TypeDescription *p2) SAL_THROW_EXTERN_C()
Tests whether two types descriptions are equal, i.e.
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 void typelib_typedescription_acquire(typelib_TypeDescription *pDesc) SAL_THROW_EXTERN_C()
Increments reference count of given type description.
CPPU_DLLPUBLIC void typelib_typedescription_release(typelib_TypeDescription *pDesc) SAL_THROW_EXTERN_C()
Decrements reference count of given type.
CPPU_DLLPUBLIC void typelib_typedescription_getByName(typelib_TypeDescription **ppRet, rtl_uString *pName) SAL_THROW_EXTERN_C()
Retrieves a type description via its fully qualified name.
CPPU_DLLPUBLIC sal_Bool typelib_typedescription_complete(typelib_TypeDescription **ppTypeDescr) SAL_THROW_EXTERN_C()
Completes a typedescription to be used for, e.g., marshalling values.
Definition typedescription.hxx:43
C++ wrapper for typelib_TypeDescription.
Definition typedescription.hxx:51
TypeDescription(typelib_TypeDescription *pTypeDescr=NULL)
Constructor:
Definition typedescription.hxx:164
typelib_TypeDescription * get() const
Gets the UNacquired type description pointer.
Definition typedescription.hxx:154
bool is() const
Tests if a type description is set.
Definition typedescription.hxx:160
bool equals(const typelib_TypeDescription *pTypeDescr) const
Tests whether two type descriptions are equal.
Definition typedescription.hxx:220
TypeDescription & operator=(typelib_TypeDescription *pTypeDescr)
Assignment operator: acquires given type description and releases a set one.
Definition typedescription.hxx:210
~TypeDescription()
Destructor: releases type description.
Definition typedescription.hxx:204
bool equals(const TypeDescription &rTypeDescr) const
Tests whether two type descriptions are equal.
Definition typedescription.hxx:143
void makeComplete() const
Makes stored type description complete.
Definition typedescription.hxx:226
C++ class representing an IDL meta type.
Definition Type.h:59
typelib_TypeDescriptionReference * getTypeLibType() const
Gets the C typelib type description reference pointer.
Definition Type.h:162