LibreOffice Module comphelper (master)  1
Public Member Functions | Protected Member Functions | Static Protected Member Functions | List of all members
comphelper::OPropertyStateHelper Class Reference

helper class for implementing property states More...

#include <propstate.hxx>

Inheritance diagram for comphelper::OPropertyStateHelper:
[legend]
Collaboration diagram for comphelper::OPropertyStateHelper:
[legend]

Public Member Functions

 OPropertyStateHelper (::cppu::OBroadcastHelper &rBHlp)
 
 OPropertyStateHelper (::cppu::OBroadcastHelper &rBHlp,::cppu::IEventNotificationHook *i_pFireEvents)
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &aType) override
 
virtual css::beans::PropertyState SAL_CALL getPropertyState (const OUString &PropertyName) override
 
virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates (const css::uno::Sequence< OUString > &aPropertyName) override
 
virtual void SAL_CALL setPropertyToDefault (const OUString &PropertyName) override
 
virtual css::uno::Any SAL_CALL getPropertyDefault (const OUString &aPropertyName) override
 
virtual css::beans::PropertyState getPropertyStateByHandle (sal_Int32 nHandle)
 
virtual void setPropertyToDefaultByHandle (sal_Int32 nHandle)
 
virtual css::uno::Any getPropertyDefaultByHandle (sal_Int32 nHandle) const
 
- Public Member Functions inherited from cppu::OPropertySetHelper2
 OPropertySetHelper2 (OBroadcastHelper &rBHelper, IEventNotificationHook *i_pFireEvents=NULL, bool bIgnoreRuntimeExceptionsWhileFiring=false)
 
virtual void SAL_CALL enableChangeListenerNotification (sal_Bool bEnable) SAL_OVERRIDE
 
- Public Member Functions inherited from cppu::OPropertySetHelper
 OPropertySetHelper (OBroadcastHelper &rBHelper)
 
 OPropertySetHelper (OBroadcastHelper &rBHelper, bool bIgnoreRuntimeExceptionsWhileFiring)
 
 OPropertySetHelper (OBroadcastHelper &rBHelper, IEventNotificationHook *i_pFireEvents, bool bIgnoreRuntimeExceptionsWhileFiring=false)
 
css::uno::Sequence< css::uno::Type > getTypes ()
 
void SAL_CALL disposing ()
 
virtual void SAL_CALL setPropertyValue (const ::rtl::OUString &rPropertyName, const css::uno::Any &aValue) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL getPropertyValue (const ::rtl::OUString &aPropertyName) SAL_OVERRIDE
 
virtual void SAL_CALL addPropertyChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL removePropertyChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL addVetoableChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL removeVetoableChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL getFastPropertyValue (sal_Int32 nHandle) SAL_OVERRIDE
 
virtual void SAL_CALL setPropertyValues (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Sequence< css::uno::Any > &Values) SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyValues (const css::uno::Sequence< ::rtl::OUString > &PropertyNames) SAL_OVERRIDE
 
virtual void SAL_CALL addPropertiesChangeListener (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE
 
virtual void SAL_CALL removePropertiesChangeListener (const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE
 
virtual void SAL_CALL firePropertiesChangeEvent (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE
 

Protected Member Functions

virtual ~OPropertyStateHelper () override
 
void firePropertyChange (sal_Int32 nHandle, const css::uno::Any &aNewValue, const css::uno::Any &aOldValue)
 
- Protected Member Functions inherited from cppu::OPropertySetHelper2
virtual ~OPropertySetHelper2 ()
 
- Protected Member Functions inherited from cppu::OPropertySetHelper
void SAL_CALL fire (sal_Int32 *pnHandles, const css::uno::Any *pNewValues, const css::uno::Any *pOldValues, sal_Int32 nCount, sal_Bool bVetoable)
 
void SAL_CALL setFastPropertyValues (sal_Int32 nSeqLen, sal_Int32 *pHandles, const css::uno::Any *pValues, sal_Int32 nHitCount)
 
virtual IPropertyArrayHelper &SAL_CALL getInfoHelper ()=0
 
virtual sal_Bool SAL_CALL convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue)=0
 
virtual void SAL_CALL setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue)=0
 
virtual void SAL_CALL getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const =0
 
void setDependentFastPropertyValue (sal_Int32 i_handle, const css::uno::Any &i_value)
 
 ~OPropertySetHelper ()
 

Static Protected Member Functions

static css::uno::Sequence< css::uno::Type > getTypes ()
 

Additional Inherited Members

- Static Public Member Functions inherited from cppu::OPropertySetHelper
static css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL createPropertySetInfo (IPropertyArrayHelper &rProperties)
 
- Protected Attributes inherited from cppu::OPropertySetHelper
OBroadcastHelperrBHelper
 
OMultiTypeInterfaceContainerHelperInt32 aBoundLC
 
OMultiTypeInterfaceContainerHelperInt32 aVetoableLC
 
Impl *const m_pReserved
 

Detailed Description

helper class for implementing property states

Definition at line 45 of file propstate.hxx.

Constructor & Destructor Documentation

comphelper::OPropertyStateHelper::OPropertyStateHelper ( ::cppu::OBroadcastHelper rBHlp)
inline

Definition at line 49 of file propstate.hxx.

comphelper::OPropertyStateHelper::OPropertyStateHelper ( ::cppu::OBroadcastHelper rBHlp,
::cppu::IEventNotificationHook i_pFireEvents 
)

Definition at line 62 of file propstate.cxx.

comphelper::OPropertyStateHelper::~OPropertyStateHelper ( )
overrideprotectedvirtual

Definition at line 67 of file propstate.cxx.

Member Function Documentation

void comphelper::OPropertyStateHelper::firePropertyChange ( sal_Int32  nHandle,
const css::uno::Any &  aNewValue,
const css::uno::Any &  aOldValue 
)
protected

Definition at line 70 of file propstate.cxx.

References cppu::OPropertySetHelper::fire().

css::uno::Any SAL_CALL comphelper::OPropertyStateHelper::getPropertyDefault ( const OUString &  aPropertyName)
overridevirtual
css::uno::Any comphelper::OPropertyStateHelper::getPropertyDefaultByHandle ( sal_Int32  nHandle) const
virtual
css::beans::PropertyState SAL_CALL comphelper::OPropertyStateHelper::getPropertyState ( const OUString &  PropertyName)
overridevirtual
css::beans::PropertyState comphelper::OPropertyStateHelper::getPropertyStateByHandle ( sal_Int32  nHandle)
virtual
css::uno::Sequence< css::beans::PropertyState > SAL_CALL comphelper::OPropertyStateHelper::getPropertyStates ( const css::uno::Sequence< OUString > &  aPropertyName)
overridevirtual
css::uno::Sequence< css::uno::Type > comphelper::OPropertyStateHelper::getTypes ( )
staticprotected

Definition at line 52 of file propstate.cxx.

References cppu::UnoType< class >::get().

css::uno::Any SAL_CALL comphelper::OPropertyStateHelper::queryInterface ( const css::uno::Type &  aType)
overridevirtual
void SAL_CALL comphelper::OPropertyStateHelper::setPropertyToDefault ( const OUString &  PropertyName)
overridevirtual
void comphelper::OPropertyStateHelper::setPropertyToDefaultByHandle ( sal_Int32  nHandle)
virtual

The documentation for this class was generated from the following files: