/** call this in the getInfoHelper method of your derived class. The method returns the array helper of the class,whichiscreatedifnecessary.
*/
::cppu::IPropertyArrayHelper* getArrayHelper();
protected: /** used to implement the creation of the array helper which is shared amongst all instances of the class. Thismethodneedstobeimplementedinderivedclasses. <BR> ThemethodgetscalledwithMutexacquired. @returnapointertothenewlycreatedarrayhelper.MustnotbeNULL.
*/ virtual ::cppu::IPropertyArrayHelper* createArrayHelper( ) const = 0;
};
/** an OPropertyArrayUsageHelper which will create an OPropertyArrayAggregationHelper
*/ template <class TYPE> class OAggregationArrayUsageHelper: public OPropertyArrayUsageHelper<TYPE>
{ protected: /** overwrite this in your derived class. initialize the two sequences with your and your aggregate's properties. <BR> ThemethodgetscalledwithMutexacquired. @param_rPropsoutparametertobefilledwiththepropertydescriptionsofyourownclass @param_rAggregatePropsoutparametertobefilledwiththepropertiesofyouraggregate.
*/ virtualvoid fillProperties(
css::uno::Sequence< css::beans::Property >& /* [out] */ _rProps,
css::uno::Sequence< css::beans::Property >& /* [out] */ _rAggregateProps
) const = 0;
/** creates an OPropertyArrayAggregationHelper filled with properties for which's initialization fillPropertiesiscalled.getInfoServiceandgetFirstAggregateIdmaybeoverwrittentodetermine theadditionalparametersoftheOPropertyArrayAggregationHelper.
*/ virtual ::cppu::IPropertyArrayHelper* createArrayHelper( ) const final;
};
template<class TYPE>
sal_Int32 OPropertyArrayUsageHelper< TYPE >::s_nRefCount = 0;
template<class TYPE>
::cppu::IPropertyArrayHelper* OPropertyArrayUsageHelper< TYPE >::s_pProps = nullptr;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.