LibreOffice Module comphelper (master)  1
Protected Member Functions | List of all members
comphelper::OAggregationArrayUsageHelper< TYPE > Class Template Referenceabstract

an OPropertyArrayUsageHelper which will create an OPropertyArrayAggregationHelper More...

#include <proparrhlp.hxx>

Inheritance diagram for comphelper::OAggregationArrayUsageHelper< TYPE >:
[legend]
Collaboration diagram for comphelper::OAggregationArrayUsageHelper< TYPE >:
[legend]

Protected Member Functions

virtual void fillProperties (css::uno::Sequence< css::beans::Property > &_rProps, css::uno::Sequence< css::beans::Property > &_rAggregateProps) const =0
 overwrite this in your derived class. More...
 
virtual ::cppu::IPropertyArrayHelpercreateArrayHelper () const
 creates an OPropertyArrayAggregationHelper filled with properties for which's initialization fillProperties is called. More...
 

Additional Inherited Members

- Public Member Functions inherited from comphelper::OPropertyArrayUsageHelper< TYPE >
 OPropertyArrayUsageHelper ()
 
virtual ~OPropertyArrayUsageHelper ()
 
::cppu::IPropertyArrayHelpergetArrayHelper ()
 call this in the getInfoHelper method of your derived class. More...
 
- Static Protected Attributes inherited from comphelper::OPropertyArrayUsageHelper< TYPE >
static sal_Int32 s_nRefCount = 0
 
::cppu::IPropertyArrayHelpers_pProps = nullptr
 

Detailed Description

template<class TYPE>
class comphelper::OAggregationArrayUsageHelper< TYPE >

an OPropertyArrayUsageHelper which will create an OPropertyArrayAggregationHelper

Definition at line 64 of file proparrhlp.hxx.

Member Function Documentation

template<class TYPE >
cppu::IPropertyArrayHelper * comphelper::OAggregationArrayUsageHelper< TYPE >::createArrayHelper ( ) const
inlineprotectedvirtual

creates an OPropertyArrayAggregationHelper filled with properties for which's initialization fillProperties is called.

getInfoService and getFirstAggregateId may be overwritten to determine the additional parameters of the OPropertyArrayAggregationHelper.

Implements comphelper::OPropertyArrayUsageHelper< TYPE >.

Definition at line 128 of file proparrhlp.hxx.

References DEFAULT_AGGREGATE_PROPERTY_ID.

template<class TYPE >
virtual void comphelper::OAggregationArrayUsageHelper< TYPE >::fillProperties ( css::uno::Sequence< css::beans::Property > &  _rProps,
css::uno::Sequence< css::beans::Property > &  _rAggregateProps 
) const
protectedpure virtual

overwrite this in your derived class.

initialize the two sequences with your and your aggregate's properties.
The method gets called with Mutex acquired.

Parameters
_rPropsout parameter to be filled with the property descriptions of your own class
_rAggregatePropsout parameter to be filled with the properties of your aggregate.

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