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:
[legend]

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)
 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

OPropertySetAggregationHelperm_rAggregationHelper
 
std::set< sal_Int32 > m_aProperties
 
sal_Int32 m_nCurrentlyForwarding
 

Detailed Description

Definition at line 249 of file propagg.cxx.

Constructor & Destructor Documentation

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

Definition at line 279 of file propagg.cxx.

Member Function Documentation

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

Definition at line 275 of file propagg.cxx.

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

checks whether the forwarder is responsible for the given property

Definition at line 292 of file propagg.cxx.

References m_aProperties.

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

declares that the forwarder should be responsible for the given property

Parameters
_nHandlethe public handle (not the original handle!) of the property

Definition at line 286 of file propagg.cxx.

References m_aProperties.

Member Data Documentation

std::set< sal_Int32 > comphelper::internal::PropertyForwarder::m_aProperties
private

Definition at line 253 of file propagg.cxx.

Referenced by isResponsibleFor(), and takeResponsibilityFor().

sal_Int32 comphelper::internal::PropertyForwarder::m_nCurrentlyForwarding
private

Definition at line 254 of file propagg.cxx.

Referenced by doForward().

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

Definition at line 252 of file propagg.cxx.

Referenced by doForward().


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