LibreOffice Module comphelper (master) 1
|
Public Member Functions | |
PropertyForwarder (OPropertySetAggregationHelper &_rAggregationHelper) | |
void | takeResponsibilityFor (sal_Int32 _nHandle) |
declares that the forwarder should be responsible for the given property More... | |
bool | isResponsibleFor (sal_Int32 _nHandle) const |
checks whether the forwarder is responsible for the given property More... | |
void | doForward (sal_Int32 _nHandle, const Any &_rValue) |
actually forwards a property value to the aggregate More... | |
sal_Int32 | getCurrentlyForwardedProperty () const |
Private Attributes | |
OPropertySetAggregationHelper & | m_rAggregationHelper |
o3tl::sorted_vector< sal_Int32 > | m_aProperties |
sal_Int32 | m_nCurrentlyForwarding |
Definition at line 251 of file propagg.cxx.
|
explicit |
Definition at line 281 of file propagg.cxx.
void comphelper::internal::PropertyForwarder::doForward | ( | sal_Int32 | _nHandle, |
const Any & | _rValue | ||
) |
actually forwards a property value to the aggregate
Exception |
Definition at line 300 of file propagg.cxx.
References Exception, m_nCurrentlyForwarding, and m_rAggregationHelper.
|
inline |
Definition at line 277 of file propagg.cxx.
References m_nCurrentlyForwarding.
bool comphelper::internal::PropertyForwarder::isResponsibleFor | ( | sal_Int32 | _nHandle | ) | const |
checks whether the forwarder is responsible for the given property
Definition at line 294 of file propagg.cxx.
References o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::end(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::find(), and m_aProperties.
void comphelper::internal::PropertyForwarder::takeResponsibilityFor | ( | sal_Int32 | _nHandle | ) |
declares that the forwarder should be responsible for the given property
_nHandle | the public handle (not the original handle!) of the property |
Definition at line 288 of file propagg.cxx.
References o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), and m_aProperties.
|
private |
Definition at line 255 of file propagg.cxx.
Referenced by isResponsibleFor(), and takeResponsibilityFor().
|
private |
Definition at line 256 of file propagg.cxx.
Referenced by doForward(), and getCurrentlyForwardedProperty().
|
private |
Definition at line 254 of file propagg.cxx.
Referenced by doForward().