LCOV - code coverage report
Current view: top level - workdir/unxlngi6.pro/UnoApiHeadersTarget/udkapi/comprehensive/com/sun/star/beans - PropertyChangeEvent.hpp (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 21 27 77.8 %
Date: 2012-08-25 Functions: 3 5 60.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 11 22 50.0 %

           Branch data     Line data    Source code
       1                 :            : #ifndef INCLUDED_COM_SUN_STAR_BEANS_PROPERTYCHANGEEVENT_HPP
       2                 :            : #define INCLUDED_COM_SUN_STAR_BEANS_PROPERTYCHANGEEVENT_HPP
       3                 :            : 
       4                 :            : #include "sal/config.h"
       5                 :            : 
       6                 :            : #include "com/sun/star/beans/PropertyChangeEvent.hdl"
       7                 :            : 
       8                 :            : #include "com/sun/star/lang/EventObject.hpp"
       9                 :            : #include "com/sun/star/uno/Any.hxx"
      10                 :            : #include "com/sun/star/uno/Type.hxx"
      11                 :            : #include "cppu/unotype.hxx"
      12                 :            : #include "osl/mutex.hxx"
      13                 :            : #include "rtl/ustring.h"
      14                 :            : #include "rtl/ustring.hxx"
      15                 :            : #include "rtl/instance.hxx"
      16                 :            : #include "sal/types.h"
      17                 :            : #include "typelib/typeclass.h"
      18                 :            : #include "typelib/typedescription.h"
      19                 :            : 
      20                 :            : namespace com { namespace sun { namespace star { namespace beans {
      21                 :            : 
      22                 :          0 : inline PropertyChangeEvent::PropertyChangeEvent() SAL_THROW(())
      23                 :            :     : ::com::sun::star::lang::EventObject()
      24                 :            :     , PropertyName()
      25                 :            :     , Further(false)
      26                 :            :     , PropertyHandle(0)
      27                 :            :     , OldValue()
      28                 :          0 :     , NewValue()
      29                 :            : {
      30                 :          0 : }
      31                 :            : 
      32                 :          0 : inline PropertyChangeEvent::PropertyChangeEvent(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& Source_, const ::rtl::OUString& PropertyName_, const ::sal_Bool& Further_, const ::sal_Int32& PropertyHandle_, const ::com::sun::star::uno::Any& OldValue_, const ::com::sun::star::uno::Any& NewValue_) SAL_THROW(())
      33                 :            :     : ::com::sun::star::lang::EventObject(Source_)
      34                 :            :     , PropertyName(PropertyName_)
      35                 :            :     , Further(Further_)
      36                 :            :     , PropertyHandle(PropertyHandle_)
      37                 :            :     , OldValue(OldValue_)
      38                 :          0 :     , NewValue(NewValue_)
      39                 :            : {
      40                 :          0 : }
      41                 :            : 
      42                 :            : } } } }
      43                 :            : 
      44                 :            : namespace com { namespace sun { namespace star { namespace beans { namespace detail {
      45                 :            : 
      46                 :            : struct thePropertyChangeEventType : public rtl::StaticWithInit< ::com::sun::star::uno::Type *, thePropertyChangeEventType >
      47                 :            : {
      48                 :        781 :     ::com::sun::star::uno::Type * operator()() const
      49                 :            :     {
      50         [ +  - ]:        781 :         ::rtl::OUString the_name(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.beans.PropertyChangeEvent"));
      51         [ +  - ]:        781 :         ::rtl::OUString the_tname0(RTL_CONSTASCII_USTRINGPARAM("string"));
      52         [ +  - ]:        781 :         ::rtl::OUString the_name0(RTL_CONSTASCII_USTRINGPARAM("PropertyName"));
      53         [ +  - ]:        781 :         ::rtl::OUString the_tname1(RTL_CONSTASCII_USTRINGPARAM("boolean"));
      54         [ +  - ]:        781 :         ::rtl::OUString the_name1(RTL_CONSTASCII_USTRINGPARAM("Further"));
      55         [ +  - ]:        781 :         ::rtl::OUString the_tname2(RTL_CONSTASCII_USTRINGPARAM("long"));
      56         [ +  - ]:        781 :         ::rtl::OUString the_name2(RTL_CONSTASCII_USTRINGPARAM("PropertyHandle"));
      57         [ +  - ]:        781 :         ::rtl::OUString the_tname3(RTL_CONSTASCII_USTRINGPARAM("any"));
      58         [ +  - ]:        781 :         ::rtl::OUString the_name3(RTL_CONSTASCII_USTRINGPARAM("OldValue"));
      59         [ +  - ]:        781 :         ::rtl::OUString the_name4(RTL_CONSTASCII_USTRINGPARAM("NewValue"));
      60                 :            :         ::typelib_StructMember_Init the_members[] = {
      61                 :            :             { { typelib_TypeClass_STRING, the_tname0.pData, the_name0.pData }, false },
      62                 :            :             { { typelib_TypeClass_BOOLEAN, the_tname1.pData, the_name1.pData }, false },
      63                 :            :             { { typelib_TypeClass_LONG, the_tname2.pData, the_name2.pData }, false },
      64                 :            :             { { typelib_TypeClass_ANY, the_tname3.pData, the_name3.pData }, false },
      65                 :        781 :             { { typelib_TypeClass_ANY, the_tname3.pData, the_name4.pData }, false } };
      66                 :        781 :         ::typelib_TypeDescription * the_newType = 0;
      67         [ +  - ]:        781 :         ::typelib_typedescription_newStruct(&the_newType, the_name.pData, ::cppu::UnoType< ::com::sun::star::lang::EventObject >::get().getTypeLibType(), 5, the_members);
      68                 :        781 :         ::typelib_typedescription_register(&the_newType);
      69                 :        781 :         ::typelib_typedescription_release(the_newType);
      70                 :        781 :         return new ::com::sun::star::uno::Type(::com::sun::star::uno::TypeClass_STRUCT, the_name); // leaked
      71                 :            :     }
      72                 :            : };
      73                 :            : } } } } }
      74                 :            : 
      75                 :            : namespace com { namespace sun { namespace star { namespace beans {
      76                 :            : 
      77                 :       1938 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::com::sun::star::beans::PropertyChangeEvent const *) {
      78                 :       1938 :     return *detail::thePropertyChangeEventType::get();
      79                 :            : }
      80                 :            : 
      81                 :            : } } } }
      82                 :            : 
      83                 :         10 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER ::com::sun::star::beans::PropertyChangeEvent const *) SAL_THROW(()) {
      84                 :         10 :     return ::cppu::UnoType< ::com::sun::star::beans::PropertyChangeEvent >::get();
      85                 :            : }
      86                 :            : 
      87                 :            : #endif // INCLUDED_COM_SUN_STAR_BEANS_PROPERTYCHANGEEVENT_HPP

Generated by: LCOV version 1.10