LCOV - code coverage report
Current view: top level - libreoffice/solver/unxlngi6.pro/inc/udkapi/com/sun/star/uno - Uik.hpp (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 4 10 40.0 %
Date: 2012-12-27 Functions: 1 3 33.3 %
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           0 : inline Uik::Uik() SAL_THROW(())
      17             :     : m_Data1(0)
      18             :     , m_Data2(0)
      19             :     , m_Data3(0)
      20             :     , m_Data4(0)
      21           0 :     , m_Data5(0)
      22             : {
      23           0 : }
      24             : 
      25           0 : 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           0 :     , m_Data5(m_Data5_)
      31             : {
      32           0 : }
      33             : 
      34             : } } } }
      35             : 
      36             : namespace com { namespace sun { namespace star { namespace uno {
      37             : 
      38          43 : 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          43 :     if (the_type == 0) {
      42          43 :         ::typelib_static_type_init(&the_type, typelib_TypeClass_STRUCT, "com.sun.star.uno.Uik");
      43             :     }
      44          43 :     return *reinterpret_cast< ::com::sun::star::uno::Type * >(&the_type);
      45             : }
      46             : 
      47             : } } } }
      48             : 
      49             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER css::uno::Uik const *) SAL_THROW(()) {
      50             :     return ::cppu::UnoType< css::uno::Uik >::get();
      51             : }
      52             : 
      53             : #endif // INCLUDED_COM_SUN_STAR_UNO_UIK_HPP

Generated by: LCOV version 1.10