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

#include <proparrhlp.hxx>

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

Public Member Functions

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

Protected Member Functions

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

Static Protected Member Functions

static std::mutextheMutex ()
 

Static Protected Attributes

static sal_Int32 s_nRefCount = 0
 
::cppu::IPropertyArrayHelpers_pProps = nullptr
 

Detailed Description

template<class TYPE>
class comphelper::OPropertyArrayUsageHelper< TYPE >

Definition at line 32 of file proparrhlp.hxx.

Constructor & Destructor Documentation

◆ OPropertyArrayUsageHelper()

template<class TYPE >
comphelper::OPropertyArrayUsageHelper< TYPE >::OPropertyArrayUsageHelper

Definition at line 93 of file proparrhlp.hxx.

◆ ~OPropertyArrayUsageHelper()

template<class TYPE >
comphelper::OPropertyArrayUsageHelper< TYPE >::~OPropertyArrayUsageHelper
virtual

Definition at line 100 of file proparrhlp.hxx.

Member Function Documentation

◆ createArrayHelper()

template<class TYPE >
virtual ::cppu::IPropertyArrayHelper * comphelper::OPropertyArrayUsageHelper< TYPE >::createArrayHelper ( ) 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.

Implemented in comphelper::OAggregationArrayUsageHelper< TYPE >.

◆ getArrayHelper()

template<class TYPE >
cppu::IPropertyArrayHelper * comphelper::OPropertyArrayUsageHelper< TYPE >::getArrayHelper

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 112 of file proparrhlp.hxx.

◆ theMutex()

template<class TYPE >
static std::mutex & comphelper::OPropertyArrayUsageHelper< TYPE >::theMutex ( )
inlinestaticprotected

Definition at line 37 of file proparrhlp.hxx.

References mutex.

Member Data Documentation

◆ s_nRefCount

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

Definition at line 35 of file proparrhlp.hxx.

◆ s_pProps

template<class TYPE >
cppu::IPropertyArrayHelper * comphelper::OPropertyArrayUsageHelper< TYPE >::s_pProps = nullptr
staticprotected

Definition at line 36 of file proparrhlp.hxx.


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