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

           Branch data     Line data    Source code
       1                 :            : #ifndef INCLUDED_COM_SUN_STAR_SDBC_XPARAMETERS_HDL
       2                 :            : #define INCLUDED_COM_SUN_STAR_SDBC_XPARAMETERS_HDL
       3                 :            : 
       4                 :            : #include "sal/config.h"
       5                 :            : 
       6                 :            : #include "com/sun/star/uno/RuntimeException.hdl"
       7                 :            : namespace com { namespace sun { namespace star { namespace sdbc { class XArray; } } } }
       8                 :            : namespace com { namespace sun { namespace star { namespace sdbc { class XClob; } } } }
       9                 :            : #include "com/sun/star/sdbc/SQLException.hdl"
      10                 :            : namespace com { namespace sun { namespace star { namespace sdbc { class XBlob; } } } }
      11                 :            : namespace com { namespace sun { namespace star { namespace io { class XInputStream; } } } }
      12                 :            : #include "com/sun/star/util/Time.hdl"
      13                 :            : namespace com { namespace sun { namespace star { namespace sdbc { class XRef; } } } }
      14                 :            : #include "com/sun/star/uno/XInterface.hdl"
      15                 :            : #include "com/sun/star/util/Date.hdl"
      16                 :            : #include "com/sun/star/util/DateTime.hdl"
      17                 :            : #include "com/sun/star/uno/Any.h"
      18                 :            : #include "com/sun/star/uno/Reference.h"
      19                 :            : #include "com/sun/star/uno/Sequence.h"
      20                 :            : #include "cppu/macros.hxx"
      21                 :            : #include "rtl/ustring.hxx"
      22                 :            : #include "sal/types.h"
      23                 :            : 
      24                 :            : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
      25                 :            : 
      26                 :            : namespace com { namespace sun { namespace star { namespace sdbc {
      27                 :            : 
      28                 :        780 : class SAL_NO_VTABLE XParameters : public ::com::sun::star::uno::XInterface
      29                 :            : {
      30                 :            : public:
      31                 :            : 
      32                 :            :     // Methods
      33                 :            :     virtual void SAL_CALL setNull( ::sal_Int32 parameterIndex, ::sal_Int32 sqlType ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
      34                 :            :     virtual void SAL_CALL setObjectNull( ::sal_Int32 parameterIndex, ::sal_Int32 sqlType, const ::rtl::OUString& typeName ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
      35                 :            :     virtual void SAL_CALL setBoolean( ::sal_Int32 parameterIndex, ::sal_Bool x ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
      36                 :            :     virtual void SAL_CALL setByte( ::sal_Int32 parameterIndex, ::sal_Int8 x ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
      37                 :            :     virtual void SAL_CALL setShort( ::sal_Int32 parameterIndex, ::sal_Int16 x ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
      38                 :            :     virtual void SAL_CALL setInt( ::sal_Int32 parameterIndex, ::sal_Int32 x ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
      39                 :            :     virtual void SAL_CALL setLong( ::sal_Int32 parameterIndex, ::sal_Int64 x ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
      40                 :            :     virtual void SAL_CALL setFloat( ::sal_Int32 parameterIndex, float x ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
      41                 :            :     virtual void SAL_CALL setDouble( ::sal_Int32 parameterIndex, double x ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
      42                 :            :     virtual void SAL_CALL setString( ::sal_Int32 parameterIndex, const ::rtl::OUString& x ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
      43                 :            :     virtual void SAL_CALL setBytes( ::sal_Int32 parameterIndex, const ::com::sun::star::uno::Sequence< ::sal_Int8 >& x ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
      44                 :            :     virtual void SAL_CALL setDate( ::sal_Int32 parameterIndex, const ::com::sun::star::util::Date& x ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
      45                 :            :     virtual void SAL_CALL setTime( ::sal_Int32 parameterIndex, const ::com::sun::star::util::Time& x ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
      46                 :            :     virtual void SAL_CALL setTimestamp( ::sal_Int32 parameterIndex, const ::com::sun::star::util::DateTime& x ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
      47                 :            :     virtual void SAL_CALL setBinaryStream( ::sal_Int32 parameterIndex, const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >& x, ::sal_Int32 length ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
      48                 :            :     virtual void SAL_CALL setCharacterStream( ::sal_Int32 parameterIndex, const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >& x, ::sal_Int32 length ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
      49                 :            :     virtual void SAL_CALL setObject( ::sal_Int32 parameterIndex, const ::com::sun::star::uno::Any& x ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
      50                 :            :     virtual void SAL_CALL setObjectWithInfo( ::sal_Int32 parameterIndex, const ::com::sun::star::uno::Any& x, ::sal_Int32 targetSqlType, ::sal_Int32 scale ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
      51                 :            :     virtual void SAL_CALL setRef( ::sal_Int32 parameterIndex, const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XRef >& x ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
      52                 :            :     virtual void SAL_CALL setBlob( ::sal_Int32 parameterIndex, const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XBlob >& x ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
      53                 :            :     virtual void SAL_CALL setClob( ::sal_Int32 parameterIndex, const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XClob >& x ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
      54                 :            :     virtual void SAL_CALL setArray( ::sal_Int32 parameterIndex, const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XArray >& x ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
      55                 :            :     virtual void SAL_CALL clearParameters(  ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
      56                 :            : 
      57                 :            :     static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
      58                 :            : 
      59                 :            : protected:
      60                 :        766 :     ~XParameters() throw () {} // avoid warnings about virtual members and non-virtual dtor
      61                 :            : };
      62                 :            : 
      63                 :            : 
      64                 :            : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::com::sun::star::sdbc::XParameters const *);
      65                 :            : } } } }
      66                 :            : 
      67                 :            : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XParameters > *) SAL_THROW(());
      68                 :            : 
      69                 :            : #endif

Generated by: LCOV version 1.10