LCOV - code coverage report
Current view: top level - libreoffice/workdir/unxlngi6.pro/UnoApiHeadersTarget/udkapi/bootstrap/com/sun/star/uno - Uik.hpp (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 12 12 100.0 %
Date: 2012-12-27 Functions: 2 2 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : #ifndef INCLUDED_COM_SUN_STAR_UNO_UIK_HPP
       2             : #define INCLUDED_COM_SUN_STAR_UNO_UIK_HPP
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : #include "com/sun/star/uno/Uik.hdl"
       7             : 
       8             : #include "com/sun/star/uno/Type.hxx"
       9             : #include "cppu/unotype.hxx"
      10             : #include "sal/types.h"
      11             : #include "typelib/typeclass.h"
      12             : #include "typelib/typedescription.h"
      13             : 
      14             : namespace com { namespace sun { namespace star { namespace uno {
      15             : 
      16        6411 : inline Uik::Uik() SAL_THROW(())
      17             :     : m_Data1(0)
      18             :     , m_Data2(0)
      19             :     , m_Data3(0)
      20             :     , m_Data4(0)
      21        6411 :     , m_Data5(0)
      22             : {
      23        6411 : }
      24             : 
      25             : inline Uik::Uik(const ::sal_uInt32& m_Data1_, const ::sal_uInt16& m_Data2_, const ::sal_uInt16& m_Data3_, const ::sal_uInt32& m_Data4_, const ::sal_uInt32& m_Data5_) SAL_THROW(())
      26             :     : m_Data1(m_Data1_)
      27             :     , m_Data2(m_Data2_)
      28             :     , m_Data3(m_Data3_)
      29             :     , m_Data4(m_Data4_)
      30             :     , m_Data5(m_Data5_)
      31             : {
      32             : }
      33             : 
      34             : } } } }
      35             : 
      36             : namespace com { namespace sun { namespace star { namespace uno {
      37             : 
      38          32 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::uno::Uik const *) {
      39             :     //TODO: On certain platforms with weak memory models, the following code can result in some threads observing that the_type points to garbage
      40             :     static ::typelib_TypeDescriptionReference * the_type = 0;
      41          32 :     if (the_type == 0) {
      42             :         ::typelib_TypeDescriptionReference * the_members[] = {
      43          32 :             ::cppu::UnoType< ::sal_uInt32 >::get().getTypeLibType(),
      44          32 :             ::cppu::UnoType< ::cppu::UnoUnsignedShortType >::get().getTypeLibType(),
      45          32 :             ::cppu::UnoType< ::cppu::UnoUnsignedShortType >::get().getTypeLibType(),
      46          32 :             ::cppu::UnoType< ::sal_uInt32 >::get().getTypeLibType(),
      47         128 :             ::cppu::UnoType< ::sal_uInt32 >::get().getTypeLibType() };
      48          32 :         ::typelib_static_struct_type_init(&the_type, "com.sun.star.uno.Uik", 0, 5, the_members, 0);
      49             :     }
      50          32 :     return *reinterpret_cast< ::com::sun::star::uno::Type * >(&the_type);
      51             : }
      52             : 
      53             : } } } }
      54             : 
      55             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER css::uno::Uik const *) SAL_THROW(()) {
      56             :     return ::cppu::UnoType< css::uno::Uik >::get();
      57             : }
      58             : 
      59             : #endif // INCLUDED_COM_SUN_STAR_UNO_UIK_HPP

Generated by: LCOV version 1.10