23#include <osl/diagnose.h>
24#include <osl/mutex.hxx>
26namespace cppu {
class IPropertyArrayHelper; }
75 ::osl::MutexGuard aGuard(s_aMutex);
83 ::osl::MutexGuard aGuard(s_aMutex);
84 OSL_ENSURE(s_nRefCount > 0,
"OPropertyArrayUsageHelper::~OPropertyArrayUsageHelper : suspicious call : have a refcount of 0 !");
96 OSL_ENSURE(s_nRefCount,
"OPropertyArrayUsageHelper::getArrayHelper : suspicious call : have a refcount of 0 !");
99 ::osl::MutexGuard aGuard(s_aMutex);
102 s_pProps = createArrayHelper();
103 OSL_ENSURE(s_pProps,
"OPropertyArrayUsageHelper::getArrayHelper : createArrayHelper returned nonsense !");
virtual ::cppu::IPropertyArrayHelper * createArrayHelper() const =0
used to implement the creation of the array helper which is shared amongst all instances of the class...
virtual ~OPropertyArrayUsageHelper()
OPropertyArrayUsageHelper()
static sal_Int32 s_nRefCount
::cppu::IPropertyArrayHelper * s_pProps
::cppu::IPropertyArrayHelper * getArrayHelper()
call this in the getInfoHelper method of your derived class.
void checkDisposed(bool _bThrow)