37#include <com/sun/star/sdbc/SQLException.hpp>
38#include <com/sun/star/sdbc/DataType.hpp>
47using com::sun::star::sdbc::SQLException;
48using com::sun::star::uno::Any;
62 return css::sdbc::DataType::VARCHAR;
66 const css::uno::Reference< css::container::XNameAccess >& )
74 const css::uno::Reference< css::container::XNameAccess >& )
81 const css::uno::Reference< css::container::XNameAccess >& typeMap )
89 const css::uno::Reference< css::container::XNameAccess >& )
92 std::vector< std::vector< Any > > ret(
count );
96 std::vector< Any > row( 2 );
97 row[0] <<=
static_cast<sal_Int32
>(
i +
index );
112 "Array::getArrayAtIndex(): allowed range for index + count "
113 + OUString::number(
m_data.size() )
114 +
", got " + OUString::number(
index )
115 +
" + " + OUString::number(
count ),
116 *
this, OUString(), 1,
Any());
css::uno::Reference< css::script::XTypeConverter > m_tc
void checkRange(sal_Int32 index, sal_Int32 count)
virtual css::uno::Reference< css::sdbc::XResultSet > SAL_CALL getResultSet(const css::uno::Reference< css::container::XNameAccess > &typeMap) override
virtual sal_Int32 SAL_CALL getBaseType() override
virtual OUString SAL_CALL getBaseTypeName() override
virtual css::uno::Sequence< css::uno::Any > SAL_CALL getArray(const css::uno::Reference< css::container::XNameAccess > &typeMap) override
css::uno::Reference< css::uno::XInterface > m_owner
virtual css::uno::Sequence< css::uno::Any > SAL_CALL getArrayAtIndex(sal_Int32 index, sal_Int32 count, const css::uno::Reference< css::container::XNameAccess > &typeMap) override
std::vector< css::uno::Any > m_data
virtual css::uno::Reference< css::sdbc::XResultSet > SAL_CALL getResultSetAtIndex(sal_Int32 index, sal_Int32 count, const css::uno::Reference< css::container::XNameAccess > &typeMap) override
rtl::Reference< comphelper::RefCountedMutex > m_xMutex
css::uno::Sequence< DstElementType > containerToSequence(const SrcType &i_Container)