Overview | Namespace | Class | Index | Help |
Methods of Class PropertySetMixin
- PropertySetMixin
- PropertySetMixin(
const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > & context, Implements implements, const com::sun::star::uno::Sequence< rtl::OUString > & absentOptional );
virtual abstract const volatile template static inline C-linkage NO NO NO NO NO NO YES NO
- Summary
- The constructor.
- Description
- May throw
com::sun::star::uno::RuntimeException
andstd::bad_alloc
. - Parameters
context the component context used by this class template; must not be null, and must supply the service
com.sun.star.reflection.CoreReflection
and the singletoncom.sun.star.reflection.theTypeDescriptionManager
implements a combination of zero or more flags specifying what UNO interface types shall be supported
absentOptional a list of optional properties that are not present, and should thus not be visible via
com::sun::star::beans::XPropertySet::getPropertySetInfo
,com::sun::star::beans::XPropertySet::addPropertyChangeListener
,com::sun::star::beans::XPropertySet::removePropertyChangeListener
,com::sun::star::beans::XPropertySet::addVetoableChangeListener
, andcom::sun::star::beans::XPropertySet::removeVetoableChangeListener
. For consistency reasons, the givenabsentOptional
should only contain the names of attributes that represent optional properties that are not present (that is, the attribute getters and setters always throw acom::sun::star::beans::UnknownPropertyException
), and should contain each such name only once. If an optional property is not present (that is, the corresponding attribute getter and setter always throw acom::sun::star::beans::UnknownPropertyException
) but is not contained in the givenabsentOptional
, then it will be visible viacom::sun::star::beans::XPropertySet::getPropertySetInfo
as acom::sun::star::beans::Property
with a setcom::sun::star::beans::PropertyAttribute::OPTIONAL
. If the givenimplements
specifies thatcom::sun::star::beans::XPropertySet
is not supported, then the givenabsentOptional
is effectively ignored and can be empty.
- ~PropertySetMixin
- ~PropertySetMixin();
virtual abstract const volatile template static inline C-linkage NO NO NO NO NO NO YES NO
- Summary
- The destructor.
- Description
- Does not throw.
- PropertySetMixin
- PropertySetMixin(
PropertySetMixin & );
virtual abstract const volatile template static inline C-linkage NO NO NO NO NO NO NO NO
- operator=
- void operator=(
PropertySetMixin );
virtual abstract const volatile template static inline C-linkage NO NO NO NO NO NO NO NO
Top of Page
Copyright © 2012, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.