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
255 rtl::OUString const & propertyName,
272 rtl::OUString const & propertyName,
278 rtl::OUString const & propertyName,
292 rtl::OUString const & propertyName,
298 rtl::OUString const & propertyName,
321 PropertySetMixinImpl(
322 css::uno::Reference<
css::uno::XComponentContext > const & context,
324 css::uno::Sequence<
rtl::OUString > const & absentOptional,
325 css::uno::Type const & type);
333 ~PropertySetMixinImpl();
335 void checkUnknown(
rtl::OUString const & propertyName);
396 PropertySetMixinImpl(
397 context, implements, absentOptional, T::static_type())
#define SAL_DELETED_FUNCTION
short-circuit extra-verbose API namespaces
Definition types.h:396
#define SAL_OVERRIDE
C++11 "override" feature.
Definition types.h:409
#define CPPUHELPER_DLLPUBLIC
Definition cppuhelperdllapi.h:32
Definition bootstrap.hxx:34
Definition typedescription.hxx:43
Definition Enterable.hxx:31
Definition propertysetmixin.hxx:38
This String class provides base functionality for C++ like Unicode character array handling.
Definition ustring.hxx:172
Template reference class for interface type derived from BaseReference.
Definition Reference.h:184
virtual void setPropertyValue(rtl::OUString const &propertyName, css::uno::Any const &value) SAL_OVERRIDE
virtual css::uno::Any getPropertyValue(rtl::OUString const &propertyName) SAL_OVERRIDE
virtual void addVetoableChangeListener(rtl::OUString const &propertyName, css::uno::Reference< css::beans::XVetoableChangeListener > const &listener) SAL_OVERRIDE
Adds a css::beans::XVetoableChangeListener.
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 void addPropertyChangeListener(rtl::OUString const &propertyName, css::uno::Reference< css::beans::XPropertyChangeListener > const &listener) SAL_OVERRIDE
Adds a css::beans::XPropertyChangeListener.
virtual css::uno::Reference< css::beans::XPropertySetInfo > getPropertySetInfo() SAL_OVERRIDE
void dispose()
Mark this instance as being disposed.
virtual css::uno::Sequence< css::beans::PropertyValue > getPropertyValues() SAL_OVERRIDE
virtual void removeVetoableChangeListener(rtl::OUString const &propertyName, css::uno::Reference< css::beans::XVetoableChangeListener > const &listener) SAL_OVERRIDE
Implements
Flags used by subclasses of cppu::PropertySetMixin to specify what UNO interface types shall be suppo...
Definition propertysetmixin.hxx:81
@ IMPLEMENTS_FAST_PROPERTY_SET
Flag specifying that the UNO interface type css::beans::XFastPropertySet shall be supported.
Definition propertysetmixin.hxx:93
@ IMPLEMENTS_PROPERTY_ACCESS
Flag specifying that the UNO interface type css::beans::XPropertyAccess shall be supported.
Definition propertysetmixin.hxx:100
@ IMPLEMENTS_PROPERTY_SET
Flag specifying that the UNO interface type css::beans::XPropertySet shall be supported.
Definition propertysetmixin.hxx:86
friend class PropertySetMixin
Definition propertysetmixin.hxx:331
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...
virtual void setFastPropertyValue(sal_Int32 handle, css::uno::Any const &value) SAL_OVERRIDE
friend class Impl
Definition propertysetmixin.hxx:330
virtual css::uno::Any getFastPropertyValue(sal_Int32 handle) SAL_OVERRIDE
virtual void setPropertyValues(css::uno::Sequence< css::beans::PropertyValue > const &props) SAL_OVERRIDE
virtual void removePropertyChangeListener(rtl::OUString const &propertyName, css::uno::Reference< css::beans::XPropertyChangeListener > const &listener) SAL_OVERRIDE
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.
friend class PropertySetMixinImpl
Definition propertysetmixin.hxx:150
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
C++ class representing an IDL any.
Definition Any.h:58
C++ class representing an IDL meta type.
Definition Type.h:59