LibreOffice Module forms (master) 1
Public Member Functions | Protected Member Functions | List of all members
APIPropertyAccessor< CLASS, VALUE > Class Template Reference

helper class for implementing property accessors via UNO methods More...

#include <propertysetbase.hxx>

Inheritance diagram for APIPropertyAccessor< CLASS, VALUE >:
[legend]
Collaboration diagram for APIPropertyAccessor< CLASS, VALUE >:
[legend]

Public Member Functions

 APIPropertyAccessor (CLASS *pInstance, Writer pWriter, Reader pReader)
 
- Public Member Functions inherited from GenericPropertyAccessor< CLASS, VALUE, void(SAL_CALL CLASS::*)(const VALUE &), VALUE(SAL_CALL CLASS::*)() >
 GenericPropertyAccessor (CLASS *pInstance, Writer pWriter, Reader pReader)
 
virtual bool approveValue (const css::uno::Any &rValue) const override
 
virtual void setValue (const css::uno::Any &rValue) override
 
virtual void getValue (css::uno::Any &rValue) const override
 
virtual bool isWriteable () const override
 
virtual bool approveValue (const css::uno::Any &rValue) const =0
 
virtual void setValue (const css::uno::Any &rValue)=0
 
virtual void getValue (css::uno::Any &rValue) const =0
 
virtual bool isWriteable () const =0
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Protected Member Functions

typedef void (SAL_CALL CLASS::*Writer)(const VALUE &)
 
typedef VALUE (SAL_CALL CLASS::*Reader)()
 
- Protected Member Functions inherited from PropertyAccessorBase
 PropertyAccessorBase ()
 
virtual ~PropertyAccessorBase () override
 
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 

Additional Inherited Members

- Public Types inherited from GenericPropertyAccessor< CLASS, VALUE, void(SAL_CALL CLASS::*)(const VALUE &), VALUE(SAL_CALL CLASS::*)() >
typedef void(SAL_CALL CLASS::*)(const VALUE &) Writer
 
typedef VALUE(SAL_CALL CLASS::*)() Reader
 
- Static Public Member Functions inherited from salhelper::SimpleReferenceObject
static void * operator new (std::size_t nSize)
 
static void * operator new (std::size_t nSize, std::nothrow_t const &rNothrow)
 
static void operator delete (void *pPtr)
 
static void operator delete (void *pPtr, std::nothrow_t const &rNothrow)
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

template<typename CLASS, typename VALUE>
class APIPropertyAccessor< CLASS, VALUE >

helper class for implementing property accessors via UNO methods

Definition at line 143 of file propertysetbase.hxx.

Constructor & Destructor Documentation

◆ APIPropertyAccessor()

template<typename CLASS , typename VALUE >
APIPropertyAccessor< CLASS, VALUE >::APIPropertyAccessor ( CLASS pInstance,
Writer  pWriter,
Reader  pReader 
)
inline

Definition at line 154 of file propertysetbase.hxx.

References CLASS.

Member Function Documentation

◆ VALUE()

template<typename CLASS , typename VALUE >
typedef APIPropertyAccessor< CLASS, VALUE >::VALUE ( SAL_CALL CLASS::*  Reader)
protected

◆ void()

template<typename CLASS , typename VALUE >
typedef APIPropertyAccessor< CLASS, VALUE >::void ( SAL_CALL CLASS::*  Writer) const &
protected

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