Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_SDBC_XROW_HDL
2 : #define INCLUDED_COM_SUN_STAR_SDBC_XROW_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : namespace com { namespace sun { namespace star { namespace container { class XNameAccess; } } } }
7 : namespace com { namespace sun { namespace star { namespace io { class XInputStream; } } } }
8 : #include "com/sun/star/sdbc/SQLException.hdl"
9 : namespace com { namespace sun { namespace star { namespace sdbc { class XArray; } } } }
10 : namespace com { namespace sun { namespace star { namespace sdbc { class XBlob; } } } }
11 : namespace com { namespace sun { namespace star { namespace sdbc { class XClob; } } } }
12 : namespace com { namespace sun { namespace star { namespace sdbc { class XRef; } } } }
13 : #include "com/sun/star/uno/RuntimeException.hdl"
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/util/Time.hdl"
18 : #include "com/sun/star/uno/Any.h"
19 : #include "com/sun/star/uno/Reference.h"
20 : #include "com/sun/star/uno/Sequence.h"
21 : #include "cppu/macros.hxx"
22 : #include "rtl/ustring.hxx"
23 : #include "sal/types.h"
24 :
25 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
26 :
27 : namespace com { namespace sun { namespace star { namespace sdbc {
28 :
29 54560 : class SAL_NO_VTABLE XRow : public css::uno::XInterface
30 : {
31 : public:
32 :
33 : // Methods
34 : virtual ::sal_Bool SAL_CALL wasNull() /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
35 : virtual ::rtl::OUString SAL_CALL getString( ::sal_Int32 columnIndex ) /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
36 : virtual ::sal_Bool SAL_CALL getBoolean( ::sal_Int32 columnIndex ) /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
37 : virtual ::sal_Int8 SAL_CALL getByte( ::sal_Int32 columnIndex ) /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
38 : virtual ::sal_Int16 SAL_CALL getShort( ::sal_Int32 columnIndex ) /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
39 : virtual ::sal_Int32 SAL_CALL getInt( ::sal_Int32 columnIndex ) /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
40 : virtual ::sal_Int64 SAL_CALL getLong( ::sal_Int32 columnIndex ) /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
41 : virtual float SAL_CALL getFloat( ::sal_Int32 columnIndex ) /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
42 : virtual double SAL_CALL getDouble( ::sal_Int32 columnIndex ) /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
43 : virtual ::com::sun::star::uno::Sequence< ::sal_Int8 > SAL_CALL getBytes( ::sal_Int32 columnIndex ) /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
44 : virtual css::util::Date SAL_CALL getDate( ::sal_Int32 columnIndex ) /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
45 : virtual css::util::Time SAL_CALL getTime( ::sal_Int32 columnIndex ) /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
46 : virtual css::util::DateTime SAL_CALL getTimestamp( ::sal_Int32 columnIndex ) /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
47 : virtual ::com::sun::star::uno::Reference< css::io::XInputStream > SAL_CALL getBinaryStream( ::sal_Int32 columnIndex ) /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
48 : virtual ::com::sun::star::uno::Reference< css::io::XInputStream > SAL_CALL getCharacterStream( ::sal_Int32 columnIndex ) /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
49 : virtual ::com::sun::star::uno::Any SAL_CALL getObject( ::sal_Int32 columnIndex, const ::com::sun::star::uno::Reference< css::container::XNameAccess >& typeMap ) /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
50 : virtual ::com::sun::star::uno::Reference< css::sdbc::XRef > SAL_CALL getRef( ::sal_Int32 columnIndex ) /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
51 : virtual ::com::sun::star::uno::Reference< css::sdbc::XBlob > SAL_CALL getBlob( ::sal_Int32 columnIndex ) /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
52 : virtual ::com::sun::star::uno::Reference< css::sdbc::XClob > SAL_CALL getClob( ::sal_Int32 columnIndex ) /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
53 : virtual ::com::sun::star::uno::Reference< css::sdbc::XArray > SAL_CALL getArray( ::sal_Int32 columnIndex ) /* throw (css::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) */ = 0;
54 :
55 : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
56 :
57 : protected:
58 54555 : ~XRow() throw () {} // avoid warnings about virtual members and non-virtual dtor
59 : };
60 :
61 :
62 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::sdbc::XRow const *);
63 : } } } }
64 :
65 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::sdbc::XRow > *) SAL_THROW(());
66 :
67 : #endif
|