20 #ifndef INCLUDED_CPPUHELPER_PROPERTYSETMIXIN_HXX 21 #define INCLUDED_CPPUHELPER_PROPERTYSETMIXIN_HXX 27 #include "com/sun/star/beans/PropertyVetoException.hpp" 28 #include "com/sun/star/beans/UnknownPropertyException.hpp" 29 #include "com/sun/star/beans/XFastPropertySet.hpp" 30 #include "com/sun/star/beans/XPropertyAccess.hpp" 31 #include "com/sun/star/beans/XPropertySet.hpp" 32 #include "com/sun/star/lang/IllegalArgumentException.hpp" 33 #include "com/sun/star/lang/WrappedTargetException.hpp" 35 #include "com/sun/star/uno/RuntimeException.hpp" 40 namespace com {
namespace sun {
namespace star {
42 class XPropertyChangeListener;
43 class XPropertySetInfo;
44 class XVetoableChangeListener;
50 class XComponentContext;
53 namespace rtl {
class OUString; }
77 #if defined __GNUC__ && !defined __clang__ 78 #pragma GCC diagnostic push 79 #pragma GCC diagnostic ignored "-Wnon-virtual-dtor" 82 public css::beans::XPropertySet,
83 public css::beans::XFastPropertySet,
84 public css::beans::XPropertyAccess
97 IMPLEMENTS_PROPERTY_SET = 1,
104 IMPLEMENTS_FAST_PROPERTY_SET = 2,
111 IMPLEMENTS_PROPERTY_ACCESS = 4
225 css::uno::Any
const & oldValue,
226 css::uno::Any
const & newValue,
262 virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo()
SAL_OVERRIDE;
265 virtual
void SAL_CALL setPropertyValue(
266 rtl::OUString const & propertyName,
270 virtual
css::uno::Any SAL_CALL getPropertyValue(
282 virtual
void SAL_CALL addPropertyChangeListener(
283 rtl::OUString const & propertyName,
288 virtual
void SAL_CALL removePropertyChangeListener(
289 rtl::OUString const & propertyName,
302 virtual
void SAL_CALL addVetoableChangeListener(
303 rtl::OUString const & propertyName,
308 virtual
void SAL_CALL removeVetoableChangeListener(
309 rtl::OUString const & propertyName,
314 virtual
void SAL_CALL setFastPropertyValue(
318 virtual
css::uno::Any SAL_CALL getFastPropertyValue(
322 virtual
css::uno::Sequence<
css::beans::PropertyValue > SAL_CALL getPropertyValues()
SAL_OVERRIDE;
325 virtual
void SAL_CALL setPropertyValues(
333 css::uno::Reference<
css::uno::XComponentContext > const & context,
335 css::uno::Sequence<
rtl::OUString > const & absentOptional,
336 css::uno::Type const & type);
346 void checkUnknown(
rtl::OUString const & propertyName);
404 css::uno::Reference< css::uno::XComponentContext >
const & context,
406 css::uno::Sequence< rtl::OUString >
const & absentOptional):
408 context, implements, absentOptional, T::static_type())
422 #if defined __GNUC__ && !defined __clang__ 423 #pragma GCC diagnostic pop #define SAL_OVERRIDE
C++11 "override" feature.
Definition: types.h:407
#define CPPUHELPER_DLLPUBLIC
Definition: cppuhelperdllapi.h:28
A helper mixin to implement certain UNO interfaces related to property set handling on top of the att...
Definition: propertysetmixin.hxx:57
~PropertySetMixin()
The destructor.
Definition: propertysetmixin.hxx:416
A class used by subclasses of cppu::PropertySetMixin when implementing UNO interface type attribute s...
Definition: propertysetmixin.hxx:126
#define SAL_DELETED_FUNCTION
short-circuit extra-verbose API namespaces
Definition: types.h:394
css::uno::Any queryInterface(const css::uno::Type &rType, Interface1 *p1)
Compares demanded type to given template argument types.
Definition: queryinterface.hxx:39
This String class provides base functionality for C++ like Unicode character array handling...
Definition: ustring.hxx:121
Definition: bootstrap.hxx:29
PropertySetMixin(css::uno::Reference< css::uno::XComponentContext > const &context, Implements implements, css::uno::Sequence< rtl::OUString > const &absentOptional)
The constructor.
Definition: propertysetmixin.hxx:403
Definition: Enterable.hxx:26
A helper base class for cppu::PropertySetMixin.
Definition: propertysetmixin.hxx:81
Implements
Flags used by subclasses of cppu::PropertySetMixin to specify what UNO interface types shall be suppo...
Definition: propertysetmixin.hxx:92