47using com::sun::star::uno::Any;
50using com::sun::star::uno::RuntimeException;
52using com::sun::star::beans::Property;
53using com::sun::star::beans::XPropertySetInfo;
61 const css::uno::Sequence< OUString > &supportedServices,
62 const ::rtl::Reference< comphelper::RefCountedMutex >& refMutex,
63 css::uno::Reference< css::sdbc::XConnection > conn,
69 m_supportedServices( supportedServices ),
72 m_pSettings( pSettings ),
83 css::uno::Any & rConvertedValue,
84 css::uno::Any & rOldValue,
86 const css::uno::Any& rValue )
90 rConvertedValue = rValue;
96 const OUString &
name,
const css::uno::Any & value )
101 throw css::uno::RuntimeException(
110 const css::uno::Any& rValue )
120 css::uno::Any& rValue,
121 sal_Int32 nHandle )
const
133 return OPropertySetHelper::createPropertySetInfo(
m_propsDesc );
154 osl::MutexGuard guard(
m_xMutex->GetMutex() );
156 ::comphelper::concatSequences(
158 ReflectionBase_BASE::getTypes() ) );
164 const css::uno::Type & reqType )
166 Any ret = ReflectionBase_BASE::queryInterface( reqType );
167 return ret.hasValue() ? ret : OPropertySetHelper::queryInterface( reqType );
173 return css::uno::Sequence<sal_Int8>();
186 if( myPropInfo->hasPropertyByName( prop.Name ) )
188 prop.Name,
set->getPropertyValue( prop.Name ) );
208 "pq_sdbc::ReflectionBase::setName not implemented",
virtual sal_Int32 SAL_CALL getHandleByName(const ::rtl::OUString &rPropertyName)=0
css::uno::Sequence< css::uno::Type > getTypes()
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &reqType) override
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override
void copyValuesFrom(const css::uno::Reference< css::beans::XPropertySet > &set)
void SAL_CALL getFastPropertyValue(css::uno::Any &rValue, sal_Int32 nHandle) const override
virtual OUString SAL_CALL getImplementationName() override
css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
virtual cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper() override
::rtl::Reference< comphelper::RefCountedMutex > m_xMutex
virtual sal_Bool SAL_CALL convertFastPropertyValue(css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) override
virtual void SAL_CALL setName(const OUString &aName) override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
const css::uno::Sequence< OUString > m_supportedServices
std::vector< css::uno::Any > m_values
const OUString m_implName
cppu::IPropertyArrayHelper & m_propsDesc
virtual OUString SAL_CALL getName() override
virtual void SAL_CALL setFastPropertyValue_NoBroadcast(sal_Int32 nHandle, const css::uno::Any &rValue) override
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
ReflectionBase(OUString implName, const css::uno::Sequence< OUString > &supportedServices, const ::rtl::Reference< comphelper::RefCountedMutex > &refMutex, css::uno::Reference< css::sdbc::XConnection > conn, ConnectionSettings *pSettings, cppu::IPropertyArrayHelper &props)
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
void setPropertyValue_NoBroadcast_public(const OUString &name, const css::uno::Any &value)
double getLength(const B2DPolygon &rCandidate)
void set(css::uno::UnoInterfaceReference const &value)
class SAL_NO_VTABLE XPropertySet
bool CPPUHELPER_DLLPUBLIC supportsService(css::lang::XServiceInfo *implementation, rtl::OUString const &name)
OUString concatQualified(std::u16string_view a, std::u16string_view b)
::cppu::WeakComponentImplHelper< css::lang::XServiceInfo, css::sdbcx::XDataDescriptorFactory, css::container::XNamed > ReflectionBase_BASE
OUString extractStringProperty(const Reference< XPropertySet > &descriptor, const OUString &name)
rtl::Reference< Connection > m_conn