LCOV - code coverage report
Current view: top level - solver/unxlngi6.pro/inc/offapi/com/sun/star/sdb - ParametersRequest.hpp (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 8 8 100.0 %
Date: 2012-08-25 Functions: 3 3 100.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 1 2 50.0 %

           Branch data     Line data    Source code
       1                 :            : #ifndef INCLUDED_COM_SUN_STAR_SDB_PARAMETERSREQUEST_HPP
       2                 :            : #define INCLUDED_COM_SUN_STAR_SDB_PARAMETERSREQUEST_HPP
       3                 :            : 
       4                 :            : #include "sal/config.h"
       5                 :            : 
       6                 :            : #include "com/sun/star/sdb/ParametersRequest.hdl"
       7                 :            : 
       8                 :            : #include "com/sun/star/sdbc/XConnection.hpp"
       9                 :            : #include "com/sun/star/task/ClassifiedInteractionRequest.hpp"
      10                 :            : #include "com/sun/star/container/XIndexAccess.hpp"
      11                 :            : #include "com/sun/star/uno/Reference.hxx"
      12                 :            : #include "com/sun/star/uno/Type.hxx"
      13                 :            : #include "cppu/unotype.hxx"
      14                 :            : #include "osl/mutex.hxx"
      15                 :            : #include "rtl/instance.hxx"
      16                 :            : 
      17                 :            : namespace com { namespace sun { namespace star { namespace sdb {
      18                 :            : 
      19                 :          2 : inline ParametersRequest::ParametersRequest() SAL_THROW(())
      20                 :            :     : ::com::sun::star::task::ClassifiedInteractionRequest()
      21                 :            :     , Parameters()
      22                 :          2 :     , Connection()
      23                 :          2 : { }
      24                 :            : 
      25                 :            : inline ParametersRequest::ParametersRequest(const ::rtl::OUString& Message_, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& Context_, const ::com::sun::star::task::InteractionClassification& Classification_, const ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess >& Parameters_, const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >& Connection_) SAL_THROW(())
      26                 :            :     : ::com::sun::star::task::ClassifiedInteractionRequest(Message_, Context_, Classification_)
      27                 :            :     , Parameters(Parameters_)
      28                 :            :     , Connection(Connection_)
      29                 :            : { }
      30                 :            : 
      31                 :            : ParametersRequest::ParametersRequest(ParametersRequest const & the_other): ::com::sun::star::task::ClassifiedInteractionRequest(the_other), Parameters(the_other.Parameters), Connection(the_other.Connection) {}
      32                 :            : 
      33                 :          2 : ParametersRequest::~ParametersRequest() {}
      34                 :            : 
      35                 :            : ParametersRequest & ParametersRequest::operator =(ParametersRequest const & the_other) {
      36                 :            :     //TODO: Just like its implicitly-defined counterpart, this function definition is not exception-safe
      37                 :            :     ::com::sun::star::task::ClassifiedInteractionRequest::operator =(the_other);
      38                 :            :     Parameters = the_other.Parameters;
      39                 :            :     Connection = the_other.Connection;
      40                 :            :     return *this;
      41                 :            : }
      42                 :            : 
      43                 :            : } } } }
      44                 :            : 
      45                 :            : namespace com { namespace sun { namespace star { namespace sdb {
      46                 :            : 
      47                 :          2 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::com::sun::star::sdb::ParametersRequest const *) {
      48                 :            :     static typelib_TypeDescriptionReference * the_type = 0;
      49         [ +  - ]:          2 :     if ( !the_type )
      50                 :            :     {
      51                 :          2 :         typelib_static_type_init( &the_type, typelib_TypeClass_EXCEPTION, "com.sun.star.sdb.ParametersRequest" );
      52                 :            :     }
      53                 :          2 :     return * reinterpret_cast< ::com::sun::star::uno::Type * >( &the_type );
      54                 :            : }
      55                 :            : 
      56                 :            : } } } }
      57                 :            : 
      58                 :            : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER ::com::sun::star::sdb::ParametersRequest const *) SAL_THROW(()) {
      59                 :            :     return ::cppu::UnoType< ::com::sun::star::sdb::ParametersRequest >::get();
      60                 :            : }
      61                 :            : 
      62                 :            : #endif // INCLUDED_COM_SUN_STAR_SDB_PARAMETERSREQUEST_HPP

Generated by: LCOV version 1.10