LCOV - code coverage report
Current view: top level - sdbc - XParameters.hdl (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 2 2 100.0 %
Date: 2013-07-09 Functions: 2 2 100.0 %
Legend: Lines: hit not hit

          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             : namespace com { namespace sun { namespace star { namespace io { class XInputStream; } } } }
       7             : #include "com/sun/star/sdbc/SQLException.hdl"
       8             : namespace com { namespace sun { namespace star { namespace sdbc { class XArray; } } } }
       9             : namespace com { namespace sun { namespace star { namespace sdbc { class XBlob; } } } }
      10             : namespace com { namespace sun { namespace star { namespace sdbc { class XClob; } } } }
      11             : namespace com { namespace sun { namespace star { namespace sdbc { class XRef; } } } }
      12             : #include "com/sun/star/uno/RuntimeException.hdl"
      13             : #include "com/sun/star/uno/XInterface.hdl"
      14             : #include "com/sun/star/util/Date.hdl"
      15             : #include "com/sun/star/util/DateTime.hdl"
      16             : #include "com/sun/star/util/Time.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         447 : class SAL_NO_VTABLE XParameters : public css::uno::XInterface
      29             : {
      30             : public:
      31             : 
      32             :     // Methods
      33             :     virtual void SAL_CALL setNull( ::sal_Int32 parameterIndex, ::sal_Int32 sqlType ) /* throw (css::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 (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
      35             :     virtual void SAL_CALL setBoolean( ::sal_Int32 parameterIndex, ::sal_Bool x ) /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
      36             :     virtual void SAL_CALL setByte( ::sal_Int32 parameterIndex, ::sal_Int8 x ) /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
      37             :     virtual void SAL_CALL setShort( ::sal_Int32 parameterIndex, ::sal_Int16 x ) /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
      38             :     virtual void SAL_CALL setInt( ::sal_Int32 parameterIndex, ::sal_Int32 x ) /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
      39             :     virtual void SAL_CALL setLong( ::sal_Int32 parameterIndex, ::sal_Int64 x ) /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
      40             :     virtual void SAL_CALL setFloat( ::sal_Int32 parameterIndex, float x ) /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
      41             :     virtual void SAL_CALL setDouble( ::sal_Int32 parameterIndex, double x ) /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
      42             :     virtual void SAL_CALL setString( ::sal_Int32 parameterIndex, const ::rtl::OUString& x ) /* throw (css::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 (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
      44             :     virtual void SAL_CALL setDate( ::sal_Int32 parameterIndex, const css::util::Date& x ) /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
      45             :     virtual void SAL_CALL setTime( ::sal_Int32 parameterIndex, const css::util::Time& x ) /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
      46             :     virtual void SAL_CALL setTimestamp( ::sal_Int32 parameterIndex, const css::util::DateTime& x ) /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
      47             :     virtual void SAL_CALL setBinaryStream( ::sal_Int32 parameterIndex, const ::com::sun::star::uno::Reference< css::io::XInputStream >& x, ::sal_Int32 length ) /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
      48             :     virtual void SAL_CALL setCharacterStream( ::sal_Int32 parameterIndex, const ::com::sun::star::uno::Reference< css::io::XInputStream >& x, ::sal_Int32 length ) /* throw (css::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 (css::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 (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
      51             :     virtual void SAL_CALL setRef( ::sal_Int32 parameterIndex, const ::com::sun::star::uno::Reference< css::sdbc::XRef >& x ) /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
      52             :     virtual void SAL_CALL setBlob( ::sal_Int32 parameterIndex, const ::com::sun::star::uno::Reference< css::sdbc::XBlob >& x ) /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
      53             :     virtual void SAL_CALL setClob( ::sal_Int32 parameterIndex, const ::com::sun::star::uno::Reference< css::sdbc::XClob >& x ) /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
      54             :     virtual void SAL_CALL setArray( ::sal_Int32 parameterIndex, const ::com::sun::star::uno::Reference< css::sdbc::XArray >& x ) /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
      55             :     virtual void SAL_CALL clearParameters() /* throw (css::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         439 :     ~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 css::sdbc::XParameters const *);
      65             : } } } }
      66             : 
      67             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::sdbc::XParameters > *) SAL_THROW(());
      68             : 
      69             : #endif

Generated by: LCOV version 1.10