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

#include <SubComponent.hxx>

Inheritance diagram for connectivity::firebird::OPropertyArrayUsageHelper< TYPE >:
[legend]
Collaboration diagram for connectivity::firebird::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 Attributes

static sal_Int32 s_nRefCount = 0
 
::cppu::IPropertyArrayHelpers_pProps = nullptr
 
::osl::Mutex s_aMutex
 

Detailed Description

template<class TYPE>
class connectivity::firebird::OPropertyArrayUsageHelper< TYPE >

Definition at line 36 of file SubComponent.hxx.

Constructor & Destructor Documentation

◆ OPropertyArrayUsageHelper()

template<class TYPE >
connectivity::firebird::OPropertyArrayUsageHelper< TYPE >::OPropertyArrayUsageHelper

Definition at line 73 of file SubComponent.hxx.

◆ ~OPropertyArrayUsageHelper()

Definition at line 81 of file SubComponent.hxx.

Member Function Documentation

◆ createArrayHelper()

template<class TYPE >
virtual ::cppu::IPropertyArrayHelper * connectivity::firebird::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 s_aMutex acquired.

Returns
a pointer to the newly created array helper. Must not be NULL.

Implemented in connectivity::firebird::OStatementCommonBase.

◆ getArrayHelper()

template<class TYPE >
cppu::IPropertyArrayHelper * connectivity::firebird::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 94 of file SubComponent.hxx.

Member Data Documentation

◆ s_aMutex

template<class TYPE >
osl::Mutex connectivity::firebird::OPropertyArrayUsageHelper< TYPE >::s_aMutex
staticprotected

Definition at line 41 of file SubComponent.hxx.

◆ s_nRefCount

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

Definition at line 39 of file SubComponent.hxx.

◆ s_pProps

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

Definition at line 40 of file SubComponent.hxx.


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