LCOV - code coverage report
Current view: top level - workdir/unxlngi6.pro/UnoApiHeadersTarget/udkapi/comprehensive/com/sun/star/beans - UnknownPropertyException.hpp (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 15 21 71.4 %
Date: 2012-08-25 Functions: 4 6 66.7 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 2 6 33.3 %

           Branch data     Line data    Source code
       1                 :            : #ifndef INCLUDED_COM_SUN_STAR_BEANS_UNKNOWNPROPERTYEXCEPTION_HPP
       2                 :            : #define INCLUDED_COM_SUN_STAR_BEANS_UNKNOWNPROPERTYEXCEPTION_HPP
       3                 :            : 
       4                 :            : #include "sal/config.h"
       5                 :            : 
       6                 :            : #include "com/sun/star/beans/UnknownPropertyException.hdl"
       7                 :            : 
       8                 :            : #include "com/sun/star/uno/Exception.hpp"
       9                 :            : #include "com/sun/star/uno/Type.hxx"
      10                 :            : #include "cppu/unotype.hxx"
      11                 :            : #include "osl/mutex.hxx"
      12                 :            : #include "rtl/instance.hxx"
      13                 :            : 
      14                 :            : namespace com { namespace sun { namespace star { namespace beans {
      15                 :            : 
      16                 :       2197 : inline UnknownPropertyException::UnknownPropertyException() SAL_THROW(())
      17                 :       2197 :     : ::com::sun::star::uno::Exception()
      18                 :            : {
      19         [ +  - ]:       2197 :     ::cppu::UnoType< ::com::sun::star::beans::UnknownPropertyException >::get();
      20                 :       2197 : }
      21                 :            : 
      22                 :          0 : inline UnknownPropertyException::UnknownPropertyException(const ::rtl::OUString& Message_, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& Context_) SAL_THROW(())
      23                 :          0 :     : ::com::sun::star::uno::Exception(Message_, Context_)
      24                 :            : {
      25         [ #  # ]:          0 :     ::cppu::UnoType< ::com::sun::star::beans::UnknownPropertyException >::get();
      26                 :          0 : }
      27                 :            : 
      28                 :            : UnknownPropertyException::UnknownPropertyException(UnknownPropertyException const & the_other): ::com::sun::star::uno::Exception(the_other) {}
      29                 :            : 
      30                 :       2197 : UnknownPropertyException::~UnknownPropertyException() {}
      31                 :            : 
      32                 :            : UnknownPropertyException & UnknownPropertyException::operator =(UnknownPropertyException const & the_other) {
      33                 :            :     //TODO: Just like its implicitly-defined counterpart, this function definition is not exception-safe
      34                 :            :     ::com::sun::star::uno::Exception::operator =(the_other);
      35                 :            :     return *this;
      36                 :            : }
      37                 :            : 
      38                 :            : } } } }
      39                 :            : 
      40                 :            : namespace com { namespace sun { namespace star { namespace beans { namespace detail {
      41                 :            : 
      42                 :            : struct theUnknownPropertyExceptionType : public rtl::StaticWithInit< ::com::sun::star::uno::Type *, theUnknownPropertyExceptionType >
      43                 :            : {
      44                 :        776 :     ::com::sun::star::uno::Type * operator()() const
      45                 :            :     {
      46         [ +  - ]:        776 :         ::rtl::OUString sTypeName( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.beans.UnknownPropertyException") );
      47                 :            : 
      48                 :            :         // Start inline typedescription generation
      49                 :        776 :         typelib_TypeDescription * pTD = 0;
      50                 :        776 :         const ::com::sun::star::uno::Type& rSuperType = ::cppu::UnoType< ::com::sun::star::uno::Exception >::get();
      51                 :            : 
      52                 :            :         typelib_typedescription_new(
      53                 :            :             &pTD,
      54                 :            :             (typelib_TypeClass)::com::sun::star::uno::TypeClass_EXCEPTION, sTypeName.pData,
      55                 :            :             rSuperType.getTypeLibType(),
      56                 :            :             0,
      57                 :        776 :             0 );
      58                 :            : 
      59                 :        776 :         typelib_typedescription_register( (typelib_TypeDescription**)&pTD );
      60                 :            : 
      61                 :        776 :         typelib_typedescription_release( pTD );
      62                 :            :         // End inline typedescription generation
      63                 :            : 
      64                 :        776 :         return new ::com::sun::star::uno::Type( ::com::sun::star::uno::TypeClass_EXCEPTION, sTypeName ); // leaked
      65                 :            :     }
      66                 :            : };
      67                 :            : 
      68                 :            : } } } } }
      69                 :            : 
      70                 :            : namespace com { namespace sun { namespace star { namespace beans {
      71                 :            : 
      72                 :       3910 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::com::sun::star::beans::UnknownPropertyException const *) {
      73                 :       3910 :     return *detail::theUnknownPropertyExceptionType::get();
      74                 :            : }
      75                 :            : 
      76                 :            : } } } }
      77                 :            : 
      78                 :          0 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER ::com::sun::star::beans::UnknownPropertyException const *) SAL_THROW(()) {
      79                 :          0 :     return ::cppu::UnoType< ::com::sun::star::beans::UnknownPropertyException >::get();
      80                 :            : }
      81                 :            : 
      82                 :            : #endif // INCLUDED_COM_SUN_STAR_BEANS_UNKNOWNPROPERTYEXCEPTION_HPP

Generated by: LCOV version 1.10