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

#include <mysqlc_subcomponent.hxx>

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

Definition at line 40 of file mysqlc_subcomponent.hxx.

Constructor & Destructor Documentation

◆ OPropertyArrayUsageHelper()

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

Definition at line 73 of file mysqlc_subcomponent.hxx.

◆ ~OPropertyArrayUsageHelper()

Definition at line 79 of file mysqlc_subcomponent.hxx.

Member Function Documentation

◆ createArrayHelper()

template<class TYPE >
virtual ::cppu::IPropertyArrayHelper * connectivity::mysqlc::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::mysqlc::OPreparedResultSet, connectivity::mysqlc::OResultSet, and connectivity::mysqlc::OCommonStatement.

◆ getArrayHelper()

template<class TYPE >
cppu::IPropertyArrayHelper * connectivity::mysqlc::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 91 of file mysqlc_subcomponent.hxx.

Referenced by connectivity::mysqlc::OResultSet::getInfoHelper(), and connectivity::mysqlc::OCommonStatement::getInfoHelper().

Member Data Documentation

◆ s_aMutex

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

Definition at line 45 of file mysqlc_subcomponent.hxx.

◆ s_nRefCount

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

Definition at line 43 of file mysqlc_subcomponent.hxx.

◆ s_pProps

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

Definition at line 44 of file mysqlc_subcomponent.hxx.


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