4 #ifndef INCLUDED_CPPUHELPER_PROPERTYSETMIXIN_HXX
5 #define INCLUDED_CPPUHELPER_PROPERTYSETMIXIN_HXX
9 #include "com/sun/star/beans/XFastPropertySet.hpp"
10 #include "com/sun/star/beans/XPropertyAccess.hpp"
11 #include "com/sun/star/beans/XPropertySet.hpp"
17 namespace com {
namespace sun {
namespace star {
19 class XPropertyChangeListener;
20 class XPropertySetInfo;
21 class XVetoableChangeListener;
26 class XComponentContext;
51 public css::beans::XPropertySet,
52 public css::beans::XFastPropertySet,
53 public css::beans::XPropertyAccess
66 IMPLEMENTS_PROPERTY_SET = 1,
73 IMPLEMENTS_FAST_PROPERTY_SET = 2,
80 IMPLEMENTS_PROPERTY_ACCESS = 4
194 css::uno::Any
const & oldValue,
195 css::uno::Any
const & newValue,
234 virtual
void SAL_CALL setPropertyValue(
235 rtl::OUString const & propertyName,
239 virtual
css::uno::Any SAL_CALL getPropertyValue(
251 virtual
void SAL_CALL addPropertyChangeListener(
252 rtl::OUString const & propertyName,
257 virtual
void SAL_CALL removePropertyChangeListener(
258 rtl::OUString const & propertyName,
271 virtual
void SAL_CALL addVetoableChangeListener(
272 rtl::OUString const & propertyName,
277 virtual
void SAL_CALL removeVetoableChangeListener(
278 rtl::OUString const & propertyName,
283 virtual
void SAL_CALL setFastPropertyValue(
287 virtual
css::uno::Any SAL_CALL getFastPropertyValue(
294 virtual
void SAL_CALL setPropertyValues(
302 css::uno::Reference<
css::uno::XComponentContext > const & context,
304 css::uno::Sequence<
rtl::OUString > const & absentOptional,
305 css::uno::Type const & type);
315 void checkUnknown(
rtl::OUString const & propertyName);
373 css::uno::Reference< css::uno::XComponentContext >
const & context,
375 css::uno::Sequence< rtl::OUString >
const & absentOptional):
377 context, implements, absentOptional, T::static_type())
#define SAL_DELETED_FUNCTION
short-circuit extra-verbose API namespaces
Definition: types.h:358
#define SAL_OVERRIDE
C++11 "override" feature.
Definition: types.h:371
#define CPPUHELPER_DLLPUBLIC
Definition: cppuhelperdllapi.h:12
Definition: bootstrap.hxx:14
Definition: Enterable.hxx:11
This String class provides base functionality for C++ like Unicode character array handling.
Definition: ustring.hxx:184
A helper base class for cppu::PropertySetMixin.
Definition: propertysetmixin.hxx:54
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:61
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:95
~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:330
PropertySetMixin(css::uno::Reference< css::uno::XComponentContext > const &context, Implements implements, css::uno::Sequence< rtl::OUString > const &absentOptional)
The constructor.
Definition: propertysetmixin.hxx:372
~PropertySetMixin()
The destructor.
Definition: propertysetmixin.hxx:385