LibreOffice Module comphelper (master) 1
|
#include <IdPropArrayHelper.hxx>
Public Member Functions | |
OIdPropertyArrayUsageHelper () | |
virtual | ~OIdPropertyArrayUsageHelper () |
::cppu::IPropertyArrayHelper * | getArrayHelper (sal_Int32 nId) |
call this in the getInfoHelper method of your derived class. More... | |
Protected Member Functions | |
virtual ::cppu::IPropertyArrayHelper * | createArrayHelper (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::mutex & | theMutex () |
Static Private Attributes | |
static sal_Int32 | s_nRefCount = 0 |
static OIdPropertyArrayMap * | s_pMap = nullptr |
Definition at line 33 of file IdPropArrayHelper.hxx.
comphelper::OIdPropertyArrayUsageHelper< TYPE >::OIdPropertyArrayUsageHelper |
Definition at line 81 of file IdPropArrayHelper.hxx.
|
inlinevirtual |
Definition at line 37 of file IdPropArrayHelper.hxx.
References comphelper::OIdPropertyArrayUsageHelper< TYPE >::s_nRefCount, comphelper::OIdPropertyArrayUsageHelper< TYPE >::s_pMap, and comphelper::OIdPropertyArrayUsageHelper< TYPE >::theMutex().
|
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.
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.
|
inlinestaticprivate |
Definition at line 67 of file IdPropArrayHelper.hxx.
References mutex.
Referenced by comphelper::OIdPropertyArrayUsageHelper< TYPE >::~OIdPropertyArrayUsageHelper().
|
staticprivate |
Definition at line 65 of file IdPropArrayHelper.hxx.
Referenced by comphelper::OIdPropertyArrayUsageHelper< TYPE >::~OIdPropertyArrayUsageHelper().
|
staticprivate |
Definition at line 66 of file IdPropArrayHelper.hxx.
Referenced by comphelper::OIdPropertyArrayUsageHelper< TYPE >::~OIdPropertyArrayUsageHelper().