Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: cppu ::

template< typename T >

class PropertySetMixinImpl


Base Classes
com::sun::star::beans::XPropertySet (public)
  |  
  |  com::sun::star::beans::XFastPropertySet (public)
  |    |  
  |    |  com::sun::star::beans::XPropertyAccess (public)
  |    |    |  
  +----+----+--PropertySetMixinImpl
Known Derived Classes
PropertySetMixin

virtual abstract interface template
YES NO NO YES
Summary
A helper base class for cppu::PropertySetMixin.
Description
See the documentation of cppu::PropertySetMixin for further details.
Since
UDK 3.2.1
File
propertysetmixin.hxx

Protected Members

Classes

BoundListeners A class used by subclasses of <code>cppu::PropertySetMixin</code> when implementing UNO interface type attribute setter functions.

Enums

Implements Flags used by subclasses of <code>cppu::PropertySetMixin</code> to specify what UNO interface types shall be supported.

Methods

void
prepareSet( const rtl::OUString & propertyName, const com::sun::star::uno::Any & oldValue, const com::sun::star::uno::Any & newValue, BoundListeners * boundListeners );
A function used by subclasses of <code>cppu::PropertySetMixin</code> when implementing UNO interface type attribute setter functions.
void
dispose( );
Mark this instance as being disposed.
virtual com::sun::star::uno::Any
queryInterface( const com::sun::star::uno::Type & type ) throw( com::sun::star::uno::RuntimeException );
A function used by subclasses of <code>cppu::PropertySetMixin</code> when implementing <code>com::sun::star::uno::XInterface::queryInterface</code>.
virtual com::sun::star::uno::Reference< com::sun::star::beans::XPropertySetInfo >
getPropertySetInfo( ) throw( com::sun::star::uno::RuntimeException );
virtual void
setPropertyValue( const rtl::OUString & propertyName, const com::sun::star::uno::Any & value ) throw( com::sun::star::beans::UnknownPropertyException, com::sun::star::beans::PropertyVetoException, com::sun::star::lang::IllegalArgumentException, com::sun::star::lang::WrappedTargetException, com::sun::star::uno::RuntimeException );
virtual com::sun::star::uno::Any
getPropertyValue( const rtl::OUString & propertyName ) throw( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException, com::sun::star::uno::RuntimeException );
virtual void
addPropertyChangeListener( const rtl::OUString & propertyName, const com::sun::star::uno::Reference< com::sun::star::beans::XPropertyChangeListener > & listener ) throw( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException, com::sun::star::uno::RuntimeException );
Adds a <code>com::sun::star::beans::XPropertyChangeListener</code>.
virtual void
removePropertyChangeListener( const rtl::OUString & propertyName, const com::sun::star::uno::Reference< com::sun::star::beans::XPropertyChangeListener > & listener ) throw( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException, com::sun::star::uno::RuntimeException );
virtual void
addVetoableChangeListener( const rtl::OUString & propertyName, const com::sun::star::uno::Reference< com::sun::star::beans::XVetoableChangeListener > & listener ) throw( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException, com::sun::star::uno::RuntimeException );
Adds a <code>com::sun::star::beans::XVetoableChangeListener</code>.
virtual void
removeVetoableChangeListener( const rtl::OUString & propertyName, const com::sun::star::uno::Reference< com::sun::star::beans::XVetoableChangeListener > & listener ) throw( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException, com::sun::star::uno::RuntimeException );
virtual void
setFastPropertyValue( sal_Int32 handle, const com::sun::star::uno::Any & value ) throw( com::sun::star::beans::UnknownPropertyException, com::sun::star::beans::PropertyVetoException, com::sun::star::lang::IllegalArgumentException, com::sun::star::lang::WrappedTargetException, com::sun::star::uno::RuntimeException );
virtual com::sun::star::uno::Any
getFastPropertyValue( sal_Int32 handle ) throw( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException, com::sun::star::uno::RuntimeException );
virtual com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue >
getPropertyValues( ) throw( com::sun::star::uno::RuntimeException );
virtual void
setPropertyValues( const com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue > & props ) throw( com::sun::star::beans::UnknownPropertyException, com::sun::star::beans::PropertyVetoException, com::sun::star::lang::IllegalArgumentException, com::sun::star::lang::WrappedTargetException, com::sun::star::uno::RuntimeException );

Private Members

Methods


PropertySetMixinImpl( PropertySetMixinImpl & );
void
operator=( PropertySetMixinImpl & );

PropertySetMixinImpl( const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > & context, Implements implements, const com::sun::star::uno::Sequence< rtl::OUString > & absentOptional, const com::sun::star::uno::Type & type );

~PropertySetMixinImpl( );
void
checkUnknown( const rtl::OUString & propertyName );

Data

Impl * m_impl;

Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.