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,
231 virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo()
SAL_OVERRIDE;
234 virtual
void SAL_CALL setPropertyValue(
235 rtl::OUString const & propertyName,
239 virtual css::uno::Any SAL_CALL getPropertyValue(
240 rtl::OUString const & propertyName) SAL_OVERRIDE;
251 virtual
void SAL_CALL addPropertyChangeListener(
252 rtl::OUString const & propertyName,
254 css::beans::XPropertyChangeListener > const & listener) SAL_OVERRIDE;
257 virtual
void SAL_CALL removePropertyChangeListener(
258 rtl::OUString const & propertyName,
260 css::beans::XPropertyChangeListener > const & listener) SAL_OVERRIDE;
271 virtual
void SAL_CALL addVetoableChangeListener(
272 rtl::OUString const & propertyName,
274 css::beans::XVetoableChangeListener > const & listener) SAL_OVERRIDE;
277 virtual
void SAL_CALL removeVetoableChangeListener(
278 rtl::OUString const & propertyName,
280 css::beans::XVetoableChangeListener > const & listener) SAL_OVERRIDE;
283 virtual
void SAL_CALL setFastPropertyValue(
284 sal_Int32 handle, css::uno::Any const & value) SAL_OVERRIDE;
287 virtual css::uno::Any SAL_CALL getFastPropertyValue(
288 sal_Int32 handle) SAL_OVERRIDE;
291 virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getPropertyValues() SAL_OVERRIDE;
294 virtual
void SAL_CALL setPropertyValues(
295 css::uno::Sequence< css::beans::PropertyValue > const & props) SAL_OVERRIDE;
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):
376 PropertySetMixinImpl(
377 context, implements, absentOptional, T::static_type())
388 PropertySetMixin(
const PropertySetMixin&) SAL_DELETED_FUNCTION;
389 void operator=( const PropertySetMixin&) SAL_DELETED_FUNCTION;
A class used by subclasses of cppu::PropertySetMixin when implementing UNO interface type attribute s...
Definition: propertysetmixin.hxx:95
This String class provides base functionality for C++ like Unicode character array handling...
Definition: ustring.hxx:182
A helper base class for cppu::PropertySetMixin.
Definition: propertysetmixin.hxx:50
Implements
Flags used by subclasses of cppu::PropertySetMixin to specify what UNO interface types shall be suppo...
Definition: propertysetmixin.hxx:61
#define CPPUHELPER_DLLPUBLIC
Definition: cppuhelperdllapi.h:12
PropertySetMixin(css::uno::Reference< css::uno::XComponentContext > const &context, Implements implements, css::uno::Sequence< rtl::OUString > const &absentOptional)
The constructor.
Definition: propertysetmixin.hxx:372
css::uno::Any queryInterface(const css::uno::Type &rType, Interface1 *p1)
Compares demanded type to given template argument types.
Definition: queryinterface.hxx:23
A helper mixin to implement certain UNO interfaces related to property set handling on top of the att...
Definition: propertysetmixin.hxx:330
~PropertySetMixin()
The destructor.
Definition: propertysetmixin.hxx:385
#define SAL_OVERRIDE
C++11 "override" feature.
Definition: types.h:371
#define SAL_DELETED_FUNCTION
short-circuit extra-verbose API namespaces
Definition: types.h:358