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"
37 namespace com {
namespace sun {
namespace star {
39 class XPropertyChangeListener;
40 class XPropertySetInfo;
41 class XVetoableChangeListener;
46 class XComponentContext;
70 #if defined __GNUC__ && !defined __clang__
71 #pragma GCC diagnostic push
72 #pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
75 public css::beans::XPropertySet,
76 public css::beans::XFastPropertySet,
77 public css::beans::XPropertyAccess
90 IMPLEMENTS_PROPERTY_SET = 1,
97 IMPLEMENTS_FAST_PROPERTY_SET = 2,
104 IMPLEMENTS_PROPERTY_ACCESS = 4
218 css::uno::Any
const & oldValue,
219 css::uno::Any
const & newValue,
255 virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo()
SAL_OVERRIDE;
258 virtual
void SAL_CALL setPropertyValue(
259 rtl::OUString const & propertyName,
263 virtual css::uno::Any SAL_CALL getPropertyValue(
264 rtl::OUString const & propertyName) SAL_OVERRIDE;
275 virtual
void SAL_CALL addPropertyChangeListener(
276 rtl::OUString const & propertyName,
278 css::beans::XPropertyChangeListener > const & listener) SAL_OVERRIDE;
281 virtual
void SAL_CALL removePropertyChangeListener(
282 rtl::OUString const & propertyName,
284 css::beans::XPropertyChangeListener > const & listener) SAL_OVERRIDE;
295 virtual
void SAL_CALL addVetoableChangeListener(
296 rtl::OUString const & propertyName,
298 css::beans::XVetoableChangeListener > const & listener) SAL_OVERRIDE;
301 virtual
void SAL_CALL removeVetoableChangeListener(
302 rtl::OUString const & propertyName,
304 css::beans::XVetoableChangeListener > const & listener) SAL_OVERRIDE;
307 virtual
void SAL_CALL setFastPropertyValue(
308 sal_Int32 handle, css::uno::Any const & value) SAL_OVERRIDE;
311 virtual css::uno::Any SAL_CALL getFastPropertyValue(
312 sal_Int32 handle) SAL_OVERRIDE;
315 virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getPropertyValues() SAL_OVERRIDE;
318 virtual
void SAL_CALL setPropertyValues(
319 css::uno::Sequence< css::beans::PropertyValue > const & props) SAL_OVERRIDE;
326 css::uno::Reference< css::uno::XComponentContext > const & context,
328 css::uno::Sequence< rtl::OUString > const & absentOptional,
329 css::uno::Type const & type);
339 void checkUnknown(rtl::OUString const & propertyName);
397 css::uno::Reference< css::uno::XComponentContext >
const & context,
399 css::uno::Sequence< rtl::OUString >
const & absentOptional):
400 PropertySetMixinImpl(
401 context, implements, absentOptional, T::static_type())
412 PropertySetMixin(
const PropertySetMixin&) SAL_DELETED_FUNCTION;
413 void operator=( const PropertySetMixin&) SAL_DELETED_FUNCTION;
415 #if defined __GNUC__ && !defined __clang__
416 #pragma GCC diagnostic pop
A class used by subclasses of cppu::PropertySetMixin when implementing UNO interface type attribute s...
Definition: propertysetmixin.hxx:119
This String class provides base functionality for C++ like Unicode character array handling...
Definition: ustring.hxx:203
A helper base class for cppu::PropertySetMixin.
Definition: propertysetmixin.hxx:74
Implements
Flags used by subclasses of cppu::PropertySetMixin to specify what UNO interface types shall be suppo...
Definition: propertysetmixin.hxx:85
PropertySetMixin(css::uno::Reference< css::uno::XComponentContext > const &context, Implements implements, css::uno::Sequence< rtl::OUString > const &absentOptional)
The constructor.
Definition: propertysetmixin.hxx:396
css::uno::Any queryInterface(const css::uno::Type &rType, Interface1 *p1)
Compares demanded type to given template argument types.
Definition: queryinterface.hxx:43
A helper mixin to implement certain UNO interfaces related to property set handling on top of the att...
Definition: propertysetmixin.hxx:354
~PropertySetMixin()
The destructor.
Definition: propertysetmixin.hxx:409
#define CPPUHELPER_DLLPUBLIC
Definition: cppuhelperdllapi.h:32
#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