LibreOffice Module comphelper (master) 1
Public Member Functions | Private Attributes | List of all members
comphelper::internal::PropertyForwarder Class Reference
Collaboration diagram for comphelper::internal::PropertyForwarder:

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

Detailed Description

Definition at line 251 of file propagg.cxx.

Constructor & Destructor Documentation

◆ PropertyForwarder()

comphelper::internal::PropertyForwarder::PropertyForwarder ( OPropertySetAggregationHelper &  _rAggregationHelper)

Definition at line 281 of file propagg.cxx.

Member Function Documentation

◆ doForward()

void comphelper::internal::PropertyForwarder::doForward ( sal_Int32  _nHandle,
const Any &  _rValue 

actually forwards a property value to the aggregate


Definition at line 300 of file propagg.cxx.

References Exception, m_nCurrentlyForwarding, and m_rAggregationHelper.

◆ getCurrentlyForwardedProperty()

sal_Int32 comphelper::internal::PropertyForwarder::getCurrentlyForwardedProperty ( ) const

Definition at line 277 of file propagg.cxx.

References m_nCurrentlyForwarding.

◆ isResponsibleFor()

bool comphelper::internal::PropertyForwarder::isResponsibleFor ( sal_Int32  _nHandle) const

◆ takeResponsibilityFor()

void comphelper::internal::PropertyForwarder::takeResponsibilityFor ( sal_Int32  _nHandle)

declares that the forwarder should be responsible for the given property

_nHandlethe 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.

Member Data Documentation

◆ m_aProperties

o3tl::sorted_vector< sal_Int32 > comphelper::internal::PropertyForwarder::m_aProperties

Definition at line 255 of file propagg.cxx.

Referenced by isResponsibleFor(), and takeResponsibilityFor().

◆ m_nCurrentlyForwarding

sal_Int32 comphelper::internal::PropertyForwarder::m_nCurrentlyForwarding

Definition at line 256 of file propagg.cxx.

Referenced by doForward(), and getCurrentlyForwardedProperty().

◆ m_rAggregationHelper

OPropertySetAggregationHelper& comphelper::internal::PropertyForwarder::m_rAggregationHelper

Definition at line 254 of file propagg.cxx.

Referenced by doForward().

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