LCOV - code coverage report
Current view: top level - workdir/unxlngi6.pro/UnoApiHeadersTarget/bootstrap/bootstrap/com/sun/star/uno - TypeClass.hpp (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 4 4 100.0 %
Date: 2012-08-25 Functions: 1 1 100.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 2 2 100.0 %

           Branch data     Line data    Source code
       1                 :            : #ifndef INCLUDED_COM_SUN_STAR_UNO_TYPECLASS_HPP
       2                 :            : #define INCLUDED_COM_SUN_STAR_UNO_TYPECLASS_HPP
       3                 :            : 
       4                 :            : #include "sal/config.h"
       5                 :            : 
       6                 :            : #include "com/sun/star/uno/TypeClass.hdl"
       7                 :            : 
       8                 :            : #include "com/sun/star/uno/Type.hxx"
       9                 :            : #include "cppu/unotype.hxx"
      10                 :            : #include "osl/mutex.hxx"
      11                 :            : #include "rtl/instance.hxx"
      12                 :            : 
      13                 :            : namespace com { namespace sun { namespace star { namespace uno {
      14                 :            : 
      15                 :        345 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::com::sun::star::uno::TypeClass const *) {
      16                 :            :     static typelib_TypeDescriptionReference * the_type = 0;
      17         [ +  + ]:        345 :     if ( !the_type )
      18                 :            :     {
      19                 :            :         typelib_static_enum_type_init( &the_type,
      20                 :            :                                        "com.sun.star.uno.TypeClass",
      21                 :        338 :                                        ::com::sun::star::uno::TypeClass_VOID );
      22                 :            :     }
      23                 :        345 :     return * reinterpret_cast< ::com::sun::star::uno::Type * >( &the_type );
      24                 :            : }
      25                 :            : 
      26                 :            : } } } }
      27                 :            : 
      28                 :            : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER ::com::sun::star::uno::TypeClass const *) SAL_THROW(()) {
      29                 :            :     return ::cppu::UnoType< ::com::sun::star::uno::TypeClass >::get();
      30                 :            : }
      31                 :            : 
      32                 :            : #endif // INCLUDED_COM_SUN_STAR_UNO_TYPECLASS_HPP

Generated by: LCOV version 1.10