20#ifndef INCLUDED_CONNECTIVITY_PARAMWRAPPER_HXX
21#define INCLUDED_CONNECTIVITY_PARAMWRAPPER_HXX
23#include <config_options.h>
27#include <com/sun/star/container/XIndexAccess.hpp>
28#include <com/sun/star/container/XEnumerationAccess.hpp>
53 ,
public css::lang::XTypeProvider
78 const ::connectivity::ORowSetValue&
Value()
const {
return m_aValue; }
83 const css::uno::Reference< css::beans::XPropertySet >& _rxColumn
87 const css::uno::Reference< css::beans::XPropertySet >& _rxColumn,
88 const css::uno::Reference< css::sdbc::XParameters >& _rxAllParameters,
89 std::vector< sal_Int32 >&& _rIndexes
94 virtual css::
uno::Sequence< css::
uno::
Type > SAL_CALL getTypes( ) override;
95 virtual css::
uno::Sequence<
sal_Int8 > SAL_CALL getImplementationId( ) override;
98 virtual css::
uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override;
99 virtual ::
cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper() override;
102 virtual
sal_Bool SAL_CALL convertFastPropertyValue( css::
uno::Any& rConvertedValue, css::
uno::Any& rOldValue, sal_Int32 nHandle, const css::
uno::Any& rValue) override;
103 virtual
void SAL_CALL setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const css::
uno::Any& rValue ) override;
104 virtual
void SAL_CALL getFastPropertyValue( css::
uno::Any& rValue, sal_Int32 nHandle ) const override;
115 OUString impl_getPseudoAggregatePropertyName( sal_Int32 _nHandle ) const;
127 , css::container::XEnumerationAccess
152 virtual css::uno::Type SAL_CALL getElementType()
override;
153 virtual sal_Bool SAL_CALL hasElements()
override;
156 virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration()
override;
159 virtual sal_Int32 SAL_CALL getCount()
override;
160 virtual css::uno::Any SAL_CALL getByIndex(sal_Int32 _rIndex)
override;
165 const ::connectivity::ORowSetValue&
operator[](
size_t _index )
const {
return m_aParameters[ _index ]->Value(); }
172 m_aParameters.push_back( _pParameter );
175 size_t size()
const {
return m_aParameters.size(); }
179 virtual void disposing(std::unique_lock<std::mutex>& rGuard)
override;
181 void impl_checkDisposed_throw();
#define DECLARE_XINTERFACE()