24#ifndef INCLUDED_CPPUHELPER_PROPERTYSETMIXIN_HXX
25#define INCLUDED_CPPUHELPER_PROPERTYSETMIXIN_HXX
29#include "com/sun/star/beans/XFastPropertySet.hpp"
30#include "com/sun/star/beans/XPropertyAccess.hpp"
31#include "com/sun/star/beans/XPropertySet.hpp"
32#include "com/sun/star/uno/Reference.h"
33#include "com/sun/star/uno/Sequence.hxx"
37namespace com {
namespace sun {
namespace star {
39 class XPropertyChangeListener;
40 class XPropertySetInfo;
41 class XVetoableChangeListener;
46 class XComponentContext;
71 public css::beans::XPropertySet,
72 public css::beans::XFastPropertySet,
73 public css::beans::XPropertyAccess
86 IMPLEMENTS_PROPERTY_SET = 1,
93 IMPLEMENTS_FAST_PROPERTY_SET = 2,
100 IMPLEMENTS_PROPERTY_ACCESS = 4
213 rtl::OUString
const & propertyName,
214 css::uno::Any
const & oldValue,
215 css::uno::Any
const & newValue,
248 css::uno::Type
const & type) SAL_OVERRIDE;
251 virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() SAL_OVERRIDE;
254 virtual
void SAL_CALL setPropertyValue(
255 rtl::OUString const & propertyName,
256 css::
uno::Any const & value) SAL_OVERRIDE;
259 virtual css::
uno::Any SAL_CALL getPropertyValue(
260 rtl::OUString const & propertyName) SAL_OVERRIDE;
271 virtual
void SAL_CALL addPropertyChangeListener(
272 rtl::OUString const & propertyName,
274 css::beans::XPropertyChangeListener > const & listener) SAL_OVERRIDE;
277 virtual
void SAL_CALL removePropertyChangeListener(
278 rtl::OUString const & propertyName,
280 css::beans::XPropertyChangeListener > const & listener) SAL_OVERRIDE;
291 virtual
void SAL_CALL addVetoableChangeListener(
292 rtl::OUString const & propertyName,
294 css::beans::XVetoableChangeListener > const & listener) SAL_OVERRIDE;
297 virtual
void SAL_CALL removeVetoableChangeListener(
298 rtl::OUString const & propertyName,
300 css::beans::XVetoableChangeListener > const & listener) SAL_OVERRIDE;
303 virtual
void SAL_CALL setFastPropertyValue(
304 sal_Int32 handle, css::
uno::Any const & value) SAL_OVERRIDE;
307 virtual css::
uno::Any SAL_CALL getFastPropertyValue(
308 sal_Int32 handle) SAL_OVERRIDE;
311 virtual css::
uno::Sequence< css::beans::PropertyValue > SAL_CALL getPropertyValues() SAL_OVERRIDE;
314 virtual
void SAL_CALL setPropertyValues(
315 css::
uno::Sequence< css::beans::PropertyValue > const & props) SAL_OVERRIDE;
322 css::
uno::Reference< css::
uno::XComponentContext > const & context,
324 css::
uno::Sequence<
rtl::OUString > const & absentOptional,
335 void checkUnknown(
rtl::OUString const & propertyName);
393 css::uno::Reference< css::uno::XComponentContext >
const & context,
395 css::uno::Sequence< rtl::OUString >
const & absentOptional):
397 context, implements, absentOptional, T::static_type())
A class used by subclasses of cppu::PropertySetMixin when implementing UNO interface type attribute s...
BoundListeners(const BoundListeners &) SAL_DELETED_FUNCTION
void operator=(const BoundListeners &) SAL_DELETED_FUNCTION
A helper base class for cppu::PropertySetMixin.
Implements
Flags used by subclasses of cppu::PropertySetMixin to specify what UNO interface types shall be suppo...
A helper mixin to implement certain UNO interfaces related to property set handling on top of the att...
PropertySetMixin(const PropertySetMixin &) SAL_DELETED_FUNCTION
PropertySetMixin(css::uno::Reference< css::uno::XComponentContext > const &context, Implements implements, css::uno::Sequence< rtl::OUString > const &absentOptional)
The constructor.
void operator=(const PropertySetMixin &) SAL_DELETED_FUNCTION
~PropertySetMixin()
The destructor.
#define CPPUHELPER_DLLPUBLIC
css::uno::Any SAL_CALL queryInterface(const css::uno::Type &rType, Interface1 *p1)
Compares demanded type to given template argument types.