LibreOffice Module comphelper (master) 1
Public Member Functions | Protected Member Functions | Static Private Member Functions | Static Private 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 Private Member Functions

static std::mutextheMutex ()
 

Static Private Attributes

static sal_Int32 s_nRefCount = 0
 
static OIdPropertyArrayMaps_pMap = nullptr
 

Detailed Description

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

Definition at line 33 of file IdPropArrayHelper.hxx.

Constructor & Destructor Documentation

◆ OIdPropertyArrayUsageHelper()

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

Definition at line 81 of file IdPropArrayHelper.hxx.

◆ ~OIdPropertyArrayUsageHelper()

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

Member Function Documentation

◆ createArrayHelper()

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.

◆ getArrayHelper()

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 91 of file IdPropArrayHelper.hxx.

References nId.

◆ theMutex()

template<class TYPE >
static std::mutex & comphelper::OIdPropertyArrayUsageHelper< TYPE >::theMutex ( )
inlinestaticprivate

Member Data Documentation

◆ s_nRefCount

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

◆ s_pMap

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

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