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"
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
214 css::uno::Any
const & oldValue,
215 css::uno::Any
const & newValue,
254 virtual
void SAL_CALL setPropertyValue(
255 rtl::OUString const & propertyName,
259 virtual
css::uno::Any SAL_CALL getPropertyValue(
271 virtual
void SAL_CALL addPropertyChangeListener(
272 rtl::OUString const & propertyName,
277 virtual
void SAL_CALL removePropertyChangeListener(
278 rtl::OUString const & propertyName,
291 virtual
void SAL_CALL addVetoableChangeListener(
292 rtl::OUString const & propertyName,
297 virtual
void SAL_CALL removeVetoableChangeListener(
298 rtl::OUString const & propertyName,
303 virtual
void SAL_CALL setFastPropertyValue(
307 virtual
css::uno::Any SAL_CALL getFastPropertyValue(
314 virtual
void SAL_CALL setPropertyValues(
322 css::uno::Reference<
css::uno::XComponentContext > const & context,
324 css::uno::Sequence<
rtl::OUString > const & absentOptional,
325 css::uno::Type const & type);
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())
#define SAL_DELETED_FUNCTION
short-circuit extra-verbose API namespaces
Definition types.h:378
#define SAL_OVERRIDE
C++11 "override" feature.
Definition types.h:391
#define CPPUHELPER_DLLPUBLIC
Definition cppuhelperdllapi.h:32
Definition bootstrap.hxx:34
Definition Enterable.hxx:31
This String class provides base functionality for C++ like Unicode character array handling.
Definition ustring.hxx:171
A helper base class for cppu::PropertySetMixin.
Definition propertysetmixin.hxx:74
virtual css::uno::Any queryInterface(css::uno::Type const &type) SAL_OVERRIDE
A function used by subclasses of cppu::PropertySetMixin when implementing css::uno::XInterface::query...
virtual css::uno::Reference< css::beans::XPropertySetInfo > getPropertySetInfo() SAL_OVERRIDE
void dispose()
Mark this instance as being disposed.
Implements
Flags used by subclasses of cppu::PropertySetMixin to specify what UNO interface types shall be suppo...
Definition propertysetmixin.hxx:81
void prepareSet(rtl::OUString const &propertyName, css::uno::Any const &oldValue, css::uno::Any const &newValue, BoundListeners *boundListeners)
A function used by subclasses of cppu::PropertySetMixin when implementing UNO interface type attribut...
A class used by subclasses of cppu::PropertySetMixin when implementing UNO interface type attribute s...
Definition propertysetmixin.hxx:115
~BoundListeners()
The destructor.
void notify() const
Notifies any css::beans::XPropertyChangeListeners.
BoundListeners()
The constructor.
A helper mixin to implement certain UNO interfaces related to property set handling on top of the att...
Definition propertysetmixin.hxx:350
PropertySetMixin(css::uno::Reference< css::uno::XComponentContext > const &context, Implements implements, css::uno::Sequence< rtl::OUString > const &absentOptional)
The constructor.
Definition propertysetmixin.hxx:392
~PropertySetMixin()
The destructor.
Definition propertysetmixin.hxx:405