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

#include <IdPropArrayHelper.hxx>

Public Member Functions

 OIdPropertyArrayUsageHelper ()
 
virtual ~OIdPropertyArrayUsageHelper ()
 
::cppu::IPropertyArrayHelpergetArrayHelper (sal_Int32 nId)
 call this in the getInfoHelper method of your derived class. More...
 

Protected Member Functions

virtual ::cppu::IPropertyArrayHelpercreateArrayHelper (sal_Int32 nId) const =0
 used to implement the creation of the array helper which is shared amongst all instances of the class. More...
 

Static Protected Attributes

static sal_Int32 s_nRefCount = 0
 
static OIdPropertyArrayMaps_pMap = nullptr
 

Detailed Description

template<class TYPE>
class comphelper::OIdPropertyArrayUsageHelper< TYPE >

Definition at line 41 of file IdPropArrayHelper.hxx.

Constructor & Destructor Documentation

Definition at line 87 of file IdPropArrayHelper.hxx.

template<class TYPE >
virtual comphelper::OIdPropertyArrayUsageHelper< TYPE >::~OIdPropertyArrayUsageHelper ( )
inlinevirtual

Member Function Documentation

template<class TYPE >
virtual ::cppu::IPropertyArrayHelper* comphelper::OIdPropertyArrayUsageHelper< TYPE >::createArrayHelper ( sal_Int32  nId) const
protectedpure virtual

used to implement the creation of the array helper which is shared amongst all instances of the class.

This method needs to be implemented in derived classes.
The method gets called with Mutex acquired.

Returns
a pointer to the newly created array helper. Must not be NULL.
template<class TYPE >
cppu::IPropertyArrayHelper * comphelper::OIdPropertyArrayUsageHelper< TYPE >::getArrayHelper ( sal_Int32  nId)

call this in the getInfoHelper method of your derived class.

The method returns the array helper of the class, which is created if necessary.

Definition at line 98 of file IdPropArrayHelper.hxx.

Member Data Documentation

template<class TYPE >
sal_Int32 comphelper::OIdPropertyArrayUsageHelper< TYPE >::s_nRefCount = 0
staticprotected

Definition at line 44 of file IdPropArrayHelper.hxx.

template<class TYPE >
OIdPropertyArrayMap * comphelper::OIdPropertyArrayUsageHelper< TYPE >::s_pMap = nullptr
staticprotected

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