Branch data 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 : : #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 : : namespace com { namespace sun { namespace star { namespace container { class XNameAccess; } } } }
10 : : #include "com/sun/star/sdbc/SQLException.hdl"
11 : : namespace com { namespace sun { namespace star { namespace sdbc { class XBlob; } } } }
12 : : namespace com { namespace sun { namespace star { namespace io { class XInputStream; } } } }
13 : : #include "com/sun/star/util/Time.hdl"
14 : : namespace com { namespace sun { namespace star { namespace sdbc { class XRef; } } } }
15 : : #include "com/sun/star/uno/XInterface.hdl"
16 : : #include "com/sun/star/util/Date.hdl"
17 : : #include "com/sun/star/util/DateTime.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 : 108450 : class SAL_NO_VTABLE XRow : public ::com::sun::star::uno::XInterface
30 : : {
31 : : public:
32 : :
33 : : // Methods
34 : : virtual ::sal_Bool SAL_CALL wasNull( ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
35 : : virtual ::rtl::OUString SAL_CALL getString( ::sal_Int32 columnIndex ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
36 : : virtual ::sal_Bool SAL_CALL getBoolean( ::sal_Int32 columnIndex ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
37 : : virtual ::sal_Int8 SAL_CALL getByte( ::sal_Int32 columnIndex ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
38 : : virtual ::sal_Int16 SAL_CALL getShort( ::sal_Int32 columnIndex ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
39 : : virtual ::sal_Int32 SAL_CALL getInt( ::sal_Int32 columnIndex ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
40 : : virtual ::sal_Int64 SAL_CALL getLong( ::sal_Int32 columnIndex ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
41 : : virtual float SAL_CALL getFloat( ::sal_Int32 columnIndex ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
42 : : virtual double SAL_CALL getDouble( ::sal_Int32 columnIndex ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
43 : : virtual ::com::sun::star::uno::Sequence< ::sal_Int8 > SAL_CALL getBytes( ::sal_Int32 columnIndex ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
44 : : virtual ::com::sun::star::util::Date SAL_CALL getDate( ::sal_Int32 columnIndex ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
45 : : virtual ::com::sun::star::util::Time SAL_CALL getTime( ::sal_Int32 columnIndex ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
46 : : virtual ::com::sun::star::util::DateTime SAL_CALL getTimestamp( ::sal_Int32 columnIndex ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
47 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > SAL_CALL getBinaryStream( ::sal_Int32 columnIndex ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
48 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > SAL_CALL getCharacterStream( ::sal_Int32 columnIndex ) throw (::com::sun::star::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< ::com::sun::star::container::XNameAccess >& typeMap ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
50 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XRef > SAL_CALL getRef( ::sal_Int32 columnIndex ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
51 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XBlob > SAL_CALL getBlob( ::sal_Int32 columnIndex ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
52 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XClob > SAL_CALL getClob( ::sal_Int32 columnIndex ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) = 0;
53 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XArray > SAL_CALL getArray( ::sal_Int32 columnIndex ) throw (::com::sun::star::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 : 108443 : ~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 ::com::sun::star::sdbc::XRow const *);
63 : : } } } }
64 : :
65 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XRow > *) SAL_THROW(());
66 : :
67 : : #endif
|