このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


class OPropertySetHelper
Language

The 解放する/自由な and Open 生産性 控訴
解放(する)d: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: cppu ::

class OPropertySetHelper


Base Classes
com::sun::星/主役にする::beans::XMultiPropertySet (public)
  |  
  |  com::sun::星/主役にする::beans::XFastPropertySet (public)
  |    |  
  |    |  com::sun::星/主役にする::beans::XPropertySet (public)
  |    |    |  
  +----+----+--OPropertySetHelper
Known Derived Classes
非,不,無.

事実上の abstract interface template
YES YES YES NO
Description
This abstract class 地図/計画するs the methods of the interfaces XMultiPropertySet, XFastPropertySet and XPropertySet to the methods getInfoHelper, convertFastPropertyValue, setFastPropertyValue_NoBroadcast and getFastPropertyValue. You must derive from this class and overload the methods. It 供給するs a 基準 実施 of the XPropertySetInfo. The XPropertiesChangeListener are 挿入するd in the rBHelper.aLC structure. The XPropertyChangeListener and XVetoableChangeListener with no 指名するs are 挿入するd in the rBHelper.aLC structure. So it is possible to advise 所有物/資産/財産 listeners with the 関係 point interfaces. But only listeners that listen to all 所有物/資産/財産 changes.
とじ込み/提出する
propshlp.hxx

Public Members

Methods


OPropertySetHelper( OBroadcastHelper & rBHelper ) throw( );

OPropertySetHelper( OBroadcastHelper & rBHelper, bool bIgnoreRuntimeExceptionsWhileFiring );
建設者.

OPropertySetHelper( OBroadcastHelper & rBHelper, IEventNotificationHook * i_pFireEvents, bool bIgnoreRuntimeExceptionsWhileFiring = 誤った );
建設者.
::com::sun::星/主役にする::uno::Any
queryInterface( const ::com::sun::星/主役にする::uno::Type & rType ) throw( ::com::sun::星/主役にする::uno::RuntimeException );
Only returns a 言及/関連 to XMultiPropertySet, XFastPropertySet, XPropertySet and XEventListener.
::com::sun::星/主役にする::uno::Sequence< ::com::sun::星/主役にする::uno::Type >
getTypes( ) throw( ::com::sun::星/主役にする::uno::RuntimeException );
緩和するs 器具/実施するing XTypeProvider::getTypes, returns the types of XMultiPropertySet, XFastPropertySet, XPropertySet
無効の
配置する/処分する/したい気持ちにさせるing( ) throw( );
Send a 配置する/処分する/したい気持ちにさせるing notification to the listeners in the conatiners aBoundLC and aVetoableLC.
事実上の 無効の
setPropertyValue( const ::rtl::OUString & rPropertyName, const ::com::sun::星/主役にする::uno::Any & aValue ) throw( ::com::sun::星/主役にする::beans::UnknownPropertyException, ::com::sun::星/主役にする::beans::PropertyVetoException, ::com::sun::星/主役にする::lang::IllegalArgumentException, ::com::sun::星/主役にする::lang::WrappedTargetException, ::com::sun::星/主役にする::uno::RuntimeException );
事実上の ::com::sun::星/主役にする::uno::Any
getPropertyValue( const ::rtl::OUString & aPropertyName ) throw( ::com::sun::星/主役にする::beans::UnknownPropertyException, ::com::sun::星/主役にする::lang::WrappedTargetException, ::com::sun::星/主役にする::uno::RuntimeException );
Throw UnknownPropertyException if the 所有物/資産/財産 with the 指名する rPropertyName does not 存在する.
事実上の 無効の
addPropertyChangeListener( const ::rtl::OUString & aPropertyName, const ::com::sun::星/主役にする::uno::言及/関連< ::com::sun::星/主役にする::beans::XPropertyChangeListener > & aListener ) throw( ::com::sun::星/主役にする::beans::UnknownPropertyException, ::com::sun::星/主役にする::lang::WrappedTargetException, ::com::sun::星/主役にする::uno::RuntimeException );
Ignored if the 所有物/資産/財産 is not bound.
事実上の 無効の
removePropertyChangeListener( const ::rtl::OUString & aPropertyName, const ::com::sun::星/主役にする::uno::言及/関連< ::com::sun::星/主役にする::beans::XPropertyChangeListener > & aListener ) throw( ::com::sun::星/主役にする::beans::UnknownPropertyException, ::com::sun::星/主役にする::lang::WrappedTargetException, ::com::sun::星/主役にする::uno::RuntimeException );
Ignored if the 所有物/資産/財産 is not bound.
事実上の 無効の
addVetoableChangeListener( const ::rtl::OUString & aPropertyName, const ::com::sun::星/主役にする::uno::言及/関連< ::com::sun::星/主役にする::beans::XVetoableChangeListener > & aListener ) throw( ::com::sun::星/主役にする::beans::UnknownPropertyException, ::com::sun::星/主役にする::lang::WrappedTargetException, ::com::sun::星/主役にする::uno::RuntimeException );
Ignored if the 所有物/資産/財産 is not constrained.
事実上の 無効の
removeVetoableChangeListener( const ::rtl::OUString & aPropertyName, const ::com::sun::星/主役にする::uno::言及/関連< ::com::sun::星/主役にする::beans::XVetoableChangeListener > & aListener ) throw( ::com::sun::星/主役にする::beans::UnknownPropertyException, ::com::sun::星/主役にする::lang::WrappedTargetException, ::com::sun::星/主役にする::uno::RuntimeException );
Ignored if the 所有物/資産/財産 is not constrained.
事実上の 無効の
setFastPropertyValue( sal_Int32 nHandle, const ::com::sun::星/主役にする::uno::Any & rValue ) throw( ::com::sun::星/主役にする::beans::UnknownPropertyException, ::com::sun::星/主役にする::beans::PropertyVetoException, ::com::sun::星/主役にする::lang::IllegalArgumentException, ::com::sun::星/主役にする::lang::WrappedTargetException, ::com::sun::星/主役にする::uno::RuntimeException );
事実上の ::com::sun::星/主役にする::uno::Any
getFastPropertyValue( sal_Int32 nHandle ) throw( ::com::sun::星/主役にする::beans::UnknownPropertyException, ::com::sun::星/主役にする::lang::WrappedTargetException, ::com::sun::星/主役にする::uno::RuntimeException );
事実上の 無効の
setPropertyValues( const ::com::sun::星/主役にする::uno::Sequence< ::rtl::OUString > & PropertyNames, const ::com::sun::星/主役にする::uno::Sequence< ::com::sun::星/主役にする::uno::Any > & Values ) throw( ::com::sun::星/主役にする::beans::PropertyVetoException, ::com::sun::星/主役にする::lang::IllegalArgumentException, ::com::sun::星/主役にする::lang::WrappedTargetException, ::com::sun::星/主役にする::uno::RuntimeException );
事実上の ::com::sun::星/主役にする::uno::Sequence< ::com::sun::星/主役にする::uno::Any >
getPropertyValues( const ::com::sun::星/主役にする::uno::Sequence< ::rtl::OUString > & PropertyNames ) throw( ::com::sun::星/主役にする::uno::RuntimeException );
事実上の 無効の
addPropertiesChangeListener( const ::com::sun::星/主役にする::uno::Sequence< ::rtl::OUString > & PropertyNames, const ::com::sun::星/主役にする::uno::言及/関連< ::com::sun::星/主役にする::beans::XPropertiesChangeListener > & Listener ) throw( ::com::sun::星/主役にする::uno::RuntimeException );
事実上の 無効の
removePropertiesChangeListener( const ::com::sun::星/主役にする::uno::言及/関連< ::com::sun::星/主役にする::beans::XPropertiesChangeListener > & Listener ) throw( ::com::sun::星/主役にする::uno::RuntimeException );
事実上の 無効の
firePropertiesChangeEvent( const ::com::sun::星/主役にする::uno::Sequence< ::rtl::OUString > & PropertyNames, const ::com::sun::星/主役にする::uno::言及/関連< ::com::sun::星/主役にする::beans::XPropertiesChangeListener > & Listener ) throw( ::com::sun::星/主役にする::uno::RuntimeException );

~OPropertySetHelper( ) throw( );
You must call 配置する/処分する/したい気持ちにさせるing before 破壊.

Static Methods

static ::com::sun::星/主役にする::uno::言及/関連< ::com::sun::星/主役にする::beans::XPropertySetInfo >
createPropertySetInfo( IPropertyArrayHelper & rProperties ) throw( );
The 所有物/資産/財産 sequence is created in the call. The interface isn't used after the call.

保護するd Members

Methods

無効の
解雇する/砲火/射撃( sal_Int32 * pnHandles, const ::com::sun::星/主役にする::uno::Any * pNewValues, const ::com::sun::星/主役にする::uno::Any * pOldValues, sal_Int32 nCount, sal_Bool bVetoable );
This method 解雇する/砲火/射撃 events to all 登録(する)d 所有物/資産/財産 listeners.
無効の
setFastPropertyValues( sal_Int32 nSeqLen, sal_Int32 * pHandles, const ::com::sun::星/主役にする::uno::Any * pValues, sal_Int32 nHitCount ) throw( ::com::sun::星/主役にする::uno::Exception );
始める,決める 多重の 所有物/資産/財産s with the 扱うs.
事実上の IPropertyArrayHelper &
getInfoHelper( ) = 0;
This abstract method must return the 指名する to 索引 (米)棚上げする/(英)提議する. This (米)棚上げする/(英)提議する 含む/封じ込めるs all 所有物/資産/財産 指名するs and types of this 反対する. The method is not 器具/実施するd in this class.
事実上の sal_Bool
convertFastPropertyValue( ::com::sun::星/主役にする::uno::Any & rConvertedValue, ::com::sun::星/主役にする::uno::Any & rOldValue, sal_Int32 nHandle, const ::com::sun::星/主役にする::uno::Any & rValue ) throw( ::com::sun::星/主役にする::lang::IllegalArgumentException ) = 0;
事実上の 無効の
setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const ::com::sun::星/主役にする::uno::Any & rValue ) throw( ::com::sun::星/主役にする::uno::Exception ) = 0;
事実上の 無効の
getFastPropertyValue( ::com::sun::星/主役にする::uno::Any & rValue, sal_Int32 nHandle ) const = 0;
無効の
setDependentFastPropertyValue( sal_Int32 i_handle, const ::com::sun::星/主役にする::uno::Any & i_value );
始める,決めるs an 扶養家族 所有物/資産/財産's value

Data

OBroadcastHelper & rBHelper; The ありふれた data of a 放送者. Use the mutex, 配置する/処分する/したい気持ちにさせるing 明言する/公表する and the listener コンテナ.
OMultiTypeInterfaceContainerHelperInt32 aBoundLC; コンテナ for the XProperyChangedListener. The listeners are 挿入するd by 扱う.
OMultiTypeInterfaceContainerHelperInt32 aVetoableLC; コンテナ for the XPropertyVetoableListener. The listeners are 挿入するd by 扱う.
const std::auto_ptr< Impl > m_pReserved; reserved for 未来 use. finally, the 未来 has arrived...

私的な Members

Methods


OPropertySetHelper( const OPropertySetHelper & ) throw( );
OPropertySetHelper &
操作者=( const OPropertySetHelper & ) throw( );
無効の
impl_fireAll( sal_Int32 * i_handles, const ::com::sun::星/主役にする::uno::Any * i_newValues, const ::com::sun::星/主役にする::uno::Any * i_oldValues, sal_Int32 i_count );
通知するs the given changes in 所有物/資産/財産's values, <em>加える</em> all 所有物/資産/財産 changes collected during 最近の |setDependentFastPropertyValue| calls.

最高の,を越す of Page

Apache Software Foundation

Copyright & License | Privacy | 接触する Us | 寄付する | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are 登録(する)d trademarks of The Apache ソフトウェア 創立/基礎. The Apache feather logo is a trademark of The Apache ソフトウェア 創立/基礎. Other 指名するs appearing on the 場所/位置 may be trademarks of their 各々の owners.