Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_SDBC_XRESULTSET_HDL
2 : #define INCLUDED_COM_SUN_STAR_SDBC_XRESULTSET_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/sdbc/SQLException.hdl"
7 : #include "com/sun/star/uno/RuntimeException.hdl"
8 : #include "com/sun/star/uno/XInterface.hdl"
9 : #include "com/sun/star/uno/Reference.h"
10 : #include "cppu/macros.hxx"
11 : #include "sal/types.h"
12 :
13 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
14 :
15 : namespace com { namespace sun { namespace star { namespace sdbc {
16 :
17 16625 : class SAL_NO_VTABLE XResultSet : public css::uno::XInterface
18 : {
19 : public:
20 :
21 : // Methods
22 : virtual ::sal_Bool SAL_CALL next() /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
23 : virtual ::sal_Bool SAL_CALL isBeforeFirst() /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
24 : virtual ::sal_Bool SAL_CALL isAfterLast() /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
25 : virtual ::sal_Bool SAL_CALL isFirst() /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
26 : virtual ::sal_Bool SAL_CALL isLast() /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
27 : virtual void SAL_CALL beforeFirst() /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
28 : virtual void SAL_CALL afterLast() /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
29 : virtual ::sal_Bool SAL_CALL first() /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
30 : virtual ::sal_Bool SAL_CALL last() /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
31 : virtual ::sal_Int32 SAL_CALL getRow() /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
32 : virtual ::sal_Bool SAL_CALL absolute( ::sal_Int32 row ) /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
33 : virtual ::sal_Bool SAL_CALL relative( ::sal_Int32 rows ) /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
34 : virtual ::sal_Bool SAL_CALL previous() /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
35 : virtual void SAL_CALL refreshRow() /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
36 : virtual ::sal_Bool SAL_CALL rowUpdated() /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
37 : virtual ::sal_Bool SAL_CALL rowInserted() /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
38 : virtual ::sal_Bool SAL_CALL rowDeleted() /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
39 : virtual ::com::sun::star::uno::Reference< css::uno::XInterface > SAL_CALL getStatement() /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
40 :
41 : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
42 :
43 : protected:
44 16617 : ~XResultSet() throw () {} // avoid warnings about virtual members and non-virtual dtor
45 : };
46 :
47 :
48 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::sdbc::XResultSet const *);
49 : } } } }
50 :
51 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::sdbc::XResultSet > *) SAL_THROW(());
52 :
53 : #endif
|